/* =====================
   GLOBAL
===================== */
:root {
    --nav-height: 70px;
}


body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* LOGO */
.hero-logo img {
     /*filter: drop-shadow(0 4px 12px rgba(0, 255, 200, 0.25));*/
    max-width: 260px;
    height: auto;
    margin-bottom: 20px;
}

.section.white {
    background: #ffffff;
}

.section.light {
    background: #f4f6f8;
}

.section.dark {
    background: linear-gradient(135deg, #0a192f, #1f4068);
    color: white;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}


.logo-wrap {
    display: flex;
    flex-shrink: 0;   /* keeps logo stable */
    align-items: center;
    gap: 12px;
}

/* Background plate behind logo */
.logo-bg {
    padding: 4px 8px;
    border-radius: 8px;               /* soft modern look */
}

.logo-bg img {
    height: 40px;
    display: block;
}

.logo-text {
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
}


/* =====================
   NAVBAR
===================== */
.navbar {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: var(--nav-height);

    position: sticky;
    top: 0;
    padding: 0 20px;   /* left + right */
    background: rgba(10,25,47,0.9);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
}

.navbar > * {
    min-width: 0;   /* 🔥 VERY IMPORTANT (flex fix) */
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-left: auto;   /* 🔥 THIS pushes nav to right */
}

.navbar nav a {
    font-size: 15px;
    color: white;
    text-decoration: none;
}

/* =====================
   HERO
===================== */
.hero {
    min-height: calc(100vh - var(--nav-height));  /* 🔥 key line */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    scroll-margin-top: var(--nav-height);
    padding: 0;
    box-sizing: border-box;

    background: linear-gradient(135deg, #0a192f, #1f4068);
    text-align: center;
    color: white;
}

/* HEADING */
.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

/* SUBTEXT */
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}



/* =====================
   BUTTONS
===================== */
.btn {
    padding: 12px 25px;
    margin: 10px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.primary {
    background: #64ffda;
    color: black;
}

.primary:hover {
    transform: scale(1.05);
}

.secondary {
    border: 1px solid #64ffda;
    color: #64ffda;
}

/* =====================
   SECTIONS
===================== */
.section {
    min-height: calc(100vh - var(--nav-height));
    scroll-margin-top: var(--nav-height);
    padding: 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}



.section .container {
    text-align: left; /* Fix alignment issue */
}

.light {
    background: #f4f6f8;
}

/* =====================
   ABOUT
===================== */

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 40px;
    align-items: stretch; /* ✅ THIS FIXES IT */
}

.about-grid > div {
    height: 100%;
}

/* LEFT SIDE (ABOUT CONTENT) */
.about-grid > div:first-child {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-left: 2px solid rgba(100, 255, 218, 0.15);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* TEXT STYLING */
.about-grid h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #0a192f;
}

.about-grid h3 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #0a192f;
}

.about-grid p {
    margin-bottom: 18px;
    line-height: 1.7;
    color: #555;
}

/* FOUNDERS */
.founder {
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 3px solid #e6f7f3;
}

/* RIGHT SIDE (VISION BOX) */
.vision-box {
    background: linear-gradient(135deg, #f4fdf9, #f8fffc);
    border-left: 2px solid rgba(100, 255, 218, 0.12);
    padding: 28px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

/* VISION HEADINGS */
.vision-box h3 {
    color: #0a192f;
    margin-bottom: 10px;
}

/* OPTIONAL ICON ACCENT */
.vision-box h3::before {
    content: "★";
    color: #64ffda;
    margin-right: 8px;
}

/* VISION TEXT */
.vision-box p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* DIVIDER */
.vision-box hr {
    border: none;
    height: 1px;
    background: #e5e7eb;
    margin: 15px 0;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================
   SERVICES
===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
    perspective: 1000px;    
}

.service-card {
    position: relative;
    background: white;
    padding: 28px;
    border-radius: 14px;

    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.35s ease;

    overflow: hidden;
}

/* TOP ACCENT LINE */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;

    background: linear-gradient(90deg, #64ffda, #1f4068);
}

/* HOVER EFFECT */
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card:hover::before {
    background: linear-gradient(90deg, #64ffda, #00c6ff);
}

/* TITLE */
.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #0a192f;
}

/* TEXT */
.service-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* =====================
   SUPPORT
===================== */
.support {
    background: #0a192f;
    color: white;
}

/* =====================
   CLIENTS
===================== */
/* CLIENT SECTION SPACING FIX */
#clients.section {
    padding-top: 20px;   /* 🔥 reduce more */
    padding-bottom: 60px;
}

/* HEADING */
.clients h2 {
    text-align: center;
    margin: 0 0 6px 0;   /* very tight gap */
}

/* SUBTEXT */
.client-intro {
    text-align: center;
    color: #555;
    margin: 0 0 20px 0;  /* reduced spacing */
}

.client-intro {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
}

.client-item {
    position: relative;
    padding-left: 25px;
    font-size: 15px;
}

/* green tick */
.client-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}


/* LOGO ROW */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;              /* space between logos */
    margin-top: 30px;
    flex-wrap: wrap;        /* keeps responsive */
}

/* LOGO BOX */
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* LOGO IMAGE */
.logo-box img {
    height: 100px;           /* 🔥 CONTROL SIZE */
    width: auto;
    object-fit: contain;
    /*filter: grayscale(100%);*/
    transition: 0.3s;
}

/* HOVER EFFECT (optional premium touch) */
.logo-box img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.disclaimer {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 20px;
}


.tech-strength {
    background: #f9fbfd;
    padding: 50px 20px;
}

.tech-box {
    text-align: center;
    max-width: 800px;
}

.tech-box h3 {
    margin-bottom: 15px;
    color: #0a192f;
}

.tech-box p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}


.certifications {
    background: #ffffff;
    padding: 60px 20px;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #0a192f;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.cert-box {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;

    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);

    transition: all 0.3s ease;
    position: relative;
}

.cert-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #64ffda, #1f4068);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.cert-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.cert-box h4 {
    margin-bottom: 12px;
    color: #0a192f;
    font-size: 16px;
    font-weight: 600;
}

.cert-box ul {
    padding-left: 18px;
}

.cert-box li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.cert-box:nth-child(1)::before { background: linear-gradient(90deg, #64ffda, #20c997); }
.cert-box:nth-child(2)::before { background: linear-gradient(90deg, #64ffda, #00c6ff); }
.cert-box:nth-child(3)::before { background: linear-gradient(90deg, #64ffda, #1f4068); }
.cert-box:nth-child(4)::before { background: linear-gradient(90deg, #64ffda, #6f42c1); }


.cert-note {
    text-align: center;
    margin-top: 30px;
    color: #555;
    font-size: 14px;
}



/* =====================
   CONTACT
===================== */
.contact {
    background: #f4f6f8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info p {
    line-height: 1.6;
}

.contact-info a {
    color: #1e3799;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-map iframe {
    border-radius: 10px;
}

/* =====================
   WHATSAPP
===================== */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
}

/* =====================
   FOOTER
===================== */
footer {
    background: #0a192f;
    color: white;
    padding: 20px;
    text-align: center;
}

.about-strength {
    margin-top: 30px;
}

.about-strength h3 {
    margin-bottom: 15px;
    color: #0a192f;
}

.about-strength ul {
    list-style: none;
    padding: 0;
}

.about-strength li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* green tick */
.about-strength li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
}

.workflow {
    margin-top: 40px;
    text-align: center;
}

.workflow img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}



.strength-box ul {
    list-style: none;
    padding: 0;
}

.strength-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

/* green tick */
.strength-box li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #28a745;
}

/* optional styling */
.tech-box {
    background: #f9fbfd;
    padding: 25px;
    border-radius: 10px;
}

.tech-box p {
    line-height: 1.6;
    color: #555;
}


.tech-box,
.tech-box p,
.tech-box h3 {
    text-align: left !important;  /* 🔥 force override */
}

.strength-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr; /* left bigger */
    gap: 40px;
    align-items: start;
}

/* CLEAN COLOR SYSTEM */
.section.white {
    background: #ffffff;
}

.section.light {
    background: #f4f6f8;
}

.section.dark {
    background: linear-gradient(135deg, #0a192f, #1f4068);
    color: white;
}

/* smooth transitions */
.section {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* spacing fix */
.support {
    padding: 80px 20px;
}


/* Shared button container fix */
.hero-buttons,
.support-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;   /* KEY FIX */
    justify-content: center;
}
















@media (max-width: 768px) {

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-buttons a {
        width: 90%;
        max-width: 300px;
        text-align: center;
    }

    .hero-buttons,
    .support-buttons {
        flex-direction: column;   /* stack vertically */
        align-items: center;
    }

    .hero-buttons .btn,
    .support-buttons .btn {
        width: 100%;
        max-width: 260px;   /* keeps it neat */
        text-align: center;
    }


    .hero {
        min-height: auto;      /* 🔥 remove forced height */
        padding-top: 20px;     /* spacing below navbar */
        padding-bottom: 40px;
    }

    .hero-logo {
        margin-top: 0;       /* remove top push */
        margin-bottom: 10px; /* space BELOW logo instead */
    }

    .hero-logo img {
        max-width: 160px;
        display: block;
        margin: 0 auto;
    }

    .hero h1 {
        margin-top: 0;       /* prevents extra gap */
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
    }

        .hero p {
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    /* NAVBAR STACK */
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 15px;
        row-gap: 10px;
    }

    /* ROW 1: LOGO FULL WIDTH */
    .logo-wrap {
        width: 100%;
        justify-content: flex-start;
    }

    /* ROW 2 + 3: NAV LINKS */
    .navbar nav {
        width: 100%;
        margin-left: 0;

        display: grid;
        grid-template-columns: repeat(3, 1fr);  /* 🔥 3 per row */
        gap: 10px;
    }

    .navbar nav a {
        text-align: center;
        padding: 8px 0;
        font-size: 14px;

        border-radius: 6px;
        background: rgba(255,255,255,0.05);
    }
}


/* =========================
   TABLET & ABOVE
========================= */
@media (min-width: 768px) {

    .navbar {
        flex-wrap: nowrap;        /* 🔥 back to single row */
        height: var(--nav-height);
    }

    .logo-wrap {
        width: auto;              /* 🔥 stop full width */
    }

    .navbar nav {
        display: flex;            /* 🔥 back to flex */
        flex-direction: row;
        margin-left: auto;

        width: auto;
        gap: 20px;
    }

    .navbar nav a {
        background: none;         /* remove mobile boxes */
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .navbar {
        padding: 0 40px;   /* more breathing space */
    }

    .navbar nav {
        gap: 25px;
    }
}

@media (max-width: 768px) {

    .strength-grid {
        grid-template-columns: 1fr;   /* 🔥 stack */
        gap: 20px;
    }

    .strength-box,
    .tech-box {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .client-grid {
        grid-template-columns: 1fr;   /* 🔥 single column */
        gap: 12px;
    }

    .client-item {
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;   /* 🔥 stack */
        gap: 20px;
    }

    .contact-map iframe {
        width: 100%;
        height: 250px;
    }
}

