/* ================================================================
   pLogic - Bold & Creative Design System
   ================================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Primary backgrounds - LIGHT THEME */
    --bg-dark: #f8fafc;
    --bg-dark-secondary: #f1f5f9;
    --bg-dark-tertiary: #e2e8f0;

    /* Accent colors */
    --electric-blue: #0ea5e9;
    --vivid-purple: #7c3aed;
    --hot-pink: #ec4899;
    --orange: #f97316;
    --emerald: #10b981;
    --cyan: #06b6d4;

    /* Gradient presets */
    --gradient-primary: linear-gradient(135deg, #7c3aed, #0ea5e9);
    --gradient-secondary: linear-gradient(135deg, #ec4899, #f97316);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    --gradient-cta: linear-gradient(135deg, #7c3aed, #ec4899);
    --gradient-card: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(14,165,233,0.05));

    /* Text colors - DARK TEXT ON LIGHT */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Card / Glass effect - LIGHT THEME */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Footer colors (stays dark) */
    --footer-bg: #1e293b;
    --footer-bg-bottom: #111827;
    --footer-text: #cbd5e1;
    --footer-text-muted: #94a3b8;
    --footer-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--electric-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vivid-purple);
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(124, 58, 237, 0.2);
    color: #1e293b;
}

/* ===== TOP INFO BAR ===== */
.top-bar {
    background: #1e293b;
    padding: 8px 0;
    font-size: 0.8rem;
    z-index: 1031;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

.top-bar-item {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.top-bar-item:hover {
    color: var(--electric-blue);
}

.top-bar-item i {
    color: var(--electric-blue);
    font-size: 0.75rem;
}

.top-bar-social {
    color: #94a3b8;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.top-bar-social:hover {
    color: var(--electric-blue);
}

/* ===== NAVBAR ===== */
#mainNav {
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
    z-index: 1050;
    top: 36px;
}

#mainNav.navbar-scrolled {
    top: 0;
    background: black;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-accent {
    color: var(--electric-blue);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
    position: relative;
}

#mainNav.navbar-scrolled .nav-link {
    color: white;
}

    #mainNav.navbar-scrolled .nav-link:hover,
    #mainNav.navbar-scrolled .nav-link.active {
        color: white;
    }

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #fff;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    width: 60%;
}

/* ===== BUTTONS ===== */
.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cta);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.btn-gradient:hover::before {
    opacity: 1;
}

.btn-outline-glow {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

/* Outline button when used outside hero/dark areas */
.section-dark .btn-outline-glow,
.section-dark-alt .btn-outline-glow {
    border-color: var(--vivid-purple);
    color: var(--vivid-purple);
}

.section-dark .btn-outline-glow:hover,
.section-dark-alt .btn-outline-glow:hover {
    background: var(--vivid-purple);
    color: #fff;
}

.btn-outline-glow:hover {
    border-color: var(--electric-blue);
    color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.btn-gradient-secondary {
    background: var(--gradient-secondary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}

.btn-gradient-secondary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.4);
}

/* ===== SECTION UTILITIES ===== */
.section-padding {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
}

.section-dark-alt {
    background: var(--bg-dark-secondary);
}

.section-gradient {
    background: var(--gradient-hero);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--vivid-purple);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.75) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(36, 52, 71, 0.70) 100%);
    z-index: 1;
}

.hero-carousel .carousel-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-carousel .hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease forwards;
    color: #fff;
}

.hero-carousel .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-carousel .hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    z-index: 5;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    background: var(--gradient-primary);
    opacity: 1;
}

.hero-carousel .carousel-indicators {
    z-index: 5;
    margin-bottom: 30px;
}

.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators .active {
    background: var(--electric-blue);
    width: 36px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Re-trigger animation on each slide */
.hero-carousel .carousel-item.active .hero-title,
.hero-carousel .carousel-item.active .hero-subtitle,
.hero-carousel .carousel-item.active .hero-buttons {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-carousel .carousel-item.active .hero-subtitle {
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-carousel .carousel-item.active .hero-buttons {
    animation-delay: 0.4s;
    opacity: 0;
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #fff;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon.icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.service-icon.icon-blue { background: linear-gradient(135deg, #00d4ff, #0ea5e9); }
.service-icon.icon-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.service-icon.icon-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.service-icon.icon-emerald { background: linear-gradient(135deg, #10b981, #34d399); }
.service-icon.icon-cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

.service-card h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Tech stack tags */
.tech-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 4px;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* ===== TECHNOLOGY STACK MARQUEE ===== */
.tech-stack-section {
    padding: 30px 0 20px;
    background: var(--bg-dark-secondary);
    overflow: hidden;
}

.tech-stack-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-stack-track {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.tech-stack-track:hover {
    animation-play-state: paused;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    transition: transform 0.3s ease;
    cursor: default;
}

.tech-logo-item:hover {
    transform: translateY(-3px);
}

.tech-logo-item i {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tech-logo-item:hover i {
    color: var(--vivid-purple);
}

.tech-logo-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CLIENT LOGOS ===== */
.clients-section {
    padding: 60px 0 70px;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.client-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s ease;
    cursor: default;
}

.client-logo-item:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--glass-shadow);
}

.client-logo-item i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-logo-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

@media (max-width: 991.98px) {
    .client-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575.98px) {
    .client-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .top-bar {
        display: none;
    }
    #mainNav {
        top: 0 !important;
    }
}

/* ===== PORTFOLIO ===== */
.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 8px 24px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.portfolio-card .portfolio-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.portfolio-card .portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 60%, transparent 100%);
    transition: all 0.4s ease;
}

.portfolio-card .portfolio-overlay p {
    opacity: 0;
    max-height: 0;
    margin: 0;
    transition: opacity 0.3s ease, max-height 0.4s ease;
    overflow: hidden;
}

.portfolio-card:hover .portfolio-overlay p {
    opacity: 1;
    max-height: 100px;
    margin-top: 8px;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.portfolio-overlay .category-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

/* Portfolio Visit Site Button (on card) */
.portfolio-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    margin-top: 4px;
}

.portfolio-card:hover .portfolio-visit-btn {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-visit-btn:hover {
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px) !important;
}

/* Visit Site Button (in modal) */
.btn-visit-site {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-visit-site:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
}

/* Portfolio gradient backgrounds */
.portfolio-bg-1 { background: linear-gradient(135deg, #1a1a3e, #2d1b69); }
.portfolio-bg-2 { background: linear-gradient(135deg, #1a2e3e, #0d4a6b); }
.portfolio-bg-3 { background: linear-gradient(135deg, #2e1a3e, #6b0d5a); }
.portfolio-bg-4 { background: linear-gradient(135deg, #1a3e2e, #0d6b4a); }
.portfolio-bg-5 { background: linear-gradient(135deg, #3e1a1a, #6b2d0d); }
.portfolio-bg-6 { background: linear-gradient(135deg, #1a2e3e, #0d3d6b); }
.portfolio-bg-7 { background: linear-gradient(135deg, #3e3a1a, #6b5a0d); }
.portfolio-bg-8 { background: linear-gradient(135deg, #1a3e3e, #0d6b6b); }

/* ===== PROJECT DETAIL MODAL ===== */
.project-modal-content {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    opacity: 0.8;
    filter: none;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
}

.project-modal-close:hover {
    opacity: 1;
}

#projectCarousel {
    position: relative;
}

#projectCarousel .carousel-item {
    height: 400px;
}

#projectCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#projectCarousel .carousel-control-prev,
#projectCarousel .carousel-control-next {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    margin: 0 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#projectCarousel .carousel-control-prev:hover,
#projectCarousel .carousel-control-next:hover {
    background: var(--gradient-primary);
    opacity: 1;
}

#projectCarousel .carousel-indicators {
    margin-bottom: 12px;
}

#projectCarousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 4px;
}

#projectCarousel .carousel-indicators .active {
    background: var(--electric-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.project-modal-body {
    padding: 30px;
}

.project-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.project-modal-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.project-modal-client {
    font-size: 0.85rem;
}

.project-modal-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.project-modal-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.project-modal-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-size: 0.75rem;
}

.project-modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-modal-tech .tech-tag {
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 575.98px) {
    #projectCarousel .carousel-item {
        height: 250px;
    }

    .project-modal-features {
        grid-template-columns: 1fr;
    }

    .project-modal-body {
        padding: 20px;
    }
}

/* ===== TEAM CARDS ===== */
.team-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
}

.team-avatar::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
}

.team-avatar.avatar-1 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.team-avatar.avatar-2 { background: linear-gradient(135deg, #00d4ff, #0ea5e9); }
.team-avatar.avatar-3 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.team-avatar.avatar-4 { background: linear-gradient(135deg, #f97316, #fb923c); }
.team-avatar.avatar-5 { background: linear-gradient(135deg, #10b981, #34d399); }
.team-avatar.avatar-6 { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.team-avatar.avatar-7 { background: linear-gradient(135deg, #8b5cf6, #c084fc); }
.team-avatar.avatar-8 { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.team-avatar.avatar-9 { background: linear-gradient(135deg, #eab308, #facc15); }
.team-avatar.avatar-10 { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }

.team-card h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--electric-blue);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card .bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    margin: 0 4px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.team-social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.blog-card .blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.blog-card .blog-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.blog-category.cat-ai { background: rgba(124, 58, 237, 0.2); color: var(--vivid-purple); }
.blog-category.cat-mobile { background: rgba(0, 212, 255, 0.2); color: var(--electric-blue); }
.blog-category.cat-cloud { background: rgba(16, 185, 129, 0.2); color: var(--emerald); }
.blog-category.cat-design { background: rgba(236, 72, 153, 0.2); color: var(--hot-pink); }
.blog-category.cat-devops { background: rgba(249, 115, 22, 0.2); color: var(--orange); }
.blog-category.cat-web { background: rgba(6, 182, 212, 0.2); color: var(--cyan); }

.blog-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h4 a {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card h4 a:hover {
    color: var(--electric-blue);
}

.blog-card .blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta .author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
}

/* Blog gradient backgrounds */
.blog-bg-1 { background: linear-gradient(135deg, #1a1a3e, #2d1b69); }
.blog-bg-2 { background: linear-gradient(135deg, #1a2e3e, #0d4a6b); }
.blog-bg-3 { background: linear-gradient(135deg, #1a3e2e, #0d6b4a); }
.blog-bg-4 { background: linear-gradient(135deg, #3e1a2e, #6b0d4a); }
.blog-bg-5 { background: linear-gradient(135deg, #3e2e1a, #6b4a0d); }
.blog-bg-6 { background: linear-gradient(135deg, #1a3e3e, #0d6b6b); }

/* ===== BLOG DETAIL MODAL ===== */
.blog-modal-content {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.blog-card[data-blog] {
    cursor: pointer;
}

.blog-modal-hero {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-modal-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #ffffff, transparent);
}

.blog-modal-body {
    padding: 30px;
}

.blog-modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #1e293b;
}

.blog-modal-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}

.blog-modal-author .author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
    background: var(--gradient-primary);
}

.blog-modal-author .author-info strong {
    display: block;
    color: #1e293b;
    font-size: 0.95rem;
}

.blog-modal-author .author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.blog-modal-article {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
}

.blog-modal-article h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin: 28px 0 12px;
    font-weight: 600;
}

.blog-modal-article p {
    margin-bottom: 16px;
}

.blog-modal-article ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.blog-modal-article ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 8px;
}

.blog-modal-article ul li::marker {
    color: var(--electric-blue);
}

.blog-modal-article .highlight-box {
    background: rgba(124, 58, 237, 0.1);
    border-left: 4px solid var(--vivid-purple);
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-modal-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.blog-modal-tags .tag-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 4px;
}

.blog-modal-tags .tag-item {
    padding: 5px 14px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50px;
    color: var(--electric-blue);
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-modal-tags .tag-item:hover {
    background: rgba(124, 58, 237, 0.3);
}

@media (max-width: 575.98px) {
    .blog-modal-hero {
        height: 220px;
    }
    .blog-modal-body {
        padding: 20px;
    }
    .blog-modal-title {
        font-size: 1.3rem;
    }
}

/* Blog Sidebar */
.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.sidebar-card h5 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-search {
    position: relative;
}

.sidebar-search input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.sidebar-search input:focus {
    border-color: var(--vivid-purple);
}

.sidebar-search input::placeholder {
    color: var(--text-muted);
}

.sidebar-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar-search button:hover {
    opacity: 0.85;
    transform: translateY(-50%) scale(1.05);
}

.sidebar-categories li {
    list-style: none;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
}

.sidebar-categories li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.sidebar-categories li a:hover {
    color: var(--electric-blue);
}

.sidebar-categories li span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background: rgba(124, 58, 237, 0.2);
    color: var(--electric-blue);
    border-color: var(--vivid-purple);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.08);
}

.testimonial-card .quote-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.testimonial-card .stars {
    color: #facc15;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.testimonial-card .client-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.testimonial-card .client-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--vivid-purple);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -8px;
}

.timeline-item:nth-child(even)::before {
    left: -8px;
}

.timeline-content {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.timeline-content:hover {
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.08);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--electric-blue);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-cta);
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
}

.breadcrumb-custom {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.breadcrumb-custom li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb-custom li a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.breadcrumb-custom li a:hover {
    color: var(--electric-blue);
}

.breadcrumb-custom li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--text-muted);
}

/* ===== PROCESS SECTION ===== */
.process-step {
    text-align: center;
    position: relative;
    padding: 30px 25px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.process-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
    background: var(--gradient-primary);
}

.process-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.3rem;
    color: #fff;
}

.process-icon.icon-cyan { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.process-icon.icon-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.process-icon.icon-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.process-icon.icon-emerald { background: linear-gradient(135deg, #10b981, #34d399); }

.process-step h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-line {
    position: relative;
    height: 3px;
    margin: 10px 0 20px;
    border-radius: 2px;
    background: var(--gradient-primary);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--gradient-cta);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-section .btn-white {
    background: #fff;
    color: var(--vivid-purple);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    transition: all 0.4s ease;
}

.cta-section .btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* ===== CONTACT FORM ===== */
.contact-form .form-control,
.contact-form .form-select {
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: #ffffff;
    border-color: var(--vivid-purple);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
    color: var(--text-primary);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item .icon-box {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.contact-info-item h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== VALUES CARDS ===== */
.value-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: #fff;
}

/* ===== WHY CHOOSE US ===== */
.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.2);
}

.feature-number {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 20px;
}

.feature-item h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, var(--footer-bg), var(--footer-bg-bottom));
    padding-top: 80px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--footer-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--electric-blue);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact li i {
    color: var(--vivid-purple);
    font-size: 1rem;
    margin-top: 4px;
    min-width: 18px;
}

.footer-contact li span {
    color: var(--footer-text);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--footer-border);
    color: var(--footer-text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding: 24px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom p {
    color: var(--footer-text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--footer-text);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--electric-blue);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.revealed,
.fade-left.revealed,
.fade-right.revealed,
.scale-in.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger delay */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== ANIMATION KEYFRAMES ===== */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.5); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MAP PLACEHOLDER ===== */
.map-placeholder {
    height: 300px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ===== SUCCESS MESSAGE ===== */
.alert-success-custom {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: var(--emerald);
    padding: 16px 20px;
    font-size: 0.95rem;
}

/* ===== VALIDATION ===== */
.field-validation-error {
    color: var(--hot-pink);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.input-validation-error {
    border-color: var(--hot-pink) !important;
}

/* ===== BRAND LOGO ===== */
.brand-logo {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-logo {
    transform: scale(1.05);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 5px;
}

/* ===== IMAGE UTILITIES ===== */
.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-card .blog-image {
    overflow: hidden;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .hero-carousel .hero-title {
        font-size: 2.8rem;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 44px;
        height: 44px;
        margin: 0 10px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 16px;
        margin-top: 10px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse .nav-link {
        color: #475569 !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        color: #1e293b !important;
    }

    .navbar-collapse .nav-link {
        padding: 10px 0 !important;
    }

    .navbar-collapse .btn-gradient {
        margin-top: 10px;
        display: inline-block;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::before {
        left: 12px !important;
        right: auto !important;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .hero-title {
        font-size: 2.2rem;
    }

    .hero-carousel .hero-subtitle {
        font-size: 1rem;
    }

    .hero-carousel .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-padding {
        padding: 60px 0;
    }

    .glass-card,
    .service-card {
        padding: 24px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .page-banner {
        padding: 120px 0 60px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 16px;
        font-size: 0.8rem;
    }

    .portfolio-card {
        height: 300px;
    }
}
