:root {
    --primary: #00a8a8;
    --primary-dark: #008a8a;
    --secondary: #0f172a;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient-overlay: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
}

html {
    scroll-behavior: smooth;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
header {
    background: var(--white);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    /* Gradient text matching logo colors (secondary #0f172a to primary #00a8a8) */
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback color */
    color: var(--secondary);
    letter-spacing: -0.02em;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    /* Dark text for light background */
    background-color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideShow 35s infinite;
    /* Longer duration for more slides */
}

/* 7 slides total: 35s total, 5s each */
.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s;
}

.slide:nth-child(3) {
    animation-delay: 10s;
}

.slide:nth-child(4) {
    animation-delay: 15s;
}

.slide:nth-child(5) {
    animation-delay: 20s;
}

.slide:nth-child(6) {
    animation-delay: 25s;
}

.slide:nth-child(7) {
    animation-delay: 30s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    /* Fade in faster */
    14% {
        opacity: 1;
    }

    /* Stay visible (100/7 approx 14%) */
    19% {
        opacity: 0;
    }

    /* Fade out */
    19% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.slide-caption {
    display: none;
    /* Hiding individual captions to reduce clutter as per user request to see slider better */
}

.hero::before {
    /* Removed dark overlay */
    content: none;
}

.hero-content {
    position: absolute;
    bottom: 10px;
    /* Moved lower */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* Full width to center properly without box constraints */
    max-width: 100%;
    z-index: 3;
    text-align: center;
    padding: 1rem;
    background: none;
    /* No background */
    backdrop-filter: none;
    /* No blur */
    border: none;
    /* No border */
    box-shadow: none;
    /* No shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Let clicks pass through empty areas */
}

.hero-content>* {
    pointer-events: auto;
    /* Re-enable clicks on text/buttons */
}

.hero h1 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: rgba(15, 23, 42, 0.6);
    /* Lighter and transparent as requested */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(15, 23, 42, 0.6);
    /* Transparent matching the heading */
    margin-bottom: 1rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Services Section */
.section-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 2rem;
    padding-left: 5%;
    margin-top: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5% 5rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Contact / Footer */
.footer-section {
    background: var(--bg-light);
    /* The image shows a contact section which looks integrated or near footer */
}

/* Responsive adjustments */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
    padding: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Navbar Mobile Styles */
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, box-shadow 0.3s ease;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0);
    }

    nav.active {
        max-height: 300px;
        /* Adjust based on content height */
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        padding-bottom: 1rem;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid #f1f5f9;
        display: block;
    }

    nav a:last-child {
        border-bottom: none;
    }

    /* Hero adjustments */
    .hero {
        min-height: 400px;
        /* Reduced height for mobile */
    }

    .hero h1 {
        font-size: 1.5rem;
        /* Much smaller for mobile */
        margin-bottom: 0.25rem;
    }

    .hero p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .hero-content {
        bottom: 5px;
        /* Keep it low */
        padding: 0.5rem;
        /* Minimal padding */
        width: 95%;
        /* Use full width */
    }

    .btn-primary {
        padding: 0.5rem 1.5rem;
        /* Smaller button */
        font-size: 0.9rem;
    }

    /* Section adjustments */
    .about,
    .contact {
        padding: 50px 5% !important;
        /* Override inline styles */
    }

    .section-title {
        text-align: center;
        padding-left: 0;
    }
}