/* Modern Technoverse Website - Beautiful UI/UX */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --primary: #2E86C1;
    --primary-dark: #1F618D;
    --primary-light: #5DADE2;
    --secondary: #3b82f6;
    --dark: #1e293b;
    --dark-light: #334155;
    --text: #475569;
    --text-light: #64748b;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* ── Legacy aliases ─────────────────────── */
    --primary-color: #10b981;
    --secondary-color: #3b82f6;
    --blue-950: #1e293b;
    --bg-light: #f0fdf4;
    --text-dark: #1f2937;
}

html {
    scroll-behavior: smooth;
}

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

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

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    transition: left 0.3s ease;
    list-style: none;
    box-shadow: var(--shadow-lg);
}

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

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--gray-50);
}

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

.btn-nav:hover {
    background: var(--primary-dark) !important;
}

/* ─── Dropdown Navigation ─── */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
}

.dropdown > a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i,
.dropdown.active > a i {
    transform: rotate(180deg);
}

/* Desktop dropdown */
@media (min-width: 768px) {
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 240px;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
        padding: 0.5rem;
        list-style: none;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0s 0.2s;
        pointer-events: none;
        margin-top: 0;
    }

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
        width: 10px;
        height: 10px;
        background: var(--white);
        border-top: 1px solid rgba(0,0,0,0.05);
        border-left: 1px solid rgba(0,0,0,0.05);
    }

    .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu,
    .dropdown-menu:hover {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.2s ease, visibility 0s 0s;
        pointer-events: all;
    }

    .dropdown-menu li {
        list-style: none;
        margin: 0;
    }

    .dropdown-menu li a {
        display: block !important;
        padding: 0.6rem 0.85rem !important;
        color: var(--text) !important;
        font-size: 0.875rem;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.18s ease;
        background: transparent !important;
        white-space: nowrap;
    }

    .dropdown-menu li a:hover {
        background: var(--gray-50) !important;
        color: var(--primary) !important;
        padding-left: 1.1rem !important;
    }
}

/* Mobile dropdown */
@media (max-width: 767px) {
    .dropdown-menu {
        display: none;
        list-style: none;
        background: rgba(16, 185, 129, 0.04);
        border-radius: 8px;
        margin: 0.4rem 0 0.4rem 1rem;
        padding: 0.35rem 0;
        border-left: 3px solid var(--primary);
        overflow: hidden;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        margin-bottom: 0;
    }

    .dropdown-menu li a {
        display: block;
        padding: 0.6rem 1rem;
        color: var(--text);
        font-size: 0.875rem;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .dropdown-menu li a:hover {
        background: rgba(16, 185, 129, 0.08);
        color: var(--primary);
        padding-left: 1.25rem;
    }
}

/* ─── Active Nav State ─── */
.nav-menu a.active-page {
    color: var(--primary) !important;
}

@media (max-width: 767px) {
    .nav-menu a.active-page {
        background: rgba(16, 185, 129, 0.08) !important;
    }
}

/* ─── Body overlay for open mobile menu ─── */
body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    backdrop-filter: blur(2px);
}

/* ─── Page Header ─── */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0d3d2e 100%);
    padding: 130px 0 55px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 60%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(1.875rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.page-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

/* ─── Breadcrumb ─── */
.breadcrumb-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.3);
    font-size: 0.6rem;
    margin: 0 0.1rem;
}

.breadcrumb .current {
    color: rgba(255,255,255,0.7);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: #0f172a;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://afritechmedia.co.ke/demo/wp-content/uploads/2026/02/data-center-programmer-analyzing-software-logs-metrics-pc-scaled.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.65;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.15) 100%),
        radial-gradient(circle at 12% 55%, rgba(16, 185, 129, 0.14) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

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

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

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

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-stats {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
}

.stat-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-box p {
    color: var(--text);
    font-weight: 600;
}

.about-content {
    max-width: 600px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-list i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.stats-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.stat-card p {
    color: var(--text-light);
    font-weight: 500;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text);
    font-size: 1.125rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 0.75rem;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-item p {
    color: var(--text);
    line-height: 1.6;
}

/* Clients Section */
.clients-section {
    padding: 80px 0;
    background: #f9fafb;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.client-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 220px;
    border: 1px solid #e5e7eb;
}

.client-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: #d1d5db;
}

.client-card img {
    width: 120px;
    height: 120px;
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
    display: block;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.client-card:hover img {
    filter: grayscale(0%) brightness(1.1);
}

.client-card span {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mobile Responsive Styles for Clients Grid */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .client-card {
        padding: 1.5rem 1rem;
        min-height: 150px;
    }
    
    .client-card img {
        width: 60px;
        height: 60px;
        max-width: 60px;
        max-height: 60px;
    }
    
    .client-card span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .client-card {
        padding: 1.25rem 1rem;
        min-height: 130px;
    }
    
    .client-card img {
        width: 50px;
        height: 50px;
        max-width: 50px;
        max-height: 50px;
    }
    
    .client-card span {
        font-size: 0.7rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('https://files.cyberriskalliance.com/wp-content/uploads/2023/08/Code-Security-GettyImages-537331500.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-200);
    padding: 60px 0 30px;
}

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

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: var(--gray-200);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.contact-info p {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.contact-info i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links i {
    color: var(--gray-200);
}

.social-links a:hover i {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-light);
    color: var(--text-light);
}

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

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        flex-direction: row;
        padding: 0;
        gap: 0.5rem;
        box-shadow: none;
    }

    .hamburger {
        display: none;
    }

    .nav-menu li {
        margin-bottom: 0;
    }

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

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .stats-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus,
button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}


/* ─── Legacy Footer Styles (for inner pages) ─── */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-size: 1rem;
}

.footer-section p,
.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    line-height: 1.7;
}

.footer-section a:hover { color: var(--white); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }

/* ─── Blog Page ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.blog-meta i { color: var(--primary); margin-right: 0.25rem; }
.blog-card h3 { color: var(--dark); font-size: 1.25rem; margin-bottom: 0.75rem; }
.blog-card p  { color: var(--text); margin-bottom: 1.5rem; flex: 1; line-height: 1.7; }

.blog-tag {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.4rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ─── Careers Page ─── */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover { transform: translateY(-8px); }

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-lg);
}

.job-card h3 { color: var(--dark); font-size: 1.35rem; margin-bottom: 0.75rem; }

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    color: var(--text-light);
}

.job-meta i { color: var(--primary); margin-right: 0.35rem; }

/* ─── Contact Page ─── */
.contact-section { padding: 80px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.25s ease;
}

.contact-info-card:hover { transform: translateX(5px); }

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: var(--white);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ─── Solutions / Why Choose Us Page ─── */
.solution-section { padding: 80px 0; }
.solution-section:nth-child(even) { background: var(--gray-50); }

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-text h2 { color: var(--dark); font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1.25rem; }
.solution-text p  { color: var(--text); font-size: 1.05rem; margin-bottom: 1.25rem; line-height: 1.8; }

.solution-text ul { list-style: none; margin-top: 1.25rem; }
.solution-text ul li { padding: 0.4rem 0; color: var(--text); }
.solution-text ul li i { color: var(--primary); margin-right: 0.5rem; }

.solution-logo { font-size: 5rem; color: var(--primary); margin-bottom: 1.5rem; opacity: 0.85; }

@media (max-width: 768px) {
    .solution-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* ════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════ */

/* Who We Are section – two-column grid */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 80px 0;
}

.about-intro-img {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.about-intro-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-intro-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, transparent 60%);
    z-index: 1;
    border-radius: 16px;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 2;
}

.about-badge-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-badge-icon i { color: white; font-size: 1.2rem; }

.about-badge strong {
    display: block;
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.about-badge span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.about-intro-text {}

.about-intro-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.about-intro-text p {
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 1.1rem;
    font-size: 1rem;
}

/* Why Choose Us – feature cards */
.about-features-section {
    background: linear-gradient(135deg, #f0fdf9 0%, #f8fafc 100%);
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(16,185,129,0.12);
    border-color: rgba(16,185,129,0.2);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Mission & Vision */
.mission-vision-section {
    padding: 80px 0;
    background: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-card {
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.mv-card.mission {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.mv-card.vision {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 130px;
    height: 130px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.mv-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}

.mv-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.mv-icon i { font-size: 1.4rem; color: white; }

.mv-card h2 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.mv-card p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 2rem; padding: 60px 0; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-vision-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   SERVICES PAGE
════════════════════════════════════════════════════ */

.service-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail.alt {
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf9 100%);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Flip – put image on left for .alt sections */
.service-detail.alt .service-content {
    direction: rtl;
}
.service-detail.alt .service-content > * {
    direction: ltr;
}

.service-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    position: relative;
}

.service-img-wrap img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-img-wrap:hover img { transform: scale(1.03); }

.service-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.service-text {}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16,185,129,0.1);
    color: var(--primary);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.service-text h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.service-text p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 0.9rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-features li i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Legacy service-icon-large (used in old markup) */
.service-icon-large {
    display: none; /* Replaced by service-tag in new design; hidden if still in markup */
}

@media (max-width: 768px) {
    .service-content { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail:nth-child(even) .service-content { direction: ltr; }
    .service-img-wrap img { height: 260px; }
    .service-features { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   CAREERS PAGE
════════════════════════════════════════════════════ */

.careers-benefits-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0fdf9 0%, #f8fafc 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* .benefit-card already exists – let's extend it */
.benefit-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-100);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16,185,129,0.12);
}

.benefit-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Careers Open Positions */
.careers-jobs-section {
    padding: 80px 0;
    background: var(--white);
}

.job-card {
    background: var(--white);
    border-radius: 14px;
    padding: 2rem 2.25rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.job-card:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 32px rgba(16,185,129,0.12);
}

.job-card-body { flex: 1; }

.job-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.job-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}

.job-meta span { display: flex; align-items: center; gap: 0.35rem; }
.job-meta i { color: var(--primary); }

.job-card p {
    color: var(--text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.job-card-cta {
    display: flex;
    align-items: flex-start;
    padding-top: 0.25rem;
}

@media (max-width: 768px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .job-card { flex-direction: column; }
    .job-card-cta { padding-top: 0; }
}
@media (max-width: 480px) {
    .benefits-grid { grid-template-columns: 1fr; }
}

