@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0a0e1a;
    --navy2: #0f1424;
    --navy3: #141929;
    --card-bg: #111827;
    --accent: #00b4d8;
    --accent2: #0077b6;
    --white: #ffffff;
    --off-white: #e8edf5;
    --muted: #7a8aa8;
    --border: rgba(255, 255, 255, 0.07);
    --font: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--navy);
    color: var(--off-white);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 72px;
    background: rgba(10, 14, 26, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 60px;
    display: block;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-logo img:hover {
    transform: perspective(600px) translate3d(0, -2px, 20px) rotateX(5deg) rotateY(-5deg);
}

.nav-logo-fallback {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.5px;
}

.nav-logo-fallback span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a.active {
    color: var(--accent);
}

.nav-btn {
    background: transparent !important;
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 700 !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-btn span {
    position: relative;
    z-index: 2;
}

.nav-btn:hover {
    color: var(--white) !important;
}

.nav-svg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

.nav-svg rect {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 422, 0;
    transition: all 1300ms cubic-bezier(0.19, 1, 0.22, 1);
    rx: 8px;
    ry: 8px;
}

.nav-btn:hover .nav-svg rect {
    stroke-width: 5;
    stroke-dasharray: 10, 310;
    stroke-dashoffset: 33;
    stroke: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO */
.hero {
    padding-top: 72px;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(160deg, #070b16 0%, #0c1428 55%, #07111e 100%);
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.11) 0%, transparent 65%);
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    padding: 65px 24px 75px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.77rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 18px;
    letter-spacing: 0.06em;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .crumb-active {
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: 0.97rem;
    font-weight: 300;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.85;
}

.hero-bar {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 2px;
    margin: 24px auto 0;
}

/* STATS */
.stats-band {
    background: linear-gradient(90deg, #0077b6, #00b4d8);
}

.stats-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
    padding: 36px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-num {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

/* SECTION */
.section {
    padding: 90px 0;
}

.section.alt {
    background: var(--navy2);
}

.section.alt2 {
    background: var(--navy3);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
}

.label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.label::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

.label.center {
    justify-content: center;
}

.label.center::before {
    display: none;
}

.sec-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.sec-title span {
    color: var(--accent);
}

/* GRID CARDS (General Content) */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-top: 40px;
}

.content-text .sec-title {
    margin-bottom: 22px;
}

.content-text p {
    color: var(--muted);
    font-weight: 300;
    font-size: 0.93rem;
    line-height: 1.9;
    margin-bottom: 14px;
    text-align: justify;
}

.content-text p strong {
    color: var(--off-white);
    font-weight: 600;
}

.content-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

/* FEATURE PILLS */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.pill {
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(0, 180, 216, 0.3);
    background: rgba(0, 180, 216, 0.07);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
}

/* CARDS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.mc {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 20px;
    transition: border-color 0.3s, transform 0.3s;
    text-align: center;
}

.mc:hover {
    border-color: rgba(0, 180, 216, 0.4);
    transform: translateY(-4px);
}

.mc.full {
    grid-column: span 2;
}

.mc-icon {
    width: 50px;
    height: 50px;
    border-radius: 11px;
    background: rgba(0, 180, 216, 0.11);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    color: var(--accent);
}

.mc h4,
.mc h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.mc p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

.mc img {
    width: 100%;
    max-width: 150px;
    border-radius: 10px;
    margin: 0 auto 15px;
    display: block;
}

/* SCROLLING PARTNERS */
.partners {
    text-align: center;
    padding: 60px 0;
    background: var(--navy2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.slider {
    overflow: hidden;
    margin-top: 30px;
}

.slide-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll 20s linear infinite;
    align-items: center;
}

.slide {
    width: 250px;
    padding: 0 15px;
}

.slide img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%) opacity(0.5);
    transition: 0.3s;
}

.slide img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, #090e1c 0%, #061018 100%);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 96px 40px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.1) 0%, transparent 68%);
}

.cta-section h2 {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.cta-section h2 span {
    color: var(--accent);
}

.cta-section p {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 480px;
    margin: 0 auto 34px;
    line-height: 1.8;
    position: relative;
}

.btn-row {
    display: flex;
    justify-content: center;
    gap: 13px;
    position: relative;
    flex-wrap: wrap;
}

.btn-primary {
    padding: 13px 30px;
    background: var(--accent);
    color: var(--navy);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #00ccf0;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 180, 216, 0.3);
}

.btn-ghost {
    padding: 13px 30px;
    border: 1px solid var(--border);
    color: var(--off-white);
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
    cursor: pointer;
    background: transparent;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* FOOTER */
footer {
    background: #0e0707;
    border-top: 1px solid var(--border);
    padding: 60px 0 32px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.foot-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 13px;
}

.foot-brand-name span {
    color: var(--accent);
}

.foot-brand p {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 250px;
}

.foot-contact {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.foot-contact a {
    font-size: 0.82rem;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.foot-contact a:hover {
    color: var(--accent);
}

.foot-col h5 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.foot-col a {
    font-size: 0.83rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.foot-col a:hover {
    color: var(--accent);
}

.foot-bottom {
    border-top: 1px solid var(--border);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.foot-bottom p {
    font-size: 0.79rem;
    color: var(--muted);
}

.soc-row {
    display: flex;
    gap: 9px;
}

.soc-btn {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    /* Gradient setup for pour animation */
    background: linear-gradient(to top, var(--accent) 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: top;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.soc-btn:hover {
    border-color: var(--accent);
    background-position: bottom; /* Triggers the pour */
    color: var(--navy);
    transform: perspective(400px) translate3d(0, -4px, 15px) rotateX(8deg);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
}

/* TEAM SECTION */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 180, 216, 0.3);
}

.team-img-area {
    position: relative;
    height: 290px;
    background: var(--navy2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-card:hover .team-img-area img {
    transform: scale(1.05);
}

.team-img-area .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 14, 26, 1) 0%, transparent 60%);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 4px solid var(--card-bg);
    z-index: 2;
}

.team-img-area img[style*="display: none"]+.overlay+.team-avatar {
    z-index: 3;
}

.team-ph-txt {
    position: absolute;
    bottom: 15px;
    font-size: 0.75rem;
    color: var(--muted);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-info {
    padding: 24px;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: -30px;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.team-soc {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.soc-ic {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--navy);
    border: 1px solid var(--border);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
}

.soc-ic:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.team-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    margin-top: 30px;
}

/* VALUES SECTION */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.val {
    text-align: center;
}

.val-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(0, 180, 216, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 180, 216, 0.2);
}

.val h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.val p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}



/* FORMS */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 16px;
    /* Forces iOS not to auto-zoom */
    -webkit-appearance: none;
    appearance: none;
    transition: all 0.3s;
    resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}


/* RESPONSIVE */
.who-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.who-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.who-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.bg-letter {
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.03);
    font-weight: 900;
    z-index: 0;
    pointer-events: none;
}

.mv-card * {
    position: relative;
    z-index: 1;
}

.founder-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.founder-photo {
    position: relative;
    text-align: center;
}

.founder-frame {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    display: inline-block;
}

.founder-frame img {
    border-radius: 12px;
}

.founder-bar {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 15px;
}

.founder-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.founder-role {
    font-size: 0.9rem;
    color: var(--accent);
}

.founder-text .quote-block {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin-top: 30px;
    font-style: italic;
    color: var(--muted);
}

.founder-text .quote-block cite {
    display: block;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
    font-style: normal;
}

/* TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    padding-left: 30px;
    border-left: 2px solid var(--border);
}

.tl-item {
    position: relative;
    margin-bottom: 40px;
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--navy2);
    border: 2px solid var(--accent);
}

.tl-yr {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.tl-item h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.tl-item p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

/* TESTIMONIALS */
.testi-wrapper {
    position: relative;
    padding: 0 50px;
    max-width: 100%;
}

.testi-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 60px calc(50% - 225px);
}

.testi-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy2);
    border: 1px solid var(--border);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.testi-nav:hover {
    background: var(--accent);
    color: var(--navy);
    transform: translateY(-50%) scale(1.1);
}

.testi-nav.prev {
    left: -15px;
}

.testi-nav.next {
    right: -15px;
}

.testi-card {
    flex: 0 0 450px;
    scroll-snap-align: center;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.6) 0%, rgba(10, 14, 26, 0.9) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    /* 3D Base state */
    transform: perspective(1200px) rotateY(15deg) scale(0.9);
    opacity: 0.4;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.testi-card.active {
    transform: perspective(1200px) rotateY(0deg) scale(1.05);
    opacity: 1;
    border-color: rgba(0, 180, 216, 0.6);
    box-shadow: 0 25px 45px rgba(0, 180, 216, 0.3), inset 0 2px 0 rgba(0, 180, 216, 0.2);
    z-index: 10;
}

.testi-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(0, 180, 216, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    pointer-events: none;
}

.testi-card.active::before,
.testi-card:hover::before {
    opacity: 1;
}

.testi-card:hover {
    transform: perspective(1200px) rotateY(0deg) scale(1.08) translateY(-5px);
    border-color: rgba(0, 180, 216, 0.8);
    box-shadow: 0 35px 60px rgba(0, 180, 216, 0.4), inset 0 2px 0 rgba(0, 180, 216, 0.3);
}

.testi-quote-mark {
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: -20px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.testi-text {
    font-size: 0.95rem;
    color: #f1f5f9;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    letter-spacing: 0.01em;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    position: relative;
    z-index: 2;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 180, 216, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.4s ease;
}

.testi-card:hover .testi-avatar {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.testi-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 3px 0;
}

.testi-info span {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* BLOGS SECTION */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 180, 216, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.blog-img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: rgba(10, 14, 26, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.blog-card:hover .blog-img img {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(1);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
}

.blog-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.blog-content h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.45;
    transition: color 0.2s;
}

.blog-card:hover .blog-content h3 {
    color: var(--accent);
}

.blog-content p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    margin-top: auto;
}

.blog-link:hover {
    color: var(--accent);
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media(max-width:960px) {
    .navbar {
        padding: 0 24px;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--navy2);
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 1px solid var(--border);
        display: none;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .nav-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin: 10px auto;
        padding: 9px 22px !important;
    }

    .menu-toggle {
        display: block;
    }

    .content-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    .content-img {
        order: 1;
        width: 100%;
    }

    .content-text {
        order: 2;
        text-align: center;
    }

    .content-text .label.center {
        justify-content: center;
    }

    .who-grid,
    .founder-grid,
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .stat-cell:nth-child(2) {
        border-right: none;
    }

    .stat-cell:nth-child(3),
    .stat-cell:nth-child(4) {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media(max-width:600px) {
    .navbar {
        padding: 0 16px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 50px 0;
    }

    .mc.full {
        grid-column: auto;
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .stats-inner {
        grid-template-columns: 1fr;
    }

    .stat-cell {
        border-right: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 25px 20px;
    }

    .stat-cell:first-child {
        border-top: none;
    }

    .cards-grid,
    .team-grid,
    .values-grid,
    .testi-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testi-card {
        padding: 30px 20px;
    }
    
    .testi-quote-mark {
        font-size: 3.5rem;
    }

    .blog-content {
        padding: 25px 20px;
    }

    .blog-img {
        height: 180px;
    }

    .wa-chat-box {
        width: auto;
        left: 20px;
        right: 20px;
    }

    .cta-section {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-inner {
        padding: 40px 15px 50px;
    }

    .sec-title {
        font-size: 1.8rem;
    }
}

/* Mobile Testimonials Fix */
@media(max-width:768px) {
    .testi-wrapper {
        padding: 0;
    }
    .testi-grid {
        padding: 50px calc(50% - 145px); 
    }
    .testi-card {
        flex: 0 0 290px;
        padding: 25px 20px;
        transform: perspective(1000px) rotateY(6deg) scale(0.95);
    }
    .testi-card.active {
        transform: perspective(1000px) rotateY(0deg) scale(1.02);
    }
    .testi-card:hover {
        transform: perspective(1000px) rotateY(0deg) scale(1.04) translateY(-3px);
    }
    .testi-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .testi-nav.prev {
        left: 0px;
    }
    .testi-nav.next {
        right: 0px;
    }
}