:root {
    --primary: #C7AE6A;
    --primary-dark: #b99a45;
    --primary-light: #d5c28f;
    --primary-lighter: #e3d6b4;
    --dark: #000000;
    --dark-lighter: #1a1a1a;
    --background: #fefefe;
    --foreground: #1a1a1a;
    --muted: #777;
    --muted-foreground: #999;
    --border: #e3d6b4;
    --radius: 0.5rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--background) 0%, #faf8f3 100%);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to bottom right, #fefdf9, #f8f6ef);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(to bottom right, #fefdf9, #f8f6ef);
    box-shadow: 0 4px 20px rgba(199, 174, 106, 0.1);
}

.header-container {
    display: flex;
    height: 4rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}   

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logoimg {
    width: 4rem;
    height: auto;
    margin-right: 0.3rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(199, 174, 106, 0.3));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: auto;  
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--foreground);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    margin-left: auto;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(199, 174, 106, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.mobile-nav-link.active {
    color: var(--primary);
}
/* CATALOGUE */
        .dropdown {
        position: relative;
        text-decoration: none;
        color: var(--foreground);
        padding: 0.5rem 0;
        transition: all 0.3s ease;
         }

        .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 140px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        top: 100%;
        left: 0;
        z-index: 1;
        text-decoration: none;
        text-decoration: none;
        }

        .dropdown-content a {
        color: black;
        padding: 12px 10px;
        padding-right: 0;
        text-decoration: none;
        display: block;
        }
        .dropdown-content a:hover {
        background-color: var(--primary)
        }
        .dropdown:hover::before {
        width: 100%;
        }
        .dropdown:hover .dropdown-content {
        display: block;
        }
        .dropdown:hover::before,
        .dropdown.active::before {
        width: 100%;
        }
        .dropdown-link{
            text-decoration: none;color: black;
        }
        .dropdown-link:hover::before {
            width: 100%;
        }
        .dropdown-link:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }
        .dropdown-link:hover::before,
        .dropdown-link.active::before {
            width: 100%;
        }
        .mobile-catalogue-section{
            padding-left: 2rem;
            padding-bottom: 2rem;
        }
            .mobile-catalogue-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 2rem;
            margin-left: 1rem;
            border-left: 2px solid var(--border);
        }
            .mobile-nav-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: black;
            margin-bottom: 1rem;
            display: block;
        }       
        .mobile-nav-link mobile-catalogue-item{
            padding-left: 2rem;
        }
/* Hero Section */
.hero-section {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 20;
    padding: 3rem;
    opacity: 0;
    animation: heroFadeIn 1.2s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--dark-lighter);
    animation: titlePulse 3s ease-in-out infinite;
}

.hero-subtitle {
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.3rem;
    color: var(--muted);
    line-height: 1.7;
    animation: subtitleFloat 4s ease-in-out infinite;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.floating-element:nth-child(3) { top: 30%; left: 70%; animation-delay: 4s; }
.floating-element:nth-child(4) { top: 80%; left: 20%; animation-delay: 6s; }

/* Drivers Section */
.drivers-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f3 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--dark-lighter);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.section-subtitle {
    max-width: 36rem;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.6;
}

.drivers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Driver Card */
.driver-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(199, 174, 106, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.driver-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(199, 174, 106, 0.05), transparent);
    transition: left 0.5s ease;
}

.driver-card:hover::before {
    left: 100%;
}

.driver-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(199, 174, 106, 0.2);
}

.driver-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.driver-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(199, 174, 106, 0.3);
}

.driver-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-lighter);
    margin-bottom: 0.25rem;
}

.driver-version {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
    background: var(--primary-lighter);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}

.driver-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.driver-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(255, 255, 255, 0.5) 100%);
    border-radius: 0.75rem;
}

.driver-detail {
    text-align: center;
}

.driver-detail-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.driver-detail-value {
    font-weight: 600;
    color: var(--dark-lighter);
    font-size: 0.9rem;
}

.driver-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.driver-download-btn {
    flex: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(199, 174, 106, 0.3);
}

.driver-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.driver-download-btn:hover::before {
    left: 100%;
}

.driver-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 174, 106, 0.4);
}

.driver-download-btn i {
    font-size: 1.1rem;
}

.driver-size {
    font-size: 0.875rem;
    color: var(--muted);
    font-weight: 500;
}

/* Footer */
        .footer {
            border-top: 1px solid var(--border);
            background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
            
        }

        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

         .footer-icon{
            padding:0px 0; text-align:center; font-family:sans-serif;
            margin:0 10px; color:#E4405F;
             font-size:25px;
        }

        

        .rightsreserv{
            padding-left: 0px;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-align: center;
            

        }
        .footer-text {
            text-align: center;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-decoration: none;
        }


/* Loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titlePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        height: 4rem;
        justify-content: space-between;
    }
 /* Footer */
        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

         .footer-icon{
            padding:0px 0; text-align:center; font-family:sans-serif;
            margin:0 10px; color:#E4405F;
             font-size:20px;
        }

        

        .rightsreserv{
            padding-left:0px;
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-align: center;
            

        }
        .footer-text {
            text-align: center;
            font-size: 0.8rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-decoration: none;
        }
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .drivers-section {
        padding: 4rem 0;
    }

    .drivers-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .driver-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .driver-download-btn {
        text-align: center;
    }
    .logo-text {
                display: block;
                font-size: 1.2rem;
            }
            .logoimg {
            width: 3rem;
            }
        }

           /* Footer */
        .footer {
            border-top: 1px solid var(--border);
            background: linear-gradient(135deg, var(--primary-lighter) 0%, #ffffff 100%);
            
        }

        .footer-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
        }

         .footer-icon{
            padding:0px 0; text-align:center; font-family:sans-serif;
            margin:0 10px; color:#E4405F;
             font-size:25px;
        }

        

        .rightsreserv{
            padding-left:0px;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-align: center;
            

        }
        .footer-text {
            text-align: center;
            font-size: 1rem;
            line-height: 1.6;
            color: var(--muted);
            font-weight: 800;
            text-decoration: none;
        }
@media (min-width: 769px) {
    .drivers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo-text {
                display: block;
                font-size: 1.5rem;
            }
        }

@media (min-width: 1024px) {
    .drivers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}