/* =========================================================
   ROTARY CLUB OF IKEJA SOUTH
   MAIN STYLESHEET
   NO ROTARY WATERMARK
   ========================================================= */

:root {
    --rotary-blue: #005daa;
    --rotary-dark-blue: #003b70;
    --rotary-deep-blue: #002b52;
    --rotary-gold: #f7a81b;
    --white: #ffffff;
    --light: #f5f8fb;
    --text: #1f2933;
    --muted: #667085;
    --border: #e5e7eb;
    --shadow: 0 15px 40px rgba(0, 59, 112, 0.10);
    --radius: 14px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    background: var(--rotary-deep-blue);
    color: var(--white);
    font-size: 14px;
    padding: 9px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 210px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.desktop-nav a {
    font-size: 15px;
    font-weight: 600;
    color: var(--rotary-dark-blue);
    position: relative;
}

.desktop-nav a:hover {
    color: var(--rotary-blue);
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--rotary-gold);
    transition: width 0.25s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-button {
    display: none;
    border: none;
    background: transparent;
    color: var(--rotary-dark-blue);
    font-size: 30px;
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 15px 4%;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--rotary-dark-blue);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   HERO
   IMPORTANT:
   NO IMAGE / NO WATERMARK
   ========================================================= */

.hero {
    min-height: 650px;

    background:
        linear-gradient(
            120deg,
            #002b52 0%,
            #004d8f 55%,
            #005daa 100%
        );

    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    max-width: 720px;
    padding: 90px 0;
}

.hero-kicker {
    color: var(--rotary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(48px, 7vw, 82px);
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border-radius: 6px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--rotary-gold);
    color: var(--rotary-deep-blue);
}

.btn-primary:hover {
    background: #ffbd3a;
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--rotary-dark-blue);
}

.btn-blue {
    background: var(--rotary-blue);
    color: var(--white);
}

.btn-blue:hover {
    background: var(--rotary-dark-blue);
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 95px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--rotary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    color: var(--rotary-deep-blue);
    margin-bottom: 18px;
}

.section-heading p {
    font-size: 18px;
    color: var(--muted);
}


/* =========================================================
   PRESIDENT
   ========================================================= */

.president-section {
    background: var(--white);
}

.president-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.president-photo {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.president-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.president-content h2 {
    color: var(--rotary-deep-blue);
    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.president-content h3 {
    color: var(--rotary-blue);
    font-size: 22px;
    margin-bottom: 20px;
}

.president-content p {
    color: var(--muted);
    margin-bottom: 18px;
}


/* =========================================================
   INVESTITURE
   ========================================================= */

.investiture {
    background: var(--light);
}

.investiture-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.investiture-item {
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.investiture-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.investiture-item:hover img {
    transform: scale(1.05);
}

.investiture-more {
    margin-top: 30px;
    text-align: center;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 93, 170, 0.10);
    color: var(--rotary-blue);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--rotary-deep-blue);
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--muted);
}


/* =========================================================
   SEVEN AREAS OF FOCUS
   ========================================================= */

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.focus-card {
    min-height: 210px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease;
}

.focus-card:hover {
    transform: translateY(-5px);
}

.focus-number {
    color: var(--rotary-gold);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: auto;
}

.focus-card h3 {
    color: var(--rotary-deep-blue);
    font-size: 20px;
    line-height: 1.25;
}


/* =========================================================
   FOUNDATION / POLIOPLUS
   ========================================================= */

.foundation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.foundation-card {
    padding: 45px;
    border-radius: var(--radius);
    background: var(--rotary-deep-blue);
    color: var(--white);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.foundation-card:nth-child(2) {
    background: var(--rotary-blue);
}

.foundation-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.foundation-card p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 25px;
}


/* =========================================================
   WHY JOIN
   ========================================================= */

.why-join {
    background: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.why-card h3 {
    color: var(--rotary-deep-blue);
    font-size: 21px;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--muted);
}


/* =========================================================
   MEMBERSHIP CTA
   ========================================================= */

.membership-cta {
    padding: 85px 0;
    background:
        linear-gradient(
            100deg,
            var(--rotary-deep-blue),
            var(--rotary-blue)
        );

    color: var(--white);
}

.membership-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.membership-inner h2 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    margin-bottom: 15px;
}

.membership-inner p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 650px;
}


/* =========================================================
   UPDATES
   ========================================================= */

.updates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.update-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.update-image {
    overflow: hidden;
}

.update-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.update-content {
    padding: 25px;
}

.update-content .date {
    font-size: 13px;
    color: var(--rotary-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

.update-content h3 {
    color: var(--rotary-deep-blue);
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.update-content p {
    color: var(--muted);
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.social-section {
    background: var(--light);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.social-links a {
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--white);
    color: var(--rotary-dark-blue);
    font-weight: 700;
}

.social-links a:hover {
    background: var(--rotary-blue);
    color: var(--white);
    border-color: var(--rotary-blue);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--rotary-deep-blue);
    color: var(--white);
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 45px;
}

.footer-brand img {
    width: 220px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 360px;
}

.footer-column h3 {
    color: var(--rotary-gold);
    font-size: 17px;
    margin-bottom: 17px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 9px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    text-align: center;
}


/* =========================================================
   UTILITY
   ========================================================= */

.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 15px;
    }

    .desktop-nav a {
        font-size: 14px;
    }

    .president-grid {
        gap: 40px;
    }

    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .topbar-inner {
        flex-direction: column;
        text-align: center;
        gap: 3px;
    }

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 78px;
    }

    .brand img {
        width: 175px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero {
        min-height: 570px;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 18px;
    }

    .section {
        padding: 70px 0;
    }

    .president-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .president-photo {
        max-width: 600px;
        margin: 0 auto;
    }

    .investiture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid,
    .why-grid,
    .updates-grid {
        grid-template-columns: 1fr;
    }

    .foundation-grid {
        grid-template-columns: 1fr;
    }

    .membership-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .container {
        width: 90%;
    }

    .topbar {
        font-size: 12px;
    }

    .brand img {
        width: 155px;
    }

    .hero {
        min-height: 550px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .investiture-grid {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .foundation-card {
        padding: 32px;
    }

    .membership-inner h2 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}