/* Design System for Elite Drive UAE */
:root {
    --primary-blue: #001a33;
    --accent-gold: #D4AF37;
    --pure-white: #FFFFFF;
    --off-white: #F0F4F8;
    --text-dark: #0A0A0A;
    --text-muted: #555555;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--pure-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
    color: var(--pure-white);
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 26, 51, 0.8), rgba(0, 26, 51, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.language-tagline {
    font-size: 0.9rem !important;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold) !important;
    margin-bottom: 2.5rem !important;
    max-width: 100%;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--pure-white);
}

.btn-primary:hover {
    background-color: #b08d4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    margin-top: 1.5rem;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--pure-white);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.w-100 { width: 100%; }

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--primary-blue);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Rules Section */
.rules {
    padding: 10rem 0;
    background: var(--off-white);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.rule-card {
    background: var(--pure-white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.rule-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.rule-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.rule-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.rule-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Reviews Section */
.reviews {
    padding: 10rem 0;
    background: var(--pure-white);
}

.google-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-card {
    background: var(--off-white);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
}

.review-stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 0.8rem;
}

.add-review {
    text-align: center;
}

.review-form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--off-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.hidden { display: none; }

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
}

/* Apply Section */
.apply {
    padding: 10rem 0;
    background: #050a14;
    color: white;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.apply-benefits {
    list-style: none;
    margin-top: 2.5rem;
}

.apply-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.apply-benefits i {
    color: var(--accent-gold);
}

.apply-form {
    background: rgba(255,255,255,0.05);
    padding: 3.5rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.apply-form input, .apply-form select, .apply-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: white;
    font-family: inherit;
    margin-bottom: 1rem;
}

.apply-form input::placeholder, .apply-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.apply-form select option {
    background: #050a14;
}

/* Existing Image Overlay Refinement */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2.5rem;
    color: white;
}

.image-overlay p {
    font-weight: 600;
    font-style: italic;
    margin: 0;
}

/* Tamil Badge */
.tamil-badge {
    position: absolute;
    top: 15%;
    right: 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.4);
}

.badge-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-blue), #004080);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.4rem;
}

.badge-text {
    color: var(--primary-blue);
}

.badge-text h4 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 10rem 0;
    background: var(--pure-white);
    text-align: center;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    padding: 3rem 2rem;
    background: var(--off-white);
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--pure-white);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-image-grid img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item i {
    color: var(--accent-gold);
}

/* Animations */
/* Requirements Section */
.requirements {
    padding: 10rem 0;
    background: #050a14;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.requirements .section-header h2 {
    color: var(--pure-white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.requirement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.requirement-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.requirement-card.wide {
    grid-column: span 2;
}

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

.card-header i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.card-header h3 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-label {
    font-weight: 600;
    color: var(--accent-gold);
}

.doc-req {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.note-box {
    background: rgba(197, 160, 89, 0.1);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    border-radius: 0 12px 12px 0;
}

.note-box i {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.note-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.doc-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
    padding: 10rem 0;
    background: var(--pure-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.tagline {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.contact-info h2 {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-dark);
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--pure-white);
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    width: 50px;
    height: 50px;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-item span {
    display: block;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.contact-map {
    height: 600px;
    position: relative;
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 10;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Stagger reveals */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.requirements-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.requirements-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

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

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    nav { padding: 0.8rem 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); }
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--pure-white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .nav-enroll {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .hero { 
        height: auto; 
        min-height: 100vh;
        padding: 8rem 0 4rem; 
        text-align: center; 
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content { 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero h1 { font-size: 2.5rem; width: 100%; }
    .hero p { font-size: 1.1rem; }
    .cta-group { 
        flex-direction: column; 
        gap: 1rem; 
        width: 100%;
        align-items: center;
    }
    .cta-group .btn { width: 100%; max-width: 300px; }
    
    .tamil-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 2rem;
        width: fit-content;
        animation: none;
    }
    
    .stats { padding: 3rem 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .stat-number { font-size: 2.2rem; }
    
    .section-header h2 { font-size: 2.2rem; }
    
    .about, .services, .rules, .reviews, .apply, .requirements, .contact { padding: 4rem 0; }
    
    .about-image-grid { gap: 10px; }
    .about-content { text-align: center; }
    .about-content h2 { font-size: 2.2rem; }
    .feature-item { justify-content: center; }
    
    .reviews-grid, .faq-grid { grid-template-columns: 1fr; }
    
    .apply-form { padding: 1.5rem; margin-top: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    
    .contact-info { text-align: center; }
    .contact-info h2 { font-size: 2.2rem; }
    .contact-methods { align-items: center; }
    .contact-map { height: 300px; border-radius: 15px; }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 8px 16px;
    }
    .whatsapp-float span { display: none; } /* Hide text on small mobile, just icon */
    .whatsapp-float { border-radius: 50%; padding: 15px; }
    .whatsapp-float i { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .nav-enroll { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
}
