/* ===== GENERAL STYLES ===== */
:root {
    --primary-color: #F5A623; /* Orange from the logo */
    --primary-light: #FFC153; /* Lighter orange */
    --primary-very-light: #FFF8E8; /* Very light orange */
    --accent-color: #505050; /* Dark gray from the logo */
    --dark-color: #333333; /* Dark gray for footer */
    --light-color: #FFFFFF;
    --grey-color: #F5F5F5;
    --text-dark: #333333;
    --text-light: #757575;
    --border-color: #EEEEEE;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

#partners .container {
    max-width: 1300px;
    width: 95%;
}

.section-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    display: inline-block;
    position: relative;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
    margin-top: 0.5rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--grey-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.cta-button:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.secondary-button:hover {
    background-color: var(--primary-very-light);
    transform: translateY(-3px);
}

/* ===== HEADER STYLES ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.cta-button {
    color: white;
    padding: 10px 20px;
}

.nav-links a.cta-button::after {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
#hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('hero-bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 0;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

#hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

#hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

#hero .cta-button {
    padding: 15px 35px;
    font-size: 1rem;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* ===== RESEARCH & INNOVATION SECTION ===== */
.research-innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.research-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.research-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-very-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.research-card .icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.research-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* ===== IMPACT SECTION ===== */
.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.stat-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
}

.impact-stories {
    text-align: center;
}

.impact-stories h3 {
    margin-bottom: 30px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: left;
}

.story-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ===== PARTNERS SECTION ===== */
.accreditation-partners {
    margin-top: 40px;
    text-align: center;
}

.accreditation-partners h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.partners-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.partners-list li {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.partners-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.partners-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.partners-list a:hover {
    color: var(--primary-color);
}

.main-partner-container {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.main-partner-box {
    display: inline-block;
    margin: 0 auto;
    width: 250px;
    height: 125px;
    background-color: transparent;
}

.main-partner-box img {
    width: 250px;
    height: 125px;
    object-fit: contain;
}

/* ===== ACADEMY SECTION ===== */
#academy {
    position: relative;
    background-image: url('academy-bg.svg');
    background-size: cover;
    background-position: center;
    color: white;
}

#academy .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Changed to white */
}

#academy .container {
    position: relative;
    z-index: 1;
}

#academy .section-header h2,
#academy h3 {
    color: #000000;
}

#academy .underline {
    background-color: #000000;
}

.academy-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.academy-text {
    flex: 1;
}

.academy-text p {
    color: #000000;
}

.academy-image {
    flex: 1;
}

.academy-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.academy-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.academy-buttons .cta-button {
    background-color: var(--primary-color);
    color: white;
}

.academy-buttons .cta-button:hover {
    background-color: var(--accent-color);
    color: white;
}

.academy-buttons .secondary-button {
    border-color: white;
    color: white;
}

.academy-buttons .secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 15px;
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a i {
    color: white;
    font-size: 1rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .about-content,
    .academy-content {
        flex-direction: column;
    }

    .about-image,
    .academy-image {
        margin-top: 40px;
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 200;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        width: 70%;
        height: 100%;
        background-color: white;
        padding: 80px 30px 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0 0 25px;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
    }

    .nav-links a.cta-button {
        text-align: center;
        margin-top: 20px;
    }

    .logo span {
        display: none;
    }

    .academy-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media screen and (max-width: 991px) {
    .partners-list {
        width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .partners-list {
        width: 95%;
    }
    
    .partners-list li {
        padding: 12px 15px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 1rem;
    }

    #hero {
        min-height: 500px;
    }

    #hero p {
        font-size: 1.1rem;
    }

    .research-innovation-grid,
    .impact-stats,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-partner-box {
        width: 100%;
        max-width: 260px;
    }
}