/* =========================================================
   WEBPLEX SOLUTION — ABOUT US
   Clean stylesheet for the current AboutUs.html
   ========================================================= */

:root {
    --bg: #f7f9fc;
    --surface: #ffffff;

    --primary: #8b2cf0;
    --blue: #1f63ea;
    --pink: #f0209e;
    --cyan: #0fb4f7;
    /* Logo colours: pink -> violet -> blue (-> cyan) */
    --brand-gradient: linear-gradient(135deg, var(--pink) 0%, var(--primary) 52%, var(--blue) 100%);
    --text-gradient: linear-gradient(110deg, var(--pink) 0%, var(--primary) 38%, var(--blue) 72%, var(--cyan) 100%);
    --green: #18a66a;

    --text-dark: #111827;
    --text: #263143;
    --muted: #667085;

    --border: #e5e9f2;

    --shadow-sm: 0 8px 25px rgba(40, 50, 80, 0.06);
    --shadow-md: 0 18px 45px rgba(44, 51, 90, 0.10);

    --radius: 22px;
    --container: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body.no-scroll {
    overflow: hidden; /* Prevents scrolling when mobile menu is open */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(139, 44, 240, 0.30) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    opacity: 0.75;
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.92) 75%, transparent 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    padding: 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(229, 233, 242, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    flex-shrink: 0;
}

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

.logo img {
    width: 158px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.nav-button,
.contact-us-btn {
    min-height: 42px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-button {
    color: #535d70;
}

.nav-button:hover {
    color: var(--primary);
    background: #f5ecfe;
}

.nav-button.active {
    color: var(--primary);
    background: #f3e9fd;
}

.contact-us-btn {
    margin-left: 7px;
    padding-inline: 19px;
    color: #ffffff;
    background: var(--brand-gradient);
    box-shadow: 0 8px 20px rgba(139, 44, 240, 0.20);
}

.contact-us-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139, 44, 240, 0.28);
}

/* Animated Menu Icon */
.menu-icon {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001; /* Keep above full screen menu */
    transition: all 0.3s ease;
}

.menu-icon .bar {
    width: 21px;
    height: 2px;
    border-radius: 10px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.menu-icon.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   SHARED TYPOGRAPHY
   ========================================================= */

.section-kicker,
.small-label {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.section-kicker::before,
.section-kicker::after {
    content: "";
    width: 22px;
    height: 1px;
    background: rgba(139, 44, 240, 0.45);
}

/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
    padding: 105px 0 80px;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
}

.about-hero h1 {
    color: var(--text-dark);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-hero p {
    max-width: 720px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

/* =========================================================
   MISSION
   ========================================================= */

.mission-section {
    padding: 0 0 95px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.mission-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    background: radial-gradient(circle at 100% 0%, rgba(31, 99, 234, 0.10), transparent 38%),
                radial-gradient(circle at 0% 100%, rgba(139, 44, 240, 0.09), transparent 40%),
                #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.mission-card h2 {
    max-width: 520px;
    color: var(--text-dark);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.17;
    letter-spacing: -0.035em;
}

.mission-card p {
    max-width: 560px;
    margin-top: 17px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.mission-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mission-point {
    min-height: 120px;
    padding: 23px;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 17px;
    box-shadow: var(--shadow-sm);
}

.mission-point > span {
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.mission-point h3 {
    color: var(--text-dark);
    font-size: 17px;
}

.mission-point p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================================================
   WHY WEBPLEX
   ========================================================= */

.why-section {
    padding: 0 0 95px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin-top: 8px;
    color: var(--text-dark);
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin-top: 11px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.why-card {
    min-height: 205px;
    padding: 27px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 44, 240, 0.22);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #f3e9fd;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
}

.why-card h3 {
    margin-top: 22px;
    color: var(--text-dark);
    font-size: 17px;
}

.why-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   FOUNDERS
   ========================================================= */

.founder-section {
    padding: 0 0 95px;
}

.founder-heading {
    margin-bottom: 25px;
    text-align: center; /* Optional: centers the section heading to match the centered cards */
}

.founder-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Changed from 3 to 2 columns */
    gap: 40px; /* Slightly wider gap looks better for 2 cards */
    max-width: 850px; /* Prevents the two cards from becoming massively wide on big screens */
    margin-inline: auto; /* Centers the grid inside the container */
}

.founder-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 44, 240, 0.22);
    box-shadow: var(--shadow-md);
}

.founder-image-wrap {
    height: 400px; 
    overflow: hidden;
    background: #f0f2f8;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Keeps the head in frame */
}

.founder-content {
    padding: 25px;
}

.founder-content h2 {
    margin-top: 9px;
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.founder-content h3 {
    margin-top: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 650;
}

.founder-content p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   DEFAULT DESKTOP FOOTER
   ========================================================= */

.site-footer {
    padding: 65px 0 22px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 70px;
    align-items: start;
}

.footer-brand-column {
    max-width: 330px;
}

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

.footer-logo img {
    width: 145px;
    height: auto;
}

.footer-brand-column p {
    max-width: 300px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.75;
}

.footer-label {
    display: block;
    margin-bottom: 17px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column > a {
    color: #667085;
    font-size: 12px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column > a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

/* -------------------------
   CONTACT DETAILS (ICON LAYOUT)
   ------------------------- */

.footer-contact {
  gap: 16px;
}

.footer-contact .contact-link {
  display: flex;
  flex-direction: row; /* Align icon and text horizontally */
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-contact .contact-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Hover effects */
.footer-contact .contact-link:hover .footer-icon {
  transform: scale(1.15); /* Icon gently pops on hover */
}

.footer-contact .contact-link:hover span {
  color: var(--primary);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

.footer-bottom-brand {
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.2s ease;
}

.footer-bottom-brand:hover {
    color: var(--primary);
}


/* =========================================================
   MEDIA QUERIES (FULLY RESPONSIVE CASCADE)
   ========================================================= */

/* Tablets & Small Laptops (Max Width: 992px) */
@media (max-width: 992px) {
    .menu-icon {
        display: flex;
    }
    
    /* Animated Full Screen Menu */
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1000;
        overflow-y: auto; 
        
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
  
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: flex;
    }
  
    .nav-button, .contact-us-btn {
        width: 100%;
        max-width: 250px;
        font-size: 18px; 
        padding: 15px;
        justify-content: center;
    }
    
    .nav-button {
        background: transparent;
    }

    /* Grid Adjustments */
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    
    /* Transition footer to 2 columns before mobile */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }
    .footer-brand-column {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

/* Tablets Landscape & Large Phones (Max Width: 768px) */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 60px;
    }
    
    .about-hero h1 {
        font-size: clamp(34px, 8vw, 48px);
    }

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

    /* --- SWIPEABLE INLINE ROW FOR FOUNDERS --- */
    .founder-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .founder-grid::-webkit-scrollbar {
        display: none;
    }
    
    .founder-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    /* --- CENTERED FOOTER FOR MOBILE --- */
    .site-footer {
        text-align: center;
        padding: 50px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand-column, 
    .footer-column {
        align-items: center; /* Centers flex content */
        margin: 0 auto;
    }

    .footer-brand-column p {
        margin-inline: auto; /* Centers the paragraph text block */
    }

    .footer-column > a:hover {
        transform: translateY(-2px); /* Instead of sliding right on hover, it hops up */
    }

    .footer-contact > a {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 40px;
    }
}

/* Mobile Phones (Max Width: 480px) */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 30px);
    }

    .mission-card {
        padding: 30px 20px;
    }

    .mission-point {
        flex-direction: column;
        gap: 10px;
    }
    
    .founder-image-wrap {
        height: 380px; 
    }
}