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

:root {
    --accent:       #86efac;
    --accent-dark:  #4ade80;
    --accent-glow:  rgba(134, 239, 172, 0.25);
    --blue-primary: #2563eb;
    --blue-deep:    #1e3a8a;
    --blue-deeper:  #1e1b4b;
}

[data-theme="light"] {
    --bg-primary:          #ffffff;
    --bg-secondary:        #f8faff;
    --bg-tertiary:         #eef2ff;
    --text-primary:        #0f172a;
    --text-secondary:      #334155;
    --text-muted:          #64748b;
    --border:              #e0e7ff;
    --card-bg:             #ffffff;
    --card-border:         #e0e7ff;
    --nav-solid-bg:        rgba(30, 58, 138, 0.97);
    --hero-from:           #1e3a8a;
    --hero-mid:            #1e40af;
    --hero-to:             #2563eb;
    --shadow-color:        rgba(37, 99, 235, 0.08);
    --shadow-hover:        rgba(37, 99, 235, 0.15);
    --service-icon-bg:     rgba(37, 99, 235, 0.08);
    --service-icon-border: rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] {
    --bg-primary:          #0f1729;
    --bg-secondary:        #151f35;
    --bg-tertiary:         #1c2a47;
    --text-primary:        #e2e8f0;
    --text-secondary:      #94a3b8;
    --text-muted:          #64748b;
    --border:              #1e3a5f;
    --card-bg:             #151f35;
    --card-border:         #1e3a5f;
    --nav-solid-bg:        rgba(15, 23, 41, 0.97);
    --hero-from:           #0a1628;
    --hero-mid:            #1e3a8a;
    --hero-to:             #1e1b4b;
    --shadow-color:        rgba(0, 0, 0, 0.3);
    --shadow-hover:        rgba(0, 0, 0, 0.4);
    --service-icon-bg:     rgba(255, 255, 255, 0.06);
    --service-icon-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.7;
}

.navbar {
    padding: 1.2rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition:
        background-color 0.5s ease,
        border-color     0.5s ease,
        padding          0.4s ease,
        box-shadow       0.5s ease;
}

.navbar.scrolled {
    background-color: var(--nav-solid-bg);
    border-bottom-color: var(--border);
    padding: 0.75rem 0;
    box-shadow: 0 4px 24px var(--shadow-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
}

.navbar-brand.logo:hover {
    opacity: 0.85;
}

[data-theme="light"] .navbar.scrolled .navbar-brand.logo {
    color: #ffffff !important;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

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

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

[data-theme="light"] .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-theme="light"] .navbar.scrolled .nav-link:hover,
[data-theme="light"] .navbar.scrolled .nav-link.active {
    color: #ffffff !important;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
    transform: rotate(20deg);
}

[data-theme="light"] .navbar.scrolled .theme-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"]  .sun-icon  { display: none; }

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.35);
    padding: 0.4rem 0.6rem;
    background: transparent;
    transition: border-color 0.3s;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2386efac' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--nav-solid-bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 1rem 1.5rem;
        margin-top: 0.75rem;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 0.6rem 0 !important;
    }

    .nav-link::after {
        bottom: 0;
        left: 0;
    }

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

.hero {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        var(--hero-from) 0%,
        var(--hero-mid)  55%,
        var(--hero-to)   100%
    );
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.shape-1 {
    width: 700px;
    height: 700px;
    top: -200px;
    right: -150px;
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    animation: shapeFloat 16s ease-in-out infinite reverse;
}

.shape-3 {
    width: 350px;
    height: 350px;
    top: 40%;
    left: 35%;
    animation: shapeFloat 24s ease-in-out infinite 4s;
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 20px) scale(0.97); }
}

.hero-left {
    color: white;
    position: relative;
    z-index: 2;
    padding: 6rem 0 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #ffffff;
    animation: fadeUp 0.9s ease both;
}

.hero .tagline {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
    animation: fadeUp 0.9s ease 0.2s both;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.9s ease 0.4s both;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.cta-primary:hover::before {
    transform: translateX(100%);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(134, 239, 172, 0.35);
    color: #0f172a;
}

.cta-secondary {
    background: transparent;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
    transform: translateY(-3px);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-graphic {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp 1s ease 0.3s both;
}

.graphic-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(134, 239, 172, 0.2);
}

.ring-outer {
    width: 380px;
    height: 380px;
    animation: spinRing 30s linear infinite;
}

.ring-middle {
    width: 270px;
    height: 270px;
    animation: spinRing 20s linear infinite reverse;
    border-color: rgba(134, 239, 172, 0.3);
}

@keyframes spinRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.graphic-center {
    position: relative;
    z-index: 10;
}

.graphic-badge {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #0f172a;
    font-size: 3.5rem;
    font-weight: 800;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 40px rgba(134, 239, 172, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.3);
    animation: badgePulse 3s ease-in-out infinite;
    font-family: 'Poppins', sans-serif;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 40px rgba(134,239,172,0.4), 0 20px 60px rgba(0,0,0,0.3); }
    50%       { box-shadow: 0 0 70px rgba(134,239,172,0.6), 0 20px 60px rgba(0,0,0,0.3); }
}

.orbit-node {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}

.on-1 { top: 30px;    right: 60px; animation: nodeOrbit 6s ease-in-out infinite; }
.on-2 { bottom: 40px; left: 50px;  animation: nodeOrbit 6s ease-in-out infinite 2s; }
.on-3 { top: 50%;     left: 20px;  animation: nodeOrbit 6s ease-in-out infinite 4s; }

@keyframes nodeOrbit {
    0%, 100% { transform: scale(1);   opacity: 0.8; }
    50%       { transform: scale(1.4); opacity: 1; }
}

@media (min-width: 992px) {
    .hero-left {
        text-align: left;
        align-items: flex-start;
    }

    .cta-group {
        justify-content: flex-start;
    }
}

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

    .hero-left {
        text-align: center;
        align-items: center;
        padding: 7rem 1rem 3rem;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: auto;
        min-width: 160px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-left {
        padding: 6rem 1rem 3rem;
        text-align: center;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .tagline {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        display: block;
    }

    .service-card,
    .service-card:hover,
    .service-card:not(:hover),
    .stat-card,
    .stat-card:hover,
    .stat-card:not(:hover),
    .contact-email,
    .contact-email:hover,
    .contact-email:not(:hover),
    .social-links a,
    .social-links a:hover,
    .social-links a:not(:hover) {
        transform: scale(1) !important;
        box-shadow: 0 2px 12px var(--shadow-color) !important;
    }

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .section-about,
    .section-services,
    .section-team {
        padding: 4rem 0;
    }

    h2 { font-size: 2rem; }
}

@media (max-width: 576px) {
    .hero h1     { font-size: 1.85rem; }
    h2           { font-size: 1.75rem; }
    .stat-number { font-size: 2.8rem; }

    .cta-group {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 260px;
        text-align: center;
        display: block;
    }
}

.section-about,
.section-services,
.section-team {
    padding: 6rem 0;
}

.section-about    { background: var(--bg-primary); }
.section-services { background: var(--bg-secondary); }
.section-team     { background: var(--bg-tertiary); }

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2,
h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    font-weight: 400;
}

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

.info-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-top: 2.5rem;
    box-shadow: 0 2px 12px var(--shadow-color);
}

.info-box-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #0f172a;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.info-box-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.info-box-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px var(--shadow-color);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.service-card:not(:hover) {
    transform: scale(1);
}

.service-card::after {
    display: none;
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--service-icon-bg);
    border: 1px solid var(--service-icon-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .service-icon-wrap {
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
}

.service-card p {
    font-size: 0.97rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

.coming-soon-badge {
    display: inline-block;
    margin-top: 1.25rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue-primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

[data-theme="dark"] .coming-soon-badge {
    background: rgba(134, 239, 172, 0.12);
    color: var(--accent-dark);
    border-color: rgba(134, 239, 172, 0.3);
}

.team-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 750px;
    margin: 0 auto;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px var(--shadow-color);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.stat-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.stat-card:not(:hover) {
    transform: scale(1);
}

.stat-card::before {
    display: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2.5rem;
}

.footer h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.footer-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin-bottom: 2.5rem;
    will-change: transform;
    backface-visibility: hidden;
}

.contact-email i {
    color: var(--blue-primary);
    font-size: 1.2rem;
}

[data-theme="dark"] .contact-email i {
    color: var(--accent-dark);
}

.contact-email:hover {
    color: var(--text-primary);
    transform: scale(1.04);
    box-shadow: 0 8px 28px var(--shadow-hover);
}

.contact-email:not(:hover) {
    transform: scale(1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-decoration: none;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
}

.social-links a:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 24px var(--shadow-hover);
    color: var(--text-primary);
}

.social-links a:not(:hover) {
    transform: scale(1);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1       { font-size: 2.2rem; }
    .hero .tagline { font-size: 1rem; }
    h2             { font-size: 2rem; }

    .cta-group {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .info-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .section-about,
    .section-services,
    .section-team {
        padding: 4rem 0;
    }

    .service-card,
    .service-card:hover,
    .service-card:not(:hover),
    .stat-card,
    .stat-card:hover,
    .stat-card:not(:hover),
    .contact-email,
    .contact-email:hover,
    .contact-email:not(:hover),
    .social-links a,
    .social-links a:hover,
    .social-links a:not(:hover) {
        transform: scale(1) !important;
        box-shadow: 0 2px 12px var(--shadow-color) !important;
    }
}

@media (max-width: 576px) {
    .hero h1     { font-size: 1.85rem; }
    h2           { font-size: 1.75rem; }
    .stat-number { font-size: 2.8rem; }
}

/* ============================================
   LOGO IMAGE
   ============================================ */
.navbar-brand.logo {
    padding: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: 88px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.logo-img:hover {
    opacity: 0.85;
}
