/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --primary-color: #1a365d;
    --secondary-color: #2d5aa0;
    --accent-color: #e63946;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Light Theme Variables */
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
    --section-bg: #f8f9fa;
    --dark-section-bg: #1a365d;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables */
.dark-theme {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --card-bg: #1e293b;
    --section-bg: #0f172a;
    --dark-section-bg: #020617;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.6);
    --primary-color: #000206;
    --secondary-color: #2563eb;
}

/* Smooth transitions for theme switching */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
    font-family: var(--font-family);
    line-height: var(--line-height);
    overflow-x: hidden;
}

/* Smooth transitions for all elements */
* {
    transition: background-color 0.4s ease, 
    color 0.4s ease, 
    border-color 0.4s ease, 
    box-shadow 0.4s ease;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}
h5{
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-size: clamp(1.5rem, 4vw, 1.25rem);
    color: #f8f5f5;

}
h1 { 
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 { 
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 { 
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--accent-color);
}

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

/* ===== THEME TOGGLE IN MENU ===== */
.theme-toggle-item {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.theme-toggle-btn {
    background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    font-family: var(--font-family);
}

.theme-toggle-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.theme-toggle-btn:active {
    transform: translateY(0);
}

.dark-theme .theme-toggle-btn .fa-moon::before {
    content: "\f185"; /* Sun icon */
    color: #ffd700;
}

/* Desktop Menu Layout */
@media (min-width: 769px) {
    .nav-menu {
        display: flex;
        gap: 1.5rem;
        list-style: none;
        align-items: center;
    }
    
    .theme-toggle-item {
        margin-left: 1.5rem;
        padding-left: 1.5rem;
        border-left: 1px solid var(--border-color);
    }
   
}

/* Mobile Menu Layout */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger {
        display: flex !important;
    }
    
    .hamburger span {
        background-color: #ffffff; /* White */
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: var(--shadow-hover);
        transition: var(--transition);
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        color: var(--text-color);
        text-decoration: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .theme-toggle-item {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        margin-top: 20px;
        padding-top: 20px;
        width: 100%;
    }
    
    .theme-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 80%;
        max-width: 250px;
        margin: 0 auto;
        padding: 12px 24px;
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        color: white;
        border: none;
        border-radius: 25px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
    }
    
    .theme-toggle-btn .toggle-text {
        display: inline !important;
    }
}
/* Small Mobile */
@media (max-width: 480px) {
    .theme-toggle-btn {
        width: 90%;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
/* ===== HEADER STYLES ===== */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

/* Header scroll effect */
header.scrolled {
    padding: 5px 0;
    background: var(--header-bg);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* ===== LOGO STYLES ===== */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 20px);
    transition: var(--transition);
    z-index: 1001;
}

.logo:hover {
    transform: translateY(-2px);
}

/* Logo Image - Fully Responsive */
.logo-img {
    width: clamp(50px, 8vw, 85px);
    height: clamp(50px, 8vw, 85px);
    min-width: 65px;
    max-width: 85px;
    min-height: 65px;
    max-height: 85px;
    object-fit: cover;
    border-radius: clamp(10px, 2vw, 15px);
    background: rgba(64, 156, 255, 0.15);
    padding: clamp(0px, 0vw, 0px);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-color), var(--bg-color)), 
                      linear-gradient(135deg, #01080f, #6c5ce7);
    background-origin: border-box;
    background-clip: content-box, border-box;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 134, 64, 0.2);
}

.logo:hover .logo-img {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(3, 11, 20, 0.4);
    border: 2px solid transparent;
}

/* Logo Text */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #080708, #ed0a19, #131313);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
    white-space: nowrap;
    animation: gradientFlow 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-sub {
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ===== NAVIGATION STYLES ===== */
nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 8px 0;
    position: relative;
    color: var(--text-color);
    transition: var(--transition);
    text-decoration: none;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    white-space: nowrap;
}

.nav-menu a i {
    font-size: 1.1rem;
    color: #409cff;
    transition: var(--transition);
}

.nav-menu a:hover i {
    transform: translateY(-2px);
    color: #ff6b6b;
}

/* Animated underline */
.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #409cff, #6c5ce7, #ff6b6b);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a.active {
    color: #409cff;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle-item {
    list-style: none;
    margin-left: 10px;
}

.theme-toggle-btn {
    background: linear-gradient(135deg, rgba(64, 156, 255, 0.1), rgba(108, 92, 231, 0.1));
    border: 1px solid rgba(64, 156, 255, 0.3);
    border-radius: 40px;
    padding: clamp(8px, 1.5vw, 12px) clamp(15px, 2.5vw, 25px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    color: var(--text-color);
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.theme-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(64, 156, 255, 0.2), rgba(108, 92, 231, 0.2));
    transform: translateY(-2px);
    border-color: #409cff;
    box-shadow: 0 5px 15px rgba(64, 156, 255, 0.3);
}

.theme-toggle-btn i {
    font-size: 1.1rem;
    transition: transform 0.5s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(180deg);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 35px;
    height: 25px;
    justify-content: space-between;
    z-index: 1001;
    position: relative;
}

.bar {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #409cff, #6c5ce7);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #ff6b6b;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #ff6b6b;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .header-container {
        padding: 20px 6%;
        max-width: 1800px;
    }
    
    .logo-img {
        width: 90px;
        height: 90px;
    }
    
    .logo-main {
        font-size: 2rem;
    }
    
    .nav-menu {
        gap: 3rem;
    }
}

/* Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .logo-img {
        width: 75px;
        height: 75px;
    }
    
    .logo-main {
        font-size: 1.6rem;
    }
}

/* Small Desktop / Large Tablet (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .logo-img {
        width: 65px;
        height: 65px;
    }
    
    .logo-main {
        font-size: 1.4rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
}

   /* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo-main {
        font-size: 1.3rem;
    }
    
    .logo-sub {
        font-size: 0.8rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-menu a span {
        display: none; /* Hide text, show only icons */
    }
    
    .nav-menu a i {
        font-size: 1.3rem;
    }
    
    .theme-toggle-btn .toggle-text {
        display: none;
    }
    
    .theme-toggle-btn {
        padding: 10px;
        border-radius: 50%;
    }
    
    .theme-toggle-btn i {
        font-size: 1.2rem;
        margin: 0;
    }
}

  /* Mobile (up to 767px) */
@media (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--header-bg);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        text-align: left;
        transition: 0.5s ease-in-out;
        padding: 100px 20px 30px;
        gap: 2rem;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Stagger animation for menu items */
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-menu a {
        justify-content: center;
        padding: 15px 0;
        font-size: 1.2rem;
        width: 100%;
    }
    
    .nav-menu a i {
        font-size: 1.3rem;
    }
    
    .theme-toggle-item {
        margin-left: 0;
        width: 100%;
        margin-top: 20px;
    }
    
    .theme-toggle-btn {
        width: auto;
        padding: 15px 30px;
        border-radius: 50px;
        margin: 0 auto;
    }
    
    .theme-toggle-btn .toggle-text {
        display: inline-block;
    }
    
    .logo-img {
        width: 55px;
        height: 55px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.8rem;
    }
}

   /* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .header-container {
        padding: 12px 4%;
    }
}

  /* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        padding: 70px 20px 20px;
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 8px 0;
    }
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(45, 90, 160, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 160, 0.4);
    color: white;
}

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

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-section-bg) 100%);
    color: white;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero .logo {
        flex: 1;
        max-width: 400px;
        text-align: center;
}

.hero .logo img {
        border-radius: 50%;
        width: 200px;
        height: 200px;
        object-fit: cover;
        box-shadow: var(--shadow);
}


.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a8dadc, #4cc9f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-color);
}

/* Update your existing dark-section styles */
.dark-section {
    background: linear-gradient(135deg, #497fcc 0%, var(--primary-color) 100%);
    color: #e0dbdb; /* Changed from white to var(--text-color) */
}

.dark-section .section-title,
.dark-section .section-subtitle,
.dark-section p {
    color: #e0dbdb; /* Changed from white to var(--text-color) */
}

/* Ensure team section text inherits properly */
.dark-section .team-card h3,
.dark-section .team-card .team-role,
.dark-section .team-card .team-bio {
    color: inherit; /* Inherit from parent */
}

/* If you want team role to stay colored */
.dark-section .team-role {
    color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    position: relative;
    display: inline-block; /* This will make parent shrink to text */
    /* If you need the parent to remain block-level, wrap text in a span */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Now matches text width */
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.service-preview-card {
    background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--secondary-color);
}

.service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
}

.service-preview-card h3 {
    margin-bottom: var(--spacing-sm);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: var(--spacing-md);
    font-weight: 600;
    color: var(--secondary-color);
}

.service-link:hover {
    color: var(--accent-color);
    gap: 12px;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-features {
    display: flex;
    gap: 20px;
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.testimonial-rating {
    color: var(--warning-color);
    margin-bottom: var(--spacing-md);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
}

.testimonial-author strong {
    color: var(--text-color);
}

.testimonial-author span {
    color: var(--text-secondary);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-card {
    background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-card .service-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.service-content {
    margin-bottom: var(--spacing-md);
}

.service-title {
    margin-bottom: var(--spacing-sm);
}

.service-features {
    list-style: none;
    margin-top: var(--spacing-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success-color);
}

/* Coming Soon Styles */
.service-card.coming-soon {
    position: relative;
    overflow: hidden;
    opacity: 0.85;
    filter: grayscale(0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    }
        
.service-card.coming-soon:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-5px);
    border-color: #667eea;
}
        
.service-card.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}
        
.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 6px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.coming-soon-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    padding: 12px 16px;
    border-radius: 0 0 12px 12px;
    margin-top: 15px;
}
        
.coming-soon-footer span {
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    flex-wrap: wrap;
}
    
.notify-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}
        
.notify-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.02);
}
        
.service-card.coming-soon .service-content,
.service-card.coming-soon .service-icon {
    position: relative;
    z-index: 2;
}
        
/* Notify Modal Styles */
.notify-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
        
.notify-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}
        
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
        
.notify-modal-content {
    background: var(--card-bg, white);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}
        
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.notify-modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
        
.notify-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}
        
.notify-modal-close {
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    color: white;
}
        
.notify-modal-close:hover {
    transform: scale(1.2);
    color: #ff6b6b;
}
        
.notify-modal-body {
    padding: 25px;
}
        
.notify-modal-body p {
    margin-bottom: 20px;
    color: var(--text-color, #333);
}
        
.notify-modal-body strong {
    color: #667eea;
}
        
.notify-form-group {
    margin-bottom: 20px;
}
        
.notify-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color, #333);
}
        
.notify-form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    background: var(--bg-color, white);
    color: var(--text-color, #333);
    font-size: 1rem;
}
        
.notify-form-group input:focus {
    outline: none;
    border-color: #667eea;
}
    
.notify-error {
    color: #e63946;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}
        
.notify-success {
    background: rgba(40,167,69,0.1);
    border: 1px solid rgba(40,167,69,0.3);
    color: #28a745;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
    text-align: center;
}
        
.notify-success i {
    margin-right: 8px;
}
        
.notify-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color, #e0e0e0);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
        
.notify-cancel-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
        
.notify-cancel-btn:hover {
    background: var(--border-color, #e0e0e0);
}
        
.notify-submit-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
        
.notify-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.4);
}
        
@media (max-width: 768px) {
    .coming-soon-badge {
        font-size: 8px;
        padding: 4px 30px;
        top: 12px;
        right: -28px;
        }
    .coming-soon-footer span {
        flex-direction: column;
        gap: 8px;
    }
    .notify-btn {
        margin-left: 0;
    }
}
/* ===== PROCESS STEPS ===== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.step {
    background: linear-gradient(135deg , #1f2c4a ,#274ea8);
    background-color: #0f172a; 
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}
/* ===== ABOUT CONTENT ===== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.value-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--section-bg);
    padding: 15px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(24%) sepia(89%) saturate(1554%) hue-rotate(199deg) brightness(93%) contrast(101%);
}

/* Keep Font Awesome option as fallback */
.value-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.sidebar-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-lg);
}

.advantages {
    list-style: none;
}

.advantages li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.advantages i {
    color: var(--success-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background-color: #0f172adb;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.team-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-md);
    border: 3px solid var(--secondary-color);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

/* Keep Font Awesome fallback for team images */
.team-image i {
    font-size: 3rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* About main image */
.about-main-image {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-main-image:hover img {
    transform: scale(1.05);
}

/* Circle Image Styles */
.circle-image-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.circle-image-wrapper:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.circle-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.circle-image-wrapper:hover img {
    transform: scale(1.1);
}

/* ===== CONTACT PAGE ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.contact-method {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.method-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.method-content p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.method-link {
    font-weight: 600;
    color: var(--secondary-color);
    display: block;
}

.contact-note {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-left: 4px solid var(--warning-color);
    border-top: 1px solid black;
border-right: 1px solid black;
border-bottom: 1px solid black;
}

.contact-note h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--warning-color);
    margin-bottom: var(--spacing-sm);
}

.contact-note ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

.contact-note li {
    margin-bottom: 8px;
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 160, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== CHECKBOX STYLES ===== */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    line-height: 1.4;
    width: 100%;
}

.checkbox-label:hover {
    color: var(--secondary-color);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #0f172a;
    border-radius: 5px;
    position: relative;
    flex-shrink: 0;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label:hover .checkmark {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
    border-color: var(--success-color);
}

/* Checkbox text styling */
.checkbox-text {
    display: inline;
    vertical-align: middle;
    line-height: 1.4;
}

/* Terms link styling */
.terms-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--secondary-color);
    padding: 0 2px;
    margin: 0 3px;
    transition: var(--transition);
}

.terms-link:hover {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
}

@media (max-width: 768px) {
    .checkbox-label {
        font-size: 1rem;
        padding: 12px 0;
        align-items: flex-start; /* Changed from center to flex-start */
    }
    
    .checkmark {
        width: 24px;
        height: 24px;
        margin-right: 15px;
        margin-top: 2px; /* Aligns better with text */
    }
    
    .checkbox-text {
        display: inline-block;
        flex: 1;
        line-height: 1.5;
    }
    
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        font-size: 16px;
    }
}
/* ===== FORM MESSAGES & ERRORS ===== */
.error-message {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

/* ===== FAQ ===== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--card-bg);
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--section-bg);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: var(--bg-color);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-section-bg) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: var(--spacing-sm);
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-section-bg) 100%);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-main {
    font-size: 1.3rem;
    background: linear-gradient(135deg, white, #a8dadc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo .logo-sub {
    color: #a8dadc;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: white;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
}

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

.footer-links a,
.footer-services a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: #a8dadc;
    width: 20px;
}

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

.footer-disclaimer {
    margin-top: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* ===== RESPONSIVE STYLES ===== */

@media (min-width: 894px) and (max-width: 1192px) {
    .footer-links {
        display: none !important;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}
/* Mobile Landscape */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 0;
    }
    
    /* Reorder elements for mobile */
    .logo {
        order: 1;
        flex: 1;
    }
    
    .theme-toggle {
        order: 2;
        margin-right: 15px;
    }
    
    nav {
        order: 3;
    }
    
    .hamburger {
        order: 3;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: linear-gradient(135deg, var(--card-bg), var(--section-bg));
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: var(--shadow-hover);
        transition: var(--transition);
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat {
        min-width: 100px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .theme-toggle {
        top: 15px;
        right: 15px;
    }
    
    #themeToggle .toggle-text {
        display: none;
    }
    
    #themeToggle {
        padding: 10px;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-links ul,
    .footer-services ul,
    .footer-contact ul {
        display: inline-block;
        text-align: left;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .stat {
        width: 100%;
        max-width: 200px;
    }
    
    .services-preview-grid,
    .services-grid,
    .testimonials-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    
}
/* ================= CONTACT POPUP ================= */

#contactPopup{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    backdrop-filter:blur(5px);
    justify-content:center;
    align-items:center;
    z-index:99999;
}

#contactPopup .popup-content{
    width:90%;
    max-width:550px;
    background:var(--card-bg);
    color:var(--text-color);
    border:1px solid var(--border-color);
    border-radius:var(--radius-lg);
    padding:30px;
    box-shadow:var(--shadow-hover);
    position:relative;
    animation:popupShow .35s ease;
    max-height:90vh;
    overflow-y:auto;
}

@keyframes popupShow{
    from{
        opacity:0;
        transform:translateY(-30px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* Close Button */

#contactPopup .close{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    color:var(--text-secondary);
    cursor:pointer;
}

#contactPopup .close:hover{
    color:var(--accent-color);
}

/* Heading */

#contactPopup h2{
    color:var(--text-color);
    text-align:center;
    margin-bottom:10px;
}

#contactPopup p{
    color:var(--text-secondary);
    text-align:center;
    margin-bottom:20px;
}

/* Form */

#contactPopup form{
    display:flex;
    flex-direction:column;
    gap:16px;
}

#contactPopup .form-group{
    display:flex;
    flex-direction:column;
}

#contactPopup label{
    color:var(--text-color);
    font-weight:600;
    margin-bottom:6px;
}

/* Inputs */

#contactPopup input,
#contactPopup select,
#contactPopup textarea{
    width:100%;
    padding:12px 15px;
    background:var(--bg-color);
    color:var(--text-color);
    border:1px solid var(--border-color);
    border-radius:var(--radius-md);
    font-size:15px;
    outline:none;
    box-sizing:border-box;
}

#contactPopup input::placeholder,
#contactPopup textarea::placeholder{
    color:var(--text-secondary);
}

#contactPopup input:focus,
#contactPopup select:focus,
#contactPopup textarea:focus{
    border-color:var(--secondary-color);
    box-shadow:0 0 0 3px rgba(37,99,235,.2);
}

#contactPopup textarea{
    resize:vertical;
    min-height:120px;
}

/* Checkbox */

#contactPopup .checkbox-label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    cursor:pointer;
    color:var(--text-color);
}

#contactPopup .checkbox-label input{
    width:18px;
    height:18px;
    accent-color:var(--secondary-color);
    margin-top:3px;
}

#contactPopup .checkbox-label a{
    color:var(--secondary-color);
}

#contactPopup .checkbox-label a:hover{
    color:var(--accent-color);
}

/* Button */

#contactPopup .btn{
    width:100%;
    padding:14px;
    background:var(--primary-color);
    color:#fff;
    border:none;
    border-radius:var(--radius-md);
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

#contactPopup .btn:hover{
    background:var(--secondary-color);
}

/* Error */

#contactPopup .error-message{
    color:#ef4444;
    font-size:13px;
    margin-top:4px;
}

/* Mobile */

@media (max-width:768px){

    #contactPopup .popup-content{
        width:95%;
        padding:20px;
    }

    #contactPopup h2{
        font-size:1.5rem;
    }

}
/* Fix for dark-section text in light mode
[data-theme="light"] .dark-section,
:not(.dark-theme) .dark-section {
    background: linear-gradient(135deg, var(--section-bg) 0%, #e9ecef 100%);
    color: #000000;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .dark-section .section-title,
[data-theme="light"] .dark-section .section-subtitle,
[data-theme="light"] .dark-section p,
:not(.dark-theme) .dark-section .section-title,
:not(.dark-theme) .dark-section .section-subtitle,
:not(.dark-theme) .dark-section p {
    color: #bd0808;
}

[data-theme="light"] .dark-section .team-role,
:not(.dark-theme) .dark-section .team-role {
    color: var(--secondary-color);
} */