/* =======================
   General Body and Font
======================= */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: white; /* Light background */
    color: #333;
}
  @media (max-width: 768px) {
    .hide-on-mobile {
      display: none !important;
    }
  }
  
 .donation-radio-button .active {
  background-color: #4338ca; /* indigo-700 like your current active */
  color: #fff;
  border-color: #4338ca;
}
.donation-radio-button .active span { color: #fff; }
.donation-radio-button span {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}
/* --------------------

    /* Custom overlay */
        .custom-modal {
            display: flex; /* Open by default */
            position: fixed;
            inset: 0;
            background-color: rgba(0,0,0,0.7);
            z-index: 1050;
            justify-content: center;
            align-items: center;
        }

        .custom-modal .modal-content {
            border-radius: 1rem;
            max-width: 600px;
            width: 100%;
            overflow: hidden;
        }

        .custom-modal img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
/* =======================
   Cards & Print Media
======================= */
.print-media-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #ddd;
    width: 320px; /* adjust if needed */
    flex-shrink: 0; /* Prevent shrinking in flexbox */
}

/* =======================
   Scrolling Animations
======================= */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite; /* unified to 20s */
    white-space: nowrap; /* Prevents wrapping */
    align-items: center;
}
.animate-scroll:hover {
    animation-play-state: paused;
}

/* Alternating image vertical position */
.img-offset-up { transform: translateY(-1rem); }
.img-offset-down { transform: translateY(1rem); }

/* =======================
   Flip Card
======================= */
.flip-card { perspective: 1000px; }
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.5rem;
}
.flip-card-back { transform: rotateY(180deg); }

/* =======================
   Image Frames
======================= */
.image-frame {
    background: #FFDB58; /* Mustard (section bg color) */
    padding: 2px; /* 1–2 mm gap */
}
.image-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}
.card-text { padding: 15px; }
.card-text h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* =======================
   Laptop Header
======================= */
.laptop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .laptop-header { display: none; }
}

/* =======================
   Scrollbar Hiding
======================= */
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* =======================
   Carousel Cards
======================= */
.carousel-card {
    flex-shrink: 0;
    width: 320px;
}
#digitalMediaSlider .carousel-card {
    width: 384px; /* w-96 */
}

/* =======================
   Testimonials
======================= */
#testimonials {
    background: #000;
    color: #fff;
    padding: 60px 0;
}
#testimonials h2 {
    color: #ff69b4; /* pink heading */
    font-weight: bold;
}
#testimonials h3 { color: #ffc107; }
#testimonials p {
    font-size: 1.1rem;
    line-height: 1.6;
}
.carousel-indicators [data-bs-target] {
    background-color: #ffc107; /* yellow dots */
}

/* =======================
   Hero Section
======================= */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/volunteer-bg.jpg') center/cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    animation: fadeIn 2s ease-in;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slogan {
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
    margin-top: 20px;
}
.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

/* =======================
   Volunteer Video Section
======================= */
.volunteer-video-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 60px auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.volunteer-video-content {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}
.volunteer-video-content h2 { font-size: 28px; margin-bottom: 15px; }
.volunteer-video-content p { margin-bottom: 15px; color: #333; }
.volunteer-video-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.volunteer-video-content ul li { margin-bottom: 8px; color: #555; }
.watch-video-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f8c301;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}
.watch-video-btn:hover { background: #e0b200; }
.volunteer-video-bg {
    flex: 1;
    min-width: 300px;
    background: url('/images/yellow-bg.png') center/cover no-repeat;
    position: relative;
    height: 300px;
}
.play-button {
    font-size: 48px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    cursor: pointer;
    transition: background 0.3s;
}
.play-button:hover { background: rgba(0,0,0,0.8); }

/* =======================
   Modal Section
======================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-content {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    max-width: 28rem;
    width: 100%;
    margin: 0 1rem;
    position: relative;
}
.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #6b7280;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close-button:hover { color: #4b5563; }
.modal-form-section {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-input-group {
    display: flex;
    flex-direction: column;
}
.modal-input-group label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.modal-input-group input[type="text"],
.modal-input-group input[type="email"],
.modal-input-group input[type="tel"],
.modal-input-group input[type="number"],
.modal-input-group input[type="date"],
.modal-input-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-input-group input:focus,
.modal-input-group textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5);
}
.modal-submit-button {
    background-color: #10b981;
    color: #fff;
    padding: 0.75rem;
    border-radius: 0.375rem;
    width: 100%;
    font-weight: 600;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
}
.modal-submit-button:hover { background-color: #059669; }
.hidden { display: none !important; }

/* =======================
   Header & Navigation
======================= */
.top-bar-bg { background-color: #040404; border-bottom: 1px solid #e0e0e0; }
.main-header-bg { background-color: #ffffff; }
.indepth-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    position: relative;
}
.indepth-logo-text {
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
    color: #333;
}
.indepth-tagline {
    font-size: 0.6rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.1;
}
.custom-search-input {
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    padding-left: 1rem;
    padding-right: 2.5rem;
    outline: none;
    width: 100%;
    max-width: 150px;
    font-size: 0.875rem;
}
.search-icon-wrapper {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}
.donate-button {
    background-color: #ffd700;
    color: #333;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
.donate-button:hover { background-color: #ffc400; }
.nav-link {
    padding: 0.5rem 0.75rem 12px; /* merged padding-bottom */
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}
.nav-link:hover { color: #000; }


/* =======================
   Hero Title
======================= */
.hero-title {
    font-family: 'Hey-October', cursive;
    text-transform: capitalize;
    font-weight: normal !important;
    font-size: 45px !important;
    color: #ffd700;
}

/* =======================
   Banner Section
======================= */
.banner-container { min-height: 400px; overflow: hidden; }
.yellow-blob-carousel {
    background-color: #ffd700;
    transform: skewX(-10deg);
    transform-origin: bottom right;
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}
.happy-text {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1em;
    position: relative;
}
.happy-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 2px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q25,0 50,5 T100,5" stroke="%23ffd700" fill="none"/></svg>');
    background-repeat: repeat-x;
    background-size: 10px 5px;
    transform: translateY(5px);
}
.help-button {
    background-color: #ffd700;
    color: #333;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}
.help-button:hover { background-color: #ffc400; }
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    color: #666;
    font-size: 0.85rem;
}
.scroll-line {
    width: 2px;
    height: 30px;
    background-color: #ccc;
    margin-bottom: 0.5rem;
}
.scroll-circle {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
}

/* =======================
   Carousel General
======================= */
.carousel-container { position: relative; overflow: hidden; }
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-dots { z-index: 20; }
.carousel-dot { transition: opacity 0.3s ease; }

/* Blog carousel */
.blog-carousel .carousel-track {
    display: flex;
    padding: 1rem 0;
}
.blog-carousel .carousel-slide {
    width: calc(100% / 3 - 2rem);
    margin: 0 1rem;
    box-sizing: border-box;
    object-fit: contain;
}
@media (max-width: 1024px) {
    .blog-carousel .carousel-slide { width: calc(100% / 2 - 2rem); }
}
@media (max-width: 767px) {
    .blog-carousel .carousel-slide { width: calc(100% - 2rem); }
}

/* Blog card */
.blog-card {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}
.blog-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-card-content { padding: 1.25rem; flex-grow: 1; }
.blog-card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #333;
}
.blog-card-snippet {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
}
.blog-card-link {
    display: inline-block;
    color: #3f51b5;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.blog-card-link:hover { color: #ffd700; }

/* =======================
   Footer Section
======================= */
.top-contact-section { background-color: #f7f7f7; }
.contact-box {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    color: #ffffff;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    clip-path: polygon(
        0% 10%, 10% 5%, 20% 10%, 30% 5%, 40% 10%, 50% 5%, 
        60% 10%, 70% 5%, 80% 10%, 90% 5%, 100% 10%, 
        100% 90%, 90% 95%, 80% 90%, 70% 95%, 60% 90%, 
        50% 95%, 40% 90%, 30% 95%, 20% 90%, 10% 95%, 0% 90%
    );
    position: relative;
}
.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}
.contact-box-icon { font-size: 2.25rem; margin-right: 1rem; }
.contact-box-text { font-size: 1rem; }
.contact-box-text h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}
.contact-box-text p {
    color: #f0f0f0;
    font-size: 0.875rem;
    margin-bottom: 0;
}
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0 20px;
}
footer h5 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffc107;
}
footer a {
    color: #bbb;
    text-decoration: none;
}
footer a:hover { color: #ffc107; }
footer .social-icons a {
    color: #fff;
    margin-right: 15px;
    font-size: 18px;
    transition: color 0.3s;
}
footer .social-icons a:hover { color: #ffc107; }
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}
