/* ==========================================================================
   SEPTIX TECHNOLOGIES - MAIN DESIGN SYSTEM (DYNAMIC ANIMATED CHOICY UI)
   Theme: Vibrant Choicy IT Agency - Light Grey Background with Dynamic Motion
   Brand Colors:
   - Primary Dark: #26125b (Deep Royal Purple)
   - Primary Light Accent: #3dc1d0 (Vibrant Cyan)
   - Background: #f4f6f9 (Clean Light Grey with Tech Mesh Grid)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    /* Color Palette */
    --clr-bg: #f4f6f9;
    --clr-bg-surface: #ffffff;
    --clr-bg-card: #ffffff;
    
    --clr-brand-dark: #26125b;
    --clr-brand-light: #3dc1d0;
    --clr-primary-dark: #26125b;
    --clr-primary-light: #3dc1d0;
    --clr-brand-light-hover: #2cb0bf;
    
    --clr-text-main: #1a103c;
    --clr-text-muted: #525f7f;
    --clr-text-dim: #7987a5;
    --clr-border: rgba(38, 18, 91, 0.1);
    --clr-border-glow: rgba(61, 193, 208, 0.45);

    /* Gradients & Background Mesh */
    --grad-primary: linear-gradient(135deg, #26125b 0%, #3dc1d0 100%);
    --grad-accent: linear-gradient(135deg, #3dc1d0 0%, #26125b 100%);
    --grad-text: linear-gradient(135deg, #26125b 0%, #3dc1d0 100%);
    --grad-light-mesh: radial-gradient(circle at 50% 0%, rgba(61, 193, 208, 0.18) 0%, rgba(244, 246, 249, 1) 70%);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Shadows */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-glow: 0 8px 30px rgba(61, 193, 208, 0.35);
    --shadow-card: 0 12px 35px rgba(38, 18, 91, 0.07);
    --shadow-card-hover: 0 25px 55px rgba(38, 18, 91, 0.16);
}

/* Global Reset & Subtle Tech Dot Pattern */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--clr-bg);
    background-image: radial-gradient(rgba(38, 18, 91, 0.06) 1.2px, transparent 1.2px);
    background-size: 32px 32px;
    color: var(--clr-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* SEMrush Mobile Friendliness & Touch Target Optimization */
a, button, input, select, textarea, .btn, .social-link, .nav-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

/* Optimization for INP & Render Performance */
.service-card, .portfolio-card, .blog-card, .step-card {
    content-visibility: auto;
    contain-intrinsic-size: 350px;
}

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

ul {
    list-style: none;
}

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

/* Dynamic Animated Background Floating Shapes */
.bg-floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
    width: 380px;
    height: 380px;
    top: 5%;
    left: -100px;
    background: rgba(61, 193, 208, 0.22);
}

.orb-2 {
    width: 450px;
    height: 450px;
    top: 35%;
    right: -120px;
    background: rgba(38, 18, 91, 0.12);
    animation-delay: -5s;
}

.orb-3 {
    width: 320px;
    height: 320px;
    bottom: 15%;
    left: -80px;
    background: rgba(61, 193, 208, 0.18);
    animation-delay: -9s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.08); }
    100% { transform: translate(-30px, 50px) scale(0.95); }
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes btnShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--clr-brand-dark);
}

.text-gradient {
    background: linear-gradient(135deg, #3dc1d0 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    background: rgba(61, 193, 208, 0.12);
    border: 1px solid rgba(61, 193, 208, 0.4);
    color: var(--clr-brand-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    transition: var(--transition);
}

.section-tag:hover {
    background: rgba(61, 193, 208, 0.25);
    transform: scale(1.03);
}

.section-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--clr-brand-dark);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
}

.section-subtitle {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 95px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Buttons with Shimmer Shine Animation */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
}

.btn:hover::after {
    animation: btnShine 1s ease-in-out;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 40px rgba(61, 193, 208, 0.5);
}

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

.btn-outline:hover {
    background: var(--clr-brand-dark);
    color: #ffffff;
    transform: translateY(-4px) scale(1.02);
}

.btn-white {
    background: #ffffff;
    color: var(--clr-brand-dark);
    border: 2px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    background: var(--clr-brand-light);
    color: var(--clr-brand-dark);
    border-color: var(--clr-brand-light);
    transform: translateY(-4px) scale(1.02);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-border);
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(38, 18, 91, 0.08);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .brand-logo img {
    height: 60px;
}

@media (max-width: 1200px) {
    .brand-logo img {
        height: 68px;
    }
    .site-header.scrolled .brand-logo img {
        height: 54px;
    }
}

@media (max-width: 768px) {
    .brand-logo img {
        height: 58px;
    }
    .site-header.scrolled .brand-logo img {
        height: 48px;
    }
}

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.975rem;
    color: var(--clr-brand-dark);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

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

.nav-link:hover, .nav-link.active {
    color: var(--clr-brand-light);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    width: 330px;
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px;
    box-shadow: var(--shadow-card-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    pointer-events: none;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: var(--clr-brand-dark);
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(61, 193, 208, 0.14);
    transform: translateX(4px);
    color: var(--clr-brand-dark);
}

.dropdown-item i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(38, 18, 91, 0.08);
    color: var(--clr-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover i {
    background: var(--clr-brand-dark);
    color: var(--clr-brand-light);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--clr-brand-dark);
    font-size: 1.65rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 310px;
        height: 100vh;
        background: #ffffff;
        padding: 90px 24px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.02);
        display: none;
    }

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 175px 0 95px;
    background: var(--grad-light-mesh);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-headline {
    font-size: 3.75rem;
    font-weight: 900;
    color: var(--clr-brand-dark);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.15;
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* Hero Visual Box with Floating Animation */
.hero-image-box {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    border: 4px solid #ffffff;
    animation: floatAnim 6s ease-in-out infinite;
}

.hero-image-box img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.hero-image-box:hover img {
    transform: scale(1.06);
}

.floating-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid var(--clr-border);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-card-hover);
    animation: badgeBounce 4s ease-in-out infinite;
}

.floating-badge-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--clr-brand-dark);
    color: var(--clr-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Stats Banner with Hover Scale */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 900;
    color: var(--clr-brand-dark);
    line-height: 1;
    margin-bottom: 8px;
    transition: var(--transition);
}

.stat-item:hover .stat-number {
    color: var(--clr-brand-light);
}

.stat-label {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

/* Choicy Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.service-card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--clr-brand-light);
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img img {
    transform: scale(1.08);
}

.service-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #26125b 0%, #3dc1d0 100%);
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(38, 18, 91, 0.2);
    transition: var(--transition);
}

.service-card-icon i {
    color: #ffffff !important;
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, #3dc1d0 0%, #26125b 100%);
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 12px 25px rgba(61, 193, 208, 0.4);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-brand-dark);
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition);
    width: fit-content;
}

.service-link i {
    transition: var(--transition);
    color: var(--clr-brand-light);
}

.service-link:hover {
    color: var(--clr-brand-light);
}

.service-link:hover i {
    transform: translateX(8px);
}

/* Global Reach Section */
.global-section {
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.hub-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    padding: 22px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.hub-card:hover {
    transform: translateY(-6px);
    border-color: var(--clr-brand-light);
    box-shadow: var(--shadow-card-hover);
}

.hub-flag {
    font-size: 2.2rem;
    transition: var(--transition);
}

.hub-card:hover .hub-flag {
    transform: scale(1.15);
}

.hub-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--clr-brand-dark);
}

.hub-city {
    color: var(--clr-text-muted);
    font-size: 0.85rem;
}

/* Interactive Project Estimator */
.estimator-box {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 900px;
    margin: 40px auto 0;
    box-shadow: var(--shadow-card-hover);
}

.estimator-step {
    margin-bottom: 28px;
}

.estimator-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
    margin-bottom: 14px;
}

.options-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.option-pill {
    padding: 12px 22px;
    border-radius: var(--radius-full);
    background: rgba(38, 18, 91, 0.05);
    border: 1px solid var(--clr-border);
    color: var(--clr-brand-dark);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.option-pill.selected, .option-pill:hover {
    background: var(--clr-brand-dark);
    border-color: var(--clr-brand-dark);
    color: #ffffff;
    transform: scale(1.04);
}

.estimate-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    background: rgba(61, 193, 208, 0.12);
    border: 1px solid rgba(61, 193, 208, 0.35);
    margin-top: 32px;
}

@media (max-width: 576px) {
    .estimate-result-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

.estimate-price {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--clr-brand-dark);
}

/* Portfolio & Case Studies */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.portfolio-card:hover {
    border-color: var(--clr-brand-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.portfolio-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portfolio-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--clr-brand-dark);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    color: #ffffff;
}

.portfolio-content {
    padding: 28px;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: var(--clr-brand-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--clr-text-dim);
    margin-bottom: 12px;
}

.blog-title {
    font-size: 1.3rem;
    color: var(--clr-brand-dark);
    margin-bottom: 12px;
}

.blog-summary {
    color: var(--clr-text-muted);
    font-size: 0.925rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Contact Page Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-top: 40px;
}

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

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(38, 18, 91, 0.08);
    color: var(--clr-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .info-icon {
    background: var(--clr-brand-dark);
    color: var(--clr-brand-light);
    transform: scale(1.1);
}

.form-box {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card-hover);
    border-radius: var(--radius-xl);
    padding: 44px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    background: #f8fafc;
    border: 1px solid rgba(38, 18, 91, 0.18);
    color: var(--clr-text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--clr-brand-light);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(61, 193, 208, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.form-alert {
    padding: 14px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.form-alert.success {
    display: block;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
}

.form-alert.error {
    display: block;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

/* FAQ Accordion */
.faq-list {
    max-width: 850px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 28px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.faq-answer {
    padding: 0 28px 24px;
    color: var(--clr-text-muted);
    font-size: 0.975rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--clr-brand-light);
}

/* ==========================================================================
   HIGH-IMPACT PRE-FOOTER CTA BOX (HIGH CONTRAST & READABILITY)
   ========================================================================== */
.pre-footer-cta-box {
    background: linear-gradient(135deg, #190a3e 0%, #26125b 60%, #1a0b3f 100%);
    border: 1px solid rgba(61, 193, 208, 0.4);
    border-radius: var(--radius-xl);
    padding: 56px 44px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 25px 60px rgba(38, 18, 91, 0.25);
    position: relative;
    overflow: hidden;
}

.pre-footer-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 3px;
    background: var(--grad-primary);
}

.cta-heading {
    font-size: 2.35rem;
    color: #ffffff !important;
    margin-bottom: 18px;
    font-weight: 900;
}

.cta-subtitle {
    color: #e2e8f0 !important;
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 34px;
    line-height: 1.7;
}

/* Footer - Clean Light Theme with Gradient Top Border */
.site-footer {
    background-color: #ffffff;
    background-image: 
        radial-gradient(rgba(61, 193, 208, 0.18) 1.5px, transparent 1.5px),
        linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
    background-size: 28px 28px, 100% 100%;
    color: var(--clr-brand-dark);
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #26125b 0%, #3dc1d0 50%, #26125b 100%) 1;
    box-shadow: 0 -10px 40px rgba(38, 18, 91, 0.05);
    padding: 85px 0 35px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(61, 193, 208, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-brand img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: none;
    transition: var(--transition);
}

.footer-brand img:hover {
    transform: scale(1.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

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

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

.footer-brand p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin: 18px 0 24px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--clr-brand-dark);
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--clr-text-muted);
    font-size: 0.925rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-brand-light);
    transform: translateX(6px);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    border: 1px solid var(--clr-border);
    box-shadow: 0 4px 12px rgba(38, 18, 91, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-brand-dark);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--clr-brand-dark);
    color: var(--clr-brand-light);
    border-color: var(--clr-brand-dark);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid var(--clr-border);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--clr-text-dim);
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ==========================================================================
   INTERACTIVE ANIMATED PROJECT TIMELINE SECTION (PERFECT FLEX LAYOUT)
   ========================================================================== */
.timeline-section {
    background: linear-gradient(180deg, rgba(244, 246, 249, 0.8) 0%, #ffffff 50%, rgba(244, 246, 249, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Central Animated Vertical Line (Behind Node Icons) */
.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: rgba(38, 18, 91, 0.12);
    transform: translateX(-50%);
    border-radius: 4px;
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #26125b 0%, #3dc1d0 50%, #26125b 100%);
    border-radius: 4px;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(61, 193, 208, 0.6);
}

/* Timeline Item Layout (Stacked Above Progress Line) */
.timeline-item {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

/* Left side cards (Odd steps: 1, 3, 5) */
.timeline-item:nth-child(odd) {
    align-self: flex-start;
    padding-right: 45px;
}

/* Right side cards (Even steps: 2, 4) */
.timeline-item:nth-child(even) {
    align-self: flex-end;
    padding-left: 45px;
}

/* Central Node Marker (Highest Z-Index Layer) */
.timeline-node {
    position: absolute;
    top: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #26125b 0%, #3dc1d0 100%);
    border: 4px solid #ffffff;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 8px 25px rgba(38, 18, 91, 0.25);
    transition: var(--transition);
    z-index: 10;
}

.timeline-node i {
    color: #ffffff !important;
}

.timeline-item:nth-child(odd) .timeline-node {
    right: -27px;
}

.timeline-item:nth-child(even) .timeline-node {
    left: -27px;
}

.timeline-item:hover .timeline-node {
    transform: scale(1.18) rotate(12deg);
    background: linear-gradient(135deg, #3dc1d0 0%, #26125b 100%);
    box-shadow: 0 12px 30px rgba(61, 193, 208, 0.5);
}

/* Timeline Content Card */
.timeline-content {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: relative;
    transition: var(--transition);
    width: 100%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 36px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -8px;
    border-right: 1px solid var(--clr-border);
    border-top: 1px solid var(--clr-border);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -8px;
    border-left: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.timeline-content:hover {
    transform: translateY(-6px);
    border-color: var(--clr-brand-light);
    box-shadow: var(--shadow-card-hover);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.timeline-phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    background: rgba(38, 18, 91, 0.08);
    color: var(--clr-brand-dark);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline-timeframe {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--clr-brand-light);
    background: rgba(61, 193, 208, 0.12);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.timeline-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.timeline-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Deliverables Pills */
.timeline-deliverables-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--clr-brand-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.timeline-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deliverable-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid rgba(38, 18, 91, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--clr-brand-dark);
    transition: var(--transition);
}

.deliverable-pill i {
    color: var(--clr-brand-light);
    font-size: 0.85rem;
}

.timeline-content:hover .deliverable-pill {
    background: rgba(61, 193, 208, 0.12);
    border-color: rgba(61, 193, 208, 0.35);
}

/* Responsive Timeline Layout for Mobile & Tablets */
@media (max-width: 991px) {
    .timeline-line {
        left: 24px;
        transform: none;
    }

    .timeline-line-progress {
        left: 0;
    }

    .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        width: 100%;
        align-self: flex-start;
        padding-left: 65px;
        padding-right: 0;
    }

    .timeline-node, .timeline-item:nth-child(odd) .timeline-node, .timeline-item:nth-child(even) .timeline-node {
        left: -3px;
        right: auto;
    }

    .timeline-content::before, .timeline-item:nth-child(odd) .timeline-content::before, .timeline-item:nth-child(even) .timeline-content::before {
        left: -8px;
        right: auto;
        border-right: none;
        border-top: none;
        border-left: 1px solid var(--clr-border);
        border-bottom: 1px solid var(--clr-border);
    }
}
