:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --accent: #ff4757;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Vibrant Gradients */
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    height: 100%;
    /* Take full height of navbar */
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
}

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

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 10px 0;
    z-index: 10;
    animation: fadeIn 0.3s ease;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #f8fafc;
    padding-left: 25px;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    color: white;
    width: 100%;
    /* Desktop Aspect Ratio 16:9 (9/16 = 56.25%) */
    aspect-ratio: 16/9;
    height: auto;
    /* Allow aspect-ratio to drive height */
    min-height: auto;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    /* Reset to full brightness */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* Very light overlay */
    /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease forwards;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: slideUp 1s ease forwards;
}

/* Quick Contact Form */
.quick-contact {
    background: white;
    padding: 40px 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: 10px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.quick-contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.quick-contact h3 {
    margin-bottom: 0;
}

.form-inline {
    display: flex;
    gap: 15px;
    flex-grow: 1;
}

.form-inline input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    outline: none;
    transition: var(--transition);
}

.form-inline input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

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

.service-img {
    height: 200px;
    background-color: #e2e8f0;
    /* Fallback */
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 25px;
}

.service-info h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-info a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* About Section */
.about-section {
    background: white;
}

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

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

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* Success Story & Features */
.features-section {
    background: var(--bg-light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.feature-box:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Reviews */
.reviews-scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-card {
    min-width: 350px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 20px 0;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        aspect-ratio: 1/1;
        /* 1:1 Ratio for Mobile */
        height: auto;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    #mobile-menu-btn {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* Fix alignment */
        padding-top: 20px;
        /* Add breathing room */
        transition: 0.3s ease;
        box-shadow: var(--shadow-lg);
        display: flex;
        overflow-y: auto;
        /* Enable scrolling */
        max-height: calc(100vh - 80px);
        /* Enforce height limit */
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
    }

    .dropdown-content {
        position: relative;
        box-shadow: none;
        background: #f8fafc;
        display: none;
        /* Keep hidden until hovered/clicked, or handle with JS */
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    /* Show dropdown when active class is added via JS */
    .dropdown.active .dropdown-content {
        display: block !important;
        position: static !important;
        box-shadow: none !important;
        width: 100%;
        background: #f9f9f9;
        max-height: 400px;
        overflow-y: auto;
        /* Prevent hover from interfering */
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Disable hover interactions on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    /* Ensure only the active class triggers display */
    .dropdown.active:hover .dropdown-content {
        display: block !important;
    }

    .quick-contact-wrapper {
        flex-direction: column;
    }

    .form-inline {
        flex-direction: column;
        width: 100%;
    }

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

/* Floating Contact Section */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    text-decoration: none;
}

.float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
    /* Ensure text/icon stays white */
}

/* Tooltip text */
.float-text {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    transform: translateX(10px);
}

.float-btn:hover .float-text {
    opacity: 1;
    transform: translateX(0);
}

/* Specific Colors */
.btn-whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.btn-whatsapp::before {
    background: #25D366;
}

.btn-call {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.btn-call::before {
    background: #007bff;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .float-text {
        display: none;
    }
}

/* Top Bar & Marquee */
.top-notice-bar {
    background: linear-gradient(to right, #0d30a2, #07096f);
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    position: relative;
    z-index: 1002;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.top-notice-bar marquee {
    letter-spacing: 0.5px;
}

.top-header {
    background: #f8fafc;
    /* Light background */
    color: var(--text-dark);
    /* Dark text */
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1001;
}

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

.top-contact a {
    color: var(--text-dark);
    /* Dark link text */
    margin-right: 20px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-contact a:hover {
    color: var(--primary);
}

.top-social a {
    color: var(--text-dark);
    margin-left: 15px;
    width: 30px;
    height: 30px;
    background: #e2e8f0;
    /* Darker background for round icons */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.top-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Adjust main header position since we added top bars */
header {
    position: sticky;
    top: 0;
    margin-top: 0;
}

.hero {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .top-header {
        display: block;
        /* Show on mobile */
        padding: 5px 0;
    }

    .top-header-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .top-contact a {
        display: block;
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 0.8rem;
    }

    .top-social {
        display: none;
        /* Hide social icons on mobile to save space, or keep if preferred */
    }
}