
/* =========================================
   AGBI 2027 - GLOBAL THEME
========================================= */

:root {
    --agbi-dark: #064B24;
    --agbi-green: #057003;
    --agbi-lime: #80BD00;
    --agbi-light-lime: #E5F2C8;
    --agbi-pale: #F3F8F1;
    --agbi-border: #D5E8CE;
    --agbi-text: #101B20;
    --agbi-white: #FFFFFF;

    --section-padding: 55px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--agbi-text);
    background: var(--agbi-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================
   HEADER / NAVIGATION
========================================= */

.main-header {
    width: 100%;
    background: #fff;
    position: relative;
    z-index: 1000;
    border-bottom: 2px solid var(--agbi-green);
}

.main-header .navbar {
    min-height: 82px;
    padding: 7px 0;
}

.navbar-brand {
    gap: 16px;
    flex-shrink: 0;
}

.brand-logo {
    width: 185px;
    height: 62px;
    object-fit: contain;
}

.brand-divider {
    width: 2px;
    height: 50px;
    background: var(--agbi-green);
}

.brand-description {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: #111827;
}

.navbar-nav {
    gap: 15px;
}

.navbar-nav .nav-link {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 16px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    background: var(--agbi-green);
}

.dropdown-menu {
    border: 1px solid var(--agbi-border);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0, 60, 20, 0.1);
}

.dropdown-item {
    font-size: 13px;
    padding: 10px 12px;
    border-radius: 6px;
}

.dropdown-item:hover {
    background: var(--agbi-pale);
    color: var(--agbi-green);
}

.navbar-toggler {
    border: 1px solid var(--agbi-green);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(5, 112, 3, 0.12);
}


/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    min-height: 400px;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 30px 7.6%;

    background-image:
        url("../images/hero-banner.png");

    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-block;
    background: var(--agbi-light-lime);
    color: #092E14;
    padding: 6px 17px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: clamp(55px, 5.7vw, 90px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--agbi-dark);
    margin-bottom: 5px;
}

.hero-content h1 span {
    color: var(--agbi-lime);
}

.hero-content h2 {
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.7px;
    margin-bottom: 9px;
}

.hero-description {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.meta-item i {
    color: var(--agbi-dark);
    font-size: 22px;
}

.meta-divider {
    height: 23px;
    width: 1px;
    background: #A9D29D;
}

.hero-buttons {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary-green,
.btn-outline-green {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-green {
    color: white;
    background: var(--agbi-green);
    border: 2px solid var(--agbi-green);
}

.btn-primary-green:hover {
    background: var(--agbi-dark);
    border-color: var(--agbi-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-green {
    color: var(--agbi-dark);
    border: 2px solid var(--agbi-green);
    background: rgba(255, 255, 255, 0.85);
}

.btn-outline-green:hover {
    color: white;
    background: var(--agbi-green);
}


/* =========================================
   HIGHLIGHTS STRIP
========================================= */

.highlights-strip {
    background: var(--agbi-pale);
    padding: 15px 0;
    position: relative;
    z-index: 3;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.highlight-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    min-height: 32px;
    border-right: 1px solid var(--agbi-border);
}

.highlight-item:last-child {
    border-right: none;
}

.highlight-item i {
    font-size: 27px;
    color: var(--agbi-green);
}

.highlight-item span {
    font-size: 15px;
    font-weight: 700;
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    padding: 35px 0 25px;
    background: #fff;
}

.about-image {
    height: 200px;
    width: 100%;
    border-radius: 22px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    border-left: 3px solid var(--agbi-green);
    padding-left: 32px;
}

.section-label {
    display: inline-block;
    background: var(--agbi-light-lime);
    color: var(--agbi-dark);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
}

.about-content h2 {
    font-size: clamp(22px, 2vw, 27px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}

.about-content p {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 25px;
    border: 2px solid var(--agbi-green);
    border-radius: 30px;
    color: var(--agbi-dark);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: white;
    background: var(--agbi-green);
}


/* =========================================
   CONFERENCE FEATURES
========================================= */

.conference-features {
    background: var(--agbi-pale);
    border-radius: 17px;
    padding: 16px 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    font-size: 27px;
    color: var(--agbi-green);
    width: 35px;
    text-align: center;
}


/* =========================================
   WHY ATTEND
========================================= */

.why-attend-section {
    padding: 10px 0 20px;
    position: relative;
    background: #fff;
}

.section-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.section-heading span {
    width: 75px;
    height: 2px;
    background: var(--agbi-green);
}

.section-heading h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--agbi-dark);
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 9px;
}

.benefit-card {
    min-height: 105px;
    padding: 12px 7px;
    background: var(--agbi-pale);
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: var(--agbi-light-lime);
    transform: translateY(-5px);
}

.benefit-card i {
    color: var(--agbi-green);
    font-size: 32px;
    margin-bottom: 8px;
}

.benefit-card h3 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}


/* =========================================
   PLACEHOLDER CONTENT SECTIONS
========================================= */

.placeholder-section {
    padding: 10px 10px;
    background: #fff;
}

.placeholder-section h2 {
    color: var(--agbi-dark);
    font-size: 30px;
    font-weight: 800;
}

.placeholder-section p {
    color: #555;
}

.light-section {
    background: var(--agbi-pale);
}


/* =========================================
   FOOTER
========================================= */

.main-footer {
    background: var(--agbi-dark);
    color: white;
    padding: 40px 15px;
}

.main-footer h4 {
    font-size: 25px;
    font-weight: 800;
}

.main-footer p {
    font-size: 14px;
    margin: 10px 0;
}

.main-footer small {
    color: #D5E8CE;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1199px) {

    .brand-logo {
        width: 145px;
    }

    .brand-description {
        font-size: 12px;
    }

    .navbar-nav {
        gap: 3px;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 8px 10px !important;
    }

    .hero-section {
        height: 380px;
        min-height: 380px;
        padding-left: 5%;
    }

    .hero-content {
        width: 53%;
    }

    .hero-content h1 {
        font-size: 65px;
    }

    .hero-content h2 {
        font-size: 22px;
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefit-card {
        min-height: 120px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 767px) {

    :root {
        --section-padding: 30px;
    }

    /* Header */

    .main-header .navbar {
        min-height: 70px;
    }

    .navbar-brand {
        gap: 9px;
    }

    .brand-logo {
        width: 110px;
        height: 45px;
    }

    .brand-divider {
        height: 38px;
    }

    .brand-description {
        font-size: 9px;
        line-height: 1.25;
    }

    .navbar-collapse {
        background: white;
        padding: 12px;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 4px;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 10px 15px !important;
    }

    /* Hero */

    .hero-section {
        min-height: 600px;
        height: auto;
        align-items: flex-start;
        padding: 35px 22px 280px;

        background-size: auto 100%;
        background-position: 63% bottom;
        background-color: #F8FCF8;
    }

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(255,255,255,0.98) 0%,
            rgba(255,255,255,0.94) 38%,
            rgba(255,255,255,0.1) 70%,
            rgba(255,255,255,0) 100%
        );
        z-index: 1;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        z-index: 2;
    }

    .hero-label {
        font-size: 12px;
        padding: 6px 13px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 12vw, 68px);
        letter-spacing: -2px;
    }

    .hero-content h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 12px;
    }

    .desktop-break {
        display: none;
    }

    .hero-meta {
        gap: 10px;
        margin-bottom: 16px;
    }

    .meta-item {
        font-size: 12px;
        gap: 8px;
    }

    .meta-item i {
        font-size: 17px;
    }

    .meta-divider {
        height: 18px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-primary-green,
    .btn-outline-green {
        min-height: 42px;
        padding: 10px 16px;
        font-size: 12px;
    }

    /* Highlights */

    .highlights-strip {
        padding: 15px 0;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 5px;
    }

    .highlight-item {
        border-right: none;
        /* justify-content: flex-start; */
        padding-left: 15px;
        gap: 12px;
    }

    .highlight-item i {
        font-size: 22px;
    }

    .highlight-item span {
        font-size: 12px;
    }

    .highlight-item:last-child {
        grid-column: 1 / -1;
        justify-content: center;
    }

    /* About */

    .about-section {
        padding: 35px 0;
    }

    .about-image {
        height: 210px;
    }

    .about-content {
        padding-left: 17px;
    }

    .about-content h2 {
        font-size: 23px;
    }

    .about-content p {
        font-size: 13px;
    }

    .conference-features {
        padding: 20px;
    }

    .feature-item {
        font-size: 13px;
        gap: 15px;
    }

    .feature-item i {
        font-size: 24px;
    }

    /* Benefits */

    .why-attend-section {
        padding: 20px 0 40px;
    }

    .section-heading {
        gap: 10px;
    }

    .section-heading span {
        width: 25px;
    }

    .section-heading h2 {
        font-size: 20px;
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .benefit-card {
        min-height: 115px;
    }

    .benefit-card i {
        font-size: 29px;
    }

    .benefit-card h3 {
        font-size: 12px;
    }

    .placeholder-section {
        padding: 45px 15px;
    }

    .placeholder-section h2 {
        font-size: 24px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .brand-logo {
        width: 88px;
    }

    .brand-description {
        font-size: 8px;
    }

    .hero-section {
        min-height: 570px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-content h2 {
        font-size: 17px;
    }

    .hero-buttons {
        gap: 8px;
    }

    .btn-primary-green,
    .btn-outline-green {
        padding: 9px 12px;
        font-size: 11px;
    }

}

/* =========================================
   AGBI 2027 - SPEAKER CARD
   Original Background: 355 x 455 px
========================================= */

.speaker-card {
    width: 100%;
    max-width: 355px;
    aspect-ratio: 355 / 455;

    margin: 0 auto;
    position: relative;
    overflow: hidden;

    /* Your original background image */
    background-image: url("../images/speaker-card-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    border-radius: 35px;
    
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0 12px;

    transition: transform 0.35s ease,
                box-shadow 0.35s ease;
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(5, 85, 20, 0.17);
}


/* =========================================
   SPEAKER PHOTO
========================================= */

.speaker-photo-wrapper {
    width: 200px;
    height: 200px;

    flex-shrink: 0;

    position: relative;
    margin-top: 28px;

    z-index: 2;
}

.speaker-photo-ring {
    width: 100%;
    height: 100%;

    padding: 8px;

    border-radius: 50%;

    background: conic-gradient(
        from 220deg,
        #C0E83B,
        #80BD00,
        #07800A,
        #075B19,
        #B4E532,
        #C0E83B
    );

    box-shadow:
        0 0 0 5px rgba(128, 189, 0, 0.12),
        0 5px 15px rgba(0, 70, 20, 0.12);
}

.speaker-photo {
    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 50%;

    border: 5px solid #ffffff;

    background: #EAF1EC;
}

.speaker-photo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center 20%;
}


/* =========================================
   FLOATING DNA ICON
========================================= */

.speaker-dna-icon {
    position: absolute;

    width: 80px;
    height: 80px;

    right: -5px;
    bottom: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(
        145deg,
        #B9E83B 0%,
        #57B900 50%,
        #087018 100%
    );

    border: 6px solid #ffffff;

    box-shadow: 0 5px 14px rgba(0, 70, 20, 0.20);

    z-index: 5;
}

.speaker-dna-icon i {
    color: #ffffff;
    font-size: 30px;
    transform: rotate(-35deg);
}


/* =========================================
   SPEAKER DETAILS
========================================= */

.speaker-details {
    width: 100%;

    text-align: center;

    position: relative;
    z-index: 3;

    margin-top: 14px;
}

.speaker-details h3 {
    font-family: 'Inter', sans-serif;

    color: #073D1D;

    font-size: 17px;
    font-weight: 800;

    line-height: 1.2;
    letter-spacing: -0.8px;

    margin: 0 0 8px;
}

.speaker-institution {
    color: #3F4945;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.3;

    margin: 0 0 7px;
}


/* =========================================
   COUNTRY
========================================= */

.speaker-location {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 11px;

    color: #3F4945;

    font-size: 19px;
    font-weight: 500;

    line-height: 1.3;
}

.speaker-location img {
    width: 32px;
    height: 23px;

    object-fit: cover;

    border-radius: 2px;

    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}


/* =========================================
   GREEN DIVIDER
========================================= */

.speaker-line {
    width: 83%;
    height: 2px;

    margin: 17px auto 16px;

    background: #80BD00;
}


/* =========================================
   KEYNOTE SPEAKER PILL
========================================= */

.speaker-role {
    width: 58%;
    min-height: 29px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    background: linear-gradient(
        90deg,
        #E4F6B9,
        #D9F1A8
    );

    border-radius: 50px;

    color: #126000;

    font-size: 14px;
    font-weight: 800;

    white-space: nowrap;
}

.speaker-role i {
    font-size: 23px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 575px) {

    .speaker-card {
        max-width: 355px;
    }

    .speaker-photo-wrapper {
        width: 63.4%;
        height: auto;
        aspect-ratio: 1 / 1;
        margin-top: 6.2%;
    }

    .speaker-photo-ring {
        padding: 3.5%;
    }

    .speaker-dna-icon {
        width: 32%;
        height: 32%;
        right: -1%;
        bottom: 3%;
    }

    .speaker-dna-icon i {
        font-size: clamp(20px, 7vw, 30px);
    }

    .speaker-details {
        margin-top: 3.1%;
    }

    .speaker-details h3 {
        font-size: clamp(17px, 7.6vw, 17px);
        letter-spacing: -0.6px;
        margin-bottom: 5px;
    }

    .speaker-institution,
    .speaker-location {
        font-size: clamp(14px, 5.35vw, 14px);
    }

    .speaker-location img {
        width: 29px;
        height: 21px;
    }

    .speaker-line {
        margin: 4.2% auto;
    }

    .speaker-role {
        min-height: 48px;
        font-size: clamp(13px, 6.4vw, 13px);
        gap: 10px;
    }

    .speaker-role i {
        font-size: 25px;
    }

}

/* SPEAKERS GRID */

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    align-items: start;
}

/* Tablet */
@media (max-width: 991px) {
    .speakers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .speakers-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 25px;
    }
}

