/* ================================================================
   LIFELINE - ELDERLY CARE CHARITY TEMPLATE
   ================================================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
    /* Primary Colors */
    --primary-color: #2ba94d;
    --primary-dark: #248a3e;
    --primary-light: #3bc05e;
    --accent-color:#ae1818;
    
    /* Secondary Colors */
    --secondary-color: #7fa99b;
    /* --accent-color: #85a78d; */
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --text-light: #95a5a6;
    --bg-light: #f8f9fa;
    --bg-lighter: #e8f5e9;
    --border-color: #e0e0e0;
    
    /* Font Families */
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Josefin Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 60px 0;
    --section-padding-sm: 60px 0;
}

/* ================================================================
   COMMON CSS - RESETS & BASE STYLES
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

p {
    font-family: var(--font-body);
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ================================================================
   COMMON CLASSES - BUTTONS & SECTIONS
   ================================================================ */

/* Section Padding */
.section_padding {
    padding: var(--section-padding);
}

/* Section Heading */
.section_heading {
    margin-bottom: 50px;
}

.section_title {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section_title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section_subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 20px;
}

/* Primary Button */
.btn_primary,
.btn_action,
.btn_donate {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.btn_primary:hover,
.btn_action:hover,
.btn_donate:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(43, 169, 77, 0.3);
}


.highlight {
    color: var(--accent-color);
  }

/* ================================================================
   HEADER CSS START
   ================================================================ */

/* Top Header */
.top_header {
    background: var(--primary-color);
    padding: 6px 0;
    color: var(--white);
}

.top_header_left,
.top_header_center {
    display: flex;
    align-items: center;
}

.top_header_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.top_header_right p {
    margin: 0;
    font-weight: 500;
    font-size: 17px;
    color: var(--bg-lighter);
}

.header_info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header_info .icon {
   display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.header_info .text p {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
}

.header_info .text p:first-child {
    font-weight: 400;
    opacity: 0.9;
}

.header_info .text p:last-child {
    font-weight: 600;
    
}

.header_info .text p a {
    font-weight: 600;
    color: var(--bg-lighter);
    
}

.social_links {
    display: flex;
    gap: 10px;
    margin: 0;
}

.social_links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social_links li a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Main Header */
.main_header {
    background: var(--white);
    padding:  0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 10px 0px;
    justify-content: end;
}
.navbar-brand{
        position: absolute;
    top: 0;
    padding: 5px;
    left: 0;
    background: #ffffff;
    border-radius: 50%;
}

.navbar-brand.logo img {
    max-height: 100px;
}

.navbar-nav {
    align-items: center;

}


#navbarNav{
    justify-content: end;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 0;
    position: relative;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: var(--primary-color);
}





/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 15px;
}

.dropdown-item {
    font-family: var(--font-body);
    padding: 10px 25px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bg-lighter);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    padding: 0;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Donate Button in Header */
.btn_donate {
    padding: 6px 20px;
    margin-left: 20px;
}

/* ================================================================
   HEADER CSS END
   ================================================================ */

/* ================================================================
   BANNER CSS START
   ================================================================ */
.banner_area {
    position: relative;
    overflow: hidden;
}

.banner_slide {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, #d4e9dc 100%);
}

.banner_content {
    padding: 50px 0;
    position: relative;
    z-index: 2;
}

.banner_title {
    font-size: 50px;
    line-height: 1.2;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease;
}

.banner_title .highlight {
    color: var(--primary-color);
    background: rgba(43, 169, 77, 0.1);
    padding: 5px 20px;
    border-radius: 10px;
    display: inline-block;
}

.btn_action {
    animation: fadeInUp 1.2s ease;
    padding: 10px 25px;
    font-size: 16px;
}

/* Banner Image */
.banner_image {
    position: relative;
    padding: 50px 0;
    animation: fadeInRight 1s ease;
}

.banner_image .main_image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.banner_image .main_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Images */
.floating_images {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float_img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.float_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.float_img_1 {
    bottom: 80px;
    left: -30px;
    animation-delay: 0s;
}

.float_img_2 {
    top: 50px;
    right: 100px;
    animation-delay: 1s;
}

/* Banner Shapes */
.banner_shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape_1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    right: 10%;
    animation: rotate 20s linear infinite;
}

.shape_2 {
    width: 200px;
    height: 200px;
    background: var(--secondary-color);
    bottom: 50px;
    left: 5%;
    animation: rotate 15s linear infinite reverse;
}

.shape_3 {
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    top: 50%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

/* Owl Carousel Navigation */
.banner_slider .owl-nav {
    position: absolute;
    bottom: 30px;
    right: 50px;
    display: flex;
    gap: 10px;
}

.banner_slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.banner_slider .owl-nav button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.banner_slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.banner_slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(43, 169, 77, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.banner_slider .owl-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ================================================================
   BANNER CSS END
   ================================================================ */

/* ================================================================
   WELCOME SECTION CSS START
   ================================================================ */
.welcome_area {
    background: var(--white);
}


.welcome_image {
    position: relative;
}

.welcome_image img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
    object-fit: cover;
}





.welcome_content {
    padding-right: 40px;
}

.welcome_title {
    font-size: 36px;
    margin-bottom: 25px;
}

.welcome_text {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
}





/* ================================================================
   WELCOME SECTION CSS END
   ================================================================ */

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ================================================================
   RESPONSIVE CSS
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .top_header_left,
    .top_header_center,
    .top_header_right {
        justify-content: center;
    }
    
    .banner_title {
        font-size: 48px;
    }
    
    .banner_image .main_image {
        width: 350px;
        height: 350px;
        margin: 30px auto;
    }
    
    .welcome_content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .section_title {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .header_info .icon{
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

     .header_info {
       gap: 2px;
    }

    .header_info .text p{
font-size: 14px;
    }
    
    .banner_title {
        font-size: 28px;
    }
    
    .banner_slide {
        min-height: 600px;
    }
    .banner_content{
        padding: 70px 0px 0px 0px;
    }
    
    .banner_image .main_image {
        width: 280px;
        height: 280px;
    }

    
    .float_img {
        width: 80px;
        height: 80px;
    }
    
    .banner_slider .owl-nav {
        bottom: 15px;
        right: 15px;
    }
    
    .section_title {
        font-size: 28px;
    }
    
    .welcome_title {
        font-size: 28px;
    }
}





/* ================================================================
   SOCIAL WORK SECTION CSS
   ================================================================ */
.social-work-section {
    background: var(--white);
}

.social_work_card {
    background: var(--bg-lighter);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
}

.social_work_card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.2);
}

.social_work_card .card_icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social_work_card:hover .card_icon {
    border:2px solid var(--primary-color);
   
    transform: scale(1.1);
}

.social_work_card .card_title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.social_work_card .card_description {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

/* ================================================================
   COUNTDOWN SECTION CSS
   ================================================================ */
.countdown-section {
    background: var(--white);
}

.countdown_image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.countdown_image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.countdown_content {
    padding-left: 40px;
}

.countdown_title {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.countdown_subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.countdown_timer {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.time_box {
    background: var(--primary-color);
    padding: 25px 20px;
    border-radius: 15px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(43, 169, 77, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.time_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(43, 169, 77, 0.3);
}

.time_value {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    display: block;
    font-family: var(--font-heading);
}

.time_label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ================================================================
   HOW CAN YOU HELP SECTION CSS
   ================================================================ */
.how-help-section {
    position: relative;
}

.help_card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.help_card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.15);
}

.help_icon {
    width: 90px;
    height: 90px;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.help_card:hover .help_icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(360deg);
}

.help_title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.help_text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.help_link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.help_link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ================================================================
   BOOK EVENT SECTION CSS
   ================================================================ */
.book-event-section {
    background: var(--white);
}

.event_card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event_card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.event_date {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 20px 25px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(43, 169, 77, 0.3);
}

.date_day {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.date_month {
    font-size: 18px;
    font-weight: 600;
    margin-top: 5px;
}

.date_year {
    font-size: 14px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: 600;
}

.event_info {
    flex: 1;
}

.event_meta {
    display: flex;
    gap: 25px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.event_time,
.event_location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.event_time svg,
.event_location svg {
    color: var(--primary-color);
}

.event_title {
    font-size: 22px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.event_action {
    display: flex;
    align-items: center;
}

.btn_book {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn_book:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 169, 77, 0.3);
}

/* ================================================================
   EVENT MODAL CSS
   ================================================================ */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
    border-bottom: none;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 169, 77, 0.15);
}

.form-control[readonly] {
    background-color: var(--bg-light);
    color: var(--text-gray);
}

/* ================================================================
   RESPONSIVE CSS FOR NEW SECTIONS
   ================================================================ */
@media (max-width: 991px) {
    .countdown_content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .countdown_title {
        font-size: 36px;
    }
    
    .time_box {
        min-width: 100px;
    }
    
    .time_value {
        font-size: 38px;
    }
    
    .event_card {
        flex-direction: column;
        text-align: center;
    }
    
    .event_date {
        width: 120px;
    }
    
    .event_meta {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .social_work_card {
        margin-bottom: 20px;
    }
    
    .countdown_title {
        font-size: 28px;
    }
    
    .countdown_timer {
        gap: 10px;
    }
    
    .time_box {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .time_value {
        font-size: 28px;
    }
    
    .time_label {
        font-size: 11px;
    }
    
    .help_card {
        margin-bottom: 20px;
    }
    
    .event_title {
        font-size: 18px;
    }
    
    .event_card {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .countdown_image img {
        height: 300px;
    }
    
   
    
    .time_box {
        min-width: 65px;
    }
    
    .event_date {
        width: 80px;
        padding: 15px;
    }
    
    .date_day {
        font-size: 28px;
    }
    
    .date_month {
        font-size: 14px;
    }
}






/* ================================================================
   ICON STYLES FOR THEMIFY ICONS
   ================================================================ */
.card_icon i,
.help_icon i {
    font-size: 50px;
}

.event_time i,
.event_location i {
    font-size: 16px;
    margin-right: 5px;
}

.help_link i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.help_link:hover i {
    transform: translateX(3px);
}

.news_meta i,
.video_meta i {
    font-size: 14px;
    margin-right: 5px;
}


/* ================================================================
   PHOTO GALLERY SLIDER SECTION CSS
   ================================================================ */
.photo-gallery-section {
    position: relative;
}

.gallery_slider {
    margin: 0 -10px;
}

.gallery_slider .owl-stage-outer {
    padding: 10px 0;
}

.gallery_item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    height: 300px;
}

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

.gallery_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery_item:hover img {
    transform: scale(1.1);
}



@keyframes zoomPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Gallery Slider Navigation */
.gallery_slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.gallery_slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: all;
}

.gallery_slider .owl-nav button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.gallery_slider .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.gallery_slider .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(43, 169, 77, 0.3);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.gallery_slider .owl-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ================================================================
   RESPONSIVE CSS FOR GALLERY SLIDER
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .gallery_item {
        height: 280px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .gallery_item {
        height: 250px;
    }
    
    .gallery_slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .gallery_item {
        height: 220px;
    }
    
    .gallery_overlay i {
        font-size: 36px;
    }
}

/* ================================================================
   NEWS & UPDATES SECTION CSS
   ================================================================ */
.news-updates-section {
    background: var(--white);
}

.news_card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news_image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.news_card:hover .news_image img {
    transform: scale(1.1);
}

.news_date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(43, 169, 77, 0.3);
}

.date_day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.date_month {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
}

.news_content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news_meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news_meta span {
    font-size: 14px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.news_meta i {
    color: var(--primary-color);
}

.news_title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news_card:hover .news_title {
    color: var(--primary-color);
}

.news_description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.news_link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.news_link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.news_link i {
    font-size: 14px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.news_link:hover i {
    transform: translateX(5px);
}

/* ================================================================
   VIDEO GALLERY SECTION CSS
   ================================================================ */
.video-section {
    position: relative;
}

.video_card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 100%;
}

.video_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video_thumbnail {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

.video_card:hover .video_thumbnail img {
    transform: scale(1.1);
}

.play_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(43, 169, 77, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 3px solid var(--white);
}

.play_button i {
    font-size: 30px;
    color: var(--white);
    margin-left: 5px;
}

.video_card:hover .play_button {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--primary-color);
}

.video_duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
}

.video_content {
    padding: 25px;
}

.video_title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.video_card:hover .video_title {
    color: var(--primary-color);
}

.video_meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.video_meta span {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
}

.video_meta i {
    color: var(--primary-color);
}

/* ================================================================
   RESPONSIVE CSS FOR NEW SECTIONS
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .gallery_grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }
    
    .news_card,
    .video_card {
        margin-bottom: 30px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .gallery_grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 10px;
    }
    
    .gallery_item.wide {
        grid-column: span 1;
    }
    
    .news_image,
    .video_thumbnail {
        height: 200px;
    }
    
    .news_title {
        font-size: 20px;
    }
    
    .news_content,
    .video_content {
        padding: 20px;
    }
    
    .play_button {
        width: 60px;
        height: 60px;
    }
    
    .play_button i {
        font-size: 24px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .gallery_grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery_item.tall {
        grid-row: span 1;
    }
    
    .news_image {
        height: 180px;
    }
    
    .news_date {
        padding: 10px 15px;
    }
    
    .date_day {
        font-size: 24px;
    }
    
    .date_month {
        font-size: 12px;
    }
    
    .news_title {
        font-size: 18px;
    }
    
    .video_thumbnail {
        height: 180px;
    }
    
    .video_title {
        font-size: 16px;
    }
}





/* ================================================================
   FOOTER CSS START
   ================================================================ */

/* Newsletter Section */
.newsletter_section {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    padding: 80px 0;
    position: relative;
}

.newsletter_section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23f8f9fa" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
}

.newsletter_title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.newsletter_subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.newsletter_form {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter_form form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter_input {
    flex: 1;
    min-width: 300px;
    padding: 18px 25px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-family: var(--font-body);
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.newsletter_input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(43, 169, 77, 0.2);
}

.newsletter_btn {
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter_btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(43, 169, 77, 0.3);
}

/* Footer Main Content */
.footer_main {
    background: var(--bg-light);
    padding: 80px 0 50px;
    position: relative;
}

.footer_widget {
    position: relative;
}

.footer_logo {
    margin-bottom: 25px;
}

.footer_logo img {
    max-height: 80px;
    width: auto;
}

.footer_address {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer_contact_item {
    margin-bottom: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer_contact_item .contact_label {
    font-weight: 600;
    color: var(--text-dark);
}

.footer_contact_item a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer_contact_item a:hover {
    color: var(--primary-color);
}

.footer_widget_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 15px;
}

.footer_widget_title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Contact Info List */
.contact_info_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact_info_list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact_info_list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact_info_list i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact_info_text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact_info_text strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.contact_info_text span {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact_info_text a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.contact_info_text a:hover {
    color: var(--primary-color);
}

/* Footer Links */
.footer_links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer_links li {
    margin-bottom: 15px;
}

.footer_links li:last-child {
    margin-bottom: 0;
}

.footer_links a {
    font-size: 15px;
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer_links a i {
    font-size: 12px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer_links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.footer_links a:hover i {
    transform: translateX(5px);
}

/* Footer Bottom */
.footer_bottom {
    background: var(--primary-color);
    padding: 25px 0;
}

.footer_copyright {
    font-size: 14px;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer_copyright a {
    color: var(--white);
    font-weight: 600;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer_copyright a:hover {
    opacity: 0.8;
}

.footer_logo_img {
    max-height: 24px;
    width: auto;
    margin-left: 5px;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}

.footer_bottom_links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer_bottom_links li a {
    font-size: 15px;
    color: var(--white);
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer_bottom_links li a:hover {
    opacity: 0.8;
}

/* ================================================================
   FOOTER RESPONSIVE CSS
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .newsletter_title {
        font-size: 38px;
    }
    
    .newsletter_section {
        padding: 60px 0;
    }
    
    .footer_main {
        padding: 60px 0 40px;
    }
    
    .footer_widget {
        margin-bottom: 40px;
    }
    
    .footer_widget:last-child {
        margin-bottom: 0;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .newsletter_title {
        font-size: 32px;
    }
    
    .newsletter_subtitle {
        font-size: 15px;
    }
    
    .newsletter_section {
        padding: 50px 0;
    }
    
    .newsletter_input {
        min-width: 100%;
        padding: 16px 20px;
    }
    
    .newsletter_btn {
        width: 100%;
        padding: 16px 20px;
    }
    
    .footer_main {
        padding: 50px 0 30px;
    }
    
    .footer_widget_title {
        font-size: 22px;
    }
    
    .footer_bottom {
        padding: 20px 0;
    }
    
    .footer_copyright {
        font-size: 13px;
        justify-content: center;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer_bottom_links {
        justify-content: center;
        gap: 20px;
    }
    
    .footer_bottom_links li a {
        font-size: 14px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .newsletter_title {
        font-size: 28px;
    }
    
    .newsletter_section {
        padding: 40px 0;
    }
    
    .newsletter_section::before {
        height: 80px;
    }
    
    .footer_logo img {
        max-height: 60px;
    }
    
    .footer_widget_title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .contact_info_list i {
        font-size: 20px;
    }
    
    .footer_bottom_links {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer_logo_img {
        max-height: 20px;
    }
}

/* ================================================================
   FOOTER CSS END
   ================================================================ */




   /* ================================================================
   PAGE HEADER / BREADCRUMB SECTION CSS
   ================================================================ */
.page_header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page_header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page_header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.page_header_content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page_header_title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breadcrumb_nav {
    display: flex;
    justify-content: center;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 30px;
    border-radius: 50px;
    margin: 0;
    backdrop-filter: blur(10px);
}

.breadcrumb-item {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item a {
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--bg-lighter);
    transform: translateX(-2px);
}

.breadcrumb-item.active {
    color: var(--bg-lighter);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.7);
    content: "›";
    padding: 0 10px;
}

/* ================================================================
   PAGE CONTENT AREA CSS
   ================================================================ */
.page_content_area {
    background: var(--bg-light);
}

.top_page_ads {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.top_page_ads img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================================================================
   MAIN CONTENT BOX CSS
   ================================================================ */
.page_main_content {
    margin-bottom: 40px;
}

.content_box {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.content_box:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.content_box_header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 30px 40px;
    position: relative;
}

.content_box_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
}

.content_box_title {
    font-size: 32px;
    color: var(--white);
    margin: 0;
    font-weight: 700;
}

.content_box_body {
    padding: 40px;
    line-height: 1.8;
}

.content_box_body h1,
.content_box_body h2,
.content_box_body h3,
.content_box_body h4,
.content_box_body h5,
.content_box_body h6 {
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.content_box_body h1 {
    font-size: 36px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.content_box_body h2 {
    font-size: 30px;
    color: var(--primary-color);
}

.content_box_body h3 {
    font-size: 24px;
}

.content_box_body p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content_box_body ul,
.content_box_body ol {
    padding-left: 25px;
    margin-bottom: 20px;
}

.content_box_body ul li,
.content_box_body ol li {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

.content_box_body ul li {
    list-style: disc;
}

.content_box_body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.content_box_body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.content_box_body a:hover {
    color: var(--primary-dark);
}

.content_box_body blockquote {
    background: var(--bg-lighter);
    border-left: 5px solid var(--primary-color);
    padding: 20px 30px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.content_box_body table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
}

.content_box_body table th,
.content_box_body table td {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.content_box_body table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.content_box_body table tr:nth-child(even) {
    background: var(--bg-light);
}

/* ================================================================
   SIDEBAR WIDGET CSS
   ================================================================ */
.page_sidebar {
    position: sticky;
    top: 120px;
}

.sidebar_widget {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sidebar_widget:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.sidebar_widget:last-child {
    margin-bottom: 0;
}

.widget_header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 20px 25px;
    position: relative;
}

.widget_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.widget_title {
    font-size: 20px;
    color: var(--white);
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget_title i {
    font-size: 22px;
}

.widget_body {
    padding: 25px;
}

.widget_footer {
    padding: 0 25px 25px;
}

/* ================================================================
   NOTICE WIDGET CSS
   ================================================================ */
.notice_widget .notice_content {
    margin-bottom: 20px;
}

.notice_content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.widget_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.widget_link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.widget_link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.widget_link:hover i {
    transform: translateX(3px);
}

/* ================================================================
   ADVERTISEMENT WIDGET CSS
   ================================================================ */
.ads_widget {
    padding: 0;
}

.ads_widget .widget_body {
    padding: 0;
}

.ads_container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.ads_container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ads_link {
    position: relative;
    display: block;
}

.ads_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 169, 77, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ads_overlay i {
    font-size: 48px;
    color: var(--white);
}

.ads_link:hover .ads_overlay {
    opacity: 1;
}

.ads_link:hover img {
    transform: scale(1.05);
}

/* ================================================================
   SOCIAL WIDGET CSS
   ================================================================ */
.social_widget .fb_page_container {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
}

/* ================================================================
   QUICK LINKS WIDGET CSS
   ================================================================ */
.quick_links_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick_links_list li {
    margin-bottom: 12px;
}

.quick_links_list li:last-child {
    margin-bottom: 0;
}

.quick_links_list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-size: 15px;
    padding: 12px 15px;
    border-radius: 10px;
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.quick_links_list a i {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.quick_links_list a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.quick_links_list a:hover i {
    color: var(--white);
    transform: scale(1.2);
}

/* ================================================================
   CONTACT INFO WIDGET CSS
   ================================================================ */
.contact_info_widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact_info_widget li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact_info_widget li:last-child {
    margin-bottom: 0;
}

.contact_info_widget li:hover {
    background: var(--bg-lighter);
    transform: translateX(5px);
}

.contact_info_widget i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact_widget_text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact_widget_text strong {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
}

.contact_widget_text span {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.contact_widget_text a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.contact_widget_text a:hover {
    color: var(--primary-color);
}

/* ================================================================
   RESPONSIVE CSS FOR PAGE & SIDEBAR
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .page_header_title {
        font-size: 38px;
    }
    
    .content_box_title {
        font-size: 28px;
    }
    
    .content_box_header {
        padding: 25px 30px;
    }
    
    .content_box_body {
        padding: 30px;
    }
    
    .page_sidebar {
        position: static;
        margin-top: 40px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .page_header {
        padding: 40px 0;
    }
    
    .page_header_title {
        font-size: 32px;
    }
    
    .breadcrumb {
        padding: 10px 20px;
    }
    
    .content_box_title {
        font-size: 24px;
    }
    
    .content_box_header {
        padding: 20px 25px;
    }
    
    .content_box_body {
        padding: 25px;
    }
    
    .content_box_body h1 {
        font-size: 28px;
    }
    
    .content_box_body h2 {
        font-size: 24px;
    }
    
    .content_box_body h3 {
        font-size: 20px;
    }
    
    .widget_title {
        font-size: 18px;
    }
    
    .widget_body {
        padding: 20px;
    }
    
    .widget_footer {
        padding: 0 20px 20px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .page_header_title {
        font-size: 28px;
    }
    
    .breadcrumb {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 6px;
    }
    
    .content_box_title {
        font-size: 20px;
    }
    
    .content_box_header {
        padding: 18px 20px;
    }
    
    .content_box_body {
        padding: 20px;
    }
    
    .widget_header {
        padding: 18px 20px;
    }
    
    .widget_title {
        font-size: 17px;
    }
    
    .widget_title i {
        font-size: 18px;
    }
    
    .sidebar_widget {
        margin-bottom: 25px;
    }
}





/* ================================================================
   TEAM PAGE CSS
   ================================================================ */

/* Team Page Header */
.team_page_header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.team_page_header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Main Content Area */
.main_content {
    padding: 60px 0;
}

.main_content.gray-bg {
    background: var(--bg-light);
}

.top_ads {
    margin-bottom: 40px;
}

.top_ads img {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Left & Right Content */
.left_content,
.right_content {
    position: relative;
}

.right_content {
    margin-bottom: 40px;
}

/* ================================================================
   TEAM CONTENT BOX CSS
   ================================================================ */
.right_content .box {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.right_content .box:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.right_content .box h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.right_content .box h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.right_content .box hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    margin: 25px 0 40px;
}

.right_content .box h4 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

/* ================================================================
   TEAM MEMBER CARD CSS
   ================================================================ */
.team_member_card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.team_member_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team_member_card:hover::before {
    transform: scaleX(1);
}

.team_member_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.2);
    border-color: var(--primary-color);
}

/* Team Member Image Container */
.team_member_image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
}

.team_member_card img.rounded-circle {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--bg-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.team_member_card:hover img.rounded-circle {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.3);
}

/* Team Member Info */
.team_member_card .card-body {
    padding: 0;
}

.team_member_card .card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.team_member_card:hover .card-title {
    color: var(--primary-color);
}

.team_member_card .card-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 0;
}

/* Alternative: Using the structure from the provided HTML */
.col-sm-4 .text-center.mb-5 {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.col-sm-4 .text-center.mb-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.col-sm-4 .text-center.mb-5:hover::before {
    transform: scaleX(1);
}

.col-sm-4 .text-center.mb-5:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.2);
    border-color: var(--primary-color);
}

.col-sm-4 .text-center.mb-5 img.rounded-circle {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid var(--bg-lighter);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.col-sm-4 .text-center.mb-5:hover img.rounded-circle {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(43, 169, 77, 0.3);
}

.col-sm-4 .text-center.mb-5 .card-body {
    padding: 20px 0 0;
}

.col-sm-4 .text-center.mb-5 .card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.col-sm-4 .text-center.mb-5:hover .card-title {
    color: var(--primary-color);
}

.col-sm-4 .text-center.mb-5 .card-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ================================================================
   TEAM TABLE CSS (Remaining Team Members)
   ================================================================ */
.table-responsive {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.table-responsive .table {
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
}

.table-responsive .table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.table-responsive .table thead th {
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    padding: 18px 20px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-responsive .table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.table-responsive .table tbody tr:last-child {
    border-bottom: none;
}

.table-responsive .table tbody tr:hover {
    background: var(--bg-lighter);
    transform: scale(1.01);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.table-responsive .table tbody th,
.table-responsive .table tbody td {
    padding: 18px 20px;
    font-size: 15px;
    color: var(--text-gray);
    vertical-align: middle;
}

.table-responsive .table tbody th {
    font-weight: 700;
    color: var(--primary-color);
    width: 80px;
}

.table-responsive .table tbody td:nth-child(2) {
    font-weight: 600;
    color: var(--text-dark);
}

.table-responsive .table tbody td:nth-child(3) {
    color: var(--text-gray);
    font-style: italic;
}

.table-bordered {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--border-color);
}

/* ================================================================
   TEAM SECTION DIVIDER
   ================================================================ */
.right_content .box > hr:not(:first-child) {
    margin: 50px 0 40px;
    height: 1px;
    background: var(--border-color);
}

/* ================================================================
   RESPONSIVE CSS FOR TEAM PAGE
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .left_content {
        margin-bottom: 40px;
    }
    
    .right_content .box {
        padding: 30px;
    }
    
    .right_content .box h1 {
        font-size: 32px;
    }
    
    .right_content .box h4 {
        font-size: 24px;
    }
    
    .col-sm-4 .text-center.mb-5 img.rounded-circle {
        width: 180px;
        height: 180px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .main_content {
        padding: 40px 0;
    }
    
    .right_content .box {
        padding: 25px;
        border-radius: 15px;
    }
    
    .right_content .box h1 {
        font-size: 28px;
    }
    
    .right_content .box h4 {
        font-size: 22px;
    }
    
    .col-sm-4 .text-center.mb-5 {
        padding: 25px;
        margin-bottom: 25px !important;
    }
    
    .col-sm-4 .text-center.mb-5 img.rounded-circle {
        width: 160px;
        height: 160px;
        border-width: 4px;
    }
    
    .col-sm-4 .text-center.mb-5 .card-title {
        font-size: 18px;
    }
    
    .col-sm-4 .text-center.mb-5 .card-subtitle {
        font-size: 14px;
    }
    
    .table-responsive {
        padding: 15px;
    }
    
    .table-responsive .table thead th {
        font-size: 14px;
        padding: 15px;
    }
    
    .table-responsive .table tbody th,
    .table-responsive .table tbody td {
        padding: 15px;
        font-size: 14px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .top_ads {
        margin-bottom: 30px;
    }
    
    .right_content .box {
        padding: 20px;
    }
    
    .right_content .box h1 {
        font-size: 24px;
        padding-bottom: 12px;
    }
    
    .right_content .box h1::after {
        width: 60px;
        height: 3px;
    }
    
    .right_content .box h4 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .col-sm-4 .text-center.mb-5 {
        padding: 20px;
    }
    
    .col-sm-4 .text-center.mb-5 img.rounded-circle {
        width: 140px;
        height: 140px;
        border-width: 3px;
    }
    
    .col-sm-4 .text-center.mb-5 .card-body {
        padding: 15px 0 0;
    }
    
    .col-sm-4 .text-center.mb-5 .card-title {
        font-size: 17px;
    }
    
    .col-sm-4 .text-center.mb-5 .card-subtitle {
        font-size: 13px;
    }
    
    .table-responsive {
        padding: 10px;
        border-radius: 10px;
    }
    
    .table-responsive .table {
        font-size: 13px;
    }
    
    .table-responsive .table thead th {
        font-size: 12px;
        padding: 12px 10px;
    }
    
    .table-responsive .table tbody th,
    .table-responsive .table tbody td {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .table-responsive .table tbody th {
        width: 50px;
    }
}

/* ================================================================
   ADDITIONAL ENHANCEMENTS
   ================================================================ */

/* Empty State (No Team Members) */
.no_team_members {
    text-align: center;
    padding: 60px 30px;
}

.no_team_members i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no_team_members h3 {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.no_team_members p {
    font-size: 16px;
    color: var(--text-light);
}

/* Loading State */
.team_loading {
    text-align: center;
    padding: 60px 30px;
}

.team_loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-lighter);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .left_content,
    .top_ads {
        display: none;
    }
    
    .right_content .box {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .col-sm-4 .text-center.mb-5 {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* ================================================================
   ALBUM GALLERY CSS START
   ================================================================ */

/* Album Grid Container */
.right_content .box .row {
    margin: 0 -15px;
}

.right_content .box .row .col-sm-4 {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* Cause Wrap (Album Card) */
.cause-wrap {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
}

.cause-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.cause-wrap:hover::before {
    transform: scaleX(1);
}

.cause-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(43, 169, 77, 0.15);
    border-color: var(--primary-color);
}

/* Album Image Container */
.cause-wrap figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    height: 200px;
    background: var(--bg-lighter);
}

.cause-wrap figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.cause-wrap:hover figure img {
    transform: scale(1.15);
    filter: brightness(1.1);
}

/* Image Overlay Effect */
.cause-wrap figure::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(43, 169, 77, 0) 0%,
        rgba(43, 169, 77, 0.1) 50%,
        rgba(43, 169, 77, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cause-wrap:hover figure::after {
    opacity: 1;
}

/* View Icon Overlay */
.cause-wrap figure::before {
    content: '\f06e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 36px;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cause-wrap:hover figure::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Album Entry Header */
.cause-wrap .entry-header {
    padding: 20px 25px;
    background: var(--white);
}

.cause-wrap .entry-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    width: 100%;
    line-height: 1.4;
}

.cause-wrap .entry-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.cause-wrap .entry-title a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.cause-wrap:hover .entry-title a {
    color: var(--primary-color);
}

.cause-wrap:hover .entry-title a::after {
    width: 100%;
}

/* Album Count Badge (Optional Enhancement) */
.cause-wrap .album-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(174, 24, 24, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Empty State for No Albums */
.no_albums {
    text-align: center;
    padding: 80px 30px;
}

.no_albums i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no_albums h3 {
    font-size: 26px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.no_albums p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Album Grid Animations */
.cause-wrap {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.cause-wrap:nth-child(1) { animation-delay: 0.1s; }
.cause-wrap:nth-child(2) { animation-delay: 0.2s; }
.cause-wrap:nth-child(3) { animation-delay: 0.3s; }
.cause-wrap:nth-child(4) { animation-delay: 0.4s; }
.cause-wrap:nth-child(5) { animation-delay: 0.5s; }
.cause-wrap:nth-child(6) { animation-delay: 0.6s; }
.cause-wrap:nth-child(7) { animation-delay: 0.7s; }
.cause-wrap:nth-child(8) { animation-delay: 0.8s; }
.cause-wrap:nth-child(9) { animation-delay: 0.9s; }

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

/* ================================================================
   ALBUM GALLERY RESPONSIVE CSS
   ================================================================ */

/* Tablet */
@media (max-width: 991px) {
    .right_content .box .row .col-sm-4 {
        margin-bottom: 25px;
    }
    
    .cause-wrap figure {
        height: 180px;
    }
    
    .cause-wrap figure img {
        height: 180px;
    }
    
    .cause-wrap .entry-header {
        padding: 18px 20px;
    }
    
    .cause-wrap .entry-title {
        font-size: 17px;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .right_content .box .row .col-sm-4 {
        margin-bottom: 20px;
    }
    
    .cause-wrap {
        border-radius: 15px;
    }
    
    .cause-wrap figure {
        height: 220px;
    }
    
    .cause-wrap figure img {
        height: 220px;
    }
    
    .cause-wrap .entry-header {
        padding: 16px 18px;
    }
    
    .cause-wrap .entry-title {
        font-size: 16px;
    }
    
    .cause-wrap:hover {
        transform: translateY(-5px);
    }
    
    .no_albums {
        padding: 60px 20px;
    }
    
    .no_albums i {
        font-size: 60px;
    }
    
    .no_albums h3 {
        font-size: 22px;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .right_content .box .row {
        margin: 0 -10px;
    }
    
    .right_content .box .row .col-sm-4 {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .cause-wrap {
        border-radius: 12px;
    }
    
    .cause-wrap figure {
        height: 200px;
    }
    
    .cause-wrap figure img {
        height: 200px;
    }
    
    .cause-wrap figure::before {
        font-size: 28px;
    }
    
    .cause-wrap .entry-header {
        padding: 14px 16px;
    }
    
    .cause-wrap .entry-title {
        font-size: 15px;
    }
    
    .cause-wrap .album-count {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .no_albums {
        padding: 50px 15px;
    }
    
    .no_albums i {
        font-size: 50px;
    }
    
    .no_albums h3 {
        font-size: 20px;
    }
    
    .no_albums p {
        font-size: 14px;
    }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
    .cause-wrap figure {
        height: 180px;
    }
    
    .cause-wrap figure img {
        height: 180px;
    }
    
    .cause-wrap .entry-title {
        font-size: 14px;
    }
}

/* ================================================================
   ALBUM GALLERY CSS END
   ================================================================ */




   /* ================================================================
   VIDEO GALLERY CSS - MATCHING ALBUM GALLERY DESIGN
   ================================================================ */

/* ================================================================
   SECTION 1: VIDEO GRID CONTAINER
   ================================================================ */

/* Video Grid Container */
.welcome.gray-bg {
    background: var(--bg-light);
    padding: 60px 0;
   
}

.welcome.gray-bg .container {
    max-width: 1200px;
}

.welcome.gray-bg h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.welcome.gray-bg h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.welcome.gray-bg .row {
    margin: 0 -15px;
}

.welcome.gray-bg .row .col-md-4 {
    padding: 0 15px;
    margin-bottom: 30px;
}

/* ================================================================
   SECTION 2: VIDEO CARD (VIDEO-WRAP)
   ================================================================ */

/* Video Card Container */
.video-wrap {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Top Color Bar Animation */
.video-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.video-wrap:hover::before {
    transform: scaleX(1);
}

.video-wrap:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(43, 169, 77, 0.15);
    border-color: var(--primary-color);
}

/* ================================================================
   SECTION 3: VIDEO IFRAME CONTAINER
   ================================================================ */

/* Video Iframe Wrapper */
.video-wrap .video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--bg-lighter);
    margin: 0;
}

.video-wrap .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-wrap:hover .video-container iframe {
    transform: scale(1.05);
}

/* ================================================================
   SECTION 4: VIDEO OVERLAY EFFECTS
   ================================================================ */

/* Video Overlay Gradient */
.video-wrap .video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(43, 169, 77, 0) 0%,
        rgba(43, 169, 77, 0.05) 50%,
        rgba(43, 169, 77, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.video-wrap:hover .video-container::after {
    opacity: 1;
}

/* Play Icon Overlay */
.video-wrap .video-container::before {
    content: '\f04b';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 48px;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background: rgba(43, 169, 77, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    pointer-events: none;
}

.video-wrap:hover .video-container::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* ================================================================
   SECTION 5: VIDEO TITLE/INFO SECTION
   ================================================================ */

/* Video Info Container */
.video-wrap .video-info {
    padding: 20px 25px;
    background: var(--white);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrap .video-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    width: 100%;
    line-height: 1.4;
    color: var(--text-dark);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.video-wrap .video-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.video-wrap:hover .video-title {
    color: var(--primary-color);
}

.video-wrap:hover .video-title::after {
    width: 60%;
}

/* ================================================================
   SECTION 6: VIDEO BADGE (OPTIONAL)
   ================================================================ */

/* Video Duration Badge */
.video-wrap .video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

/* Video Count/Status Badge */
.video-wrap .video-count {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(174, 24, 24, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ================================================================
   SECTION 7: EMPTY STATE
   ================================================================ */

/* Empty State for No Videos */
.no_videos {
    text-align: center;
    padding: 80px 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.no_videos i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no_videos h3 {
    font-size: 26px;
    color: var(--text-gray);
    margin-bottom: 10px;
    font-weight: 600;
}

.no_videos p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 0;
}

/* ================================================================
   SECTION 8: VIDEO GRID ANIMATIONS
   ================================================================ */

/* Staggered Animation for Video Cards */
.video-wrap {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.col-md-4:nth-child(1) .video-wrap { animation-delay: 0.1s; }
.col-md-4:nth-child(2) .video-wrap { animation-delay: 0.2s; }
.col-md-4:nth-child(3) .video-wrap { animation-delay: 0.3s; }
.col-md-4:nth-child(4) .video-wrap { animation-delay: 0.4s; }
.col-md-4:nth-child(5) .video-wrap { animation-delay: 0.5s; }
.col-md-4:nth-child(6) .video-wrap { animation-delay: 0.6s; }
.col-md-4:nth-child(7) .video-wrap { animation-delay: 0.7s; }
.col-md-4:nth-child(8) .video-wrap { animation-delay: 0.8s; }
.col-md-4:nth-child(9) .video-wrap { animation-delay: 0.9s; }

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

/* ================================================================
   SECTION 9: RESPONSIVE CSS - TABLET
   ================================================================ */

@media (max-width: 991px) {
    .welcome.gray-bg h1 {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .welcome.gray-bg .row .col-md-4 {
        margin-bottom: 25px;
    }
    
    .video-wrap .video-container {
        padding-top: 56.25%;
    }
    
    .video-wrap .video-info {
        padding: 18px 20px;
    }
    
    .video-wrap .video-title {
        font-size: 17px;
    }
    
    .video-wrap .video-container::before {
        font-size: 42px;
        width: 70px;
        height: 70px;
    }
}

/* ================================================================
   SECTION 10: RESPONSIVE CSS - MOBILE LARGE
   ================================================================ */

@media (max-width: 767px) {
    .welcome.gray-bg {
        padding: 40px 0;
    }
    
    .welcome.gray-bg h1 {
        font-size: 32px;
        margin-bottom: 35px;
    }
    
    .welcome.gray-bg h1::after {
        width: 60px;
        height: 3px;
        bottom: -12px;
    }
    
    .welcome.gray-bg .row .col-md-4 {
        margin-bottom: 20px;
    }
    
    .video-wrap {
        border-radius: 15px;
    }
    
    .video-wrap .video-container {
        padding-top: 56.25%;
    }
    
    .video-wrap .video-info {
        padding: 16px 18px;
    }
    
    .video-wrap .video-title {
        font-size: 16px;
    }
    
    .video-wrap:hover {
        transform: translateY(-5px);
    }
    
    .video-wrap .video-container::before {
        font-size: 36px;
        width: 60px;
        height: 60px;
    }
    
    .no_videos {
        padding: 60px 20px;
    }
    
    .no_videos i {
        font-size: 60px;
    }
    
    .no_videos h3 {
        font-size: 22px;
    }
}

/* ================================================================
   SECTION 11: RESPONSIVE CSS - MOBILE SMALL
   ================================================================ */

@media (max-width: 575px) {
    .welcome.gray-bg {
        padding: 30px 0;
    }
    
    .welcome.gray-bg h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .welcome.gray-bg .row {
        margin: 0 -10px;
    }
    
    .welcome.gray-bg .row .col-md-4 {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .video-wrap {
        border-radius: 12px;
    }
    
    .video-wrap .video-container {
        padding-top: 56.25%;
    }
    
    .video-wrap .video-container::before {
        font-size: 32px;
        width: 55px;
        height: 55px;
    }
    
    .video-wrap .video-info {
        padding: 14px 16px;
    }
    
    .video-wrap .video-title {
        font-size: 15px;
    }
    
    .video-wrap .video-badge,
    .video-wrap .video-count {
        top: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .video-wrap .video-badge {
        right: 10px;
    }
    
    .video-wrap .video-count {
        left: 10px;
    }
    
    .no_videos {
        padding: 50px 15px;
    }
    
    .no_videos i {
        font-size: 50px;
    }
    
    .no_videos h3 {
        font-size: 20px;
    }
    
    .no_videos p {
        font-size: 14px;
    }
}

/* ================================================================
   SECTION 12: RESPONSIVE CSS - EXTRA SMALL MOBILE
   ================================================================ */

@media (max-width: 400px) {
    .welcome.gray-bg h1 {
        font-size: 24px;
    }
    
    .video-wrap .video-container {
        padding-top: 56.25%;
    }
    
    .video-wrap .video-container::before {
        font-size: 28px;
        width: 50px;
        height: 50px;
    }
    
    .video-wrap .video-title {
        font-size: 14px;
    }
    
    .video-wrap .video-info {
        padding: 12px 14px;
    }
}

/* ================================================================
   SECTION 13: ACCESSIBILITY & PERFORMANCE
   ================================================================ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .video-wrap,
    .video-wrap *,
    .welcome.gray-bg h1::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus states for accessibility */
.video-wrap:focus-within {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.video-wrap .video-container iframe:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Loading state */
.video-wrap.loading {
    pointer-events: none;
    opacity: 0.6;
}

.video-wrap.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-lighter);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ================================================================
   VIDEO GALLERY CSS END
   ================================================================ */

