@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');
:root {
  --footer-bg-color: #1e242a; /* Dark background color */
  --text-color-light: #eeeeee; /* Light text color for links and main content */
  --header-color: #ffffff; /* White color for headings */
  --logo-color-accent: #fbc02d; /* Yellow color for the logo accent/icon */
  --link-hover-color: #fbc02d; /* Hover color */
  --copyright-bg-color: #1a1f24; /* Slightly darker or same color for copyright section */
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hide { display: none; visibility: hidden;}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fcfafa;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}
section {
    >header { grid-area: SH;}
    >figure { grid-area: SF; }
    >main   { grid-area: SM; }
    >footer { grid-area: SB; }
    >aside  { grid-area: SA; }
    >nav    { grid-area: SN; }
    >section{ grid-area: SS; }
    >form   { grid-area: SI; }
}
article {
    >header { grid-area: H;}
    >figure { grid-area: F; }
    >main   { grid-area: M; }
    >footer { grid-area: B; }
    >aside  { grid-area: A; }
    >nav    { grid-area: N; }
    >section{ grid-area: S; }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: #2563eb;
}

.text-accent {
    color: #d97706;
}

.bg-white {
    background-color: #fff;
}

.bg-light {
    background-color: #291601;
    >header h2{ color: #fff;}
}

/* Header & Navigation */
.header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo i {
    font-size: 2rem;
    color: #f59e0b;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--logo-color-accent);
}

.header ul {
    display: none;
    list-style: none;
    gap: 2rem;
}

.header a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.header a:hover {
    color: #d97706;
}

.header button {
    padding: 0.5rem 1.5rem;
    background-color: #f59e0b;
    color: white;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header button:hover {
    background-color: #d97706;
}

.header button:last-child {
    display: block;
    background: none;
    color: #4b5563;
    box-shadow: none;
    padding: 0.25rem;
}

.header button:last-child:hover {
    background: none;
    color: #d97706;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fcebeb, #f0f8ff ) ;
    padding: 5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fafafa;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: #d97706;
}

.hero h1 span:last-child {
    color: #2563eb;
}

.hero p {
    font-size: 1.125rem;
    color: #f8f8f8;
    max-width: 48rem;
    margin: 0 auto 2.5rem;
}

.hero footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
button {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: scale(1.05);
}

button.with-icon {
    display: inline-flex;
    align-items: center;
}

/* Primary button styles */
.hero button:first-child {
    background-color: #f59e0b;
    color: white;
}

.hero button:first-child:hover {
    background-color: #d97706;
}

.hero button:last-child {
    background-color: #3b82f6;
    color: white;
}

.hero button:last-child:hover {
    background-color: #2563eb;
}

/* Sections */
section {
    padding: 5rem 1rem;
    section { padding: 0;}
}

section > header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 3rem;
    text-align: center;
}

section > header h2 span {
    color: #d97706;
}

section > header h2 span:last-child {
    color: #2563eb;
}

#home {
   background: url(../../media/cover/cover1.jpeg) no-repeat; background-size: cover;
}
/* About Section */
#about {
    display: grid;
    grid-template-areas: "SF xx" "SF SH" "SF SM" "SF SB" "SF xy";
    gap: 1rem 3rem;
    align-items: center;
}

#about figure {
    width: 100%;
    height: 24rem;
    /* background-color: #e5e7eb; */
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.25rem;
    
    img { height: 100%;box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-radius: 20px;}
}

#about header h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

#about p {
    color: #374151;
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

#about footer {
    margin-top: 2rem;
}

/* Mission & Goals Section */
.bg-light > section>main {
    display: grid;
    gap: 2rem;
}

.bg-light article {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.bg-light article:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.bg-light article figure i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}

.bg-light article header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.bg-light article main p {
    color: #4b5563;
}

/* Programs Section */
#programs > section> main {
    display: grid;
    gap: 2.5rem;
}

#programs article {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 0fr 2fr;
    grid-template-areas: "F H" "F M" "F B";
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s;
}

#programs article:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

#programs article figure {
    width: 100%;
    height: 12rem;
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 1.125rem;
}

#programs article header h3 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#programs article header i {
    font-size: 2rem;
    color: #ef4444;
}

#programs article main p {
    color: #374151;
    line-height: 1.625;
}

/* Gallery Section */
#gallery > section main {
    display: grid;
    gap: 2rem;
}

#gallery article {
    position: relative;
    height: 18rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#gallery article figure {
    width: 100%;
    height: 100%;
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.125rem;
}

#gallery article header {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

#gallery article:hover header {
    opacity: 1;
}

#gallery > section footer {
    margin-top: 3rem;
    text-align: center;
}

/* Team Section */
#team > section>main {
    display: grid;
    gap: 2.5rem;
}

#team article {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

#team article:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

#team article figure {
    width: 8rem;
    height: 8rem;
    background-color: #e5e7eb;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

#team article header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

#team article header p {
    color: #d97706;
    font-weight: 500;
    margin-bottom: 1rem;
}

#team article main p {
    color: #4b5563;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    background-color: #f59e0b;
    color: white;
    padding: 5rem 1rem;
    text-align: center;
}

.cta-section header h2 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-section header p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-section > section main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cta-section article {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.cta-section article i {
    font-size: 1.5rem;
}

.cta-section footer button {
    background-color: white;
    color: #d97706;
}

.cta-section footer button:hover {
    background-color: #f3f4f6;
}

/* Contact Section */
#contact {
    display: grid;
    gap: 0rem 3rem;
    grid-template-areas: "SI SH" "SI SM" "SI SB" "SI SS";
}

#contact > header h2 {
    text-align: left;
    margin-bottom: 1rem;
}

#contact > header p {
    color: #374151;
    line-height: 1.625;
    margin-bottom: 2rem;
}

#contact > section main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#contact article {
    display: grid;
    gap: 0 1rem;
    align-items: flex-start;
    justify-content: start;
    grid-template-columns: 40px auto;
    grid-template-areas: "F H" "F M" "F B";
}

#contact article figure i {
    font-size: 1.75rem;
    color: #f59e0b;
    margin-top: 0.25rem;
}

#contact article header {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

#contact article main {
    color: #4b5563;
}

#contact article a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

#contact article a:hover {
    color: #166534;
}

/* Form */
form {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

textarea {
    resize: vertical;
    min-height: 9rem;
}

form button {
    width: 100%;
    justify-content: center;
    background-color: #f59e0b;
    color: white;
}

form button:hover {
    background-color: #d97706;
}



/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

.animate-slide-up.in-view,
.animate-fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (min-width: 768px) {
    .header ul {
        display: flex;
    }
    
    .header button:last-child {
        display: none;
    }
    
    .hero {
        padding: 8rem 1rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    #about {
        grid-template-columns: 1fr 1fr;
    }
    
    .bg-light > section main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #programs > section main {
        grid-template-columns: repeat(4, 1fr);
    }
    
    #programs article {
        flex-direction: row;
        gap: 2rem;
    }
    

    

    #gallery > section main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #team > section main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #contact {
        grid-template-columns: 1fr 1fr;
    }
    
    
}

@media (min-width: 1024px) {
    .bg-light > section main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #gallery > section main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    #team > section main {
        grid-template-columns: repeat(3, 1fr);
    }
    
    
}

@media (min-width: 1280px) {
    #team > section main {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* --- Base Footer Styles --- */
body>footer {
  background-color: var(--footer-bg-color);
  color: var(--text-color-light);
  font-family: Arial, sans-serif; /* Common, clean font */
  font-size: 16px;
  line-height: 1.6;


/* --- Main Content Section (.logo, articles, links) --- */
 > section {
  display: flex;
  justify-content: space-between;
  max-width: 1200px; /* Adjust as needed for your main container width */
  margin: 0 auto;
  padding: 50px 20px; /* Padding for the main footer content */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator line */
}

 article {
  /* Distributes space for the four columns */
  flex: 1;
  padding: 0 15px;
}

/* Make the first article (logo/description) a bit wider */
 article:first-child {
  flex: 1.5;
}

/* --- Logo and Tagline Styles --- */
 .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--logo-color-accent);
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

 .logo i {
  color: var(--logo-color-accent);
  font-size: 28px;
  margin-right: 8px;
}

/* Style for the tagline content */
 article:first-child main {
  font-size: 14px;
  color: var(--text-color-light);
  max-width: 250px; /* Control the width of the text block */
}

/* --- Heading Styles (Quick Links, Support, Stay Connected) --- */
 article header h3 {
  color: var(--header-color);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 0;
  text-transform: none; /* Keep capitalization as is in the image */
}

/* --- Link List Styles --- */
 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

 li {
  margin-bottom: 10px;
}

 a {
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

 a:hover {
  color: var(--link-hover-color);
}

/* --- Social Media Icons (Stay Connected) Styles --- */
 article:last-child main {
  display: flex;
  gap: 15px; /* Spacing between social icons */
}

 article:last-child main a {
  font-size: 20px; /* Size of the social media icons */
}

/* --- Copyright Section Styles --- */
 > footer {
  /* Using 'footer > footer' to target the inner footer element containing the copyright */
  text-align: center;
  font-size: 14px;
  padding: 20px;
  background-color: var(--copyright-bg-color); /* Matches the main background, or slightly darker if desired */
  color: rgba(255, 255, 255, 0.6); /* Slightly muted color for the copyright text */
}
}
/* --- Media Query for Mobile/Tablet View (Optional but recommended) --- */
@media (max-width: 768px) {
  body>footer > section {
    flex-direction: column;
    padding: 30px 20px;
  }

  body>footer article {
    flex: none;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separator on mobile */
  }

  body>footer article:first-child {
    flex: none;
    border-bottom: none; /* No separator after the first block */
    padding-bottom: 30px;
  }

  body>footer article:last-child main {
    justify-content: flex-start; /* Align social icons to the left */
  }

  body>footer article:last-child {
    border-bottom: none; /* Remove last separator */
  }
  #contact {
    
        grid-template-areas: "SH SH" "SI SI" "SS SS";
    }
    #about {
    grid-template-areas:
        "SF SF"
        "SH SH"
        "SM SM"
        "SB SB";
    gap: 1rem 3rem;
    align-items: center;
}
}