/* VARIABLES & RESET */
:root {
    --primary-color: #31A050;
    --primary-dark: #116e2b;
    --secondary-color: #1B1F1C;
    --text-dark: #0d141a;
    --text-light: #727586;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1B1F1C;
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Bebas Neue', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: clip; 
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* UTILITY CLASSES */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* STATUS BOX */
.status-box {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* NAVIGATION */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    width: 95%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-container .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* LOGO SIZING */
.logo img {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.logo span {
    display: inline-block;
    margin-top: 4px;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

/* CONTACT US BUTTON STYLING */
.nav-links a.btn-contact {
    padding: 10px 22px;
    border: 2px solid var(--primary-color) !important;
    border-radius: 50px;
    background-color: var(--white) !important;
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.nav-links a.btn-contact:hover,
.nav-links a.btn-contact.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

.nav-links a.btn-contact::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* BUTTONS */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-premium {
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    text-align: center;
    margin-top: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(49, 160, 80, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 160, 80, 0.2);
}

.btn-premium {
    background: #f39c12;
    color: var(--white);
    border: 2px solid #f39c12;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-premium:hover {
    background: #d68910;
    border-color: #d68910;
    transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-backgrounds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out, transform 6s linear;
}

.hero-bg.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.1);
}

.hero-bg.last-active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 31, 28, 0.85), rgba(49, 160, 80, 0.65));
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* PAGE HEADERS */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
    padding: 100px 20px 60px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 10px;
}

/* CONTACT INFO CARDS */
.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.info-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.info-card i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.info-card p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.info-card .phone {
    font-weight: 600;
    margin-top: 10px;
    display: block;
    color: var(--secondary-color);
}

.info-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* FORMS AND INPUTS */
.form-wrapper,
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

input, select, textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    transition: border 0.3s;
    background-color: #fff;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2331A050" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

select optgroup {
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary-dark);
    background-color: #e9ecef;
    font-size: 1.1rem;
}

select option {
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 1rem;
    padding: 10px;
}

select option[disabled]:not([value=""]) {
    color: #ccc;
    text-align: center;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.full-width-btn {
    width: 100%;
}

/* CARDS GENERAL */
.tagline {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.5rem;
    letter-spacing: 1px;
    display: block;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.attendee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.attendee-item {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.attendee-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.attendee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card, .delivery-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.delivery-card {
    text-align: left;
}

/* RESTORED HOVER EFFECTS FOR CARDS */
.card:hover, .delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.card h3, .delivery-card h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.delivery-card ul {
    padding-left: 20px;
    list-style-type: disc;
}

.delivery-card li {
    margin-bottom: 8px;
    color: var(--text-light);
}

/* POINTS CARDS FOR MENTORSHIP PAGE */
.point-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.point-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: rgba(49, 160, 80, 0.02);
}

.point-card span {
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.point-card span i {
    color: var(--primary-color);
    width: 25px;
    text-align: center;
    margin-right: 8px;
}

.point-card strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(49, 160, 80, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
}

/* GALLERY SLIDER */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    min-width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-desc {
    padding: 15px;
    text-align: center;
    border-top: 3px solid var(--primary-color);
}

/* FIX W3C VALIDATION ERROR (Changed h4 to h3) */
.gallery-desc h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    color: var(--secondary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* FOOTER */
.footer-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.footer-col p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-col a {
    color: var(--white);
    transition: color 0.3s;
    word-break: break-all;
    overflow-wrap: break-word;
}

.footer-col a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.4rem;
    transition: var(--transition);
    color: var(--white);
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* FOOTER LEGAL LINKS */
.footer-legal-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-legal-links p {
    font-size: 0.9rem;
}
.footer-legal-links a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: underline;
}

/* LEGAL DISCLAIMER */
.legal-disclaimer {
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}
.legal-disclaimer a {
    color: var(--primary-color);
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1B1F1C;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}
#cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}
#cookie-banner button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* ACCORDION */
.accordion-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: #fff;
}
.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}
.accordion-header:hover {
    background: rgba(49, 160, 80, 0.05);
}
.accordion-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.accordion-header.active i {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
    background: #fff;
}
.accordion-content.active {
    max-height: 2500px; 
    opacity: 1;
}
.accordion-inner {
    padding: 0 25px 30px 25px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 20px;
}

/* SCROLL REVEAL ANIMATION */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        max-width: 280px;
        margin-top: 0;
    }

    .grid-2-col, .grid-3-col, .grid-4-col, .form-grid, .semester-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }

    .gallery-item {
        min-width: 260px;
    }

    .form-wrapper, .contact-form-wrapper {
        padding: 20px;
        padding-bottom: 80px;
    }
}

/* BROCHURE MODAL STYLES */
.modal-overlay {
    backdrop-filter: blur(5px);
    transition: all 0.3s ease-in-out;
}

.modal-content {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: modalFadeIn 0.4s ease-out forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#closeBrochureBtn:hover {
    color: var(--primary-color) !important;
    transform: scale(1.1);
}