:root {
    --bg-dark: #020617;
    --bg-main: #0f172a;
    --primary: #38bdf8;
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;
    --border: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.page-loaded {
    opacity: 1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.logo-box {
    display: flex;
    align-items: center;
}

/* Logo image */
.logo-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    transition: transform 0.3s ease;
}

/* Hover effect */
.logo-link:hover .logo-img {
    transform: scale(1.1);
}

/* Tagline */
.tagline {
    font-size: 12px;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;   /* smaller on mobile */
    }

    .tagline {
        font-size: 10px;
        text-align: center;
    }
}



.footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Inline logo */
.footer-logo-inline {
    height: 18px;   /* small size inside text */
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect */
.footer-logo-link:hover .footer-logo-inline {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px #00bcd4);
}

/* Mobile */
@media (max-width: 768px) {
    .footer-logo-inline {
        height: 18px;
    }
}



/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

/* LOGO + TAGLINE */
.logo-box {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.tagline {
    font-size: 9.5px;
    color: var(--text-muted);
    letter-spacing: 0.6px;
}

/* LOGO LINK */
.logo-link {
    text-decoration: none;
}

.logo-link:hover .logo {
    opacity: 0.9;
}


/* REMOVE UNDERLINE FROM LOGO LINK */
.logo-link,
.logo-link:hover,
.logo-link:focus,
.logo-link:active {
    text-decoration: none !important;
    border: none;
}

/* EXTRA SAFETY: prevent underline on children */
.logo-link * {
    text-decoration: none !important;
}


.nav {
    display: flex;
}

.nav a {
    color: var(--text-main);
    margin-left: 24px;
    text-decoration: none;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -6px;
    left: 0;
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* MOBILE MENU ICON */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-main);
    margin: 4px 0;
    transition: 0.3s;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(circle at top right, rgba(56,189,248,0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(56,189,248,0.1), transparent 40%);
}

.hero h2 {
    font-size: 52px;
    font-weight: 800;
}

.hero p {
    max-width: 650px;
    margin: 20px auto;
    color: var(--text-muted);
}

.hero-buttons {
    margin-top: 35px;
}

/* BUTTONS */
.btn {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 6px;
    display: inline-block;
    transition: 0.3s;
}

.primary {
    background: var(--primary);
    color: #020617;
    box-shadow: 0 10px 30px rgba(56,189,248,0.35);
}

.primary:hover {
    transform: translateY(-4px);
}

.secondary {
    border: 1px solid var(--primary);
    color: var(--primary);
}




/* SECTIONS */
section {
    padding: 90px 0;
}





/* ABOUT */
.about {
    text-align: center;
}

.about h3 {
    font-size: 34px;
}




/* SERVICES */
.services {
    background: var(--bg-dark);
}

.services h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 34px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-main);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}




/* WHY US */
.why-us {
    text-align: center;
}

.why-us ul {
    list-style: none;
    max-width: 500px;
    margin: 30px auto 0;
}

.why-us li {
    padding: 12px;
    border-bottom: 1px dashed var(--border);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    color: #020617;
    text-align: center;
}

/* FOOTER */
.footer {
    background: var(--bg-dark);
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
}

/* MOBILE VIEW */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 220px;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        transition: 0.3s;
    }

    .nav a {
        margin: 15px 0;
    }

    .nav.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h2 {
        font-size: 38px;
    }
}



/* CONTACT FORM */
.contact {
    padding: 90px 0;
    text-align: center;
}

.contact h3 {
    font-size: 34px;
    margin-bottom: 10px;
}

.contact-form {
    max-width: 500px;
    margin: 40px auto 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-main);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.success {
    color: #22c55e;
    margin-top: 10px;
}

.error {
    understood, here's the clean fix:

    color: #ef4444;
    margin-top: 10px;
}


/* CONTACT TABS */
.contact-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.contact-form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border);
}


/* AUTO HIDE MESSAGE */
.auto-hide {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.auto-hide.hide {
    opacity: 0;
    transform: translateY(-10px);
}
/* PORTFOLIO */
.portfolio-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 44px;
}

.portfolio-hero p {
    color: var(--text-muted);
    margin-top: 10px;
}

.portfolio {
    padding: 80px 0;
}

.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    margin: 0 12px;
    font-size: 16px;
    cursor: pointer;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
}

.filter-btn.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.portfolio-card {
    background: linear-gradient(145deg, #0b1220, #0f172a);
    border-radius: 14px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.portfolio-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.portfolio-content span {
    font-size: 13px;
    color: var(--primary);
}




/* ============================
   FOUNDER / TEAM – PREMIUM UI
============================= */

.founder {
    padding: 80px 0;
    background: linear-gradient(180deg, #070b18 0%, #0b1220 100%);
}

.founder-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 36px;
    max-width: 900px;
    margin: 0 auto;
}

/* CARD */
.founder-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border 0.35s ease;
}

.founder-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 194, 255, 0.4);
    box-shadow: 0 22px 45px rgba(0,0,0,0.45);
}

/* IMAGE */
.founder-card img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 194, 255, 0.7);
    padding: 3px;
    background: linear-gradient(135deg, #00c2ff, #0077ff);
    margin-bottom: 16px;
}

/* NAME */
.founder-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* ROLE */
.founder-card span {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #00c2ff;
    margin-bottom: 14px;
}

/* BIO */
.founder-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #b6c0d1;
    margin-bottom: 22px;
}

/* LINKEDIN BUTTON */
.founder-card .btn.secondary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0,194,255,0.6);
    color: #00c2ff;
    background: transparent;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.founder-card .btn.secondary:hover {
    background: #00c2ff;
    color: #050914;
    box-shadow: 0 10px 25px rgba(0,194,255,0.35);
}

/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.founder-card:nth-child(1) { transition-delay: 0.1s; }
.founder-card:nth-child(2) { transition-delay: 0.25s; }



/* About Section */
.about-page {
    padding: 120px 0 60px;
    text-align: center;
}

.about-page h1 {
    font-size: 42px;
}

.about-intro {
    max-width: 700px;
    margin: 15px auto 0;
    color: var(--text-muted);
}

.about-mission,
.about-values {
    padding: 70px 0;
    text-align: center;
}

.about-values ul {
    list-style: none;
    max-width: 500px;
    margin: 20px auto 0;
}

.about-values li {
    padding: 10px 0;
}



/* HERO ANIMATION */
.hero h2,
.hero p,
.hero .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
}

.hero.animate h2 {
    animation: heroFade 0.8s ease forwards;
}

.hero.animate p {
    animation: heroFade 0.8s ease forwards;
    animation-delay: 0.15s;
}

.hero.animate .hero-buttons {
    animation: heroFade 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ROLE WITH ICON */
.founder-card .role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #00c2ff;
    margin-bottom: 14px;
}

.role-icon {
    font-size: 15px;
    line-height: 1;
}



.team-name a {
    text-decoration: none;
    color: inherit;
}

.team-name a:hover {
    text-decoration: underline;
}
