/* Reset default styles */
body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, sans-serif !important;
    color: #ffffff !important;
    position: relative !important;
    overflow-x: hidden !important;
}

/* ===== ULTRA-PREMIUM COLOR PALETTE ===== */
:root {
    --clay-red: #9a4d44 !important;
    --deep-teal: #0a4842 !important;
    --sand-gold: #d4a55e !important;
    --lake-blue: #5d8aa8 !important;
    --ivory: #f9f5f0 !important;
    --shadow-25: rgba(0, 0, 0, 0.25) !important;
    --shadow-50: rgba(0, 0, 0, 0.5) !important;
    --gold-gradient: linear-gradient(135deg, #d4a55e 0%, #e8c887 100%) !important;
    --red-gradient: linear-gradient(135deg, #9a4d44 0%, #b56d65 100%) !important;
    --ease-bounce: cubic-bezier(0.48, -0.6, 0.32, 1.6) !important;
    --ease-smooth: cubic-bezier(0.15, 0.1, 0.25, 1) !important;
}

/* ===== KINETIC HEADER ===== */
#kinetic-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem;
    z-index: 1000;
    background: #bb7b1c;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px var(--shadow-25);
    transition: all 0.5s var(--ease-smooth);
    box-sizing: border-box;
    flex-wrap: wrap;
    margin-bottom: 20px;
    height: 120px;
    min-height: 120px;
}

.header-content {
    display: flex;
    align-items: center;
    width: 98%;
    height: 68%;
    background: #fff;
    padding: 0.5rem;
    border-radius: 6px;
}

.logo-wrapper {
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    background-color: #fff;
    padding: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    height: 100%;
    max-height: 100px;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 2.5vw, 1.5rem);
    color: #17183B;
    margin-left: 0.1rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px var(--shadow-50);
    white-space: nowrap;
    align-self: center;
    display: flex;
    align-items: justify;
}


.logo-bg {
    display: none !important;
}


.logo {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-icon {
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
}

.logo a {
    display: none;
}

.logo .thin {
    display: none;
}


/* ===== KINETIC NAVIGATION ===== */
.kinetic-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.kinetic-nav a {
    position: relative;
    margin: 0 clamp(0.5rem, 1.2vw, 1.2rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(0.8rem, 0.95vw, 0.95rem);
    letter-spacing: clamp(0.5px, 1.2vw, 1.2px);
    padding: 0.3rem 0.3rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.kinetic-nav a::before,
.kinetic-nav a::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
    transition: transform 0.45s var(--ease-bounce);
    backface-visibility: hidden;
    pointer-events: none;
}

/* Override for the ABOUTUS link */
.kinetic-nav a[data-text="ABOUTUS"]::before,
.kinetic-nav a[data-text="ABOUTUS"]::after {
    content: "ABOUT US";
}

.kinetic-nav a::before {
    color: #17183B;
    transform: translateY(0);
    -webkit-font-smoothing: antialiased;
}

.kinetic-nav a::after {
    color: #4968a0;
    transform: translateY(100%) rotateX(-90deg);
    transform-origin: 50% 0;
}

.kinetic-nav a:hover::before {
    transform: translateY(-100%) rotateX(90deg);
    transform-origin: 50% 100%;
}

.kinetic-nav a:hover::after {
    transform: translateY(0) rotateX(0);
}

.nav-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0rem;
    background: linear-gradient(135deg, #bb7b1c, #f09206);
    color: transparent;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 128, 0, 0.2);
    min-width: 160px;
    height: 30px;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #bb7b1c, #f09206);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 128, 0, 0.3);
}

/* Override to make only "DONATE" bold */
.nav-cta[data-text="DONATE"]::before,
.nav-cta[data-text="DONATE"]::after {
    font-weight: bold;
    text-shadow: 2px 2px 6px var(--shadow-50);
}




/* ===== Mobile NAVIGATION STYLES ===== */
.mobile-nav-toggle {
    display: none; /* Hidden by default, shown in mobile view */
    background: none; /* Remove gradient for simplicity */
    color: #000;
    border: none;
    padding: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    line-height: 1; /* Ensure proper alignment */
}

/* Style the hamburger icon using ::before and ::after */
.mobile-nav-toggle::before {
    content: '\2261'; /* Unicode for hamburger icon (≡) */
    font-size: 1.8rem;
    color: #000;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 50px; /* Below the header */
    left: 0;
    right: 0;
    flex-direction: column;
    background: #d4a55e;
    padding: 1rem;
    text-align: center;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1rem;
}


.hidden {
    display: none !important;
}

.register-btn {
    display: none; /* Hidden by default, shown in mobile view */
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    text-align: right;
    white-space: nowrap;
    position: right;
}

.register-btn:hover {
    background: linear-gradient(135deg, #ff9900, #ffcc00);
}


@media (max-width: 768px) {
    .kinetic-nav {
        display: none; /* Hide desktop navigation */
    }
    
    .logo-name {
        display: none; /* Hide the name on mobile to avoid clutter */
    }

    .mobile-nav-toggle {
        display: block !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }    

    .mobile-menu.active {
        display: flex !important; /* Show when active class is added */
    }

    /* Keep your existing .hidden class for other uses */
    .hidden {
        display: none !important;
    }


   .register-btn {
        display: block !important;
        margin-left: auto; /* Force right alignment */
        order: 2; /* Ensure it stays on the right in flexbox */
    }
    
     #kinetic-header {
        justify-content: space-between;
        padding: 0.4rem 1rem;
    }

    .logo-wrapper {
        flex: 0 0 auto; /* Add some padding for mobile */
    }

    .logo-icon {
        max-height: 60px; /* Slightly smaller logo for mobile to fit better */
    }
}


/* Header Spacer */
.header-spacer {
    height: 70px; /* Match your header height */
    width: 100%;
}

/* Responsive Adjustments for Phones */
@media (max-width: 768px) {
  .header-spacer {
    height: 100px; /* Reduced height to match adjusted mobile header */
  }
}


/* Activities */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Open+Sans&display=swap');

.activities-module {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
    animation: fadeInActivities 2s ease-in-out;
    font-family: 'Open Sans', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.activities-module .activities-heading {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin-bottom: 20px;
    position: relative;
}

.activities-module .activities-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: gold;
    margin: 10px auto 0;
    border-radius: 2px;
    animation: underlineGlowActivities 3s infinite;
}

.activities-module .activities-card {
    display: flex;
    background-color: white;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.activities-module .activities-card:hover {
    transform: scale(1.02);
}

.activities-module .activities-text {
    flex: 1;
    padding: 40px;
}

.activities-module .activities-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
    align-content: center;
}

.activities-module .activities-text p {
    font-size: 1em;
    line-height: 1.6;
}

.activities-module .activities-image {
    flex: 1;
    background-size: contain; /* Changed from cover to contain to fit the image fully */
    background-position: center;
    min-height: 300px;
    background-repeat: no-repeat; /* Ensure the image doesn't repeat */
    animation: zoomInActivities 4s ease-in-out infinite alternate;
}

.activities-module .reverse {
    flex-direction: row-reverse;
}




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

@keyframes underlineGlowActivities {
    0% { background-color: gold; }
    50% { background-color: orange; }
    100% { background-color: gold; }
}

@keyframes zoomInActivities {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Responsive Adjustments for Phones */
@media (max-width: 768px) {
    .activities-module .activities-card {
        flex-direction: column; /* Stack text and image vertically */
    }

    .activities-module .activities-image {
        flex: none; /* Remove flex grow to control height */
        min-height: 200px; /* Reduced height for smaller screens */
        width: 100%; /* Full width on mobile */
        background-size: contain; /* Adjusts image to fit without cropping */
        background-repeat: no-repeat; /* Prevents tiling */
    }

    .activities-module .reverse {
        flex-direction: column; /* Maintains vertical stack for reverse layout */
    }
}


/* Style for the activities-text container */
.activities-text {
    padding: 1rem;
    color: #333; /* Example text color, adjust as needed */
}

/* Style for the main unordered list */
.activities-text ul {
    list-style-type: disc; /* Default bullet style */
    padding-left: 1.5rem; /* Adjust indentation */
    margin: 0.5rem 0; /* Space above and below the list */
}

/* Style for nested unordered lists (e.g., under "Programs include") */
.activities-text ul ul {
    list-style-type: circle; /* Different bullet style for nested levels */
    padding-left: 2rem; /* Increased indentation for nesting */
    margin: 0.3rem 0; /* Tighter spacing for nested items */
}

/* Style for the deepest nested list (e.g., under "Music education in") */
.activities-text ul ul ul {
    list-style-type: square; /* Unique bullet style for deeper nesting */
    padding-left: 2.5rem; /* Further indentation */
    margin: 0.2rem 0; /* Even tighter spacing */
}

/* Style for list items */
.activities-text li {
    line-height: 1.6; /* Improved readability with spacing between lines */
    margin-bottom: 0.3rem; /* Space between list items */
}

/* Ensure h2 stands out */
.activities-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50; /* Example color, adjust as needed */
}

/* Ensure the image fits the space (from previous context) */
.activities-module .activities-image {
    flex: 1;
    background-size: contain;
    background-position: center;
    min-height: 300px;
    background-repeat: no-repeat;
    animation: zoomInActivities 4s ease-in-out infinite alternate;
}


/* Executive Team Section Styles */
.executive-team {
  background: linear-gradient(135deg, #f5e8c7, #fff); /* Warm gradient to match theme */
  padding: 4rem 2rem;
  text-align: center;
  color: #333;
  font-family: 'Montserrat', sans-serif;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.executive-team h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #d4a55e; /* Gold accent */
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.team-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  font-style: italic;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.team-member {
  perspective: 1000px; /* 3D perspective for flip effect */
  height: 400px; /* Fixed height for consistency */
  position: relative;
}

.member-front,
.member-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hide back during flip */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.6s; /* Smooth flip animation */
  background: #fafafa;
  border-left: 4px solid #d4a55e; /* Gold highlight */
}

.member-front {
  transform: rotateY(0deg);
}

.member-back {
  transform: rotateY(180deg);
  background: #f9f9f9;
  color: #333;
  text-align: center;
}

.team-member:hover .member-front {
  transform: rotateY(-180deg);
}

.team-member:hover .member-back {
  transform: rotateY(0deg);
}

.member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Circular image */
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  border: 3px solid #d4a55e; /* Gold border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.member-front h3 {
  font-size: 1.4rem;
  color: #d4a55e;
  margin: 0;
  font-weight: bold;
}

.member-back h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.member-back p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0.5rem 0;
  font-style: italic; /* Italic for bio */
}

/* Responsive Design */
@media (max-width: 768px) {
  .executive-team {
    padding: 2rem 1rem;
  }

  .executive-team h2 {
    font-size: 2rem;
  }

  .team-members {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .team-member {
    height: 350px;
  }

  .member-image {
    width: 120px;
    height: 120px;
  }
}

/* Footer */
.home-footer {
    padding: 1rem 1rem;
    background: #2c3e50;
    color: #f7f5f5;
    text-align: center;
    position: center;
    overflow: hidden;
    
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    margin-top: 0.5px;
    margin-bottom: 0.5px;
}

.footer-column {
    text-align: left;
}

.logo-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #d4a55e;
}

.logo-column p {
    font-size: 0.95rem;
    color: #f7f5f5;
    margin-bottom: 1rem;
    max-width: 200px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-top: 1rem;
    border-radius: 5px;
}

.contact-column h4,
.links-column h4,
.social-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #d4a55e;
    text-transform: uppercase;
}

.contact-column p {
    font-size: 0.95rem;
    color: #f7f5f5;
    margin-bottom: 0.5rem;
}

.contact-column a {
    color: #d4a55e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-column a:hover {
    color: #f7f5f5;
}

.links-column ul {
    list-style: none;
    padding: 0;
}

.links-column li {
    margin-bottom: 0.5rem;
}

.links-column a {
    color: #f7f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-column a:hover {
    color: #d4a55e;
}

.social-column .footer-social {
    margin-top: 1rem;
}

.social-column a {
    color: #d4a55e;
    font-size: 1.6rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-column a:hover {
    color: #f7f5f5;
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 2rem;
    border-top: 1px solid #ffffff;
    margin-top: 2rem;
    color: #f7f5f5;
    font-size: 0.9rem;
}


/* Mobile View - Footer */
@media (max-width: 768px) {
    .home-footer {
        padding: 1rem 1rem;
        background: #2c3e50;
        color: #f7f5f5;
        text-align: center;
        position: relative; /* Changed from 'center' which is invalid */
        overflow: hidden;
    }

    .footer-content {
        max-width: 900px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr; /* Single column for mobile */
        gap: 2rem;
        padding: 1rem 0;
        margin-top: 0.5px;
        margin-bottom: 0.5px;
        justify-items: center; /* Center all grid items */
    }

    .footer-column {
        text-align: center; /* Center text */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center content horizontally */
    }

    .logo-column h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.8rem; /* Changed from 1.2rem to 1.8rem for mobile */
        margin-bottom: 1rem;
        color: #d4a55e;
        padding: 0.5rem 0;
    }

    .logo-column p {
        font-size: 0.95rem;
        color: #f7f5f5;
        margin-bottom: 1rem;
        max-width: 200px;
        text-align: center; /* Center paragraph text */
    }

    .footer-logo {
        max-width: 150px;
        height: auto;
        margin-top: 1rem;
        border-radius: 5px;
    }

    .contact-column h4,
    .links-column h4,
    .social-column h4 {
        font-size: 1.8rem; /* Also increased for consistency */
        margin-bottom: 1rem;
        color: #d4a55e;
        text-transform: uppercase;
        text-align: center; /* Center headings */
    }

    .contact-column p {
        font-size: 0.95rem;
        color: #f7f5f5;
        margin-bottom: 0.5rem;
        text-align: center; /* Center paragraph text */
    }

    .contact-column a {
        color: #d4a55e;
        text-decoration: none;
        transition: color 0.3s ease;
        text-align: center; /* Center link text */
    }

    .contact-column a:hover {
        color: #f7f5f5;
    }

    .links-column ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center; /* Center list items */
    }

    .links-column li {
        margin-bottom: 0.5rem;
        text-align: center; /* Center list item text */
    }

    .links-column a {
        color: #f7f5f5;
        text-decoration: none;
        transition: color 0.3s ease;
        text-align: center; /* Center link text */
    }

    .links-column a:hover {
        color: #d4a55e;
    }

    .social-column .footer-social {
        margin-top: 1rem;
        display: flex;
        justify-content: center; /* Center social icons */
    }

    .social-column a {
        color: #d4a55e;
        font-size: 1.6rem;
        margin: 0 1rem;
        transition: color 0.3s ease;
    }

    .social-column a:hover {
        color: #f7f5f5;
    }

    .footer-bottom {
        grid-column: 1 / -1;
        padding-top: 2rem;
        border-top: 1px solid #ffffff;
        margin-top: 2rem;
        color: #f7f5f5;
        font-size: 0.9rem;
        text-align: center; /* Center bottom text */
    }
}