/* Top Header - Common */

*, h1, p {
    padding: 0;
    margin: 0;
}

body {
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
}



/* Carousel Section */
.img-carousel-section {
    text-align: center;
    padding: 40px 16px;
    padding-bottom: 0;
}

.carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.image-container {
    position: relative;
    width: 100%;
    height: 600px;            
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;          
    object-position: center;    
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
}

.caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    padding: 0 32px;
    color: #fff;
    text-align: left;
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.image-container:hover .caption {
    transform: translateY(0);
    opacity: 1;
}

.caption h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.caption p {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.97);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.dots-container {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #99CA3B;
    transform: scale(1.2);
    border-color: #98ca3b73;
}

.dot:hover {
    border-color: #00ADEF;
    background: #00abef4d;
    transform: scale(1.1);
}

/* Our Focus Section */
.our-focus-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.ourfocus-content-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.ourfocus-content-container h1 {
    font-size: 34px;
    color: #00ADEF;
}

.paragraphs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.paragraphs p {
    font-size: 16px;
}

.ourfocus-image-cont {
    position: relative;
    height: 400px; 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.focus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.focus-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%; 
    background: linear-gradient(transparent, #00ADEF);
    pointer-events: none;
}

.focus-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.focus-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.focus-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}



/* event section */
/* Events Section */
.events-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 16px;
}

.events-content {
    text-align: center;
    margin-bottom: 48px;
}

.events-content h2 {
    font-size: 34px;
    color: #00ADEF;
    margin-bottom: 12px;
}

.events-content p {
    font-size: 16px;
    color: #666;
    max-width: 650px;
    margin: 0 auto;
}

/* Video Grid */
.events-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Video Card */
.event-video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.event-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay Title */
.event-video-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    background: linear-gradient(
        to top,
        rgba(0, 173, 239, 0.9),
        transparent
    );
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .events-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-video-grid {
        grid-template-columns: 1fr;
    }
}


/* Stories Section */
.stories-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 16px;
}

.stories-content {
    text-align: center;
    margin-bottom: 48px;
}

.stories-content h2 {
    font-size: 34px;
    color: #00ADEF;
    margin-bottom: 12px;
}

.stories-content p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.story-card {
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-card:hover .story-img {
    transform: scale(1.05);
}

.story-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 0%, rgba(0, 173, 239, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.story-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.story-card:hover .story-info {
    opacity: 1;
    transform: translateY(0);
}

.story-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.story-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.stories-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.stories-prev,
.stories-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #99CA3B;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stories-prev:hover,
.stories-next:hover {
    background: #80B732;
    transform: scale(1.1);
}

/* Responsive Media Queries */
@media (min-width: 1100px) {
    .our-focus-section {
        flex-direction: row;
        padding: 40px 16px;
    }
    .ourfocus-image-cont {
        height: 300px;
        width: 300px;
    }
    .ourfocus-content-container {
        align-items: start;
    }
    .paragraphs {
        text-align: left;
    }
}

@media (max-width: 900px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .story-card {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .image-container {
        height: 420px;
    }
    .caption {
        bottom: 24px;
        padding: 0 20px;
    }
    .caption h2 {
        font-size: 1.5rem;
    }
    .caption p {
        font-size: 0.9rem;
    }
    .dots-container {
        bottom: 120px;
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
    .ourfocus-image-cont {
        height: 300px;
    }
    .focus-text h2 {
        font-size: 1.5rem;
    }
    .focus-text p {
        font-size: 1rem;
    }
    .grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }
    .story-card {
        height: 260px;
    }
}

/* ================= EVENTS TOGGLE BUTTON ================= */
.events-toggle-wrapper {
  text-align: center;
  margin-top: 30px;
}

.events-toggle-btn {
  background: #00ADEF;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.events-toggle-btn:hover {
  background: #0095cc;
  transform: translateY(-2px);
}