/* Spires Taxis - Oxford Colors CSS */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Oxford Colors & Typography - Updated to match template */
:root {
    --oxford-blue: #002147;
    --oxford-blue-light: #1a4f73;
    --oxford-gold: #C5A572;
    --oxford-gold-light: #E8D5B7;
    --oxford-cream: #F7F4E9;
    --oxford-stone: #8B8680;
    --oxford-dark: #1a1a1a;
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --border-radius: 6px;
    --shadow-light: 0 2px 8px rgba(0, 34, 71, 0.1);
    --shadow-medium: 0 4px 12px rgba(0, 34, 71, 0.15);
    --shadow-heavy: 0 8px 25px rgba(0, 34, 71, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--oxford-blue);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

/* Logo and Brand Typography */
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--oxford-blue);
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--oxford-gold), transparent);
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--oxford-gold);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Student Banner Styles */
.student-banner {
    background: linear-gradient(135deg, var(--oxford-blue), var(--oxford-blue-light));
    padding: 0.75rem 0;
    text-align: center;
}

.student-offer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.offer-text {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Larger text for non-index pages */
body:not([data-page="home"]) .offer-text {
    font-size: 1.3rem;
}

/* Header and Navigation */
header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 34, 71, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--oxford-gold);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--oxford-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 0;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--oxford-gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--oxford-gold);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.phone-btn {
    color: var(--oxford-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 0.5rem;
}

.phone-btn:hover {
    color: var(--oxford-gold);
}

.whatsapp-btn {
    background: none;
    color: #25D366;
    padding: 0.25rem;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-1px);
}

.book-btn {
    background: var(--oxford-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.book-btn:hover {
    background: var(--oxford-gold);
    color: var(--oxford-blue);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 1rem 0;
    display: none;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 2px solid var(--oxford-gold);
}

.dropdown-section {
    padding: 0;
}

.dropdown-section a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--oxford-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-section a:hover {
    color: var(--oxford-gold);
    background: var(--oxford-cream);
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown:hover .destinations-menu {
    display: grid;
}

.dropdown-section {
    padding: 0;
}

.dropdown-section h4 {
    display: none;
}

.dropdown-section a {
    display: block;
    padding: 0.35rem 0.8rem;
    color: var(--oxford-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
    line-height: 1.2;
    background: none !important;
    margin-bottom: 1px;
}

.dropdown-section a:hover {
    color: var(--oxford-gold);
    background: var(--oxford-cream) !important;
    padding-left: 1rem;
}

.dropdown-section a:hover {
    color: var(--oxford-gold);
    background: var(--oxford-cream);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--oxford-blue);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--oxford-blue), var(--oxford-blue-light));
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(197, 165, 114, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    color: var(--oxford-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--oxford-gold);
    color: var(--oxford-blue);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: var(--oxford-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp: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;
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* WhatsApp Icon Styling */
.whatsapp-icon {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    filter: none;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.whatsapp-icon-inline {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.btn-large .whatsapp-icon-inline {
    width: 20px;
    height: 20px;
}

/* Section Styling */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--oxford-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--oxford-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--oxford-stone);
    line-height: 1.6;
}

.services-section {
    background: var(--oxford-cream);
}

.about-section {
    background: var(--white);
}

.contact-section {
    background: linear-gradient(135deg, var(--oxford-blue), var(--oxford-blue-light));
    color: white;
}

.contact-section .section-title,
.contact-section h3 {
    color: white;
}

.contact-section .section-subtitle {
    color: var(--oxford-gold);
}

/* Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

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

/* Card Styles */
.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(197, 165, 114, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--oxford-gold), transparent);
}

.card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--oxford-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    color: var(--oxford-gold);
}

.service-price {
    color: var(--oxford-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--oxford-gold-light);
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--oxford-gold);
}

/* CTA Section */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 2rem;
}

/* Footer */
footer {
    background: var(--oxford-blue);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(197, 165, 114, 0.2);
}

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

.footer-section h4 {
    color: var(--oxford-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--oxford-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(197, 165, 114, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { gap: 1.5rem; }
    
    .dropdown-menu {
        min-width: 300px;
    }
    
    .destinations-menu {
        min-width: 350px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-medium);
        border-top: 1px solid rgba(197, 165, 114, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero {
        padding: 4rem 1rem 2rem;
        min-height: 80vh;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    nav {
        padding: 1rem 2rem;
    }

    .section {
        padding: 3rem 1rem;
    }
    
    .dropdown-menu {
        position: static;
        grid-template-columns: 1fr;
        min-width: auto;
        max-width: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 1rem 0;
        border-top: none;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .card {
        padding: 1.5rem;
    }
    
    .student-offer {
        padding: 0 1rem;
    }
    
    .offer-text {
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.accent-color { color: var(--oxford-gold); }
.primary-color { color: var(--oxford-blue); }

/* Print Styles */
@media print {
    .no-print {
        display: none;
    }
}

/* Add this to your existing style.css file */
/* This will override the existing footer link styles */

/* Footer Link Styles - Universal Fix */
.footer-section ul li a,
.footer-bottom a,
footer a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-bottom a:hover,
footer a:hover {
    color: var(--oxford-gold) !important; /* #C5A572 */
}

/* If you have contact info in a specific contact section */
.contact-info a {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--oxford-gold) !important;
}

/* Clean Footer Redesign */

footer {
    background: var(--oxford-blue);
    color: white;
    padding: 4rem 0 0;
    border-top: 3px solid var(--oxford-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 0;
    align-items: start;
}

/* Company Section - Simplified */
.footer-brand {
    background: none;
    padding: 0;
    border: none;
    border-radius: 0;
}

.footer-logo {
    font-family: 'Cinzel', serif !important;
    font-size: 2rem !important;
    font-weight: 500 !important;
    color: var(--oxford-gold) !important;
    margin-bottom: 1rem !important;
    letter-spacing: 1px;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.footer-tagline {
    font-size: 1.2rem;
    color: var(--oxford-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Simplified Contact Section */
.footer-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding: 0;
    border-bottom: none;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--oxford-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--oxford-gold);
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: none; /* Hide the labels for cleaner look */
}

.contact-details a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--oxford-gold) !important;
}

/* Fixed Footer Bottom - Properly Centered */

/* Footer Bottom - No License Text */

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(197, 165, 114, 0.2);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

/* Hide the license info completely */
.license-info {
    display: none !important;
}

.footer-cta {
    flex-shrink: 0;
}

.footer-phone-btn {
    background: var(--oxford-gold);
    color: var(--oxford-blue) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(197, 165, 114, 0.3);
}

.footer-phone-btn:hover {
    background: white;
    color: var(--oxford-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 165, 114, 0.4);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-phone-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    
}

/* Add this to your existing style.css file */

.login-btn {
    background: transparent;
    color: var(--oxford-stone);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(139, 134, 128, 0.3);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    height: 100%;
}

.login-btn:hover {
    background: var(--oxford-stone);
    color: white;
    border-color: var(--oxford-stone);
}

/* Mobile responsive for login button */
@media (max-width: 768px) {
    .login-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* Mobile Optimization Fixes - Add these to your style.css */

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .nav-cta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        width: 100%;
    }
    
    .phone-btn {
        font-size: 1rem;
        padding: 0.75rem;
        text-align: center;
        border: 1px solid rgba(0, 33, 71, 0.2);
        border-radius: 4px;
        background: rgba(0, 33, 71, 0.05);
    }
    
    .whatsapp-btn {
        padding: 0.75rem;
        justify-content: center;
        border-radius: 4px;
        background: rgba(37, 211, 102, 0.1);
        border: 1px solid rgba(37, 211, 102, 0.3);
    }
    
    .book-btn {
        padding: 0.75rem 1.5rem;
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .login-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.5rem;
        padding: 0.75rem;
        font-size: 0.85rem;
        background: rgba(139, 134, 128, 0.1);
        border: 1px solid rgba(139, 134, 128, 0.3);
    }
}

/* Fix Header Spacing on Mobile */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
        flex-wrap: wrap;
        min-height: auto;
    }
    
    .logo {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .mobile-menu-toggle {
        order: 2;
        margin-left: auto;
    }
    
    .nav-cta {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(197, 165, 114, 0.2);
    }
}

/* Improve Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 1rem 3rem;
        min-height: 85vh;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }
}

/* Better Mobile Text Sizing */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Mobile Footer Improvements */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }
}

/* Improve Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(197, 165, 114, 0.2);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        width: 100%;
        border-radius: 4px;
        background: rgba(0, 33, 71, 0.02);
        margin-bottom: 0.5rem;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--oxford-cream);
        color: var(--oxford-blue);
    }
}

/* Better Mobile Typography */
@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}

/* Ensure proper spacing and touch targets */
@media (max-width: 768px) {
    /* Minimum touch target size of 44px */
    .btn,
    .phone-btn,
    .whatsapp-btn,
    .book-btn,
    .login-btn,
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better form elements on mobile */
    input,
    button,
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 4px;
    }
}

/* Student Banner Mobile Fix */
@media (max-width: 768px) {
    .student-banner {
        padding: 0.5rem 0;
    }
    
    .offer-text {
        font-size: 0.9rem;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    body:not([data-page="home"]) .offer-text {
        font-size: 1rem;
    }
}
/* EMERGENCY MOBILE FIXES - Add to end of style.css */

/* Fix horizontal scrolling issue */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

* {
    box-sizing: border-box !important;
}

/* Fix container widths */
.container {
    max-width: 100% !important;
    padding: 0 1rem !important;
    overflow-x: hidden !important;
}

/* Fix grid layouts causing horizontal scroll */
@media (max-width: 768px) {
    .grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Fix floating buttons issue */
@media (max-width: 768px) {
    /* Fix navigation container */
    nav {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 1rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1rem !important;
    }
    
    /* Top row: Logo and hamburger */
    .nav-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Logo */
    .logo {
        font-size: 1.4rem !important;
        flex-shrink: 0;
    }
    
    /* Hamburger menu */
    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0;
    }
    
    /* Button container - full width */
    .nav-cta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    /* Individual buttons */
    .phone-btn {
        grid-column: 1 / -1 !important; /* Full width */
        padding: 1rem !important;
        text-align: center !important;
        border: 1px solid var(--oxford-blue) !important;
        border-radius: 6px !important;
        background: rgba(0, 33, 71, 0.05) !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
    }
    
    .whatsapp-btn {
        padding: 1rem !important;
        border-radius: 6px !important;
        justify-content: center !important;
        font-weight: 600 !important;
    }
    
    .book-btn {
        padding: 1rem !important;
        border-radius: 6px !important;
        justify-content: center !important;
        font-weight: 600 !important;
    }
    
    .login-btn {
        grid-column: 1 / -1 !important; /* Full width */
        padding: 0.75rem !important;
        text-align: center !important;
        border-radius: 6px !important;
        background: rgba(139, 134, 128, 0.1) !important;
        border: 1px solid rgba(139, 134, 128, 0.4) !important;
        font-weight: 500 !important;
    }
}

/* Fix sections that don't fit screen */
@media (max-width: 768px) {
    .section {
        padding: 2rem 0 !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .section-header {
        padding: 0 1rem !important;
        max-width: 100% !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .section-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

/* Fix hero section */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem 2rem !important;
        min-height: 80vh !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 1rem !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Fix cards and content */
@media (max-width: 768px) {
    .card {
        margin: 0 1rem 1rem 1rem !important;
        padding: 1.5rem !important;
        width: calc(100% - 2rem) !important;
        max-width: none !important;
    }
    
    .feature-box {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
    }
}

/* Fix footer */
@media (max-width: 768px) {
    footer {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .footer-content {
        padding: 0 1rem !important;
        width: 100% !important;
    }
    
    .footer-bottom {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
    }
}

/* Force proper viewport behavior */
@media (max-width: 768px) {
    body {
        width: 100vw !important;
        min-width: 320px !important;
        max-width: 100vw !important;
    }
    
    /* Hide any elements that might cause horizontal scroll */
    .section,
    .container,
    .grid,
    .hero,
    header,
    footer {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
}

/* Emergency overflow fix */
@media (max-width: 768px) {
    * {
        max-width: 100vw !important;
    }
    
    img,
    video,
    iframe {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* SIMPLE MOBILE FIX - Replace your mobile CSS with this */

/* Force proper mobile layout */
@media (max-width: 768px) {
    /* Stop horizontal scrolling completely */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* Fix header completely */
    nav {
        flex-direction: column !important;
        padding: 0.5rem !important;
        align-items: center !important;
    }
    
    /* Logo + hamburger row */
    .nav-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    /* Hide desktop navigation */
    .nav-links {
        display: none !important;
    }
    
    /* Simple button layout */
    .nav-cta {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.5rem !important;
        padding: 0.5rem !important;
    }
    
    .phone-btn,
    .whatsapp-btn,
    .book-btn,
    .login-btn {
        width: 100% !important;
        padding: 0.75rem !important;
        text-align: center !important;
        border-radius: 6px !important;
        font-size: 0.9rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .phone-btn {
        background: #f8f9fa !important;
        border: 1px solid #dee2e6 !important;
        color: var(--oxford-blue) !important;
    }
    
    .login-btn {
        background: #f8f9fa !important;
        border: 1px solid #dee2e6 !important;
        color: var(--oxford-stone) !important;
    }
    
    /* Fix all sections */
    .section {
        padding: 2rem 1rem !important;
        width: 100% !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    /* Fix hero section */
    .hero {
        padding: 3rem 1rem 2rem !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Fix grids */
    .grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Fix cards */
    .card {
        margin: 0 0 1rem 0 !important;
        padding: 1.5rem !important;
    }
    
    /* Fix footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        text-align: center !important;
    }
}