/* Custom Color Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --hover-color: #3498db;
}

/* Global Styles */
body {
    font-family: 'Georgia', serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #101331 !important;
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(13, 110, 253, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    transition: transform 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand span {
    margin-left: 0.5rem;
    color: white;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    animation: dropdownFade 0.3s ease;
    background-color: #1a237e;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
    color: white;
}

.dropdown-item.active {
    background: var(--bs-primary);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(13, 110, 253, 0.98);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        backdrop-filter: blur(5px);
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
        text-align: center;
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        background: rgba(255,255,255,0.1);
        border: none;
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .dropdown-item {
        color: white;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .dropdown-item:hover {
        background: rgba(255,255,255,0.2);
    }

    .navbar-nav {
        gap: 0.5rem;
    }
}

/* Small Screen Adjustments */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-brand img {
        width: 35px;
        height: 35px;
    }

    .navbar-toggler {
        padding: 0.25rem;
    }

    .navbar-collapse {
        padding: 0.5rem;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

/* Navbar Shrink on Scroll */
.navbar-shrink {
    padding: 0.5rem 0;
}

.navbar-shrink .navbar-brand img {
    height: 35px;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

/* Section Styles */
section {
    position: relative;
    padding: 5rem 0;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

/* Hero Section */
header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

/* Scroll Button Styles */
.scroll-btn {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    background-color: var(--accent-color) !important;
    transform: translateY(-2px);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Badge Styles */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
}

/* Section Preview Gradient */
.section-preview::after {
    background: linear-gradient(transparent, var(--light-color));
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0.5rem 0;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)),
                url('img/A3.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    margin-top: -56px; /* Offset for fixed navbar */
}

/* Quick Links */
.quick-link-item {
    display: block;
    color: var(--dark-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 8px;
}

.quick-link-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
    background-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* About Section Styles */
.about-section {
    background-color: white;
}

.about-section img {
    transition: transform 0.3s ease;
}

.about-section img:hover {
    transform: scale(1.02);
}

.about-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-body p{
    text-align: justify;
}

.leadership-section .card {
    overflow: hidden;
}

.leadership-section .card img {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: cover;
}

.leadership-section .card:hover img {
    transform: scale(1.05);
}

.documents-section .btn {
    transition: all 0.3s ease;
}

.documents-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

/* List Styles in About Section */
.about-section .list-unstyled li {
    padding: 8px 0;
    transition: transform 0.2s ease;
}

.about-section .list-unstyled li:hover {
    transform: translateX(5px);
}

/* Buttons */
.btn {
    border-radius: 5px;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .quick-link-item {
        padding: 15px;
    }

    .leadership-section .card {
        margin-bottom: 20px;
    }

    .about-section .card {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-news .card {
    animation: fadeIn 0.6s ease-out forwards;
}

.featured-news .card:nth-child(2) {
    animation-delay: 0.2s;
}

.featured-news .card:nth-child(3) {
    animation-delay: 0.4s;
}    
.scroll-btn {
    position: fixed;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 1000;
}

.scroll-btn:hover {
    opacity: 1;
}

#scrollUp {
    bottom: 80px;
}

#scrollDown {
    bottom: 30px;
}

.section-preview {
    position: relative;
    overflow: hidden;
}

.section-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, white);
}

.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('img/A1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 80px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section {
    background-attachment: fixed;
}

/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('img/A1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    margin-bottom: 50px;
}

.contact-info-card {
    transition: transform 0.3s ease;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.form-control {
    padding: 0.75rem 1.2rem;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
} 
.card-img-top {
    transition: transform 0.3s ease;
    background-color: #f8f9fa; /* Light background while loading */
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card {
    overflow: hidden;
}

/* Add image loading animation */
.card-img-top.loading {
    animation: shimmer 1s infinite linear;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Footer Styles */
.footer {
    background: linear-gradient(rgba(5, 25, 46, 0.95), rgba(4, 17, 32, 0.95)),
                url('img/A1.jpg') center/cover no-repeat;
    color: white;
    padding: 60px 0 0;
}

.footer-heading {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.designer-credit {
    color: white;
    text-decoration: none;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: white;
}

/* Newsletter Form */
.footer .input-group {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
}

.footer .form-control {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer .btn-primary {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 10px 20px;
}

.footer .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Donation Methods */
.donation-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.donation-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.donation-method i {
    font-size: 24px;
    margin-bottom: 5px;
}

.donation-method:hover {
    transform: translateY(-3px);
    color: white;
}

/* Constitution Page Styles */
.constitution-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    color: #0a0a21; /* Navy blue color */
}

.article-title {
    color: #131328; /* Navy blue color */
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #12122c; /* Navy blue color */
    padding-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
}

.section-content {
    padding-left: 1.5rem;
    line-height: 1.8;
    color: #131324; /* Navy blue color */
}

.section-content h3 {
    color: #121223; /* Navy blue color */
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.section-content p {
    margin-bottom: 1rem;
    color: #141427; /* Navy blue color */
    font-size: 1.1rem;
}

.section-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #14142c; /* Navy blue color */
}

.section-content li {
    margin-bottom: 0.8rem;
    color: #161630; /* Navy blue color */
    font-size: 1.1rem;
}

.constitution-nav {
    position: sticky;
    top: 100px;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.constitution-nav h5 {
    color: #181832; /* Navy blue color */
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #16162d; /* Navy blue color */
    font-size: 1.2rem;
}

.constitution-nav .nav-link {
    color: #121223; /* Navy blue color */
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.constitution-nav .nav-link.active {
    color: #141427; /* Navy blue color */
    font-weight: bold;
    border-left: 3px solid #151528; /* Navy blue color */
    background-color: rgba(0, 0, 128, 0.1); /* Navy blue with opacity */
}

.constitution-nav .nav-link:hover {
    background-color: rgba(0, 0, 128, 0.05); /* Navy blue with opacity */
    transform: translateX(5px);
}

/* Dark Mode Styles for Constitution */
[data-theme="dark"] .constitution-section {
    color: #161628; /* Navy blue color */
}

[data-theme="dark"] .constitution-nav {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .constitution-nav .nav-link {
    color: #111120; /* Navy blue color */
}

[data-theme="dark"] .constitution-nav h5 {
    color: #141429; /* Navy blue color */
    border-bottom-color: #151525; /* Navy blue color */
}

[data-theme="dark"] .article-title {
    border-bottom-color: #13131d; /* Navy blue color */
    color: #121222; /* Navy blue color */
}

[data-theme="dark"] .section-content h3 {
    color: #141424; /* Navy blue color */
}

[data-theme="dark"] .section-content p,
[data-theme="dark"] .section-content ol,
[data-theme="dark"] .section-content li {
    color: #0f0f1b; /* Navy blue color */
}

/* Responsive Styles for Constitution */
@media (max-width: 991.98px) {
    .constitution-nav {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .section-content {
        padding-left: 1rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .section-content p,
    .section-content li {
        font-size: 1rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('img/A1.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    margin-bottom: 50px;
    background-repeat: no-repeat;
}

.content-section {
    padding: 80px 0;
}

.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Benefits Page Styles */
.benefits-section {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://media.gettyimages.com/id/1370869394/photo/students-attend-class-at-juba-one-girls-primary-school-in-juba-south-sudan-on-may-3-2022-the.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.benefits-content {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 80px 0;
}

.benefits-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefits-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefits-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: #fff;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.benefits-card:hover .benefits-icon {
    transform: scale(1.1);
}

.benefits-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    color: #666;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .benefits-section {
        padding: 100px 0 60px;
        min-height: 50vh;
    }

    .benefits-content {
        padding: 60px 0;
    }

    .benefits-card {
        padding: 30px 20px;
    }

    .benefits-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .benefits-content {
    background: #444242;
}

[data-theme="dark"] .benefits-card {
    background: #807e7e;
    border-color: rgba(107, 101, 101, 0.1);
}

[data-theme="dark"] .benefits-title {
    color: #fff;
}

[data-theme="dark"] .benefits-list li {
    color: #ccc;
}

[data-theme="dark"] .benefits-list li::before {
    color: #3498db;
}

/* Team Structure Styles */
.team-structure-container {
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 2rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 0;
    padding-bottom: 100%; /* This creates a perfect circle */
    margin: 0 auto;
}

.patron-circle {
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
    height: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patron-circle img {
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-member {
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    z-index: 2;
    position: absolute;
    transition: all 0.3s ease;
    width: 20%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member img {
    width: 60%;
    height: 60%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: scale(1.1);
}

.team-member:hover img {
    transform: scale(1.2);
}

.team-member .text-center {
    text-align: center;
    width: 100%;
}

.team-member h6 {
    margin: 0.5rem 0 0;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}

.team-member small {
    font-size: clamp(0.5rem, 1.2vw, 0.8rem);
    color: #6c757d;
}

/* Connection lines */
.team-structure-container svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.team-structure-container svg line {
    stroke: #007bff;
    stroke-width: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-structure-container {
        max-width: 600px;
    }
    
    .patron-circle {
        width: 30%;
        height: 30%;
    }
    
    .team-member {
        width: 25%;
        height: 25%;
    }
    
    .team-member h6 {
        font-size: clamp(0.5rem, 1.2vw, 0.7rem);
    }
    
    .team-member small {
        font-size: clamp(0.4rem, 1vw, 0.6rem);
    }
}

@media (max-width: 576px) {
    .team-structure-container {
        max-width: 400px;
    }
    
    .patron-circle {
        width: 35%;
        height: 35%;
    }
    
    .team-member {
        width: 30%;
        height: 30%;
    }
    
    .team-member h6 {
        font-size: clamp(0.4rem, 1vw, 0.6rem);
    }
    
    .team-member small {
        font-size: clamp(0.3rem, 0.8vw, 0.5rem);
    }
}

@media (max-width: 400px) {
    .team-structure-container {
        max-width: 300px;
    }
    
    .patron-circle {
        width: 40%;
        height: 40%;
    }
    
    .team-member {
        width: 35%;
        height: 35%;
    }
}

/* Executive Grid Styles */
.executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.executive-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.executive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.patron-card {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.executive-image {
    position: relative;
    overflow: hidden;
}

.executive-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.executive-card:hover .executive-image img {
    transform: scale(1.05);
}

.executive-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.executive-info {
    padding: 25px;
    text-align: center;
}

.executive-name {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.executive-role {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 15px;
}

.executive-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    color: #666;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #007bff;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .executive-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .executive-image img {
        height: 250px;
    }
    
    .executive-name {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .executive-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }
    
    .executive-image img {
        height: 200px;
    }
    
    .executive-name {
        font-size: 1.2em;
    }
    
    .executive-role {
        font-size: 1em;
    }
}

@media (max-width: 576px) {
    .executive-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .patron-card {
        max-width: 100%;
    }
    
    .executive-image img {
        height: 250px;
    }
}