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

/* ===== Global Styles ===== */
:root {
    --primary-rgb: 79, 70, 229;
    /* Electric Indigo (#4f46e5) */
    --secondary-rgb: 6, 182, 212;
    /* Cyber Cyan (#06b6d4) */
    --accent-rgb: 217, 70, 239;
    /* Neon Magenta (#d946ef) */

    --primary: rgb(var(--primary-rgb));
    --secondary: rgb(var(--secondary-rgb));
    --accent: rgb(var(--accent-rgb));

    --light: #f8fafc;
    --dark: #090d16;
    /* Midnight Dark Tech */
    --gray: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(var(--primary-rgb), 0.08);
    --shadow-lg: 0 20px 40px rgba(var(--primary-rgb), 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

/* overflow-x:hidden lives on this wrapper (not html/body) because setting it on
   body breaks position:sticky for descendants on mobile Safari/Chrome */
.page-wrapper {
    overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 150px);
    max-width: 1100px;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.55);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 100, 30, 0.45);
    border-radius: 50px;
    box-shadow:
        0 0 22px rgba(255, 90, 20, 0.22),
        0 8px 32px rgba(0, 0, 0, 0.45);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(9, 13, 22, 0.82);
    box-shadow:
        0 0 28px rgba(255, 90, 20, 0.3),
        0 8px 40px rgba(0, 0, 0, 0.55);
    border-color: rgba(255, 100, 30, 0.6);
}

.nav-container {
    padding: 7px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.logo-img {
    height: 34px;
    width: 34px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 2px;
}

.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 1.7rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
    background: rgba(255, 255, 255, 0.9);
}

/* ===== Hero Section ===== */
.hero-section {
    margin-top: 0;
    padding: 100px 0 60px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section.dark-hero {
    background: linear-gradient(135deg,
            #0f0c29 0%,
            #1a1050 25%,
            #160d3a 50%,
            #0d1f4c 75%,
            #090d16 100%);
    color: #fff;
}

.hero-section.dark-hero .hero-title {
    color: #ffffff;
}

.hero-section.dark-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.68);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
    pointer-events: none;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    -webkit-filter: blur(130px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 1;
    transition: background 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-primary {
    width: 700px;
    height: 700px;
    background: var(--glow-color-1, #c084fc);
    top: -15%;
    left: -12%;
}

.orb-secondary {
    width: 800px;
    height: 800px;
    background: var(--glow-color-2, #67e8f9);
    bottom: -20%;
    right: -12%;
}

.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decor-svg {
    position: absolute;
    opacity: 0.18;
    animation: rotateDecor 30s linear infinite;
}

.doc-1 {
    top: 5%;
    left: 42%;
}

.doc-2 {
    bottom: 10%;
    left: 2%;
    animation-duration: 45s;
    animation-direction: reverse;
}

.doc-3 {
    top: 25%;
    right: -5%;
    animation-duration: 55s;
}

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

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

.hero-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: none;
    border-radius: 0;
    padding: 90px 60px 60px;
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glass-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-glass-nav-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    max-width: 1260px;
    width: 100%;
    padding: 0 60px;
    justify-content: center;
}

.hero-nav-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    white-space: nowrap;
}

.hero-nav-link:hover {
    color: #ffffff;
}

.hero-content {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    opacity: 1;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
}

.btn-secondary {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* ===== Hero Stack ===== */
.hero-image {
    position: relative;
    height: 580px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.stack-container {
    position: relative;
    width: 400px;
    height: 520px;
    flex-shrink: 0;
}

.stack-card {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center top;
    border: 2px solid rgba(var(--primary-rgb), 0.15);
    box-shadow:
        0 20px 40px rgba(var(--primary-rgb), 0.18),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cert-stack-card {
    background-color: #f8fafc;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}

.stack-card.prev-active {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), right 0.35s ease;
}

/* ===== Services Section - Horizontal Scroll ===== */
.services-section {
    background: var(--dark);
    padding: 0;
}

.services-scroll-container {
    position: relative;
}

.services-sticky {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 100px 0;
}

.services-sticky-header {
    text-align: center;
    flex-shrink: 0;
    padding: 0 20px;
}

.services-sticky-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.services-sticky-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.services-gallery-wrap {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    overflow: hidden;
    flex-shrink: 0;
}

.services-gallery {
    display: flex;
    gap: 30px;
    will-change: transform;
    transition: transform 0.6s ease;
}

.service-slide {
    flex-shrink: 0;
    width: 380px;
    height: 490px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease;
}

.service-slide:hover {
    transform: translateY(-8px);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 38%, rgba(0, 0, 0, 0.65) 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 1;
}

.slide-number {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--slide-color);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.slide-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 12px;
}

.service-slide h3,
.stack-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.25;
}

.service-slide p,
.stack-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* ===== Section Header (shared by other sections) ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

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

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

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    color: var(--dark);
}

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

.about-image img,
.about-image div img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-image>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.about-stack-container {
    width: 100%;
    max-width: 420px;
    height: 500px;
    margin: 0 auto;
}

/* ===== Team Section - Floating Profiles ===== */
.team-section {
    padding: 100px 0;
    background: radial-gradient(ellipse 90% 70% at 50% 50%, rgba(var(--primary-rgb), 0.07) 0%, var(--white) 65%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.team-glow-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    z-index: 0;
}

.orb-1 {
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.16) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orb-2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
    top: 5%;
    right: 4%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    bottom: 8%;
    left: 4%;
}

.profiles-container {
    position: relative;
    width: 100%;
    height: 740px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.profile-card {
    position: absolute;
    opacity: 0;
}

.profile-card-inner {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 8px;
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow:
        0 25px 50px rgba(var(--primary-rgb), 0.18),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    cursor: pointer;
}

.profile-card-inner::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
    border-radius: 1px;
    z-index: 2;
}

.profile-card-inner:hover {
    box-shadow:
        0 35px 70px rgba(var(--primary-rgb), 0.32),
        0 8px 20px rgba(0, 0, 0, 0.1),
        0 0 50px rgba(var(--secondary-rgb), 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: scale(1.06);
}

.profile-img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
}

.profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.4) 42%,
            rgba(var(--primary-rgb), 0.08) 70%,
            transparent 100%);
}

.profile-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px;
}

.profile-info h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.profile-role {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===== Achievements Section ===== */
.achievements-section {
    padding: 100px 0;
    background: var(--white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(var(--primary-rgb), 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.achievement-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.achievement-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.contact-section.dark-contact {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1050 25%, #160d3a 50%, #0d1f4c 75%, #090d16 100%);
    padding: 80px 20px;
}

.contact-glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 60px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dark-contact .section-header h2           { color: #fff; }
.dark-contact .section-header p            { color: rgba(255,255,255,0.65); }
.dark-contact .contact-info h3             { color: #fff; }
.dark-contact .info-item .info-label       { color: rgba(255,255,255,0.55) !important; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dark-contact .info-item span:last-child   { color: #ffffff !important; font-size: 1rem; }

.dark-contact .contact-form input,
.dark-contact .contact-form textarea {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
}

.dark-contact .contact-form input::placeholder,
.dark-contact .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.dark-contact .contact-form input:focus,
.dark-contact .contact-form textarea:focus {
    border-color: rgba(96, 165, 250, 0.6);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
    font-weight: 700;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.info-label {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
}

.info-item span:last-child {
    color: var(--dark);
    font-size: 1.05rem;
}

/* ===== GLASSMORPHISM FOOTER ===== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #0a0d1a 0%, #0f172a 50%, #0a0d1a 100%);
    color: var(--white);
    overflow: hidden;
}

/* Ambient glow orbs behind footer */
.footer::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
    pointer-events: none;
    border-radius: 50%;
}

.footer::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -100px;
    pointer-events: none;
    border-radius: 50%;
}

.footer-glass-wrap {
    position: relative;
    z-index: 1;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding: 0 48px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, #fff, rgba(var(--secondary-rgb), 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    margin-bottom: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo {
    margin-bottom: 0;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--secondary);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-section ul li a::before {
    content: '›';
    color: var(--secondary);
    font-weight: 700;
    transition: transform 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-section ul li a:hover::before {
    transform: translateX(2px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
    padding: 0;
}

.footer-section ul li a::before {
    content: '›';
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
}

/* Footer divider line with glass glow */
.footer-divider {
    position: relative;
    height: 1px;
    margin: 0 40px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.08) 20%,
            rgba(var(--primary-rgb), 0.25) 50%,
            rgba(255, 255, 255, 0.08) 80%,
            transparent 100%);
}

/* Footer bottom glass strip */
.footer-bottom {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 22px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ===== Animations ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {

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

    50% {
        transform: translateY(-10px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1100px) {
    .services-gallery-wrap {
        width: 790px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        top: 10px;
        width: calc(100% - 24px);
        border-radius: 32px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(9, 13, 22, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px;
        border: 1px solid rgba(255, 100, 30, 0.3);
        border-radius: 20px;
        gap: 0;
    }


    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
        color: rgba(255, 255, 255, 0.85);
    }

    .hero-glass-card {
        padding: 70px 20px 30px;
        border-radius: 0;
        width: 100%;
        margin: 0;
        inset: 0;
    }

    .hero-glass-nav {
        height: 60px;
    }

    .hero-glass-nav-inner {
        gap: 16px;
        padding: 0 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-nav-link {
        font-size: 0.76rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-image {
        height: 360px;
        justify-content: center;
        padding-left: 0;
    }

    .stack-container {
        width: 230px;
        height: 310px;
    }

    .about-stack-container {
        width: 100%;
        max-width: 300px;
        height: 360px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .services-gallery-wrap {
        width: 270px;
    }

    .services-gallery {
        gap: 16px;
    }

    .service-slide {
        width: 270px;
        height: 360px;
    }

    .profiles-container {
        height: auto;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 10px 0;
    }

    .profile-card {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100% !important;
    }

    .profile-card[data-index="1"] {
        grid-column: 1 / -1;
        max-width: 240px;
        margin: 0 auto;
    }

    .profile-info h3 {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .footer-content {
        padding: 0 20px;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-bottom {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .footer-divider {
        margin: 0 20px;
    }

    .footer-glass-wrap {
        padding: 50px 0 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .logo-img {
        width: 30px;
        height: 30px;
    }

    .logo-text {
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 32px;
    }

    .footer-section {
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding-bottom: 24px;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-bottom {
        padding: 16px 20px;
        gap: 8px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
    }

    .footer-bottom-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-divider {
        margin: 0 16px;
    }

    .footer-brand-name {
        font-size: 1rem;
    }

    .social-links {
        justify-content: flex-start;
    }
}

/* ===== Chatbot & WhatsApp Live Chat Widget ===== */
.bw-chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.bw-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bw-fab:hover {
    transform: translateY(-3px);
}

.bw-fab-chat {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bw-fab-chat .bw-icon-close {
    display: none;
    position: absolute;
}

.bw-fab-chat.active .bw-icon-chat {
    display: none;
}

.bw-fab-chat.active .bw-icon-close {
    display: block;
}

.bw-chat-window {
    width: 330px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transform-origin: bottom right;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}

.bw-chat-window.open {
    max-height: 540px;
    opacity: 1;
    transform: scale(1);
}

.bw-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 18px 18px 0 0;
}

.bw-chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bw-chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    object-fit: contain;
}

.bw-chat-header-info h4 {
    font-size: 0.95rem;
    margin: 0;
}

.bw-chat-status {
    font-size: 0.72rem;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bw-chat-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
}

.bw-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.bw-chat-body {
    flex: 1;
    min-height: 140px;
    max-height: 260px;
    overflow-y: auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--light);
}

.bw-msg {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.bw-msg-bot {
    align-self: flex-start;
    background: #fff;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom-left-radius: 4px;
}

.bw-msg-user {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bw-chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bw-chip {
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    background: rgba(var(--primary-rgb), 0.06);
    color: var(--primary);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bw-chip:hover {
    background: rgba(var(--primary-rgb), 0.14);
}

.bw-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bw-chat-input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
}

.bw-chat-input:focus {
    border-color: var(--primary);
}

.bw-chat-send {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bw-chat-send:hover {
    background: var(--secondary);
}

.bw-chat-whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 0 0 18px 18px;
    transition: background 0.2s ease;
}

.bw-chat-whatsapp-link:hover {
    background: #1ebe5b;
}

@media (max-width: 480px) {
    .bw-chat-widget {
        right: 14px;
        bottom: 14px;
    }

    .bw-fab {
        width: 50px;
        height: 50px;
    }

    .bw-chat-window {
        width: calc(100vw - 28px);
    }
}