/* Coliani Design System - Pixel Perfect Refinement */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
    --bg-dark: #0c0b28;
    --primary-yellow: #ffbd39;
    --text-light: #ffffff;
    --text-muted: #9ea0a9;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Source Sans 3', sans-serif;
    --brand-text: #362086;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background: #ffffff;
    color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
}

/* ===== HEADER ===== */
.coliani-header {
    background-color: #0c0b28;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

section#contact.secretariat-section .secretariat-container .secretariat-cards .secretariat-card p {
    margin-bottom: 4px !important;
    margin-top: 4px !important;
}

main {
    margin-top: 110px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .5);
}

.brand-logo {
    height: 55px;
    width: auto;
    background: #fff;
    padding: 5px;
    border-radius: 6px;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-tagline {
    color: #fff;
    font-size: 11px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.1;
    max-width: 200px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-light) !important;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 16px;
    letter-spacing: 0.8px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* ===== BUTTONS ===== */
.btn-membership {
    background-color: var(--primary-yellow);
    color: var(--bg-dark) !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-membership:hover {
    background-color: #e5a933;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 189, 57, 0.4);
}

.btn-outline-white {
    color: #fff !important;
    border: 1px solid #fff;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    padding: 14px 34px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-white:hover {
    background: #fff;
    color: var(--bg-dark) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: auto;
    background-image: url('../assets/images/earth.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 180px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(12, 11, 40, 0.4) 0%, rgba(12, 11, 40, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-logo {
    height: 100px;
    width: auto;
    background: #fff;
    padding: 4px;
    border-radius: 6px;
}

.hero-brand-name {
    font-family: var(--font-serif);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 10px;
}

.hero-tagline {
    font-size: 10px;
    opacity: 0.7;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 70px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.5px;
    margin-bottom: 35px !important;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hero-buttons .btn-membership,
.hero-buttons .btn-outline-white {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 14px 32px;
    font-size: 13px;
}

/* ===== LOGO SLIDER ===== */
.logo-slider-section {
    background: #fff;
    padding: 20px 0;
    overflow: hidden;
}

.logo-slider {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    padding-bottom: 30px;
}

.logo-track {
    display: flex;
    width: calc(300px * 16);
    animation: scroll 40s linear infinite;
}

.logo-item {
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    filter: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 8));
    }
}

/* ===== VISION & MISSION ===== */
.vision-mission-section {
    scroll-margin-top: 100px;
    background-color: #1c1b32;
    color: var(--text-light);
    padding: 120px 0;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.9;
    font-weight: 300;
}

.mission-list li {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    opacity: 0.9;
    font-weight: 300;
}

.mission-list li::before {
    content: "•";
    color: var(--primary-yellow);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.shadow-lg-custom {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.shadow-lg-custom:hover {
    transform: translateY(-10px);
}

.rounded-4 {
    border-radius: 20px !important;
}

/* ===== IMPLEMENTATION STRATEGIES ===== */
.implementation-section {
    background: #0C0B28;
    padding: 120px 20px;
    font-family: "Source Sans 3", sans-serif;
    scroll-margin-top: 100px;
}

.impl-container {
    max-width: 1320px;
    margin: auto;
    text-align: center;
}

.impl-title {
    font-family: "Playfair Display", serif;
    color: #ffffff;
    font-size: 44px;
    font-weight: 600;
    margin-bottom: 10px;
}

.impl-subtitle {
    color: #b7b9e6;
    font-size: 18px;
    margin-bottom: 80px;
}

.impl-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 40px;
}

.impl-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #24223D;
    transition: .35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    width: 31%;
    min-width: 300px;
}

.card-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 24px 26px 28px;
    background: #24223D;
    color: #d4d7ff;
    font-size: 16px;
    line-height: 1.7;
    min-height: 210px;
    text-align: left;
}

.impl-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .55);
}

.impl-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at center, rgba(102, 126, 255, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.impl-card:hover::before {
    opacity: 1;
}

/* ===== MEMBERSHIP BENEFITS ===== */
.benefits-section {
    scroll-margin-top: 100px;
    background: #1c1b32;
    padding: 120px 20px 100px;
    font-family: "Source Sans 3", sans-serif;
}

.benefits-container {
    max-width: 1250px;
    margin: auto;
    text-align: center;
}

.benefits-tag {
    color: #d4b96e;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.benefits-title {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 15px;
}

.benefits-divider {
    width: 70px;
    height: 2px;
    background: #d4b96e;
    margin: 0 auto 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #1b1a3f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 28px 24px 26px;
    text-align: left;
    position: relative;
    transition: .35s ease;
}

.benefit-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #2a275f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
}

.benefit-icon img {
    width: 26px;
    filter: brightness(0) invert(1);
}

.benefit-icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(150, 120, 255, .6), transparent 70%);
    opacity: 0;
    transition: .3s;
}

.benefit-card h3 {
    font-family: "Playfair Display", serif;
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-card p {
    color: #c9c9f1;
    font-size: 14px;
    line-height: 1.5;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: rgba(150, 120, 255, .6);
    box-shadow: 0 0 30px rgba(120, 90, 255, .25);
}

.benefit-card:hover .benefit-icon::before {
    opacity: 1;
}

.benefits-footer {
    margin-top: 70px;
    color: #c9c9f1;
    font-size: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== SECRETARIAT ===== */
.secretariat-section {
    scroll-margin-top: 80px;
    position: relative;
    background: url("../assets/images/secretariat-bg.png") center/cover no-repeat;
    padding: 100px 20px 0;
    color: #ffffff;
    font-family: var(--font-sans);
}

.secretariat-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 11, 40, 0.75);
    margin-bottom: -20px;
}

.secretariat-container {
    position: relative;
    max-width: 1250px;
    margin: auto;
    text-align: center;
    z-index: 2;
}

.secretariat-tag {
    color: #d4b96e;
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 600;
}

.secretariat-title {
    font-family: var(--font-serif);
    font-size: 40px;
    margin: 10px 0 15px;
}

.secretariat-divider {
    width: 70px;
    height: 2px;
    background: #d4b96e;
    margin: 0 auto 20px;
}

.secretariat-subtext {
    max-width: 640px;
    margin: 0 auto 55px;
    color: #cfd2ff;
    line-height: 1.6;
}

.secretariat-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}

.secretariat-card {
    background: #ffffff;
    color: #1b1a3f;
    width: 290px;
    padding: 45px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.sec-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #e9e9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sec-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    z-index: 2;
}

.sec-icon::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 120, 255, .55), transparent 70%);
    opacity: 0;
    transition: .35s;
}

.secretariat-card:hover .sec-icon::before {
    opacity: 1;
}

.secretariat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 45px rgba(120, 90, 255, .35);
}

.secretariat-card h3 {
    font-family: "Playfair Display", serif;
    margin-bottom: 10px;
}

.secretariat-card p {
    font-size: 14px;
    line-height: 1.6;
}

.partners-heading {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin: 80px 0 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.partners-grid div {
    font-size: 13px;
    color: #dcdcff;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding: 20px 15px;
}

.partners-grid a {
    color: #acc8ff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.partners-grid a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.coliani-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    padding: 80px 0 0 0;
}

.footer-logo {
    height: 60px;
    width: auto;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.6;
    max-width: 320px;
    margin-top: 20px;
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-yellow);
    opacity: 1;
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer-board {
    margin-bottom: -30px;
}

.footer-board-member {
    font-size: 13px;
    opacity: 0.55;
    line-height: 2;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 30px 0;
    opacity: 1;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.4;
    padding-bottom: 30px;
}

/* ===== CUSTOM HAMBURGER ===== */
.custom-toggler {
    width: 42px;
    height: 42px;
    position: relative;
    border: none;
    background: transparent;
    display: none;
    cursor: pointer;
}

.custom-toggler .bar {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    transition: all .35s ease;
    border-radius: 3px;
}

.custom-toggler .top {
    top: 12px;
}

.custom-toggler .middle {
    top: 19px;
}

.custom-toggler .bottom {
    top: 26px;
}

.custom-toggler.active .top {
    transform: rotate(45deg);
    top: 19px;
}

.custom-toggler.active .middle {
    opacity: 0;
}

.custom-toggler.active .bottom {
    transform: rotate(-45deg);
    top: 19px;
}

/* ===== TABLET (768px – 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }

    .hero-buttons .btn-membership,
    .hero-buttons .btn-outline-white {
        width: auto;
        min-width: 160px;
        max-width: 220px;
        padding: 13px 24px;
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MOBILE (max 767px) ===== */
@media (max-width: 767px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    /* Buttons: stacked, centered, fixed width */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0 30px;
    }

    .hero-buttons .btn-membership,
    .hero-buttons .btn-outline-white {
        display: block;
        width: 100%;
        max-width: 300px;
        min-width: unset;
        padding: 14px 20px;
        font-size: 13px;
        text-align: center;
        box-sizing: border-box;
    }

    .logo-item {
        width: 200px;
        padding: 0 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .impl-title {
        font-size: 32px;
    }
}

/* ===== MOBILE NAV (max 991px) ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-dark);
        padding: 30px;
        margin-top: 20px;
        border-radius: 15px;
    }

    .nav-link {
        margin: 15px 0;
        font-size: 15px;
    }

    /* Only the NAV membership button goes full width */
    .navbar-collapse .btn-membership {
        width: 100%;
        margin-top: 15px;
    }

    .custom-toggler {
        display: block;
    }

    .navbar-toggler {
        display: none !important;
    }
}

/* ===== CTA BUTTON GROUP ===== */
.cta-group {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    padding: 14px 32px;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
}

.cta-btn--primary {
    background-color: var(--primary-yellow);
    color: var(--bg-dark) !important;
    border: 2px solid var(--primary-yellow);
}

.cta-btn--primary:hover {
    background-color: #e5a933;
    border-color: #e5a933;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 189, 57, 0.4);
}

.cta-btn--outline {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}

.cta-btn--outline:hover {
    background-color: #fff;
    color: var(--bg-dark) !important;
    transform: translateY(-2px);
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .cta-group {
        flex-direction: row;
        gap: 16px;
    }

    .cta-btn {
        padding: 13px 24px;
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0 20px;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 13px;
    }
}