/* ============================================================
   THUPANGENI GROUP — ABOUT PAGE STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reuse the same variables from style.css */
:root {
    --white: #ffffff;
    --green: #1db245;
    --navy: #1f286a;
    --red: #bb1d13;
    --gray-light: #f5f6fa;
    --gray: #8892a4;
    --dark: #111827;
    --font: 'Inter', sans-serif;
    --radius: 8px;
    --shadow: 0 4px 24px rgba(31, 40, 106, 0.10);
    --transition: 0.28s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.65;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    font-family: var(--font);
    border: none;
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 7px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left span i {
    color: var(--green);
}

.top-bar-social {
    display: flex;
    gap: 0.6rem;
}

.top-bar-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background var(--transition);
}

.top-bar-social a:hover {
    background: var(--green);
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(31, 40, 106, 0.09);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--red);
    color: var(--white);
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.nav-cta:hover {
    background: #9a1710;
    transform: translateY(-1px);
}

.nav-cta i {
    font-size: 1rem;
}

.nav-cta .cta-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-cta .cta-label small {
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--green);
}

.mobile-menu .mobile-cta {
    background: var(--green);
    color: var(--white);
    padding: 0.9rem 2.5rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

/* ---------- CONTAINER ---------- */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- SECTION LABEL ---------- */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4rem;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    background: #18a03c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 178, 69, 0.4);
}

/* ---------- PAGE HERO ---------- */
.page-hero {
    background: var(--navy);
    padding: 5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(29, 178, 69, 0.08);
}

.page-hero::after {
    content: '';
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(187, 29, 19, 0.07);
}

.page-hero .breadcrumb {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
    color: var(--green);
}

.page-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0.4rem;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.page-hero h1 span {
    color: var(--green);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.75;
}

.page-hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.page-hero-divider svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* ---------- DIRECTOR SECTION ---------- */
.director-section {
    padding: 6rem 0;
    background: var(--white);
}

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}

.director-img {
    position: relative;
}

.director-img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 460px;
}

.director-card {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
}

.director-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.director-card small {
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 600;
}

.director-content p {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.75;
}

.exp-list {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.exp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--dark);
}

.exp-list li i {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
}

.cert-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gray-light);
    border: 1.5px solid var(--navy);
    color: var(--navy);
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.cert-badge i {
    color: var(--green);
}

/* ---------- SERVICES DETAIL SECTIONS ---------- */
.service-detail {
    padding: 5rem 0;
}

.service-detail:nth-child(even) {
    background: var(--gray-light);
}

.service-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.service-detail-inner.reverse {
    direction: rtl;
}

.service-detail-inner.reverse>* {
    direction: ltr;
}

.service-icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.service-icon.green {
    background: rgba(29, 178, 69, 0.12);
    color: var(--green);
}

.service-icon.red {
    background: rgba(187, 29, 19, 0.10);
    color: var(--red);
}

.service-icon.navy {
    background: rgba(31, 40, 106, 0.10);
    color: var(--navy);
}

.service-detail-content p {
    color: var(--gray);
    margin-bottom: 1.2rem;
    line-height: 1.75;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--dark);
}

.service-list li i {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.service-img-block {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-img-block img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* ---------- PROJECTS SECTION ---------- */
.projects-section {
    padding: 6rem 0;
    background: var(--white);
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 1.8rem;
    border-left: 4px solid var(--green);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(31, 40, 106, 0.12);
}

.project-card i {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 0.8rem;
}

.project-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.project-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ---------- FOOTER (same as index) ---------- */
footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.75;
    margin-bottom: 1.2rem;
}

.footer-socials {
    display: flex;
    gap: 0.7rem;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: background var(--transition), border-color var(--transition);
}

.footer-socials a:hover {
    background: var(--green);
    border-color: var(--green);
}

footer h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.88rem;
    opacity: 0.75;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: opacity var(--transition), color var(--transition), gap var(--transition);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--green);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--green);
    gap: 0.8rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    font-size: 0.88rem;
}

.footer-contact-item i {
    color: var(--green);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    opacity: 0.65;
}

.footer-bottom a {
    color: var(--green);
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 768px) {
    .top-bar .top-bar-left span:last-child {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .director-card {
        left: 0.5rem;
    }

    .service-detail-inner,
    .service-detail-inner.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .top-bar {
        display: none;
    }
}