/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --deep-navy: #0A1128;
    --navy-light: #162447;
    --crisp-white: #FFFFFF;
    --off-white: #F8F9FA;
    --tech-blue: #00E5FF;
    --tech-blue-dark: #007BFF;
    --accent: #2196F3;
    --text-muted: #9CA3AF;
    --glass-bg: rgba(22, 36, 71, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--deep-navy);
    color: var(--crisp-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utilities & Layout
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--tech-blue-dark), var(--tech-blue));
    color: var(--crisp-white);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--crisp-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--tech-blue);
}

.btn-nav {
    background: var(--crisp-white);
    color: var(--deep-navy);
    padding: 0.6rem 1.4rem;
}

.btn-nav:hover {
    background: var(--tech-blue);
    color: var(--crisp-white);
}

.text-gradient {
    background: linear-gradient(to right, var(--tech-blue), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--tech-blue);
    border-radius: 50%;
    display: inline-block;
    margin-top: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--crisp-white);
}

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--crisp-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    color: var(--tech-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

/* Abstract Backgrounds */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--tech-blue-dark);
    top: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--tech-blue);
    bottom: -50px;
    right: 10%;
    animation: float 12s ease-in-out infinite alternate-reverse;
}

/* Hero Visual Layout and Animations */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    top: -40px;
    z-index: 2;
}

.hero-custom-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    display: block;
}

.visual-stats {
    position: absolute;
    bottom: -30px;
    left: -40px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stats-icon {
    font-size: 2.5rem;
    color: var(--tech-blue);
    background: rgba(0, 229, 255, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
}

.visual-stats h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.visual-stats p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--crisp-white);
}

/* Animations Variables */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }

    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.float-anim-1 {
    animation: floatingVertical 6s ease-in-out infinite;
}

.float-anim-2 {
    animation: floatingVertical 8s ease-in-out infinite reverse;
}

@keyframes floatingVertical {
    0% {
        transform: translateY(0);
    }

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

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

/* ==========================================================================
   Section Defaults & About Us Section
   ========================================================================== */
.section-padding {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

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

.about.section-padding {
    padding-top: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.mission-vision:hover::before {
    opacity: 1;
}

.mission-vision:hover {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.mv-block {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.mv-block h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--crisp-white);
}

.mv-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.icon-wrap {
    background: rgba(0, 229, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    transition: var(--transition);
}

.mv-block:hover .icon-wrap {
    background: var(--tech-blue);
    border-color: var(--tech-blue);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.mv-block:hover .mv-icon {
    color: var(--deep-navy);
    filter: none;
}

.mv-icon {
    font-size: 1.8rem;
    color: var(--tech-blue);
    filter: drop-shadow(0 0 5px var(--tech-blue));
}

.mv-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
}

.core-values {
    padding-left: 1rem;
}

.values-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.values-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--tech-blue);
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: var(--transition);
}

.value-item ion-icon {
    font-size: 1.4rem;
    color: var(--tech-blue);
    transition: var(--transition);
}

.value-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.value-item:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-3px);
}

.value-item:hover ion-icon {
    transform: scale(1.1);
    color: var(--crisp-white);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services.section-padding {
    padding: 1rem 0;
}

.services .section-subtitle {
    margin-bottom: 1rem;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
}

.service-card {
    flex: 1 1 calc(33.333% - 1.2rem);
    min-width: 250px;
    max-width: 400px;
    padding: 1.5rem 1.2rem;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

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

.service-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem auto;
    transition: var(--transition);
}

.service-icon {
    font-size: 1.5rem;
    color: var(--tech-blue);
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: var(--tech-blue);
    border-color: var(--tech-blue);
}

.service-card:hover .service-icon {
    color: var(--deep-navy);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--crisp-white);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Approach Section (Timeline)
   ========================================================================== */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 4rem;
    padding-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), var(--tech-blue), rgba(255, 255, 255, 0.1));
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--deep-navy);
    border: 2px solid var(--tech-blue);
    color: var(--tech-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-heading);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    transition: var(--transition);
}

.timeline-step:hover .step-number {
    background: var(--tech-blue);
    color: var(--deep-navy);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.timeline-step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--crisp-white);
}

.timeline-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Sectors Served Section
   ========================================================================== */
.sectors {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 4rem;
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.sector-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon title"
        "icon desc";
    gap: 0.5rem 1.2rem;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.sector-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sector-icon {
    grid-area: icon;
    font-size: 2.2rem;
    color: var(--tech-blue);
    margin-bottom: 0;
    display: inline-flex;
    background: rgba(0, 229, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    align-self: start;
    transition: var(--transition);
}

.sector-card:hover .sector-icon {
    background: var(--tech-blue);
    color: var(--deep-navy);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
    transform: scale(1.05);
}

.sector-card h3 {
    grid-area: title;
    font-size: 1.3rem;
    color: var(--crisp-white);
    margin-bottom: 0;
    align-self: end;
}

.sector-card p {
    grid-area: desc;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    align-self: start;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    border-top: 4px solid var(--tech-blue);
}

.contact-info h2 {
    font-size: 2.2rem;
    margin: 1rem 0;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
}

.contact-methods ion-icon {
    font-size: 1.5rem;
    color: var(--tech-blue);
    background: rgba(0, 229, 255, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    color: var(--crisp-white);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--crisp-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--crisp-white);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-blue);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1);
}

.w-100 {
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #050a17;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--tech-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 992px) {

    /* Hero */
    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-cta-group {
        justify-content: center;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 17, 40, 0.98);
        padding: 2rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-badge {
        margin: 0 auto 1.5rem auto;
    }

    /* Layouts */
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {

    /* Typography & Spacing */
    .section-title {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    /* Hero */
    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 1rem;
        margin: 0 auto 2rem auto;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .visual-stats {
        left: 50%;
        transform: translateX(-50%);
        bottom: -50px;
        width: 90%;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Sectors Grid */
    .sectors-grid {
        grid-template-columns: 1fr;
    }

    /* Approach Timeline */
    .timeline {
        flex-direction: column;
        gap: 2.5rem;
    }

    .timeline::before {
        left: 30px;
        top: 0;
        width: 2px;
        height: 100%;
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), var(--tech-blue), rgba(255, 255, 255, 0.1));
    }

    .timeline-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 0;
    }

    .step-number {
        margin: 0;
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .timeline-step h3 {
        margin-bottom: 0.3rem;
        margin-top: 0.5rem;
    }

    /* Sectors */
    .sector-item {
        font-size: 1.2rem;
        padding: 0 2rem;
    }

    /* Contact */
    .contact-wrapper {
        padding: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }
}