:root {
    /* Color Palette - Nature & Tech inspired */
    --primary: hsl(142, 70%, 25%);
    --primary-light: hsl(142, 70%, 35%);
    --secondary: hsl(200, 80%, 40%);
    --accent: hsl(45, 100%, 50%);
    --text: hsl(220, 20%, 15%);
    --text-muted: hsl(220, 15%, 45%);
    --bg: hsl(210, 20%, 98%);
    --surface: hsl(0, 0%, 100%);
    --glass: hsla(0, 0%, 100%, 0.8);
    --border: hsla(220, 20%, 15%, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: 0.4s ease-in-out;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(12px);
    height: 70px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.logo img {
    height: 50px;
    transition: 0.3s;
    filter: brightness(0) invert(1); /* Logo white by default */
}

.navbar.scrolled .logo img {
    filter: none; /* Original logo on light background */
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
    padding: 10px 0;
    cursor: pointer;
}

.navbar.scrolled .nav-item {
    text-shadow: none;
    color: var(--primary);
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--surface);
    min-width: 260px;
    padding: 16px 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    z-index: 2000;
}

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

.dropdown-item {
    padding: 12px 24px;
    display: block;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: 0.2s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: hsla(142, 60%, 25%, 0.05); /* Very light primary */
    color: var(--primary);
    padding-left: 30px;
}

.nav-item i {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: 0.3s;
}

.dropdown:hover .nav-item i {
    transform: rotate(180deg);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-item:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 30%),
        linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
        url('../../hero-bg.png') center/cover;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.page-header {
    padding: 180px 0 100px;
    background: 
        linear-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%),
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
        url('../../header-bg.png') center/cover;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Cards & Sections */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.card {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: 0.4s;
    border: 1px solid var(--border);
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Services Detail Section */
.service-feature {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.service-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-content {
    flex: 1;
}

/* Stats Section */
.stats {
    background: var(--primary);
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 8px;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: white;
}

.footer-links h4 {
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

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

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

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    text-align: center;
    color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:not(.visible) {
    transform: translateY(20px);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* Animations ... */

[data-aos].aos-animate {
    opacity: 1;
}

.fade-up {
    transform: translateY(30px);
}

.fade-up.aos-animate {
    transform: translateY(0);
}

/* Response */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .service-feature, .service-feature:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
