/* ============== ROOT VARIABLES ============== */
:root {
    --primary-color: #003f87;
    --primary-light: #0052cc;
    --text-color: #333;
    --gray-light: #f5f5f5;
    --gray-dark: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    animation: fadeIn 0.8s ease-in-out;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============== ANIMATION KEYFRAMES ============== */
/* Simple fade-in animation for page load */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ============== TOP HEADER ============== */
.top-header {
    background-color: #002d5f;
    color: white;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info i,
.search-section i {
    margin-right: 5px;
}


/* ============== MAIN HEADER ============== */
.main-header {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    flex-shrink: 0;
    margin-right: 20px;
}

.ghana-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.title-section {
    flex-grow: 1;
    text-align: center;
}

.main-title {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--gray-dark);
    font-size: 14px;
    letter-spacing: 0.3px;
}

.gifec-logo-section {
    flex-shrink: 0;
    margin-left: 20px;
}

.gifec-logo {
    width: 100px;
    height: auto;
    object-fit: contain;
}


/* ============== LEADERSHIP SECTION ============== */
.leadership-section {
    background-color: var(--gray-light);
    padding: 60px 0;
}

.leadership-title {
    text-align: center;
    margin-bottom: 50px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.profile-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.profile-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #e0e0e0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    padding: 20px;
    text-align: center;
}

.profile-name {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.profile-title {
    color: var(--gray-dark);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}


/* ============== FOOTER ============== */
.footer {
    background-color: #003f87;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-crest {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.footer-org-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-ministry {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-contact {
    font-size: 14px;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 16px;
}

.footer-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-policies {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.footer-policies a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policies a:hover {
    color: white;
}

.divider {
    color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffc107;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

@media (max-width: 768px) {
    /* About Hero Section */

     

    /* Hide desktop navigation menu by default, show when active */
    

    /* Show menu when active class is added */
    /* .nav-menu.active {
        max-height: 500px;
    } */

     /* Leadership Section */
    .leadership-section {
        padding: 40px 0;
    }

    .leadership-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .profile-card {
        display: flex;
        flex-direction: row;
    }

    .profile-image {
        width: 150px;
        min-width: 150px;
        aspect-ratio: 1;
    }

    .profile-info {
        padding: 15px 20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .profile-name {
        font-size: 13px;
    }

    .profile-title {
        font-size: 11px;
    }
}

 .hamburger {
        flex-shrink: 0;
    }

    .hamburger-line {
        width: 22px;
        height: 2.5px;
    }







@media (max-width: 768px) {
    /* About Hero Section */

     

    /* Hide desktop navigation menu by default, show when active */
    

    /* Show menu when active class is added */
    /* .nav-menu.active {
        max-height: 500px;
    } */

     /* Leadership Section */
    .leadership-section {
        padding: 40px 0;
    }

    .leadership-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .profile-card {
        display: flex;
        flex-direction: row;
    }

    .profile-image {
        width: 150px;
        min-width: 150px;
        aspect-ratio: 1;
    }

    .profile-info {
        padding: 15px 20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .profile-name {
        font-size: 13px;
    }

    .profile-title {
        font-size: 11px;
    }
}

/* ============== RESPONSIVE DESIGN - TABLET (768px and below) ============== */
@media (max-width: 768px) {
    /* Header responsive styling */
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-section,
    .gifec-logo-section {
        margin: 10px 0;
    }

    .main-title {
        font-size: 20px;
    }

    .subtitle {
        font-size: 12px;
    }

    .ghana-logo {
        width: 60px;
        height: 60px;
    }

    .gifec-logo {
        width: 70px;
    }

    .footer-item img{
        width: 30px;
        height: 30px;
    }
    /* Hero section responsive */
    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    

    /* Top Header adjustments for tablet */
    .top-header-content {
        gap: 10px;
    }

    /* Hide contact info and search section on mobile/tablet */
    .contact-info
    {
        display: none;
    }

    .search-section {
        margin-right: auto;
    }

   
    /* Footer responsive for tablet */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-right: 0;
        padding-bottom: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============== RESPONSIVE DESIGN - MOBILE PHONES (480px and below) ============== */
@media (max-width: 480px) {
     /* Header responsive styling */
    .header-content {
        padding: 10px;
    }

    .main-title {
        font-size: 16px;
    }
    .subtitle {
        font-size: 10px;
    }

    /* Top Header adjustments for mobile */
    .top-header-content {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    /* Contact info and search section already hidden at 768px */
    .contact-info {
        display: none;
    }

    /* Leadership Section */
    .leadership-section {
        padding: 30px 0;
    }

    .leadership-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .profile-card {
        flex-direction: column;
    }

    .profile-image {
        width: 100%;
        min-width: auto;
    }

    .profile-info {
        padding: 12px;
        text-align: center;
    }

    .profile-name {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .profile-title {
        font-size: 11px;
        line-height: 1.3;
    }

    .footer-item {
        gap: 8px;
    }

    .footer-logo {
        width: 35px;
        height: 35px;
    }

    .footer-label {
        font-size: 11px;
    }


    /* Footer responsive for mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 25px;
    }

    .footer-org-title {
        font-size: 16px;
    }

    .footer-ministry {
        font-size: 12px;
    }

    .footer-contact {
        font-size: 12px;
    }

    .footer-section-title {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .footer-policies {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 11px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer {
        padding: 30px 0 10px;
    }
}

