/* 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 ===== */
#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; /* Different color for the content area (e.g., a lighter beige) */
    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;
}

/* Add this to your existing CSS */
.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: #17183B;
    margin-left: 0.1rem;
    font-weight: bold;
    text-shadow: 2px 2px 6px var(--shadow-50);
    white-space: nowrap;
    align-self: center; /* Vertically center with other elements */
    display: flex; /* Keep this for inline context */
    align-items: justify;
}

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

.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;
}

/* ===== Mobile NAVIGATION STYLES ===== */
.mobile-nav-toggle {
    display: none; /* Hidden by default, shown in mobile view */
    background: none; /* Remove gradient for simplicity */
    color: #fff;
    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: #fff;
}

.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;
}

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

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

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .kinetic-nav {
        display: none; /* Hide desktop navigation */
    }

    .mobile-nav-toggle {
        display: block; /* Show hamburger menu */
    }

    .mobile-menu {
        display: none; /* Shown when toggle is clicked via JavaScript */
    }

    .register-btn {
        display: block; /* Show register button on mobile */
    }

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

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

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

.kinetic-nav a {
    position: relative;
    margin: 0 clamp(0.5rem, 1vw, 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;
}

.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; /* Apply bold to the "DONATE" text */
    text-shadow: 2px 2px 6px var(--shadow-50);
}


/* Header Spacer */
.header-spacer {
    height: 100px; /* 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');

/* Contact Section Styles */
.contact-section {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  background-color: #f9f9f9; /* Light background for the section */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex: 1;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  font-size: 2rem;
  color: #d4a55e; /* Gold color to match your theme */
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Playfair Display', serif; /* Elegant font from your header */
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
  font-weight: bold;
  border-bottom: 2px solid #d4a55e; /* Gold underline */
  padding-bottom: 0.25rem;
}

.contact-item p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-family: 'Montserrat', sans-serif; /* Clean font from your nav */
}

.contact-map {
  flex: 1;
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .contact-info {
    padding: 1rem;
  }
  
  .contact-info h2 {
    font-size: 1.5rem;
  }
  
  .contact-map {
    height: 300px;
  }
}

/* Additional styling to match your theme */
.contact-section {
  --primary-gold: #d4a55e;
  --text-dark: #333;
  --text-light: #666;
}

/* 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 */
    }
}







/* 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 */
    }
}
