/* ==========================
        CSS VARIABLES (THEMING)
        ========================== */
:root {

    --bg: #F7FAFC;
    --card: #ffffff;
    --ghost: rgba(16, 24, 40, 0.075);
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #2563eb;
    /* blue */
    --accent-2: #06b6d4;
    --accent-3: #00ffd5;
    /* aqua */
    --glass: rgba(255, 255, 255, 0.6);
    --shadow-sm: 0 6px 18px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 12px 30px rgba(16, 24, 40, 0.08);
    --radius: 14px;
    --radius1: 16px;
    --container-pad: 5%;
    --container-pad1: 7%;
    --nav-bg: rgba(255, 255, 255, 0.6);
}

/* Dark theme overrides */
body.dark {

    --bg: #0B1020;
    --card: #0f1724;
    --ghost: rgba(255, 255, 255, 0.12);
    --text: #e6eef8;
    --muted: #9aa6bd;
    --accent: #4da3ff;
    --accent-2: #00d1ff;
    --accent-3: #00d9ff;
    --glass: rgba(255, 255, 255, 0.03);
    --shadow-sm: 0 6px 22px rgba(2, 6, 23, 0.6);
    --shadow-md: 0 14px 36px rgba(2, 6, 23, 0.65);
    --nav-bg: rgba(8, 10, 15, 0.6);
}

/* ==========================
        BASE / LAYOUT
        ========================== */

/* ==========================
        Home Start 
        ========================== */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background .35s ease, color .35s ease;
}

a {
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: 100%;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    margin: 0 auto;
    max-width: 1400px
}

/* ==========================
        NAVBAR
        ========================== */
nav {
    position: sticky;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px var(--container-pad);
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

nav.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 12px var(--container-pad)
}

.logo {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.05rem
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px
}

.nav-links a:hover {
    color: var(--accent)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.hamburger {
    display: none;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px
}

.theme-btn {
    cursor: pointer;
    background: var(--card);
    border: none;
    padding: 8px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm)
}

.theme-btn i {
    color: var(--accent)
}

/* ==========================
        HERO
        ========================== */
.hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    gap: 11px;
}

.hero-inner {
    flex: 1;
    max-width: 720px
}

.headline {
    font-size: 2.4rem;
    line-height: 1.02;
    margin-bottom: 12px;
    font-weight: 700
}

.sub {
    color: var(--muted);
    margin-bottom: 20px
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.18);
    cursor: pointer
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 10px 18px;
    border-radius: 10px;
    color: var(--text);
}

.hero-media {
    flex: 1;
    display: flex;
    justify-content: center
}

.hero-card {
    background: var(--card);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: stretch
}

.hero-left {
    padding: 34px 36px;
    width: 56%
}

.hero-right img {
    width: 420px;
    height: 260px;
    object-fit: cover
}

.hero-left h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 10px
}

.hero-left p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px
}

/* ==========================
        SECTIONS (common)
        ========================== */
section {
    padding: 25px 0
}

h2.section-title {
    font-size: 1.9rem;
    margin-bottom: 18px;
    text-align: center
}

p.lead {
    max-width: 820px;
    margin: 0 auto;
    color: var(--muted);
    text-align: center
}

/* ==========================
        ABOUT
        ========================== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center
}

.about .card {
    background: var(--card);
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm)
}

.about img {
    border-radius: 12px
}


/* ==========================
        VIRTUAL RESOURCES (split)
        ========================== */
.virtual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: center;
}

.virtual .box {
    background: var(--card);
    /* color: #fff; */
    padding: 34px;
    border-radius: 16px;
    box-shadow: var(--shadow-md)
}

.virtual .box h2 {
    font-size: 1.6rem;
    margin: 0 0 10px
}

.virtual .box p {
    opacity: .95;
    margin-bottom: 18px
}

.virtual .pill {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.virtual .pill a {
    background: var(--ghost);
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600
}

.virtual .media {
    display: flex;
    justify-content: center
}

.virtual .media img {
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 100%;
    height: auto
}

/* ==========================
        INDUSTRIES
        ========================== */
/* .industries-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px
      }

      .industry-card {
        background: var(--card);
        padding: 26px;
        border-radius: 14px;
        text-align: center;
        box-shadow: var(--shadow-sm);
        transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
        cursor: pointer
      }

      .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-md);
        background: linear-gradient(180deg, rgba(6, 182, 212, 0.06), rgba(37, 99, 235, 0.03))
      }

      .industry-card .icon {
        font-size: 24px;
        color: var(--accent);
        margin-bottom: 12px
      }

      .industry-card h4 {
        margin: 0 0 8px;
        font-weight: 600
      }

      .industry-card .learn {
        color: var(--accent);
        font-weight: 600;
        font-size: .95rem;
        text-decoration: none
      } */


.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px
}

.industry {
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all .28s
}

.industry:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(180deg, rgba(77, 163, 255, 0.04), transparent)
}

.industry .ic {
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 8px
}

.industry h4 {
    margin: 6px 0 8px;
    font-weight: 700
}

.industry a {
    color: var(--accent);
    font-weight: 600
}





/* ==========================
        PORTFOLIO (filterable grid)
        ========================== */
.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.filter-btn {
    background: var(--card);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all .25s
}

.filter-btn.active {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12)
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.portfolio-card {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md)
}

.project-title {
    padding: 12px 14px;
    font-weight: 600;
    color: var(--text)
}

/* ==========================
        TESTIMONIALS (carousel-like)
        ========================== */
.test-slider {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory
}

.test-item {
    flex: 0 0 320px;
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    scroll-snap-align: start
}

.test-item p {
    font-style: italic;
    color: var(--muted)
}

/* ==========================
        CONTACT
        ========================== */
.contact-form {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 12px
}

.input,
textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--card);
    color: var(--text)
}

.submit-btn {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    border: none;
    cursor: pointer
}

/* ==========================
        FOOTER
        ========================== */
footer {
    padding: 28px 0;
    text-align: center;
    color: var(--muted);
    background: transparent
}

/* ==========================
        RESPONSIVE RULES
        ========================== */
@media (max-width:1100px) {

    .container {
        width: 100%;
        padding-left: var(--container-pad1);
        padding-right: var(--container-pad1);
        margin: 0 auto;
        max-width: 1400px
    }

    .hero {
        flex-direction: column
    }

    .hero-right img {
        width: 100%;
        height: auto
    }

    .hero-left {
        width: 100%
    }

    .virtual {
        grid-template-columns: 1fr
    }

    .about {
        grid-template-columns: 1fr
    }
}

@media (max-width:880px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:560px) {
    .portfolio-grid {
        grid-template-columns: 1fr
    }

    .nav-links {
        display: none
    }

    .hamburger {
        display: block
    }
}

/* quick utility */
.muted {
    color: var(--muted)
}

/* ==========================
        Home End
        ========================== */



/* ==========================
        About Start
        ========================== */






/* ABOUT */
.about {
    padding: 110px 10%;
    text-align: center;
}

.about h1 {
    font-size: 45px;
    font-weight: 800;
}

.about p {
    margin-top: 10px;
    max-width: 750px;
    margin: auto;
    opacity: .9;
}

/* SECTION */
.section {
    padding: 80px 10%;
}

.title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.line {
    width: 100px;
    height: 4px;
    background: var(--accent-3);
    ;
    border-radius: 20px;
    margin-bottom: 25px;
}

/* ABOUT ROW */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.row img {
    width: 100%;
    border-radius: 20px;
}

/* Who_We_Are */
.Who_We_Are {
    border-radius: var(--radius1);
    padding: var(--container-pad);
    background: var(--ghost);
    box-shadow: var(--shadow-sm)
}


/* VALUES */
.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: var(--ghost);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    transition: .3s;
    box-shadow: var(--shadow-sm)
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-3);
    ;
}

.card h3 {
    margin-bottom: 5px;
}

/* TIMELINE */
.timeline {
    border-left: 3px dashed var(--accent-3);
    padding-left: 25px;
}

.timeline div {
    margin-bottom: 20px;
}

/* VALUE EXCHANGE */
.exchange-box {
    background: var(--ghost);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.exchange-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 20px;
}

.ex {
    background: var(--ghost);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.ex h3 {
    color: var(--accent-3);
    margin-bottom: 5px;
}

/* TEAM */
.team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.member {
    text-align: center;
    background: var(--ghost);
    padding: 20px;
    border-radius: 18px;
}

.member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-3);
    ;
    margin-bottom: 8px;
}

/* CTA */
.cta {
    text-align: center;
    padding: 70px 10%;
    background: linear-gradient(135deg, #007bff, #001133);
}

.cta button {
    padding: 14px 32px;
    border: none;
    background: white;
    color: #001133;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
}

/* MOBILE */
@media(max-width:900px) {
    .row {
        grid-template-columns: 1fr;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }

    .team {
        grid-template-columns: 1fr;
    }

    .exchange-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about h1 {
        font-size: 35px;
    }
}