/* =========================================
   GLOBAL CSS
========================================= */

html{
    scroll-behavior:smooth;
}

body{
    font-family: Arial, sans-serif;
    line-height:1.7;
    overflow-x:hidden;
    background:#fff;
}

:root{
    --primary:#14532d;
    --secondary:#2e7d32;
    --light:#f5fdf5;
}

/* =========================================
   PREMIUM NAVBAR
========================================= */

.custom-navbar{
    background: linear-gradient(90deg, #0b5d1e, #146c2f);
    padding: 10px 0;
    transition: 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* Logo */

.premium-logo{
    height: 72px;
    width: auto;
    object-fit: contain;

    /* REMOVE PATCH LOOK */
    background: transparent;

    /* PREMIUM EFFECT */
    transition: 0.4s ease;
}

/* Hover Effect */

.navbar-brand:hover .premium-logo{
    transform: scale(1.03);
}

/* Nav Links */

.navbar-nav .nav-link{
    color: #fff !important;
    font-size: 17px;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: 0.3s ease;
}

/* Animated Underline */

.navbar-nav .nav-link::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #25d366;
    transition: 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after{
    width: 100%;
}

.navbar-nav .nav-link:hover{
    color: #25d366 !important;
}

/* Social Icons */

.social-header-icons{
    gap: 12px;
    margin-left: 25px;
}

.social-icon{
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.4s ease;
    font-size: 16px;
}

.social-icon:hover{
    background: #25d366;
    color: #fff;
    transform: translateY(-4px);
}

/* Mobile */

@media(max-width:991px){

    .premium-logo{
        height: 60px;
    }

    .navbar-collapse{
        margin-top: 15px;
        background: #0b5d1e;
        padding: 20px;
        border-radius: 15px;
    }

    .social-header-icons{
        margin-top: 15px;
        margin-left: 0;
    }

}

/* =========================================
   HEADER SOCIAL ICONS
========================================= */

.social-header-icons{
    margin-left:20px;
    gap:10px;
}

.social-icon{
    width:36px;
    height:36px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:0.3s;
    position:relative;
    overflow:hidden;
}

.social-icon::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.2);
    top:100%;
    left:0;
    transition:0.4s;
}

.social-icon:hover::before{
    top:0;
}

.social-icon:hover{
    background:#fff;
    color:var(--primary);
    transform:translateY(-3px);
}

/* =========================================
   HERO SECTION
========================================= */

.hero-section{
    position:relative;
    background:url('../images/hero.jpeg') center center/cover no-repeat;
    min-height:100vh;
    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.65);
}

.hero-content{
    position:relative;
    z-index:2;
    color:#fff;
    animation:fadeUp 1.2s ease;
}

.hero-tag{
    background:#ffffff20;
    padding:10px 20px;
    border-radius:50px;
    display:inline-block;
    margin-bottom:20px;
    backdrop-filter:blur(10px);
}

.hero-content h1{
    font-size:60px;
    font-weight:700;
    line-height:1.2;
}

.hero-content p{
    font-size:18px;
    margin-top:20px;
}

.hero-btns .btn{
    margin-right:15px;
    margin-top:15px;
    border-radius:50px;
    padding:14px 30px;
    font-weight:600;
    transition:0.4s ease;
}

.hero-btns .btn:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

/* =========================================
   COMMON SECTION
========================================= */

.section-padding{
    padding:90px 0;
}

.section-title{
    margin-bottom:40px;
}

.section-title h2{
    font-size:42px;
    font-weight:700;
    color:var(--primary);
    margin-bottom:20px;
    position:relative;
    display:inline-block;
    padding-bottom:15px;
}

.section-title h2::after{
    content:'';
    position:absolute;
    width:70px;
    height:4px;
    background:linear-gradient(to right,#1b5e20,#4caf50);
    left:50%;
    transform:translateX(-50%);
    bottom:0;
    border-radius:20px;
}

/* =========================================
   MISSION SECTION
========================================= */

.mission-section{
    background:var(--light);
    padding:90px 0;
}

.mission-card{
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.5s ease;
    border:1px solid rgba(255,255,255,0.4);
    height:100%;
    padding:40px;
}

.mission-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* =========================================
   PROGRAM / EVENT SECTION
========================================= */

.program-card,
.event-card{
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(10px);
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.5s ease;
    border:1px solid rgba(255,255,255,0.4);
    height:100%;
}

.program-card:hover,
.event-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.program-card img,
.event-card img{
    height:250px;
    object-fit:cover;
    width:100%;
    transition:0.6s ease;
}

.program-card:hover img,
.event-card:hover img{
    transform:scale(1.08);
}

/* =========================================
   GALLERY SECTION
========================================= */

.gallery-img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:20px;
    transition:0.6s ease;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.gallery-img:hover{
    transform:scale(1.05);
}

/* =========================================
   CTA SECTION
========================================= */

.cta-section{
    background:linear-gradient(rgba(20,83,45,0.9), rgba(20,83,45,0.9)),
    url('../images/cta.jpg') center center/cover no-repeat;
    color:#fff;
    padding:100px 0;
    position:relative;
    overflow:hidden;
}

.cta-section::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-100px;
    right:-100px;
}

.cta-section h2{
    font-size:48px;
    font-weight:700;
}

/* =========================================
   FOOTER
========================================= */

.footer-section{
    background:linear-gradient(135deg,#0a0a0a,#111,#1b1b1b);
    color:#fff;
    padding:80px 0 20px;
    position:relative;
}

.footer-section::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:linear-gradient(to right,#4caf50,#1b5e20);
}

.footer-links{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:10px;
}

.footer-links a{
    color:#ddd;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    color:#4caf50;
    padding-left:5px;
}

/* =========================================
   FOOTER SOCIAL ICONS
========================================= */

.footer-social-icons{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px;
}

.footer-social-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#1f1f1f;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:18px;
    transition:0.3s ease;
    position:relative;
    overflow:hidden;
}

.footer-social-icon::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(255,255,255,0.2);
    top:100%;
    left:0;
    transition:0.4s;
}

.footer-social-icon:hover::before{
    top:0;
}

.footer-social-icon:hover{
    background:var(--secondary);
    color:#fff;
    transform:translateY(-4px);
}

/* =========================================
   TEAM SECTION
========================================= */

.team-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.5s ease;
    height:100%;
}

.team-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.team-img{
    width:100%;
    height:300px;
    overflow:hidden;
}

.team-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.6s ease;
}

.team-card:hover .team-img img{
    transform:scale(1.08);
}

.team-content{
    padding:25px 20px;
}

.team-content h4{
    font-size:22px;
    font-weight:700;
    margin-bottom:8px;
    color:var(--primary);
}

.team-content p{
    margin-bottom:0;
    color:#666;
    font-size:16px;
}

/* =========================================
   BREADCRUMB SECTION
========================================= */

.breadcrumb-section{
    position:relative;
    background:url('../images/breadcrumb-bg.jpeg') center center/cover no-repeat;
    padding:140px 0;
    overflow:hidden;
}

.breadcrumb-overlay{
    position:absolute;
    width:100%;
    height:100%;
    inset:0;
    background:rgba(0,0,0,0.65);
}

.breadcrumb-content{
    position:relative;
    z-index:2;
    color:#fff;
}

.breadcrumb-content h1{
    font-size:60px;
    font-weight:700;
    margin-bottom:15px;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a{
    color:#fff;
    text-decoration:none;
    font-size:18px;
}

.breadcrumb-item.active{
    color:#d4d4d4 !important;
}

.breadcrumb-item + .breadcrumb-item::before{
    color:#fff;
}

/* =========================================
   WHATSAPP FLOAT
========================================= */

.whatsapp-float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:25px;
    right:25px;
    background:#25d366;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    text-decoration:none;
    z-index:999;
    box-shadow:0 8px 25px rgba(0,0,0,0.2);
    animation:pulse 2s infinite;
}

/* =========================================
   SCROLL ANIMATION
========================================= */

.program-card,
.event-card,
.team-card,
.mission-card,
.gallery-img{
    opacity:0;
    transform:translateY(40px);
}

.show-animation{
    opacity:1 !important;
    transform:translateY(0) !important;
    transition:all 1s ease;
}

/* =========================================
   ANIMATIONS
========================================= */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes pulse{
    0%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.1);
    }
    100%{
        transform:scale(1);
    }
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:991px){

    .social-header-icons{
        margin-top:15px;
        margin-left:0;
    }

    .logo{
        width:220px;
    }
}

@media(max-width:768px){

    .hero-content{
        text-align:center;
    }

    .hero-content h1{
        font-size:38px;
    }

    .section-title h2{
        font-size:32px;
    }

    .hero-section{
        min-height:90vh;
    }

    .hero-btns{
        display:flex;
        flex-direction:column;
        gap:15px;
    }

    .hero-btns .btn{
        width:100%;
    }

    .section-padding{
        padding:60px 0;
    }

    .breadcrumb-section{
        padding:100px 0;
    }

    .breadcrumb-content h1{
        font-size:38px;
    }

    .team-img{
        height:260px;
    }

    .team-content h4{
        font-size:20px;
    }

    .gallery-img{
        height:200px;
    }

    .cta-section h2{
        font-size:32px;
    }

    .logo{
        width:180px;
    }
}

/* =========================================
   FEATURED EVENT
========================================= */

.featured-event{
    position:relative;
    min-height:500px;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

.featured-event-img{
    width:100%;
    height:500px;
    object-fit:cover;
    transition:0.8s ease;
}

.featured-event:hover .featured-event-img{
    transform:scale(1.08);
}

.featured-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to right,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.3));
}

.featured-content{
    position:absolute;
    top:50%;
    left:60px;
    transform:translateY(-50%);
    color:#fff;
    max-width:600px;
    z-index:2;
}

.featured-content h2{
    font-size:48px;
    font-weight:700;
    margin:20px 0;
}

.featured-badge{
    background:#25d366;
    padding:10px 20px;
    border-radius:50px;
    font-weight:600;
    display:inline-block;
}

/* =========================================
   PREMIUM EVENT CARD
========================================= */

.premium-event-card{
    overflow:hidden;
    position:relative;
}

.event-image-wrapper{
    position:relative;
    overflow:hidden;
}

.event-overlay-content{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:0.5s;
}

.premium-event-card:hover .event-overlay-content{
    opacity:1;
}

.event-date{
    position:absolute;
    top:20px;
    left:20px;
    width:70px;
    height:70px;
    border-radius:20px;
    background:#25d366;
    color:#fff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    font-weight:700;
    z-index:2;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

.event-date span{
    font-size:24px;
    line-height:1;
}

.event-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(37,211,102,0.1);
    color:#25d366;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:768px){

    .featured-event{
        min-height:400px;
    }

    .featured-event-img{
        height:400px;
    }

    .featured-content{
        left:25px;
        right:25px;
    }

    .featured-content h2{
        font-size:32px;
    }

    .event-date{
        width:60px;
        height:60px;
    }

    .event-date span{
        font-size:20px;
    }
}

/* =========================================
   GALLERY SECTION
========================================= */

.gallery-container .col-lg-4,
.gallery-container .col-md-6,
.gallery-container .col-6{
    display:flex;
}

/* Gallery Card */

.premium-gallery-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    cursor:pointer;
    width:100%;

    /* SAME SIZE FOR ALL THUMBNAILS */
    height:320px;

    background:#f5f5f5;

    box-shadow:0 10px 25px rgba(0,0,0,0.12);

    transition:0.4s ease;
}

/* Image */

.premium-gallery-card img{
    width:100%;
    height:100%;

    /* IMPORTANT */
    object-fit:cover;
    object-position:center;

    display:block;

    transition:0.7s ease;
}

/* Hover Effect */

.premium-gallery-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,0.18);
}

.premium-gallery-card:hover img{
    transform:scale(1.08);
}

/* Overlay */

.gallery-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,0.45);

    display:flex;
    align-items:center;
    justify-content:center;

    opacity:0;

    transition:0.4s ease;

    /* IMPORTANT */
    pointer-events:none;
}

/* Search Icon */

.gallery-overlay i{
    color:#fff;
    font-size:42px;

    width:80px;
    height:80px;

    border-radius:50%;

    background:rgba(255,255,255,0.2);

    display:flex;
    align-items:center;
    justify-content:center;

    backdrop-filter:blur(6px);

    transform:scale(0.7);

    transition:0.4s ease;
}

/* Hover Overlay */

.premium-gallery-card:hover .gallery-overlay{
    opacity:1;
}

.premium-gallery-card:hover .gallery-overlay i{
    transform:scale(1);
}

/* =========================================
   LIGHTBOX POPUP
========================================= */

.gallery-lightbox{
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.95);

    z-index:99999;

    display:none;

    align-items:center;
    justify-content:center;

    padding:30px;
}

/* Popup Image */

.lightbox-image{
    max-width:90%;
    max-height:85vh;

    border-radius:20px;

    animation:zoomIn 0.4s ease;
}

/* Close Button */

.close-lightbox{
    position:absolute;

    top:20px;
    right:35px;

    color:#fff;

    font-size:45px;

    cursor:pointer;

    z-index:10;

    transition:0.3s ease;
}

.close-lightbox:hover{
    color:#25d366;
}

/* Navigation Buttons */

.lightbox-prev,
.lightbox-next{
    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:60px;
    height:60px;

    border-radius:50%;

    background:rgba(255,255,255,0.15);

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    font-size:24px;

    transition:0.3s ease;
}

/* Hover */

.lightbox-prev:hover,
.lightbox-next:hover{
    background:#25d366;
}

/* Positions */

.lightbox-prev{
    left:25px;
}

.lightbox-next{
    right:25px;
}

/* =========================================
   ANIMATION
========================================= */

@keyframes zoomIn{

    from{
        transform:scale(0.8);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}

/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:992px){

    .premium-gallery-card{
        height:260px;
    }

}

@media(max-width:768px){

    .premium-gallery-card{
        height:220px;
        border-radius:18px;
    }

    .gallery-overlay i{
        width:60px;
        height:60px;
        font-size:28px;
    }

    .lightbox-image{
        max-width:95%;
    }

    .lightbox-prev,
    .lightbox-next{
        width:45px;
        height:45px;
        font-size:18px;
    }

    .close-lightbox{
        font-size:35px;
        right:20px;
    }

}

@media(max-width:576px){

    .premium-gallery-card{
        height:170px;
    }

}

/* =========================================
   TEAM PAGE PREMIUM DESIGN
========================================= */

.team-premium-section{
    background:#f8faf8;
    position:relative;
}

.section-badge{
    display:inline-block;
    padding:10px 22px;
    background:#0b5d1e;
    color:#fff;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
    letter-spacing:1px;
}

.team-subtitle{
    max-width:720px;
    margin:auto;
    color:#666;
    font-size:17px;
    line-height:1.8;
}

/* Team Card */

.premium-team-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    transition:0.5s ease;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    height:100%;
    position:relative;
}

.premium-team-card:hover{
    transform:translateY(-12px);
    box-shadow:0 18px 40px rgba(0,0,0,0.16);
}

/* Team Image */

.premium-team-img{
    position:relative;
    overflow:hidden;
    height:320px;
}

.premium-team-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.7s ease;
}

.premium-team-card:hover .premium-team-img img{
    transform:scale(1.08);
}

/* Social Icons */

.team-socials{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:12px;
    opacity:0;
    transition:0.4s ease;
}

.premium-team-card:hover .team-socials{
    opacity:1;
    bottom:30px;
}

.team-socials a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    color:#0b5d1e;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:0.3s ease;
    font-size:16px;
}

.team-socials a:hover{
    background:#25d366;
    color:#fff;
}

/* Content */

.premium-team-content{
    padding:28px 24px;
    text-align:center;
}

.premium-team-content h4{
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
    color:#111;
}

.premium-team-content span{
    display:inline-block;
    color:#0b5d1e;
    font-weight:600;
    margin-bottom:16px;
    font-size:15px;
}

.premium-team-content p{
    color:#666;
    line-height:1.8;
    font-size:15px;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

    .premium-team-img{
        height:280px;
    }

    .premium-team-content{
        padding:22px 18px;
    }

    .premium-team-content h4{
        font-size:21px;
    }

}


/* =========================================
   CONTACT PAGE PREMIUM DESIGN
========================================= */

.contact-premium-section{
    background:#f8faf8;
}

.contact-subtitle{
    max-width:700px;
    margin:auto;
    color:#666;
    line-height:1.8;
}

/* Form Box */

.contact-form-box{
    background:#fff;
    padding:45px;
    border-radius:25px;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
    height:100%;
}

/* Inputs */

.premium-input{
    border:none;
    background:#f3f5f4;
    border-radius:14px;
    padding:16px 18px;
    font-size:15px;
    transition:0.4s ease;
}

.premium-input:focus{
    box-shadow:none;
    background:#fff;
    border:2px solid #0b5d1e;
}

/* Button */

.premium-btn{
    background:#0b5d1e;
    color:#fff;
    border:none;
    padding:15px 35px;
    border-radius:50px;
    font-weight:600;
    transition:0.4s ease;
}

.premium-btn:hover{
    background:#25d366;
    transform:translateY(-3px);
}

/* Contact Info */

.contact-info-box{
    background:linear-gradient(135deg,#0b5d1e,#167b2d);
    padding:45px 35px;
    border-radius:25px;
    color:#fff;
    height:100%;
    position:relative;
    overflow:hidden;
}

.contact-info-box::before{
    content:'';
    position:absolute;
    width:220px;
    height:220px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-60px;
    right:-60px;
}

.contact-info-box h3{
    font-size:32px;
    margin-bottom:35px;
    font-weight:700;
}

.contact-info-item{
    display:flex;
    gap:18px;
    margin-bottom:30px;
    position:relative;
    z-index:2;
}

.contact-icon{
    width:60px;
    height:60px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    flex-shrink:0;
}

.contact-info-item h5{
    font-size:20px;
    margin-bottom:6px;
}

.contact-info-item p{
    margin:0;
    color:#e8f5e9;
    line-height:1.7;
}

/* Social Icons */

.contact-socials{
    display:flex;
    gap:14px;
}

.contact-socials a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#fff;
    color:#0b5d1e;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:0.4s ease;
}

.contact-socials a:hover{
    background:#25d366;
    color:#fff;
    transform:translateY(-5px);
}

/* Google Map */

.map-section iframe{
    filter:grayscale(10%);
}

/* Mobile */

@media(max-width:768px){

    .contact-form-box{
        padding:30px 22px;
    }

    .contact-info-box{
        padding:35px 25px;
    }

    .contact-info-box h3{
        font-size:28px;
    }

}

/* =========================================
   CCTV MODAL
========================================= */

.cctv-modal-content{
    background:#111;
    border-radius:25px;
    overflow:hidden;
    border:2px solid #1fa84f;
    box-shadow:0 0 40px rgba(0,0,0,0.5);
}

/* HEADER */

.cctv-header{
    background:#167d34;
    padding:22px 30px;
}

.cctv-header .modal-title{
    color:#fff;
    font-size:2rem;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:14px;
}

/* LIVE DOT */

.live-dot{
    width:22px;
    height:22px;
    background:red;
    border-radius:50%;
    animation:liveBlink 1s infinite;
    display:inline-block;
}

@keyframes liveBlink{
    0%{opacity:1;}
    50%{opacity:0.3;}
    100%{opacity:1;}
}

/* BODY */

.cctv-body{
    padding:0;
    position:relative;
    height:650px;
    overflow:hidden;
    background:#000;
}

/* =========================================
   LOADING SCREEN
========================================= */

.cctv-loading{
    position:absolute;
    inset:0;
    background:#000;
    z-index:10;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    transition:1s;
}

.loader-circle{
    width:90px;
    height:90px;
    border:7px solid rgba(255,255,255,0.15);
    border-top:7px solid #00ff6a;
    border-radius:50%;
    animation:spin 1s linear infinite;
    margin-bottom:30px;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.cctv-loading h2{
    color:#fff;
    font-size:3rem;
    font-weight:800;
    margin-bottom:10px;
}

.cctv-loading p{
    color:#ccc;
    font-size:1.2rem;
}

/* =========================================
   FAKE CCTV SCREEN
========================================= */

.fake-cctv-screen{
    position:absolute;
    inset:0;
    background:
    linear-gradient(rgba(0,255,0,0.03), rgba(0,255,0,0.03)),
    url('assets/images/cctv-bg.jpg');

    background-size:cover;
    background-position:center;

    opacity:0;
    transition:1s;

    overflow:hidden;
}

/* SHOW SCREEN */

.fake-cctv-screen.active{
    opacity:1;
}

/* HIDE LOADER */

.cctv-loading.hide{
    opacity:0;
    visibility:hidden;
}

/* SCAN LINE */

.scan-line{
    position:absolute;
    width:100%;
    height:4px;
    background:rgba(0,255,100,0.7);

    animation:scanMove 4s linear infinite;
}

@keyframes scanMove{
    0%{
        top:-10px;
    }

    100%{
        top:100%;
    }
}

/* CAMERA NOISE */

.camera-noise{
    position:absolute;
    inset:0;

    background-image:url("https://www.transparenttextures.com/patterns/asfalt-dark.png");

    opacity:0.15;
}

/* OVERLAYS */

.cctv-overlay-top,
.cctv-overlay-bottom{
    position:absolute;
    width:100%;
    padding:20px 25px;

    display:flex;
    justify-content:space-between;

    color:#00ff73;
    font-weight:700;
    font-size:1.1rem;
    letter-spacing:2px;
}

.cctv-overlay-top{
    top:0;
}

.cctv-overlay-bottom{
    bottom:0;
}

/* CENTER TEXT */

.cctv-center-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);

    color:#00ff73;
    font-size:3rem;
    font-weight:900;

    text-shadow:0 0 15px #00ff73;
}

/* MOBILE */

@media(max-width:768px){

    .cctv-body{
        height:500px;
    }

    .cctv-loading h2{
        font-size:2rem;
        text-align:center;
    }

    .cctv-center-text{
        font-size:2rem;
        text-align:center;
    }

}