:root {
    --primary: #092853;
    --primary-dark: #122b46;
    --secondary: #21c45d;
    --secondary-hover: #1da850;
    --text-muted-custom: #6b7280;
    --card-border: #e5e7eb;
    --bg-muted: #f9fafb;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    color: #1f2937;
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.fs-18 {
    font-size: 18px;
}

.ff-playfair {
    font-family: "Playfair", serif;
}

/* ===== NAVBAR ===== */
#mainNav {
    background: transparent;
    transition: background 0.35s, box-shadow 0.35s;
}

/* Scrolled: white bg, dark text */
#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.10);
}

/* Logo icon: transparent → primary on scroll */
.navbar-brand .logo-icon {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 8px;
    padding: 6px 8px;
    display: inline-flex;
    align-items: center;
    transition: background 0.35s;
}

#mainNav .navbar-brand .logo-icon {
    color: var(--secondary);
}

#mainNav.scrolled .navbar-brand .logo-icon {
    color: var(--bg-muted);
}

#mainNav.scrolled .navbar-brand .logo-icon {
    background: var(--primary);
}

/* Brand text: white → primary on scroll */
.navbar-brand .brand-text {
    color: #fff;
    transition: color 0.35s;
}

#mainNav.scrolled .navbar-brand .brand-text {
    color: var(--primary) !important;
}

/* Nav links: white → dark on scroll */
.nav-link-custom {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: all 0.25s;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.nav-link-custom.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.20);
}

#mainNav.scrolled .nav-link-custom {
    color: #374151 !important;
}

#mainNav.scrolled .nav-link-custom:hover {
    color: var(--primary) !important;
    background: #f3f4f6;
}

#mainNav.scrolled .nav-link-custom.active {
    color: #fff !important;
    background: var(--primary);
}

/* Consultation button stays amber always */
.btn-consultation {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 8px 20px;
    font-size: 0.875rem;
    transition: background 0.2s;
}

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

/* Toggler icon: white → dark on scroll */
.navbar-toggler {
    border: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px 10px;
    transition: background 0.35s;
}

#mainNav.scrolled .navbar-toggler {
    background: #f3f4f6;
}

#mainNav.scrolled .navbar-toggler .fa-bars {
    color: var(--primary) !important;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 992px) {
    #mainNav .offcanvas-lg {
        position: static;
        z-index: auto;
        display: flex !important;
        flex-grow: 1;
        width: auto !important;
        height: auto !important;
        visibility: visible !important;
        background: transparent !important;
        border: 0 !important;
        transform: none !important;
    }

    #mainNav .offcanvas-lg .offcanvas-body {
        display: flex;
        flex-grow: 1;
        align-items: center;
        padding: 0;
        overflow-y: visible;
    }
}

@media (max-width: 991px) {
    #mainNav .offcanvas-lg {
        width: min(320px, 85vw);
        background: rgba(9, 40, 83, 0.98);
        backdrop-filter: blur(14px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        height: 100vh;
    }

    #mainNav .offcanvas-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }

    #mainNav .offcanvas-title .logo-icon {
        color: var(--secondary);
    }

    #mainNav .offcanvas-title .brand-text {
        color: #fff;
    }

    #mainNav .offcanvas-header .btn-close {
        filter: invert(1) grayscale(1) brightness(200%);
        opacity: 0.9;
    }

    #mainNav .offcanvas-body {
        padding: 0.25rem 1.25rem 1.5rem;
    }

    .navbar .navbar-nav {
        align-items: stretch;
    }

    .navbar .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar .nav-link-custom,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom {
        display: block;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    .navbar .nav-link-custom:hover,
    .navbar .nav-link-custom.active,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom:hover,
    #mainNav.scrolled .offcanvas-lg .nav-link-custom.active {
        color: #fff !important;
        background: rgba(255, 255, 255, 0.12);
    }

    .navbar .nav-end-btn {
        display: flex;
        width: 100%;
        margin-top: 14px;
        justify-content: flex-start;
        text-decoration: none !important;
    }

    .navbar .nav-end-btn .btn-consultation {
        width: 100%;
    }
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 58, 92, 0.95) 0%, rgba(26, 58, 92, 0.80) 55%, rgba(26, 58, 92, 0.60) 100%);
    z-index: 1;
}

.hero-circle-1 {
    position: absolute;
    top: -160px;
    right: -160px;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    animation: rotateCircle 20s linear infinite;
    pointer-events: none;
}

.hero-circle-2 {
    position: absolute;
    bottom: -240px;
    left: -240px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(245, 158, 11, 0.20);
    border-radius: 50%;
    animation: rotateCircle 28s linear infinite reverse;
    pointer-events: none;
}

@keyframes rotateCircle {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badge .line {
    height: 2px;
    width: 48px;
    background: var(--secondary);
}

.hero-badge span {
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.hero-title {
    color: #fff;
    font-weight: 900;
    line-height: 1;
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin-bottom: 20px;
    font-family: "Playfair", serif;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-desc {
    color: rgba(255, 255, 255, 0.80);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 36px;
}

.btn-hero-primary {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--secondary-hover);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    padding: 6px 16px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-tag i {
    color: var(--secondary);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    animation: scrollBounce 1.4s ease-in-out infinite;
}

.scroll-dot {
    width: 4px;
    height: 10px;
    border-radius: 3px;
    background: var(--secondary);
    animation: scrollBounce 1.4s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.5;
    }
}

/* ===== SECTION COMMON ===== */
.section-label {
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
}

.section-title {
    font-weight: 800;
    font-family: "Playfair", serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--bg-muted);
}

.category-bar {
    height: 4px;
    width: 40px;
    border-radius: 4px;
}

.bar-green {
    background: linear-gradient(to right, #10b981, #16a34a);
}

.bar-blue {
    background: linear-gradient(to right, #3b82f6, #4f46e5);
}

.bar-amber {
    background: linear-gradient(to right, #f59e0b, #ea580c);
}

.service-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
    cursor: default;
    height: 100%;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.25s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.icon-green {
    background: #10b981;
}

.icon-blue {
    background: #3b82f6;
}

.icon-amber {
    background: #f59e0b;
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--primary);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
}

/* ===== ABOUT ===== */
.about-image-wrapper {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--secondary);
    color: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.about-badge .num {
    font-size: 1.8rem;
    font-weight: 700;
}

.about-badge .label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #1f2937;
}

.check-list li i {
    color: var(--secondary);
    flex-shrink: 0;
}

/* ===== PROJECT MAP ===== */
.map-section {
    background: #fff;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    background: #e2e8f0;
    padding-bottom: 55%;
}

.map-inner {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #cbd5e1 0%, #dbeafe 50%, #e2e8f0 100%);
}

.map-grid-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.20;
}

.map-state-label {
    position: absolute;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 600;
}

.map-pin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

.map-pin-btn:focus {
    outline: none;
}

.map-pin-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0.35;
    animation: pingPulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingPulse {
    0% {
        transform: scale(1);
        opacity: 0.35;
    }

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.map-pin-circle {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    color: #fff;
}

.map-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: none;
    z-index: 10;
    pointer-events: none;
}

.map-pin-btn:hover .map-tooltip {
    display: block;
}

/* ===== PORTFOLIO ===== */
.portfolio-section {
    background: var(--bg-muted);
}

.project-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.25s, transform 0.25s;
}

.project-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
    transform: translateY(-4px);
}

.project-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
}

.project-toggle-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.60);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.project-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.80);
}

.project-tag {
    display: inline-block;
    background: var(--bg-muted);
    color: var(--text-muted-custom);
    border-radius: 50px;
    font-size: 0.72rem;
    padding: 3px 10px;
}

.result-label {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
}

.result-text {
    color: var(--text-muted-custom);
    font-weight: 400;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.testimonials-section .bg-quote-left {
    position: absolute;
    top: 40px;
    left: 40px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.testimonials-section .bg-quote-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transform: rotate(180deg);
}

.review-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    padding: 24px;
}

.review-card:hover {
    border-color: var(--secondary);
}

.review-card .stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

.review-card p {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.875rem;
    line-height: 1.7;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    flex-shrink: 0;
}

.reviewer-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.reviewer-title {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.75rem;
}

/* Carousel: hide Owl's built-in dots */
.testimonials-carousel.owl-theme .owl-dots {
    display: none;
}

.testimonials-carousel.owl-theme .owl-nav {
    display: none;
}

/* Equal height: all cards same height within a row */
.testimonials-carousel .owl-stage {
    display: flex !important;
}

.testimonials-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.testimonials-carousel .owl-item>div {
    display: flex;
    width: 100%;
}

.testimonials-carousel .review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.testimonials-carousel .review-card p.flex-grow {
    flex: 1;
}

/* Custom nav buttons */
.owl-carousel-nav-btn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.owl-carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.50);
}

/* Custom dots */
.testimonials-dots .dot {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.30);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 8px;
}

.testimonials-dots .dot.active {
    background: var(--secondary);
    width: 24px;
}

/* ===== COMMUNITY ===== */
.community-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.community-blob-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 360px;
    height: 360px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.10;
    pointer-events: none;
}

.community-blob-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 360px;
    height: 360px;
    background: var(--secondary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.10;
    pointer-events: none;
}

.community-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.community-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.community-feature h5 {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.community-feature p {
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.85rem;
    margin: 0;
}

.members-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.members-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.members-badge-num {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1f2937;
}

.members-badge-label {
    font-size: 0.75rem;
    color: var(--text-muted-custom);
}

/* ===== CTA ===== */
.cta-section {
    background: #fff;
}

.cta-box {
    background: linear-gradient(to right, var(--secondary), #10b981);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .cta-box {
        padding: 36px 20px;
    }
}

.cta-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.3) 1px, transparent 1px, transparent 40px);
}

.btn-cta-white {
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 10px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cta-white:hover {
    background: rgba(255, 255, 255, 0.90);
    color: var(--primary);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 10px 32px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Utility */
.rounded-2xl {
    border-radius: 16px !important;
}

.rounded-3xl {
    border-radius: 24px !important;
}

.img-rounded-2xl {
    border-radius: 16px;
}

/* About Page */
.value-card {
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary) !important;
}

.team-member-img {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.about-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.icon-circle-secondary {
    background: rgba(33, 196, 93, 0.12);
}

.icon-circle-primary {
    background: rgba(10, 43, 62, 0.08);
}

.icon-circle-amber {
    background: rgba(245, 158, 11, 0.1);
}

/* Services page specific styles */
.service-detail-card {
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bg-green-soft {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.bg-amber-soft {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.bg-blue-soft {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.bg-purple-soft {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.bg-indigo-soft {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.bg-sky-soft {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.bg-violet-soft {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.bg-red-soft {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.bg-orange-soft {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

.bg-yellow-soft {
    background: rgba(234, 179, 8, 0.12);
    color: #eab308;
}

.check-icon-green {
    color: var(--secondary);
    font-size: 0.9rem;
}

.services-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

/* Projects page specific styles */
.projects-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.project-card {
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.project-img {
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    z-index: 2;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .filter-scroll {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .filter-scroll::-webkit-scrollbar {
        height: 3px;
    }
}

/* projects details page specific styles */
.project-details-hero {
    background: var(--primary);
    position: relative;
    padding: 120px 0 80px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.project-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.project-stat-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
    height: 100%;
}

.project-main-img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.challenge-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px;
}

.sidebar-info {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    position: sticky;
    top: 100px;
}

.ff-playfair {
    font-family: 'Playfair Display', serif;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/" !important;
    color: rgba(255, 255, 255, 0.5);
}

/* Blog Page Styles */
.blog-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.blog-card {
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.blog-img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.category-badge {
    background: rgba(33, 196, 93, 0.12);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-card {
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .filter-scroll {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .filter-scroll::-webkit-scrollbar {
        height: 3px;
    }
}

/* Blog Page details page Styles */
.blog-details-hero {
    background: var(--primary);
    position: relative;
    padding: 120px 0 80px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.article-container {
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.main-article {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.sidebar-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.category-badge-small {
    background: rgba(0, 200, 83, 0.1);
    color: var(--secondary-green);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.meta-info {
    font-size: 0.9rem;
    color: #6c757d;
}

blockquote {
    border-left: 5px solid var(--secondary-green);
    padding: 20px;
    background: #f1fcf5;
    font-style: italic;
    font-size: 1.2rem;
    border-radius: 0 8px 8px 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: var("--card-border", "/") !important;
    color: rgba(255, 255, 255, 0.5);
}

/* Community Page Styles */
.community-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.community-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.discussion-card {
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
}

.discussion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

.topic-badge {
    background: rgba(33, 196, 93, 0.12);
    color: var(--secondary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.search-input {
    padding-left: 2.5rem;
}

@media (max-width: 768px) {
    .filter-scroll {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0;
    }

    .filter-scroll::-webkit-scrollbar {
        height: 3px;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: var(--primary);
    position: relative;
    padding: 65px 0 !important;
    /* background-color: #092953; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%2321c45d' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.contact-form-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--card-border);
}

.form-control-custom {
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(33, 196, 93, 0.1);
}

.form-label-custom {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

select.form-control-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px;
}

@media (max-width: 768px) {
    .contact-info-row {
        margin-top: 2rem;
    }
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary);
    color: #fff;
}

.footer-logo-icon {
    background: var(--secondary);
    border-radius: 8px;
    padding: 7px 9px;
    display: inline-flex;
}

.footer-link {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--secondary);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.footer-social:hover {
    background: var(--secondary);
    color: #fff;
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.70);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-contact-link:hover {
    color: var(--secondary);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.70);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.10);
}

.footer-copy {
    color: rgba(255, 255, 255, 0.50);
    font-size: 0.85rem;
}

@media (max-width: 575px) {

    footer h6,
    footer a {
        text-align: center;
        display: flex !important;
        justify-content: center;
    }

    footer .f-p {
        text-align: center;
        max-width: 100% !important;
    }
}