/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

:root {
--g2: linear-gradient(45deg, #8cb500, #0047aa);
}

/* HERO SECTION WITH BLACK TINT */
.hero {
    position: relative;
    height: 100vh;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), 
        url('assets/images/about-sf.png');
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

/* NAV */
nav {
    position: absolute;        /* 🔥 key fix */
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 20;
}

.nav-spacer {
    flex: 1;
}

.logo img {
    width: 300px;
    border-radius: 12px;
}

/* NAV LINKS */
.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links > li > a {
    position: relative;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: .4s ease;
    box-shadow: 0 0 10px #0047aa40;
}

/* RIPPLE */
.nav-links > li > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--g2);
    opacity: .85;
    border-radius: inherit;
    transform: scale(0);
    transition: .5s ease;
    z-index: -1;
}

.nav-links > li > a:hover::after {
    transform: scale(1);
}

/* DROPDOWN */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 170%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    padding: .75rem;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .35s ease;

    display: grid;
    grid-template-columns: 1fr; /* default: single column */
    gap: .25rem;
    min-width: 160px;
}

/* 🔥 If dropdown has MORE THAN 3 items → 2 columns */
.dropdown:has(a:nth-child(4)) {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    min-width: 340px;
}


/* ✅ ONLY JS CONTROLS VISIBILITY */
.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown a {
    display: block;
    padding: .75rem 1.25rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
}

.dropdown a:hover {
    background: var(--g2);
    transform: translateX(4px);
}



/* ================= HERO ================= */
.about-hero {
    position: relative;
    height: 100vh;
    display: flex;
    background: url("assets/images/about-gp.png") center / cover no-repeat;
}

/* LEFT GLASS PANEL */
.about-panel {
    width: 42%;
    padding: 6rem 4rem;
    background: rgba(88, 88, 88, 0.45);
    backdrop-filter: blur(5px);
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    z-index: 5;
}

.about-logo {
    width: 260px;
    margin-bottom: 3rem;
    border-radius: 14px;
}

.about-panel h1 {
    margin-top: 3rem;
    font-size: 4.8rem;
    font-weight: 900;
    margin-bottom: .5rem;
    color: aliceblue;
}

.subtitle {
    font-size: 1.1rem;
    letter-spacing: 2px;
    opacity: .7;
    color: aliceblue;
}

.about-panel h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: aliceblue;
}

.about-panel p {
    font-size: 1.05rem;
    line-height: 1.8;
    opacity: .9;
    margin-bottom: 1.2rem;
    color: aliceblue;
}


/* SCROLL ICON */
.scroll-indicator {
    position: absolute;
    right: 4rem;
    bottom: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: .3s ease;
}

.scroll-indicator:hover {
    background: rgba(255,255,255,.15);
}


/* ================= GLOBAL PRESENCE SECTION ================= */
.presence-section {
    background: radial-gradient(
        circle at top center,
        rgba(20, 80, 160, 0.35),
        rgba(0, 0, 0, 0.95) 55%
    );
    padding: 6rem 4rem;
}

/* GRID */
.presence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* CARD */
.presence-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    border-radius: 28px;
    padding: 3rem;

    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* HEADINGS */
.presence-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.presence-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.6rem;
}

/* TEXT */
.presence-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.3rem;
}

/* LIST */
.presence-card ul {
    margin: 0 0 1.5rem 1.2rem;
    padding: 0;
}

.presence-card li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* EMPHASIS */
.list-title {
    font-weight: 700;
}

.closing {
    font-weight: 500;
}

/* ADDRESS */
.address {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}


/* ================= FUTURE EXPANSION ================= */
.future-expansion {
    background: #aee4fb;
    padding: 6rem 4rem;
}

/* TOP CONTENT */
.future-content {
    max-width: 1000px;
    margin-bottom: 4rem;
}

.future-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #0b4bb3;
    margin-bottom: 0.5rem;
}

.future-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0b4bb3;
    margin-bottom: 2rem;
}

.future-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #0b4bb3;
    max-width: 880px;
    margin-bottom: 1.2rem;
}

.future-content .note {
    font-weight: 600;
}

/* INSET CARD */
.future-card {
    max-width: 1100px;
    background: #5a97d6;
    border-radius: 26px;
    padding: 3rem;
    color: #0b2f6f;
}

/* CARD CONTENT */
.future-card h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.future-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .future-expansion {
        padding: 4rem 2rem;
    }

    .future-content h2 {
        font-size: 2.4rem;
    }

    .future-content h3 {
        font-size: 1.6rem;
    }

    .future-card h4 {
        font-size: 1.8rem;
    }
}



/*============footer===============*/

.footer {
    display: flex;
    justify-content: space-between;
    padding: 50px 80px;
    background: linear-gradient(145deg, #0047a5, #003579);
    color: #fff;
    font-family: "Poppins", sans-serif;
    position: relative;
}

/* LEFT SIDE */
.footer-left h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #00d063;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 15px;
    line-height: 1.9;
}

.footer-links li {
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-links li:hover {
    opacity: 0.7;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.85;
}

/* RIGHT SIDE */
.footer-right {
    width: 40%;
    text-align: right;
    margin-right: 60px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 50px;
}

.footer-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: #fff;
    color: #003579;
    border: none;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 30px;
    transition: 0.3s;
}

.footer-btn:hover {
    transform: translateX(3px);
}

.arrow {
    margin-left: 6px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 20px 0;
}

.footer-logo img {
    width: 250px;
    margin-right: 15px;
    border-radius: 12px;
}

.footer-logo-text h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.footer-logo-text p {
    font-size: 12px;
    margin-top: 6px;
    opacity: 0.85;
}

.footer-legal {
    margin-top: 25px;
}

.footer-legal a {
    color: #fff;
    font-size: 13px;
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.85;
}

.footer-legal a:hover {
    opacity: 1;
}

/* FLOATING ICONS */
.footer-floating-icons {
    position: absolute;
    right: 40px;
    top: 80px;
}

.circle-btn {
    width: 45px;
    height: 45px;
    background: #004fbb;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-bottom: 15px;
}

.side-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #003f96;
    padding: 12px;
    border-radius: 30px;
}

.icon-btn {
    width: 42px;
    height: 42px;
    background: #0051c5;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 18px;
}


/*==============RESPONSIVE=============*/
@media (max-width: 900px) {
    .presence-grid {
        grid-template-columns: 1fr;
    }
}
