
nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .logo {
            height: 60px;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .nav-right {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }
        
        /* New Menu Styles (Desktop) */
        .nav-menu {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            margin: 0;
            padding: 0;
            align-items: center;
            font-weight: 500;
        }

        .light .navbar-nav a {
            color: var(--burgundy);
            text-decoration: none;
            padding: 0.5rem 0.2rem;
            transition: color 0.3s, border-bottom 0.3s;
            font-size: 0.95rem;
            font-weight: 600;
        }

        .nav-menu a:hover {
            color: var(--red);
            border-bottom: 2px solid var(--red);
        }
        
        /* Mobile Menu Toggle (Hamburger icon) */
        .menu-toggle {
            display: none; /* Hidden on desktop */
            font-size: 1.8rem;
            background: none;
            border: none;
            color: var(--burgundy);
            cursor: pointer;
            padding: 0.5rem;
        }
        

        .lang-toggle {
            color: var(--burgundy);
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            background-color: #d5d5d5;
        }

        .lang-toggle:hover {
    
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(141, 91, 253, 0.3);
        }

        .cta-btn {
            background: #3D0029 ;
            color: white;
            padding: 0.7rem 2rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .cta-btn:hover {
            background: var(--burgundy);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 20, 32, 0.3);
        }@media (max-width: 768px) {           
    .logo {
        height: 45px;
    }
            nav{    padding: 0rem 5%;}
}
 .cta-btn {
            background: #3D0029 ;
            color: white;
            padding: 0.7rem 2rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-block;
        }

        .cta-btn:hover {
            background: var(--burgundy);
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 20, 32, 0.3);
        }
    .hero .cta-btn {
    margin-top: 2rem;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    background: var(--white);
    color: #3D0029;
}
        .hero {
            min-height: 100vh;
            /* Removed the original background gradient to allow video to show */
            background-color: var(--black); /* Fallback color */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8rem 5% 4rem;
            position: relative;
            overflow: hidden;
        }

        /* Video Styling */
        #hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: 0; 
            transform: translate(-50%, -50%);
            object-fit: cover;
        }

        /* Overlay Styling (The Shadow) */
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* Changed to a semi-transparent black for a strong shadow/overlay effect */
            background: rgba(0, 0, 0, 0.65); 
            opacity: 1; 
            z-index: 1; /* Placed between video (0) and content (2) */

            /* Original pattern background is commented out, uncomment if needed */
            /* background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>'); */
        }

        .hero-content {
            max-width: 1200px;
            text-align: center;
            color: white;
            position: relative;
            z-index: 2; /* Increased z-index to be on top of the overlay */
            animation: fadeInUp 1s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            background: #FFFFFF;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            margin-bottom: 1rem;
            opacity: 0.95;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero .event-details {
            font-size: 1.1rem;
            margin: 2rem 0;
            display: flex;
            justify-content: center;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .event-detail {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            backdrop-filter: blur(10px);
        }.dark .cta-btn:not(.btn):hover {
    color: #3D0029;
    text-decoration: none;
}@media (max-width: 768px) {               
    .hero {
        padding: 6rem 5% 3rem;
    }

    .hero .event-details {
        flex-direction: column;
        gap: 1rem;
    }
}
.countdown-strip .bg-wrap{
            background: linear-gradient(90deg, var(--burgundy), var(--black));
}
    .countdown-strip {
            color: var(--white);
            padding: 2rem 5%;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 3rem;
            flex-wrap: wrap;
            border-bottom: 5px solid var(--red);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
        }

        .countdown-title {
            font-size: 1.5rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        #countdown-timer {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .timer-segment {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 10px;
            min-width: 80px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            line-height: 1;
        }

        .timer-segment .number {
            font-size: 2.5rem;
            font-weight: 900;
            color: #3D0029;
        }
        
        .timer-segment .label {
            font-size: 0.8rem;
            font-weight: 500;
            opacity: 0.8;
            margin-top: 0.2rem;
            color: #3D0029 ;
        }

        .separator {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--white);
        }
        
        .countdown-cta {
            padding: 0.8rem 2rem;
            font-size: 1rem;
        }
    @media (max-width: 768px) {           
            /* Responsive countdown */
            .countdown-strip {
                flex-direction: column;
                gap: 1rem;
                padding: 2rem 0;
            }
            
            #countdown-timer {
                gap: 0.5rem;
            }

            .timer-segment .number {
                font-size: 1.5rem;
            }

            .separator {
                display:none;
            }
            
            .countdown-title {
                font-size: 1.2rem;
            }

            section {
                padding: 4rem 5%;
            }
            
        }

         

    #about .bg-wrap{background-color: #f8f9fa;}
    #about {
            padding: 4rem 5%; /* Reduced top padding */
        }
        
        /* Hiding the previous section title as it is integrated into the new UI */
        #about .section-title {
            display: none; 
        }

        .about-grid {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .about-text-content {
            flex: 1;
            padding: 2rem 0; /* Vertical padding */
        }

        .about-text-content h2 {
            font-size: clamp(2rem, 4.5vw, 3.5rem);
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 2rem;
            color: var(--black);
        }

        .about-text-content p {
            font-size: 1.1rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            max-width: 550px;
        }
        
        .about-text-content p strong {
            color: var(--burgundy);
        }

        .about-image-container {
            flex: 1;
            max-width: 500px;
        }

        .about-image {
            width: 100%;
            height: auto;
            border-radius: 20px;
            object-fit: cover;
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            transition: transform 0.3s ease;
        }
        
        .about-image:hover {
            transform: scale(1.02);
        }
        
        /* Mobile adjustment for About */
        @media (max-width: 992px) {
            .about-grid {
                flex-direction: column;
                gap: 3rem;
            }
            
            .about-image-container {
                order: -1; /* Puts the image at the top on mobile */
            }
            
            .about-text-content {
                padding: 0;
                text-align: center;
            }
            
            .about-text-content h2 {
                font-size: 2.5rem;
                text-align: center;
            }

            .about-text-content p {
                text-align: center;
                margin-left: auto;
                margin-right: auto;
            }
        }

   

    .theme-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .theme-card {
            background: white;
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border-top: 4px solid var(--purple);
        }

        .theme-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(141, 91, 253, 0.2);
        }

        .theme-card h3 {
            color: var(--burgundy);
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .theme-card ul {
            list-style: none;
            padding: 0;
        }

        .theme-card li {
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .theme-card li:before {
            content: '●';
            color: var(--red);
            font-size: 0.7rem;
        }


.participants-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .participant-card {
            background: var(--burgundy);
            color: white;
            padding: 2.5rem 2rem;
            border-radius: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .participant-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(141, 91, 253, 0.2) 0%, transparent 70%);
            transition: all 0.5s ease;
        }

        .participant-card:hover::before {
            transform: scale(1.2);
        }

        .participant-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(61, 0, 41, 0.4);
        }

        .participant-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            position: relative;
            z-index: 1;
        }
        /* Material Icon inside participant icon wrapper */
        .participant-icon .material-icons {
            font-size: inherit; 
        }


        .participant-card h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            position: relative;
            z-index: 1;
        }    
            #participants .bg-wrap{background: #f8f9fa;}


          @media (max-width: 768px) {                   
            
            /* Fix for Participants Section on Mobile (to be 2x2) */
            .participants-grid {
                grid-template-columns: repeat(2, 1fr); /* Force 2 columns */
                gap: 1rem; /* Reduced gap for phone screens */
            }
            .participant-card {
                padding: 1.5rem 1rem; /* Adjusted padding to fit content better */
            }
            .participant-card h3 {
                font-size: 1.1rem; /* Slightly smaller font for titles */
            }
            .participant-card p {
                font-size: 0.85rem; /* Smaller text for the sub-description */
            }
        }
        .timeline {
            max-width: 900px;
            margin: 3rem auto;
            position: relative;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--purple), var(--red));
        }

        .timeline-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 3rem;
            position: relative;
        }

        .timeline-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        #timeline .timeline-content {
            width: 45%;
            background: white;
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: scale(1.05);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }

        .timeline-date {
            font-weight: 800;
            color: var(--red);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .timeline-dot {
            width: 20px;
            height: 20px;
            background: var(--burgundy);
            border-radius: 50%;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid white;
            box-shadow: 0 0 0 4px var(--purple);
            z-index: 1;
        }
    @media (max-width: 992px) {
            /* Timeline Mobile (Reverting to vertical for small screens) */
            .timeline {
                display: block; /* Stack items vertically */
                max-width: 900px; /* Use old max width */
                padding: 0;
            }
            
            /* Vertical line positioning */
            .timeline::before {
                top: 0;
                bottom: 0;
                height: 100%;
                width: 4px;
                right: 20px;
                transform: none;
                background: linear-gradient(180deg, var(--purple), var(--red));
            }
            
            .timeline-item {
                width: 100%;
                display: flex;
                flex-direction: column !important;
                align-items: flex-start;
                padding-right: 50px;
                margin-bottom: 3rem;
            }
            
            /* Reset margins/order for mobile vertical view */
            .timeline-item:nth-child(even) .timeline-content,
            .timeline-item:nth-child(odd) .timeline-content {
                order: 2;
                margin-top: 0;
                margin-bottom: 0;
            }

            .timeline-content {
                width: 100%;
                text-align: right;
            }

            .timeline-dot {
                right: 20px;
                top: 0; /* Reset top to relative start of timeline item */
                transform: translate(-50%, 0);
            }
        }
@media(max-width:767px){
    #timeline .timeline-content{width:100%;}
    .timeline::before {
    right: 10px;
}

.timeline-dot {
    right: -7px;
}
}
.prizes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .prize-card {
            background: white;
            padding: 3rem 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .prize-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--burgundy); /* CHANGED: Was #FF1420 */
        }

        .prize-card:nth-child(1) {
            transform: scale(1.05);
            border: 3px solid var(--burgundy); /* CHANGED: Was var(--red) */
        }

        .prize-card:hover {
            transform: scale(1.1);
            box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        }

        .prize-place {
            font-size: 1.2rem;
            color: var(--burgundy);
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .prize-amount {
            font-size: 3rem;
            font-weight: 800;
            color: var(--burgundy); /* CHANGED: Was var(--red) */
            margin: 1rem 0;
        }

        .prize-trophy {
            font-size: 4rem;
            margin-bottom: 1rem;
        }
        /* Material Icon inside prize trophy wrapper */
        .prize-trophy .material-icons {
            font-size: inherit; 
        }
        #prizes .bg-wrap{background: #f8f9fa;}
    @media (max-width: 768px) {                   
            
            .prize-card:nth-child(1) {
                transform: scale(1);
                border: none;
            }
            
            /* Fix for Prizes Section on Mobile (to prevent stacking) */
            .prizes-grid {
                gap: 0.5rem; /* Reduce gap to ensure cards fit on narrow screens */
            }
            .prize-card {
                padding: 1.5rem 0.5rem; /* Reduce padding inside cards to gain space */
            }
            .prize-amount {
                font-size: 2rem; /* Reduce font size for amount to fit */
            }
            .prize-trophy {
                font-size: 3rem; /* Reduce font size for trophy icon */
            }
            
        }

    a.accordion-header {
    position: relative;
    border-bottom: 1px solid #ccc;
}

a.accordion-header:after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    font-size: 30px;
    line-height: 1em;
    left: 15px;
    top: 50%;
    transform: translate(-50%, -50%);
}

a.accordion-header.collapsed:after {
    content: "▼";
    border: none;
    height: auto;
    color: var(--burgundy);
    left:30px;
}
    a.accordion-header.collapsed:hover:after{color:#fff;}

a.accordion-header{border:none;}
    a.accordion-header:not(.collapsed):after {
    content: '▼';
    transform: rotate(180deg);
    }
    .faq-container {
            max-width: 900px;
            margin: 3rem auto;
            
        }

        .faq-item {
            background: white;
            margin-bottom: 1.5rem;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.124);
            transition: all 0.3s ease;
        }

        .faq-item:hover {
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .faq-question {
            padding: 1.8rem 2rem;
            background: var(--white);
            color: var(--burgundy);
            cursor: pointer;
            font-weight: 600;
            font-size: 1.1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            
        }

        .faq-question:hover {
            background: var(--burgundy);
            color: white !important;
        }

        .faq-toggle {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

        .faq-item.active .faq-toggle {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 2rem;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .faq-item.active .faq-answer {
            padding: 1.5rem 2rem;
            max-height: 500px;
        }
.faq-answer p{font-weight: 500 !important;}
#alert-img-text .bg-wrap {
    background-color: #6BC96D;
}

#alert-img-text-btn .bg-wrap {
	background: #3d0029;
}   .main-footer {
            background: var(--white); /* White background as in image */
            color: var(--black);
            padding: 2rem 5%;
            border-top: 1px solid #ddd;
        }

        .footer-top {
            display: flex;
            justify-content: space-between; /* Space out the three blocks */
            align-items: center;
            padding-bottom: 2rem;
            /* Separator line logic from the image */
            border-bottom: 1px solid #ddd;
            max-width: 1400px;
            margin: 0 auto;
            position: relative; 
            min-height: 80px; /* Ensure enough height for the Rubban logo */
        }

        .footer-left {
            /* Ensures contact info is on the far left */
            z-index: 1; /* Keep content on top of absolutely positioned center */
        }

        .footer-center {
            /* Absolute positioning to truly center Rubban */
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 0; /* Keep it layered correctly */
            text-align: center;
        }

        .footer-right {
            display: flex;
            justify-content: flex-end; /* Push content to the right edge */
            align-items: center;
            z-index: 1;
        }

        .footer-contact {
            text-align: left;
        }

        .footer-contact h3 {
            font-size: 0.9rem;
            color: var(--black);
            font-weight: 600;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
        }

        .footer-contact a {
            color: var(--burgundy);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            font-size: 1rem;
        }

        .footer-contact a:hover {
            color: var(--red);
        }
        
        .secondary-logos-group {
            display: flex;
            align-items: center;
            gap: 1.5rem; /* Small gap to keep SOHAR and Madaar together */
        }

        .footer-logo {
            height: auto;
            width: auto;
            object-fit: contain;
        }
        
        /* Specific Logo Sizing */
        .rubban-logo img {
            height: 80px; /* Dominant height for the central logo (NO CHANGE) */
            width: auto;
        }
        
        .sohar-logo img {
            height: 30px; /* 50% reduced height (NO CHANGE) */
            width: auto;
        }
        
        .madaar-logo img {
            height: 60px; /* 50% reduced height (NO CHANGE) */
            width: auto;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 1.5rem;
            display: flex;
            justify-content: center; /* Centered the content (social links) */
            align-items: center;
            font-size: 0.9rem;
            color: #555;
        }
        
        .social-links {
            display: flex;
            gap: 1.2rem;
            font-size: 1.5rem; /* Set font size for icons */
            
        }
        
        .social-links a {
            /* Using a dark blue/purple color to match the icons in the screenshot */
            color: #3D0029; 
            text-decoration: none;
            transition: color 0.3s;
            /* Removed font-weight: bold; */
        }
        
        .social-links a:hover {
            color: var(--red);
        }        @media (max-width: 768px) {                   
            /* Responsive Footer - Stacks and centers all elements */
            .footer-top {
                flex-direction: column;
                gap: 2rem;
                align-items: center; 
                padding-bottom: 2rem;
                position: static; /* Remove absolute positioning for stacking */
                min-height: auto;
            }
            
            .footer-center {
                position: static;
                transform: none;
                order: -1; /* Puts Rubban logo first in the stack for mobile */
            }
            
            .footer-contact {
                text-align: center;
            }
            
            .footer-bottom {
                flex-direction: column-reverse;
                gap: 1.5rem;
            }

            .rubban-logo img {
                height: 60px;
            }
        }