/* ===================================
   Custom CSS for Samarpan Trust
   Color Scheme: Orange (#FF6B35) and Red (#CC1A3F)
   =================================== */

:root {
    --primary-color: #FF6B35;
    --secondary-color: #CC1A3F;
    --light-color: #FFE5D9;
    --dark-color: #1a1a1a;
    --text-color: #333333;
    --border-color: #E8E8E8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Navbar Styles
   =================================== */

.navbar {
    background: #fccda5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 20px;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 85px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.brand-text {
    color: #d71921;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--primary-color) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #FFE5D9;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: white !important;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #FAFAFA 0%, #F0F0F0 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    line-height: 1.5;
    padding: 10px 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(204, 26, 63, 0.3);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(204, 26, 63, 0.4);
}

.hero-buttons .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-buttons .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s ease-out;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(204, 26, 63, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Section Titles
   =================================== */

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    background: #FFFFFF;
    padding: 5rem 0;
}

.about-card {
    background: linear-gradient(135deg, #F9F9F9 0%, #FFFFFF 100%);
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(204, 26, 63, 0.1);
}

.about-card h3 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    color: #555555;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===================================
   Activities Section
   =================================== */

.activities-section {
    background: linear-gradient(135deg, #FAFAFA 0%, #F5F5F5 100%);
    padding: 5rem 0;
}

.activity-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.activity-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.activity-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.activity-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   Carousel Section
   =================================== */

.carousel-section {
    background: white;
    padding: 5rem 0;
}

.event-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: #F9F9F9;
    border-radius: 10px;
    overflow: hidden;
}

.event-image {
    flex: 0 0 40%;
}

.event-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.event-item:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    flex: 1;
    padding: 1rem 0;
}

.event-content h5 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(204, 26, 63, 0.8);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

#eventCarousel:hover .carousel-control-prev,
#eventCarousel:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--secondary-color);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary-color);
    opacity: 0.5;
}

.carousel-indicators .active {
    background-color: var(--secondary-color);
    opacity: 1;
}

/* ===================================
   Call to Action Section
   =================================== */

.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-light {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background: white;
    padding: 5rem 0;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #F9F9F9 0%, #FFFFFF 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.contact-card h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-card p {
    color: #666;
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* ===================================
   Contact Form
   =================================== */

#contactForm .form-label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#contactForm .form-control {
    border: 2px solid var(--border-color);
    border-radius: 5px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

#contactForm .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    outline: none;
}

#contactForm .form-control::placeholder {
    color: #999;
}

#contactForm .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#contactForm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 26, 63, 0.3);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 20px 1rem;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.footer-divider {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    height: 1px;
    margin: 2rem 0;
}

.footer-bottom {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   Modal Styles
   =================================== */

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    border-radius: 10px 10px 0 0;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 2rem;
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-img {
        max-width: 300px;
        margin-top: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-card {
        margin-bottom: 1.5rem;
    }

    .event-item {
        flex-direction: column;
        gap: 1rem;
    }

    .event-image {
        flex: 1;
        width: 100%;
    }

    .event-image img {
        height: 250px;
    }

    .event-content {
        padding: 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .contact-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 35px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .activity-card {
        padding: 1.5rem 1rem;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .event-content h5 {
        font-size: 1.1rem;
    }

    .event-content p {
        font-size: 0.9rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%) !important;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    transform: translateY(-2px);
}

/* Smooth scroll padding for fixed navbar */
:target {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}


/* ...existing code... */

/* ==================== About Page Styles ==================== */

/* About Header */
.about-header {
    background: linear-gradient(135deg, #d72b3d 0%, #f5821f 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.about-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.about-header .header-content {
    position: relative;
    z-index: 2;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Introduction Section */
.intro-section {
    background: #fff;
    padding: 80px 0 !important;
}

.section-heading {
    font-size: 2.5rem;
    color: #da303c;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #da303c 0%, #f5821f 100%);
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mission & Vision Section */
.mission-vision-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f5 100%);
    padding: 80px 0 !important;
}

.mission-box, .vision-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #da303c;
    position: relative;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(102, 126, 234, 0.15);
}

.mission-icon, .vision-icon {
    font-size: 2.5rem;
    color: #da303c;
}

.mission-box h3, .vision-box h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.mission-box p, .vision-box p {
    line-height: 1.8;
    color: #666;
    font-size: 1rem;
}

/* Team Section */
.team-section {
    padding: 80px 0 !important;
}

.trustees-section {
    background: white;
}

.committee-section {
    background: #f8f9fa;
}

.ex-committee-section {
    background: white;
}

.section-title {
    text-align: center;
}

.section-title p {
    color: #777;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Team Card */
.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15);
}

.team-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-info {
    background: white;
    text-align: center;
}

.team-name {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
}

.designation {
    color: #da303c;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
}

.bio {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-header {
        padding: 80px 0;
        margin-top: 60px;
    }

    .about-header h1 {
        font-size: 2rem;
    }

    .about-header p {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-heading::after {
        bottom: -12px;
        width: 60px;
        height: 3px;
    }

    .intro-content p {
        font-size: 1rem;
    }

    .mission-box, .vision-box {
        padding: 30px;
        margin-bottom: 20px;
    }

    .mission-icon, .vision-icon {
        font-size: 2rem;
    }

    .team-image-wrapper {
        height: 250px;
    }

    .team-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .about-header {
        padding: 60px 0;
    }

    .about-header h1 {
        font-size: 1.5rem;
    }

    .about-header p {
        font-size: 1rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .section-heading::after {
        bottom: -10px;
        width: 50px;
        height: 2px;
    }

    .intro-section,
    .mission-vision-section,
    .team-section {
        padding: 60px 0 !important;
    }

    .mission-box, .vision-box {
        padding: 25px;
    }

    .mission-box h3, .vision-box h3 {
        font-size: 1.3rem;
    }

    .team-image-wrapper {
        height: 200px;
    }

    .team-name {
        font-size: 1.1rem;
    }

    .designation {
        font-size: 0.85rem;
        padding: 4px 8px;
    }

    .bio {
        font-size: 0.85rem;
    }
}

/* ==================== Activities Page Styles ==================== */

/* Activities Header */
.activities-header {
    background: linear-gradient(135deg, #da303c 0%, #f5821f 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.activities-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.activities-header .header-content {
    position: relative;
    z-index: 2;
}

.activities-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.activities-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Events Section */
.events-section {
    padding: 80px 0;
}

.current-events-section {
    background: #fff;
}

.forthcoming-events-section {
    background: #f8f9fa;
}

.past-events-section {
    background: #fff;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(218, 48, 60, 0.15);
}

.event-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image-wrapper img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.badge-current, .badge-upcoming, .badge-past {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
}

.badge-current {
    background: linear-gradient(135deg, #FF6B35 0%, #FFB347 100%);
    color: white;
}

.badge-upcoming {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    color: white;
}

.badge-past {
    background: linear-gradient(135deg, #9C27B0 0%, #BA68C8 100%);
    color: white;
}

.event-info {
    background: white;
    text-align: left;
}

.event-name {
    color: #333;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.event-details {
    border-left: 3px solid #FF6B35;
    padding-left: 15px;
}

.event-date, .event-venue {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.event-date i, .event-venue i {
    color: #FF6B35;
    width: 20px;
}

.event-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #777;
}

/* Event Card Buttons */
.event-card .btn-primary {
    background: linear-gradient(135deg, #CC1A3F 0%, #FF6B35 100%);
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.event-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 26, 63, 0.3);
}

.event-card .btn-outline-primary {
    color: #FF6B35;
    border-color: #FF6B35;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.event-card .btn-outline-primary:hover {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: white;
}

.event-card .btn-secondary {
    background: #6c757d;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.event-card .btn-secondary:hover {
    background: #5a6268;
}

/* Responsive Design for Activities */
@media (max-width: 768px) {
    .activities-header {
        padding: 80px 0;
        margin-top: 60px;
    }

    .activities-header h1 {
        font-size: 2rem;
    }

    .activities-header p {
        font-size: 1.1rem;
    }

    .events-section {
        padding: 60px 0;
    }

    .event-image-wrapper {
        height: 200px;
    }

    .event-name {
        font-size: 1.1rem;
    }

    .event-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .activities-header {
        padding: 60px 0;
    }

    .activities-header h1 {
        font-size: 1.5rem;
    }

    .activities-header p {
        font-size: 1rem;
    }

    .events-section {
        padding: 40px 0;
    }

    .event-card {
        margin-bottom: 20px;
    }

    .event-image-wrapper {
        height: 180px;
    }

    .event-info {
        padding: 15px !important;
    }

    .event-name {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .event-date, .event-venue {
        font-size: 0.85rem;
    }

    .event-description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .badge-current, .badge-upcoming, .badge-past {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ==================== Gallery Page Styles ==================== */

/* Gallery Header */
.gallery-header {
    background: linear-gradient(135deg, #da303c 0%, #f5821f 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.gallery-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.gallery-header .header-content {
    position: relative;
    z-index: 2;
}

.gallery-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gallery-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
    padding: 80px 0;
}

/* Filter Buttons */
.gallery-filters {
    text-align: center;
}

.filter-btn {
    background: white;
    border: 2px solid #FF6B35;
    color: #FF6B35;
    padding: 10px 20px;
    margin: 0 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #CC1A3F 0%, #FF6B35 100%);
    border-color: #CC1A3F;
    color: white;
    box-shadow: 0 8px 20px rgba(204, 26, 63, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.gallery-item.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(204, 26, 63, 0.2);
}

/* Gallery Image Wrapper */
.gallery-img-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Gallery View Button */
.btn-gallery-view {
    background: linear-gradient(135deg, #FF6B35 0%, #FFB347 100%);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-gallery-view:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #CC1A3F 0%, #FF6B35 100%);
    box-shadow: 0 8px 25px rgba(204, 26, 63, 0.4);
}

/* Gallery Modal Styles */
.gallery-modal-dialog {
    background: black;
    margin: 0;
    padding: 0;
}

.gallery-modal-content {
    background: #1a1a1a;
    border: none;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.gallery-modal-header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid #FF6B35;
    padding: 20px;
}

.gallery-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
    letter-spacing: 1px;
}

.gallery-modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-modal-header .btn-close:hover {
    opacity: 1;
}

/* Modal Body */
.gallery-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.gallery-modal-image-container {
    max-width: 90%;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Modal Info */
.gallery-modal-info {
    text-align: center;
    color: white;
    max-width: 600px;
}

.gallery-modal-info p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

/* Modal Footer */
.gallery-modal-footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #FF6B35;
    padding: 20px;
}

.gallery-modal-footer .btn {
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 20px;
}

.gallery-modal-footer .btn-secondary {
    background: linear-gradient(135deg, #FF6B35 0%, #CC1A3F 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.gallery-modal-footer .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Responsive Design for Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .gallery-img-wrapper {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .gallery-header {
        padding: 80px 0;
        margin-top: 60px;
    }

    .gallery-header h1 {
        font-size: 2rem;
    }

    .gallery-header p {
        font-size: 1.1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-img-wrapper {
        height: 200px;
    }

    .filter-btn {
        padding: 8px 16px;
        margin: 0 6px 12px;
        font-size: 0.85rem;
    }

    .gallery-modal-body {
        padding: 20px 10px;
    }

    .gallery-modal-image-container {
        max-height: 50vh;
    }

    .gallery-modal-image {
        max-height: 50vh;
    }

    .gallery-modal-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .gallery-header {
        padding: 60px 0;
    }

    .gallery-header h1 {
        font-size: 1.5rem;
    }

    .gallery-header p {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 40px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }

    .gallery-img-wrapper {
        height: 150px;
    }

    .filter-btn {
        padding: 6px 12px;
        margin: 0 4px 10px;
        font-size: 0.75rem;
    }

    .filter-btn i {
        margin-right: 4px;
    }

    .btn-gallery-view {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .gallery-modal-header .modal-title {
        font-size: 1.2rem;
    }

    .gallery-modal-body {
        padding: 15px;
    }

    .gallery-modal-image-container {
        max-height: 40vh;
    }

    .gallery-modal-image {
        max-height: 40vh;
    }

    .gallery-modal-info p {
        font-size: 0.85rem;
    }
}

/* ==================== Contact Page Styles ==================== */

/* Contact Header */
.contact-header {
    background: linear-gradient(135deg, #da303c 0%, #f5821f 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.contact-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.contact-header .header-content {
    position: relative;
    z-index: 2;
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.contact-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Contact Info Section */
.contact-info-section {
    background: white;
    padding: 80px 0;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #FF6B35;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.2);
}

.contact-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF6B35 0%, #CC1A3F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
    transform: scale(1.1) rotate(10deg);
}

.contact-info-content h5 {
    color: #333;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-info-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.contact-info-content a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info-content a:hover {
    color: #CC1A3F;
}

.contact-info-content .text-muted {
    font-size: 0.85rem !important;
    display: block;
    margin-top: 8px;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f1f5 100%);
    padding: 80px 0;
}

.contact-form-wrapper {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-header p {
    font-size: 1.05rem;
    color: #666;
}

/* Contact Form Styles */
.contact-form .form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.contact-form .form-label .text-danger {
    color: #FF6B35;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #999;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.contact-form .form-select {
    cursor: pointer;
}

.contact-form .invalid-feedback {
    display: block;
    color: #FF6B35;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Form Checkbox */
.contact-form .form-check {
    margin: 0;
}

.contact-form .form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #FF6B35;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .form-check-input:checked {
    background-color: #FF6B35;
    border-color: #FF6B35;
}

.contact-form .form-check-label {
    color: #333;
    font-size: 0.95rem;
    margin-left: 8px;
    cursor: pointer;
}

/* Form Buttons */
.contact-form .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #CC1A3F 0%, #FF6B35 100%);
    border: none;
    color: white;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.contact-form .btn-outline-secondary {
    color: #666;
    border-color: #ddd;
}

.contact-form .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #FF6B35;
    color: #FF6B35;
}

/* Alert Messages */
.contact-form .alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
}

.contact-form .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
}

.contact-form .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 5px solid #dc3545;
}

/* Map Section */
.contact-map-section {
    background: white;
    padding: 80px 0;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    height: auto;
}

.map-container iframe {
    border-radius: 12px;
}

/* Responsive Design for Contact */
@media (max-width: 768px) {
    .contact-header {
        padding: 80px 0;
        margin-top: 60px;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1.1rem;
    }

    .contact-info-section {
        padding: 60px 0;
    }

    .contact-info-card {
        padding: 25px;
        margin-bottom: 20px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-form .form-label {
        font-size: 0.9rem;
    }

    .contact-form .form-control,
    .contact-form .form-select {
        font-size: 0.9rem;
    }

    .contact-form .btn {
        margin-bottom: 10px;
    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    .contact-map-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-header {
        padding: 60px 0;
    }

    .contact-header h1 {
        font-size: 1.5rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-info-section {
        padding: 40px 0;
    }

    .contact-info-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .contact-icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-info-content h5 {
        font-size: 1.1rem;
    }

    .contact-info-content p {
        font-size: 0.85rem;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .form-header {
        margin-bottom: 30px;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .contact-form .form-label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .contact-form .form-control,
    .contact-form .form-select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .contact-form .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .contact-form .d-grid {
        gap: 10px !important;
    }

    .contact-form .btn-lg {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }

    .contact-check-label {
        font-size: 0.85rem;
    }

    .contact-map-section {
        padding: 40px 0;
    }

    .map-container iframe {
        height: 300px;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }
}