/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}



body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

/* SECTION HEADINGS */
h2 {
    color: var(--text-main);
    border-left: 5px solid var(--logo-blue); /* Subtle use of logo blue */
    padding-left: 15px;
}


/* --- Navigation Bar Styling --- */
.navbar {
    background-color: #2c3e50; /* Dark Blue Background */
    color: #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.navbar-logo {
    background: white;
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}
.image-logo-link {
    display: flex;
    align-items: center;
    height: 100%; /* Ensure it fits the container height */
}

.nav-image {
    /* Adjust height based on your preference, 
       but keep it less than the navbar total padding+height */
    height: 40px; 
    width: auto; /* Maintains aspect ratio so logo doesn't squish */
    display: block;
    transition: opacity 0.3s ease;
}

.image-logo-link:hover .nav-image {
    opacity: 0.8; /* Slight fade on hover */
}



:root {
    --brand-red: #e63946; /* Use your exact orphanage logo red */
    --white: #ffffff;
}

/* --- The Fixed Permanent Button --- */
.donate-btn-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999; /* Always on top */
    
    background-color: var(--brand-red) !important;
    color: var(--white) !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect: No color change, just a physical 'lift' */
.donate-btn-fixed:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(230, 57, 70, 0.5);
    background-color: var(--brand-red) !important; /* Locks color */
    color: var(--white) !important;
}




/* --- The Main Section Button --- */
.donate-btn-main {
    display: inline-block;
    background-color: var(--brand-red) !important;
    color: var(--white) !important;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s;
    border: none;
}

.donate-btn-main:hover {
    transform: scale(1.05);
    background-color: var(--brand-red) !important; /* Locks color */
}

/* Mobile: Shrink the fixed button to an icon to save space */
@media (max-width: 600px) {
    .donate-btn-fixed span {
        display: none; /* Hides text, leaves heart icon */
    }
    .donate-btn-fixed {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
}

.donate-btn-fixed i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}






/* Styling for the new Contact Column links */
.contact-links {
    list-style: none;
    padding: 0;
}

.contact-links li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8); /* Matches your footer text opacity */
}

.contact-links i {
    color: #e63946; /* Using your Brand Red for icons */
    width: 20px;
    text-align: center;
}

.contact-links a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: #ffffff;
    text-decoration: underline;
    transform: translateX(5px);
    display: inline-block;
}

/* Ensure social dock buttons maintain their hover behavior */
.social-btn {
    text-decoration: none;
}



/* --- GLOBAL REFINEMENTS --- */
:root {
    --brand-red: #e63946;
    --dark-slate: #1e293b;
    --light-bg: #f8fafc;
    --text-gray: #64748b;
}

.eyebrow-label {
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 10px;
}




/* --- DIRECTOR SECTION --- */
.director-section { padding: 100px 0; background: #fff; }

.director-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper { position: relative; }

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    filter: grayscale(20%);
    box-shadow: 30px 30px 0px var(--light-bg);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: -10px;
    background: var(--brand-red);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.quote-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--dark-slate);
    font-style: italic;
    margin: 25px 0;
    border-left: 4px solid var(--brand-red);
    padding-left: 20px;
}

/* --- ACTION BANNER --- */
.action-banner {
    background: var(--dark-slate);
    color: white;
    padding: 60px 0;
}

.action-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.action-content h3 { font-size: 1.8rem; margin-bottom: 5px; }
.action-content p { color: #94a3b8; font-size: 1.1rem; }

.btn-primary {
    background: var(--brand-red);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-secondary {
    border: 1px solid #334155;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    margin-left: 15px;
    transition: 0.3s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(230,57,70,0.3); }

/* =========================
   IMPACT SECTION
========================= */
.impact-section {
  background: #f8faf9;
  padding: 4.5rem 1.5rem;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* ===== Section Heading ===== */
.section-title-box {
  text-align: center;
  margin-bottom: 3.5rem;
}

.eyebrow-label {
  display: inline-block;
  color: #2f855a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-title-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #1f2933;
  font-weight: 700;
}

/* ===== Responsive Grid ===== */
.impact-flex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.2rem;
}

/* ===== Impact Cards ===== */
.impact-item {
  background: #ffffff;
  padding: 2.8rem 2rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.impact-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

/* ===== Featured Card ===== */
.impact-item.featured {
  border: 2px solid #2f855a;
  background: linear-gradient(180deg, #ecfdf3, #ffffff);
  position: relative;
}

.impact-item.featured::before {
  content: "Most Needed";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2f855a;
  color: #ffffff;
  padding: 0.25rem 0.9rem;
  font-size: 0.7rem;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* ===== Icons ===== */
.item-icon {
  width: 70px;
  height: 70px;
  background: #2f855a;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
}

/* ===== Price ===== */
.item-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #2f855a;
  margin-bottom: 0.4rem;
}

/* ===== Text ===== */
.impact-item h5 {
  font-size: 1.25rem;
  color: #1f2933;
  margin-bottom: 0.6rem;
}

.impact-item p {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

/* ===== Call-to-Action Button ===== */
.item-link {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  background: #2f855a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.item-link:hover {
  background: #276749;
  transform: scale(1.05);
}

/* ===== Mobile Optimization ===== */
@media (max-width: 600px) {
  .impact-item {
    padding: 2.2rem 1.6rem;
  }

  .item-icon {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
}




:root {
    --brand-red: #e63946;
    --brand-blue: #0056b3;
}

.location-contact-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.contact-box h3 {
    margin-bottom: 15px;
    color: #333;
}

.contact-box p {
    color: #666;
    line-height: 1.5;
    margin: 5px 0;
}

.sub-text {
    font-size: 0.85rem;
    font-style: italic;
    color: #999 !important;
}





/* =========================
   DIRECTOR SECTION
========================= */
.director-section {
  padding: 2rem 1rem;
  background: #ffffff;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* ===== Grid Layout ===== */
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

/* ===== Image Styling ===== */

/* 1. Reset the Media Parent */
.director-media {
    display: flex;
    justify-content: center; /* Centers the image wrapper on mobile */
    align-items: flex-start; /* Ensures image starts at the top */
    width: 100%;
}

/* 2. The Wrapper: Remove fixed heights/aspect-ratios */
.image-wrapper {
    width: 100%;
    max-width: 400px; /* Limits the size on large screens */
    height: auto;     /* Allows the wrapper to grow as tall as the photo */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: transparent; /* Removes background color visible during crop */
}

/* 3. The Image: The "No-Crop" Rule */
.director-img {
    width: 100%;      /* Fills the width of the wrapper */
    height: auto;     /* 👈 CRITICAL: Keeps natural height so the head shows */
    display: block;   /* Removes whitespace at bottom */
    object-fit: contain; /* Shows the full image regardless of container */
}

/* 4. Responsive Specifics */
@media (max-width: 768px) {
    .image-wrapper {
        max-width: 90%; /* Makes image slightly smaller than screen width for better look */
        margin-bottom: 2rem; /* Adds space before the text below it */
    }
}

/* ===== Text Content ===== */
.director-info {
  color: #1f2933;
}

.director-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
  line-height: 1.25;
}

/* ===== Opening Quote ===== */
.mission-para {
  font-size: 1.05rem;
  font-style: italic;
  color: #2f855a;
  border-left: 4px solid #2f855a;
  padding-left: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ===== Main Message Box ===== */
.quote-box {
  background: #f8faf9;
  padding: 2rem;
  border-radius: 16px;
  line-height: 1.8;
  font-size: 0.98rem;
  color: #374151;
  margin-bottom: 2.2rem;
}

/* ===== Signature ===== */
.signature-block h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  
}

.signature-block p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* ===== Responsive (Tablet & Mobile) ===== */
@media (max-width: 900px) {
  .director-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mission-para {
    border-left: none;
    border-top: 3px solid #2f855a;
    padding-left: 0;
    padding-top: 1rem;
  }

  .quote-box {
    text-align: left;
  }
}


@media (max-width: 480px) {
  .director-img {
    object-position: center 70%;
  }
}




/* 1. Force the container to stop squashing the image */
.director-media, .image-wrapper {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important; /* This stops the 'cropping' box */
    display: block !important;    /* Simplest layout mode */
    width: 100% !important;
    max-width: 380px !important;  /* Adjust this to the size you want */
    margin: 0 auto !important;    /* Centers it */
}

/* 2. Force the image to show every single pixel */
.director-img {
    width: 100% !important;
    height: auto !important;      /* Forces the height to follow the photo */
    object-fit: contain !important; 
    object-position: top !important; /* Keeps the head at the top */
    display: block !important;
    border-radius: 15px;
}





.action-banner {
  background: #f9f6f2;
  padding: 60px 0;
}

.action-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.action-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.action-content p {
  font-size: 16px;
  color: #555;
}

/* Donation card */
.back {
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.scripture {
  font-style: italic;
  color: #b31d1f;
  margin-bottom: 5px;
  font-size: 0.75rem;
}

.gratitude-text {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #444;
}

/* PayPal button */
.paypal-link {
  text-decoration: none;
}

.paypal-button {
  background-color: #ffc439;
  color: #003087;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #edb319;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paypal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Security info */
.security-row {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.security-text {
  font-size: 0.65rem;
  color: #555;
}

.encryption-note {
  font-size: 0.6rem;
  color: #888;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .action-flex {
    flex-direction: column;
    text-align: center;
  }

  .back {
    width: 100%;
  }
}

.action-banner {
  background: #f9f6f2;
  padding: 60px 0;
}

.action-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.action-content h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: grey;
}

.action-content p {
  font-size: 16px;
  color: #555;
}

/* Donation card */
.back {
  background: #ffffff;
  padding: 20px 25px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.scripture {
  font-style: italic;
  color: #b31d1f;
  margin-bottom: 5px;
  font-size: 0.75rem;
}

.gratitude-text {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #444;
}

/* PayPal button */
.paypal-link {
  text-decoration: none;
}

.paypal-button {
  background-color: #ffc439;
  color: #003087;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #edb319;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paypal-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Security info */
.security-row {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.security-text {
  font-size: 0.65rem;
  color: #555;
}

.encryption-note {
  font-size: 0.6rem;
  color: #888;
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .action-flex {
    flex-direction: column;
    text-align: center;
  }

  .back {
    width: 100%;
  }
}



.section-header {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  max-width: 900px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin: 0 0 0.5rem 0;
}

.section-header p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin: 0;
}





/* Experience badge */
.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #2e7d32;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.experience-badge b {
  font-size: 20px;
  display: block;
}

@media (max-width: 768px) {
  .image-wrapper {
    width: 300px;
    height: 400px;
  }
}


/* Responsive fix for Mobile Phones */
@media (max-width: 768px) {
    .director-grid {
        grid-template-columns: 1fr; /* Stacks image on top of text */
        text-align: center;
    }
    
    .quote-box {
        border-left: none;
        border-top: 5px solid #d4af37;
    }
}

/* Clickable Link Styles */
.contact-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--brand-red);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.contact-link:hover {
    border-color: var(--brand-red);
}

.whatsapp-box .icon-circle { background: #25D366; } /* WhatsApp Green */

.visit-us-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.visit-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.sub-label {
    color: var(--brand-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.travel-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.travel-card {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.travel-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-color: var(--brand-red);
}

.travel-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.visit-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-visit {
    background-color: var(--brand-red) !important;
    color: white !important;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s;
}

.btn-visit:hover {
    transform: scale(1.05);
}





/* --- Positioning the Watermark --- */
.hero-watermark-container {
    position: absolute;
    top: 30px;  /* Distance from the top */
    left: 40px; /* Distance from the left */
    z-index: 5; /* Sits above images but below welcome text */
    pointer-events: none; /* User can't click/drag it */
}

/* --- Styling the Watermark Image --- */
.watermark-image {
    width: 150px;       /* Adjust size as needed */
    height: auto;
    opacity: 0.3;       /* Adjust transparency (0.1 is faint, 0.9 is bold) */
    
    /* Optional: Adds a subtle white glow in case the background photo is very dark */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    
    /* Smooth appearance */
    transition: opacity 0.5s ease;
}

/* --- Mobile View Adjustments --- */
@media (max-width: 768px) {
    .hero-watermark-container {
        top: 20px;
        left: 50%;
        transform: translateX(-50%); /* Centers logo on mobile */
    }

    .watermark-image {
        width: 120px; /* Smaller on mobile */
        opacity: 0.2; /* Fainter so it doesn't clutter small screens */
    }
}



/* --- Desktop Links Styling --- */
.navbar-links {
    list-style: none;
    display: flex;
}

.navbar-links li {
    margin-left: 25px;
}

.navbar-links a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 10px 0;
    font-weight: bold;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar-links a:hover {
    color: #3498db; 
    border-bottom: 2px solid #3498db;
}

/* --- Hamburger Button Styling (Default Hides on Desktop) --- */
.hamburger {
    display: none; /* Hide by default on large screens */
    background: none;
    border: none;
    color: #ecf0f1;
    font-size: 1.5em;
    cursor: pointer;
}

/* --- CSS for Mobile/Tablet View (RESPONSIVENESS) --- */

@media (max-width: 768px) {
    
    /* 1. Show the hamburger button */
    .hamburger {
        display: block; 
    }
    
    /* 2. Change link layout to vertical column */
    .navbar-links {
        /* Hide the links by default */
        display: none; 
        
        /* Positioning */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Position right below the navbar */
        left: 0;
        
        /* Background for the dropdown menu */
        background-color: #34495e; /* Slightly different shade */
        
        /* Padding and Border */
        padding: 10px 0;
        border-top: 1px solid #4a627a;
    }
    
    .navbar-links.active {
        display: flex; /* Show the links when 'active' class is applied by JS */
    }
    
    /* 3. Adjust mobile list item spacing and alignment */
    .navbar-links li {
        margin: 0;
        text-align: center;
    }
    
    .navbar-links a {
        display: block; /* Make the link fill the whole width */
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-links li:last-child a {
        border-bottom: none;
    }
}


/* --- Hero Section and Text Styling --- */

.hero-section {
    position: relative;
    height: 80vh; /* Viewport height for a large hero section */
    overflow: hidden; /* Important for clean look */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.welcome-content {
    z-index: 10; /* Ensure text is on top of the background */
    color: #ffffff; /* White text for contrast */
    max-width: 800px;
    padding: 20px;
    
    /* Optional: Add a subtle text shadow for better readability over busy backgrounds */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.welcome-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    letter-spacing: 2px;
}

.welcome-content p {
    font-size: 1.4em;
    line-height: 1.5;
}

/* --- Background Slider Styling (The Animation Magic) --- */

.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover; /* Ensures the image covers the entire area */
    background-position: center;
    
    /* Crucial CSS: The transition property creates the smooth fade */
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* 1.5 seconds for the fade */
}

/* Class to make the current image visible */
.background-slider.active {
    opacity: 1;
}

/* --- CTA Section Styling --- */

.cta-section {
    background-color: #3498db; /* Your accent color, bold and inviting */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #e74c3c; /* Contrasting button color (Red/Orange) */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cta-button:hover {
    background-color: #c0392b; /* Darker red on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

/* --- Modal Styling --- */

.modal {
    /* Initially hidden */
    display: none; 
    
    /* Position fixed to cover the whole screen */
    position: fixed; 
    z-index: 10000; /* Very high Z-index to be on top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    
    /* Background: Semi-transparent black overlay */
    background-color: rgba(0, 0, 0, 0.7); 
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* 10% from the top and centered horizontally */
    padding: 30px;
    border-radius: 8px;
    width: 90%; 
    max-width: 400px; /* Maximum width for the modal box */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
}

.modal-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

/* Form Styles */
#join-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
}

.submit-btn {
    width: 100%;
    background-color: #3498db;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Close Button (X icon) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #777;
    text-decoration: none;
    cursor: pointer;
}





/* --- About Us Dives --- */
.about-journey {
    padding: 30px 20px;
    background-color: #fff;
}

.about-dive {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.about-dive.reverse {
    flex-direction: row-reverse;
}

.dive-text {
    flex: 1;
}

.sub-label {
    color: var(--logo-red);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

.dive-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 10px 0 20px;
}

.dive-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* --- The Simple Button --- */
.simple-about-btn {
    background: var(--logo-blue);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.simple-about-btn:hover {
    background: var(--logo-red);
    transform: translateY(-2px);
}




/* =========================
   VIDEO STORY – BRAND COLORS
========================= */

.video-story-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 1rem;
  background-color: var(--light-bg); /* section background */
}

/* Video container with black/dark-slate background and margin */
.video-container {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--dark-slate); /* dark background for video */
  margin: 1rem 0;
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Video caption */
.video-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.85rem;
  color: #ffffff; /* white text for readability */
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* Sound control button */
.sound-control {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  background-color: var(--brand-red);
  color: #fff;
  border-radius: 50%;
  padding: 0.5rem;
  border: none;
  cursor: pointer;
}

/* Text content */
.video-text-content {
  max-width: 520px;
}

.video-text-content .section-title {
  color: var(--dark-slate);
}

.video-text-content .mission-para {
  color: var(--text-gray);
}

/* Donate buttons */
.donate-btn-fixed,
.video-text-content a div {
  background-color: var(--brand-red);
  color: #ffffff;
  border: 1px solid #e63946;
}

/* ===== Tablet & Mobile ===== */
@media (max-width: 900px) {
  .video-story-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .video-text-content {
    max-width: 100%;
    text-align: center;
  }

  .mission-para {
    text-align: left;
  }
}

/* ===== Mobile Optimization ===== */
@media (max-width: 480px) {
  .video-container video {
    max-height: 320px;
  }

  .video-caption {
    font-size: 0.75rem;
    padding: 0.6rem;
  }

  .sound-control span {
    display: none; /* hide tooltip text on very small screens */
  }

  .donate-btn-fixed {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.7rem;
  }

  .donate-btn-fixed span {
    display: none; /* icon-only on small screens */
  }
}




/* =========================
   ABOUT JOURNEY / ABOUT US – OFFICIAL LOOK
========================= */
.about-journey {
  background-color: var(--light-bg);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--dark-slate);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0; /* removed default padding */
}

/* ===== Grid Layout ===== */
.about-dive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; /* minimal gap for professional spacing */
  align-items: center;
}

/* ===== Text Content ===== */
.dive-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sub-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 0;
}

.dive-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  color: var(--dark-slate);
}

.dive-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-gray);
  margin: 0;
}


/* ===== Visual / Image ===== */
.dive-visual {
  display: flex;
  justify-content: flex-end;
}

.rounded-img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* ===== Tablet & Mobile Responsiveness ===== */
@media (max-width: 900px) {
  .about-dive {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  .dive-text {
    align-items: flex-start;
  }

  .dive-text p {
    text-align: left;
  }

  .dive-visual {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .rounded-img {
    max-width: 280px;
  }

  .dive-text h2 {
    font-size: 1.6rem;
  }

  .dive-text p {
    font-size: 0.9rem;
  }

  .simple-about-btn {
    margin-left: 0;
    margin-right: 0;
  }
}




/* =========================
   VALUES SECTION
========================= */
.values-section {
  background-color: var(--light-bg);
  padding: 2rem 1rem; /* minimal padding */
  color: var(--dark-slate);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Grid Layout for Cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; /* minimal gap between cards */
  align-items: start;
}

/* ===== Value Card ===== */
.value-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Icon Box */
.value-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
}

.value-icon-box.blue {
  background-color: var(--dark-slate);
}

.value-icon-box.red {
  background-color: var(--brand-red);
}

/* Card Titles */
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: var(--dark-slate);
}

/* Card Paragraphs */
.value-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0; /* remove extra spacing */
  color: var(--text-gray);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .value-card {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .value-card {
    width: 100%;
    text-align: left;
  }

  .value-icon-box {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .value-card h3 {
    font-size: 1rem;
  }

  .value-card p {
    font-size: 0.85rem;
  }
}






/* --- Mission Statement Section Styling (Reusing previous styles) --- */

.mission-statement {
    background-color: #f4f4f9; 
    padding: 60px 20px;
    text-align: center;
}

.mission-container {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-statement h2 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 40px;
}

/* Blocks for better separation */
.mission-block {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mission-title {
    font-size: 1.6em;
    color: #3498db;
    margin-bottom: 15px;
}

.mission-text {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.primary-mission {
    font-weight: bold;
    color: #333;
}

.secondary-vision {
    font-style: italic;
}

/* --- HIDDEN CONTENT STYLES --- */
.hidden-content {
    /* Initially hide the content */
    max-height: 0; 
    overflow: hidden;
    
    /* Smooth transition for the height/padding */
    transition: max-height 0.7s ease-in-out, padding 0.5s ease; 
    padding: 0 15px; 
    opacity: 0; /* Also fade the text */
}

/* Class applied by JavaScript to show the content */
.hidden-content.open {
    max-height: 500px; /* Needs to be larger than content height */
    padding: 15px;
    opacity: 1;
}

.detail-text {
    font-size: 1em;
    color: #666;
    border-left: 3px solid #ccc;
    padding-left: 15px;
    margin-top: 10px;
    text-align: left;
}

/* --- Toggle Button Styles --- */
.toggle-btn {
    background-color: #2c3e50; /* Dark button matching navbar */
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.toggle-btn:hover {
    background-color: #34495e;
}


/* --- Footer Structure and Background --- */

.main-footer {
    background-color: #2c3e50; /* Dark blue/gray background (Matches Navbar) */
    color: #ecf0f1; /* Light text color */
    padding-top: 50px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex; /* Use flexbox for columns */
    flex-wrap: wrap; /* Allows columns to wrap on smaller screens */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.footer-column {
    width: 30%; /* Gives three columns roughly equal space */
    min-width: 250px; /* Prevents columns from getting too narrow */
    margin-bottom: 30px;
}

/* --- Headings and Links --- */

.footer-column h3 {
    font-size: 1.3em;
    color: #3498db; /* Accent color */
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.4); /* Subtle underline */
    padding-bottom: 5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #3498db;
}

/* --- Newsletter Form Styling --- */

.newsletter-form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 65%;
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #2980b9;
}

/* --- Social Media Icons --- */

.social-icons {
    margin-top: 15px;
    margin-bottom: 20px;
}

.icon {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #34495e; /* Darker background for the icons */
    color: white;
    text-align: center;
    line-height: 35px; /* Vertically center the text/icon */
    border-radius: 50%;
    margin-right: 10px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s, transform 0.2s;
}

.icon:hover {
    background-color: #e74c3c; /* Red/Orange contrast color on hover */
    transform: scale(1.1);
}

.legal-links a {
    margin-right: 10px;
    font-size: 0.9em;
}

/* --- Footer Bottom (Copyright) --- */

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    background-color: #233140; /* Slightly darker bottom bar */
    border-top: 1px solid #3c546b;
}

/* --- Basic Responsiveness --- */
@media (max-width: 800px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-column {
        width: 100%;
        text-align: center;
        min-width: auto;
    }
    .footer-column h3 {
        padding-top: 20px;
        border: none;
    }
}




/* Add this to the very top of your CSS file (style.css) */
html {
    scroll-behavior: smooth;
}

/* --- Section Header and Container --- */

.team-profiles-section {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Light background for contrast */
    text-align: center;
}

.team-header {
    margin-bottom: 50px;
}

.team-header h2 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-header p {
    font-size: 1.1em;
    color: #666;
}

/* --- Team Grid Layout (Uses CSS Grid) --- */

.team-grid {
    display: grid;
    /* 3 columns default, will adjust with media query */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Individual Team Member Card --- */

.team-member {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Subtle hover effect for the card */
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid #3498db; /* Blue accent border */
    transition: border-color 0.3s;
}

.team-member:hover .profile-photo {
    border-color: #e74c3c; /* Change border on hover */
}

.team-member h3 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.member-role {
    color: #3498db;
    font-weight: bold;
    margin-bottom: 15px;
}

.short-bio {
    color: #777;
    font-style: italic;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.bio-btn {
    background-color: #34495e;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bio-btn:hover {
    background-color: #5d6d7e;
}

/* --- Modal Styling (Similar to CTA Modal) --- */

.modal {
    display: none; 
    position: fixed; 
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8); 
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%; 
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    text-align: left;
}

.modal-content h3 {
    color: #2c3e50;
    font-size: 2em;
}

.modal-role {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-social a {
    color: #3498db;
    margin-right: 15px;
    text-decoration: none;
}

/* --- General Section Styling (Same as before) --- */
.services-section { padding: 80px 20px; background-color: #ffffff; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5em; color: #2c3e50; margin-bottom: 15px; }
/* --- Tab Navigation Buttons Styling (Same as before) --- */
.services-tabs { display: flex; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; gap: 10px; }
.tab-btn { padding: 12px 25px; background-color: transparent; border: 2px solid #3498db; color: #3498db; font-size: 1.1em; font-weight: 600; cursor: pointer; border-radius: 30px; transition: all 0.3s ease; }
.tab-btn:hover { background-color: rgba(52, 152, 219, 0.1); }
.tab-btn.active { background-color: #3498db; color: white; }

/* --- Service Panel & Item Layout --- */
.service-panel { display: none; }
.service-panel.active { display: block; }
.service-item { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid #eee; }
.service-item:last-child { border-bottom: none; }
.service-item.reverse { flex-direction: row-reverse; }

/* --- NEW: IMAGE ANIMATION STYLES --- */

/* 1. The Wrapper container defines the boundary */
.image-wrapper {
    width: 45%; 
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    /* CRITICAL: This hides the parts of the image that zoom outside the box */
    overflow: hidden; 
    /* Ensures flexbox doesn't shrink the image container */
    flex-shrink: 0; 
}

/* 2. The Image itself animates inside the wrapper */
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills wrapper without stretching */
    
    /* The Animation: name, duration, timing, infinite loop, alternate direction */
    animation: slowZoom 15s ease-in-out infinite alternate;
}

/* 3. Define the Keyframes for the slow zoom */
@keyframes slowZoom {
    from {
        transform: scale(1); /* Start at normal size */
    }
    to {
        transform: scale(1.15); /* Zoom in by 15% */
    }
}

/* --- Text Styling (Same as before) --- */
.service-text { width: 50%; }
.service-text h3 { font-size: 1.8em; color: #2c3e50; margin-bottom: 15px; }
.service-text p { font-size: 1.15em; line-height: 1.6; color: #555; }

/* --- Simple Fade Animation for switching tabs (Same as before) --- */
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Updated Responsiveness --- */
@media (max-width: 768px) {
    .service-item, .service-item.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    /* Update: Target the wrapper now instead of just img */
    .image-wrapper {
        width: 100%; /* Full width on mobile */
        height: auto;
        max-height: 250px;
    }
    
    .service-text { width: 100%; }
    .tab-btn { flex: 1 1 auto; text-align: center; }
}

/* --- Container Styles --- */
.social-wrapper {
    text-align: center;
    padding: 50px 20px;
    background-color: #1a252f; /* Slightly darker to make brand colors pop */
    color: white;
}

.social-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px; /* Reduced gap for a tighter cluster */
}

/* --- Base Button Style (Compact & Static Colors) --- */
.social-btn {
    display: flex;
    align-items: center;
    padding: 6px 14px; /* Even smaller padding to shorten length */
    text-decoration: none;
    border-radius: 50px;
    color: white;
    font-family: 'Segoe UI', Roboto, sans-serif;
    
    /* Subtle 3D shadow */
    box-shadow: 0 3px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    
    /* Entrance Animation state */
    opacity: 0;
    transform: translateY(10px);
}

/* --- Resized Icon and Text --- */
.icon-part {
    font-size: 1.1em; /* Slightly smaller icon */
    margin-right: 8px; /* Tighter margin */
}

.platform-name {
    font-size: 0.85em; /* Smaller font size */
    font-weight: 600;
    letter-spacing: 0.1px; /* Tighter letters to shorten container */
}

/* --- Official Brand Colors (Static) --- */

.facebook { background-color: #1877F2; }

.tiktok { 
    background-color: #000000; 
    border: 1px solid #333; /* Slight border to define the black button */
}

.whatsapp { background-color: #25D366; }

.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
}

.youtube { background-color: #FF0000; }

/* --- Interaction Effects (Brightness & Lift) --- */

.social-btn:hover {
    transform: translateY(-3px);
    /* Instead of changing color, we make it slightly brighter on hover */
    filter: brightness(1.1); 
    box-shadow: 0 5px 10px rgba(0,0,0,0.3), 0 3px 0 rgba(0,0,0,0.2);
}

.social-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
    filter: brightness(0.9);
}



.glass-input-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px;
    border-radius: 50px;
    display: flex;
}

.footer-form input {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    outline: none;
    flex-grow: 1;
}

.footer-form button {
    background: var(--logo-red);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}


/* --- Footer Container --- */
.modern-footer {
    position: relative;
    background: linear-gradient(180deg, #2c3e50 0%, #000000 100%);
    color: #ffffff;
    padding: 0;
    margin-top: 100px; /* Space for the wave */
}

/* --- The SVG Wave --- */
.footer-wave {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.footer-wave .shape-fill {
    fill: #2c3e50; /* Must match the top color of the gradient */
}

/* --- Layout Grid --- */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

/* --- Typography --- */
.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-logo span {
    color: #3498db;
    font-weight: 300;
}

.brand-col p {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Animated underline for headers */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* --- Glassmorphism Newsletter Box --- */
.glass-input-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
}

.footer-form {
    display: flex;
    margin-top: 15px;
}

.footer-form input {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 10px 15px;
    border-radius: 5px 0 0 5px;
    color: white;
    width: 100%;
}

.footer-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-form button:hover {
    background: #2980b9;
}

/* --- Bottom Bar --- */
.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-form {
        flex-direction: column;
        gap: 10px;
    }
    .footer-form input, .footer-form button {
        border-radius: 5px;
    }
}

/* --- Footer Layout --- */
.modern-footer {
    background: linear-gradient(180deg, #1a252f 0%, #000000 100%);
    color: white;
    padding-top: 100px;
    position: relative;
    margin-top: 80px;
}

.footer-wave { position: absolute; top: -100px; width: 100%; line-height: 0; }
.footer-wave .shape-fill { fill: #1a252f; }

.footer-content { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 40px; }

/* --- COMPACT SOCIAL BUTTONS --- */
.social-dock {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Tight gap */
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    padding: 5px 12px; /* Very compact padding */
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-size: 0.8rem; /* Smaller font */
    font-weight: 600;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.social-btn i { margin-right: 6px; font-size: 1rem; }
.social-btn span { display: inline-block; }

/* Original Brand Colors */
.facebook { background-color: #1877F2; }
.tiktok { background-color: #000000; border: 1px solid #444; }
.whatsapp { background-color: #25D366; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc23b3, #4c5fd7); }
.youtube { background-color: #FF0000; }

.social-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.2); /* Glow effect on hover */
}

/* --- Newsletter & Typography --- */
.footer-col h4 { margin-bottom: 20px; color: #3498db; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li a { color: #bdc3c7; text-decoration: none; font-size: 0.9rem; }

.glass-input-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.footer-form { display: flex; gap: 5px; }
.footer-form input { background: rgba(0,0,0,0.3); border: none; padding: 8px; color: white; border-radius: 4px; width: 100%; }
.footer-form button { background: #3498db; border: none; color: white; padding: 8px 15px; border-radius: 4px; cursor: pointer; }

.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; color: #7f8c8d; }

/* Responsive */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-dock { justify-content: center; }
}






/* --- Testimonials Styles --- */
.testimonials-section {
    background-color: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    display: none; /* Hidden by default */
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.8s ease;
}

.testimonial-card.active { display: block; }

.testimonial-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-name {
    color: var(--logo-red);
    font-weight: 700;
}

.testimonial-dots { margin-top: 20px; }
.dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}
.dot.active { background-color: var(--logo-blue); }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}






/* Modal Background */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

/* Modal Box */
.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-btn {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.submit-form-btn {
    width: 100%;
    background: var(--logo-red);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.submit-form-btn:hover {
    background: #c02d38;
}