/* ITEXON GHANA - Main Website Styles */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 900;
}

.logo p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.logo-icon {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.logo-icon i {
    font-size: 3.5rem;
    color: #fff;
    animation: float 3s ease-in-out infinite;
}

.logo-icon i:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-logo h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-content > p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.highlight-item i {
    font-size: 1.5rem;
    color: #fff;
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 3rem;
    animation: floatRandom 15s ease-in-out infinite;
}

.element-1 { top: 10%; left: 10%; animation-delay: 0s; }
.element-2 { top: 20%; right: 15%; animation-delay: 2s; }
.element-3 { bottom: 20%; left: 15%; animation-delay: 4s; }
.element-4 { bottom: 15%; right: 10%; animation-delay: 6s; }

@keyframes floatRandom {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 20px) rotate(5deg); }
}

/* ============================================
   ANNOUNCEMENTS SECTION
   ============================================ */

.announcements {
    padding: 6rem 0;
    background: #f8f9fa;
}

.announcements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.announcements-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.announcement-slide {
    display: none;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.announcement-slide.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.announcement-video {
    position: relative;
    background: #000;
    min-height: 400px;
}

.announcement-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-video:hover .video-controls {
    opacity: 1;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    margin-bottom: 0.8rem;
    border-radius: 5px;
}

.progress-filled {
    height: 100%;
    background: #fff;
    width: 0;
    border-radius: 5px;
    transition: width 0.1s linear;
}

.controls-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.control-btn:hover {
    transform: scale(1.1);
}

.time-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.volume-slider {
    width: 80px;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
    transition: all 0.3s ease;
    border: none;
}

.video-play-overlay:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay.playing {
    opacity: 0;
    pointer-events: none;
}

.announcement-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.announcement-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.announcement-badge.featured {
    background: #000;
    color: #fff;
}

.announcement-badge.new {
    background: #f44336;
    color: #fff;
}

.announcement-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.announcement-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-content > p:last-child {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #000;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: 6rem 0;
    background: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PROGRAM SECTION
   ============================================ */

.program {
    padding: 6rem 0;
    background: #f8f9fa;
}

.program h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.program-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-card i {
    font-size: 3.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.program-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    padding: 6rem 0;
    background: #fff;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #000;
    color: #000;
}

.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
}

.load-more {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: 6rem 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: #000;
    margin-top: 0.3rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
}

.contact-form button {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.admin-access-link {
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.admin-access-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.admin-access-link i {
    font-size: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-logo h1 {
        font-size: 3rem;
    }
    
    .announcement-slide.active {
        grid-template-columns: 1fr;
    }
    
    .announcement-video {
        min-height: 300px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    .hero-logo h1 {
        font-size: 2.5rem;
    }
    
    .hero-content > p {
        font-size: 1.2rem;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .announcement-content {
        padding: 2rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-access-link {
        position: static;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo h1 {
        font-size: 2rem;
    }
    
    .logo-icon i {
        font-size: 2.5rem;
    }
    
    .announcements h2,
    .about h2,
    .program h2,
    .gallery h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .announcement-content h3 {
        font-size: 1.4rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

/* ============================================
   AD SPACES
   ============================================ */

.ad-space {
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ad-space:empty::before {
    content: 'Advertisement Space';
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
}

.ad-space:hover {
    border-color: #ccc;
    background: #fff;
}

.ad-header {
    max-width: 728px;
    min-height: 90px;
}

.ad-content-top,
.ad-content-middle,
.ad-content-bottom {
    max-width: 970px;
    min-height: 90px;
}

.ad-footer {
    max-width: 728px;
    min-height: 90px;
}

.ad-space img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.ad-space a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ad-space.text-ad {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border: none;
}

.ad-space.text-ad h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.ad-space.text-ad p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.ad-space.text-ad .ad-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: white;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ad-space.text-ad .ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vendor-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-link:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .ad-space {
        margin: 1.5rem auto;
        padding: 1rem;
        min-height: 80px;
    }
    
    .ad-header,
    .ad-content-top,
    .ad-content-middle,
    .ad-content-bottom,
    .ad-footer {
        max-width: 100%;
        min-height: 50px;
    }
}

/* ============================================
   BANNER CONTAINER
   ============================================ */

.banner-container {
    padding: 2rem 0;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.banner-ad {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.banner-ad a {
    display: block;
    line-height: 0;
}

.banner-ad img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Affiliate Links Section */
.affiliate-links {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Banner Ads */
@media (max-width: 768px) {
    .banner-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .banner-ad {
        max-width: 100%;
    }
    
    .affiliate-links {
        padding: 2rem 0 !important;
    }
    
    .affiliate-links .container > div {
        flex-direction: column;
        align-items: stretch;
    }
    
    .affiliate-link {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   GOOGLE ADSENSE CONTAINERS
   ============================================ */

.adsense-container {
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.adsense-container ins {
    display: block;
    margin: 0 auto;
}

/* AdSense Header */
#adsense-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

/* AdSense Content Positions */
#adsense-content-top,
#adsense-content-middle,
#adsense-content-bottom {
    background: #fff;
    padding: 2rem 0;
}

/* AdSense Footer */
#adsense-footer {
    background: #f8f9fa;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

/* Sidebar Ads */
.sidebar-ads {
    position: sticky;
    top: 100px;
    margin-top: 2rem;
}

.sidebar-ads .adsense-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive AdSense */
@media (max-width: 768px) {
    .adsense-container {
        margin: 1.5rem auto;
        padding: 0.5rem;
    }
    
    #adsense-header {
        padding: 1rem;
    }
    
    .sidebar-ads {
        position: static;
        margin-top: 1.5rem;
    }
}

/* AdSense Loading State */
.adsense-container:empty::before {
    content: 'Advertisement';
    display: block;
    padding: 2rem;
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
}


/* ============================================
   PROFESSIONAL DROPDOWN MENUS (Goldman Sachs Style)
   ============================================ */

/* Dropdown Container */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    color: #1a1a1a !important;
    font-weight: 500;
}

.dropdown-trigger i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Content */
.dropdown-content {
    padding: 0.5rem;
}

.dropdown-section {
    display: flex;
    flex-direction: column;
}

/* Dropdown Items - NO ICONS */
.dropdown-item {
    display: block;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #1a1a1a;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: #f8f9fa;
    border-left-color: #000000;
    padding-left: 1.4rem;
}

/* Hide icons */
.dropdown-item-icon {
    display: none;
}

.dropdown-item-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.dropdown-item-content p {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* Dropdown Arrow */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 2px;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 0;
        min-width: auto;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .nav-dropdown .dropdown-menu {
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-content {
        padding: 0;
        margin-left: 1rem;
    }
    
    .dropdown-item {
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        margin-bottom: 0.3rem;
        border-left: 3px solid transparent;
        color: #ffffff !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left-color: #ffffff;
    }
    
    .dropdown-item-content h4 {
        color: #ffffff !important;
    }
    
    .dropdown-item-content p {
        color: rgba(255, 255, 255, 0.7) !important;
    }
}

/* Keep original header dark styling - don't override */
/* Navigation dropdown trigger visibility fix */
.nav-dropdown > a.dropdown-trigger {
    color: #fff !important;
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ============================================
   PAGE HEADER STYLES (for About Us & Board Members)
   ============================================ */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Team Grid Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.team-info .position {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.team-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.team-contact a {
    color: #667eea;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: #764ba2;
}

/* Organizational Structure Styles */
.org-structure {
    background: #f8f9fa;
    padding: 4rem 0;
}

.structure-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.structure-box h3 {
    color: #667eea;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.structure-list {
    list-style: none;
    padding: 0;
}

.structure-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.structure-list li:last-child {
    border-bottom: none;
}

.structure-list i {
    color: #667eea;
    margin-right: 1rem;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        height: 250px;
        font-size: 4rem;
    }
}
