﻿:root {
    --primary: #2E8B57;
    --primary-dark: #1F6B48;
    --primary-light: #3CBC77;
    --accent: #FF6B35;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    background-color: #f9fdfb;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: var(--primary);
    }

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.section {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    /*margin-bottom: 50px;*/
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

    .section-title:after {
        content: '';
        display: block;
        width: 60px;
        height: 3px;
        background: var(--primary);
        margin: 15px auto;
    }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .video-card img {
        transition: transform 0.5s;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .video-card:hover img {
        transform: scale(1.05);
    }

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0.9;
    transition: all 0.3s;
}

    .play-btn:hover {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }

/*.carousel-item {
    height: auto;
    min-height: 400px;
    padding: 40px 0;
}

.carousel-caption {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-control-prev, .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s;
}

    .carousel-control-prev:hover, .carousel-control-next:hover {
        opacity: 1;
    }*/
/* Ensure uniform height for all carousel items */
.carousel-item {
    position: relative;
    height: 500px; /* Standard height for all slides */
    min-height: 400px;
    overflow: hidden;
    background-color: #000; /* Fallback color for videos/images */
}

    /* Scale images and videos properly within the frame */
    .carousel-item img,
    .carousel-item video {
        object-fit: cover; /* Crop intelligently without distortion */
        width: 100%;
        height: 100%;
    }

/* Caption area styling (if used) */
.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel controls styling */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0.5);
    }

/* Optional: add a gentle zoom-in effect for a premium look */
.carousel-item img,
.carousel-item video {
    transition: transform 6s ease;
}

.carousel-item.active img,
.carousel-item.active video {
    transform: scale(1.03);
}
.video-wrapper {
    position: relative;
}
/* Unmute button refinement */
.unmute-btn {
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

    .unmute-btn:hover {
        opacity: 1;
        transform: scale(1.05);
    }

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-primary:hover {
        background-color: var(--primary-dark);
        border-color: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        color: white;
    }

.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.social-links a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: all 0.3s;
}

    .social-links a:hover {
        color: var(--primary-light);
    }

.page-content {
    display: none;
}

    .page-content.active {
        display: block;
        animation: fadeIn 0.5s;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.form-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.25rem rgba(46, 139, 87, 0.25);
    }

.required:after {
    content: " *";
    color: #dc3545;
}

.intro-video {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.loading {
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
}
/* Hero Cards Styles */
.hero-cards {
    margin: 60px 0;
}

.hero-card {
    background: white;
    border-radius: 15px;
    padding: 3px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.hero-card-inner {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 139, 87, 0.3);
}

    .hero-card:hover .hero-card-inner {
        transform: scale(0.98);
    }

.hero-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.hero-card:hover .hero-image {
    border-color: var(--accent);
    transform: scale(1.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
}

    .hero-content h4 {
        color: var(--primary-dark);
        margin-bottom: 5px;
        font-weight: 700;
    }

.hero-designation {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-excerpt {
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-read-more {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .btn-read-more:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    }

/* Hero Modal Styles */
/* --- Hero Story Modal --- */
.hero-modal {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    animation: modalFadeIn 0.4s ease-in-out;
}

    /* Subtle animated gradient frame */
    .hero-modal .gradient-border {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(135deg, #2e8b57, #66cdaa, #20b2aa);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: 1;
        pointer-events: none;
    }

/* --- Circular Image --- */
.hero-image-wrapper {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f5f1, #ffffff);
    padding: 5px;
    position: relative;
    z-index: 2;
}

.hero-image-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d8f3dc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

    .hero-image-circle:hover {
        transform: scale(1.05);
    }

/* --- Story Text --- */
.hero-story-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
    text-align: justify;
    background: linear-gradient(to right, #2e8b57, #20b2aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInText 0.8s ease-in;
}

/* --- Animations --- */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Animation for cards */
@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card {
    animation: cardEntrance 0.6s ease-out;
}

    .hero-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .hero-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .hero-card:nth-child(3) {
        animation-delay: 0.3s;
    }

/* Video Carousel Styles */
.carousel-video {
    height: 500px;
    object-fit: cover;
}

.video-container {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-pause-btn {
    width: 60px;
    height: 60px;
    background: rgba(46, 139, 87, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .play-pause-btn:hover {
        background: rgba(46, 139, 87, 1);
        transform: scale(1.1);
    }

.video-indicator {
    display: inline-block;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Ensure consistent sizing */
.carousel-img, .carousel-video {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Carousel caption adjustments for videos */
.carousel-caption {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
    bottom: 50px;
}

/* Responsive video sizing */
@media (max-width: 768px) {
    .carousel-img, .carousel-video {
        height: 300px;
    }

    .carousel-caption {
        bottom: 20px;
        padding: 15px;
    }

    .play-pause-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
/* Enhanced Video Styles */
.carousel-video {
    height: 500px;
    object-fit: cover;
    background: #000; /* Black background for video loading */
}

.video-container {
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-container:hover .video-overlay,
.video-container.error .video-overlay {
    opacity: 1;
}

.video-format-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.file-info {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* Video error state */
.video-error {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

/* Loading states */
.carousel-item.loading {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
/* Responsive adjustments */
.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 3px;
}

    .logo-circle .logo-img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
.login-logo {
    display: block;
    margin: 0 auto 1rem auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
/* Gallery Styles */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(46, 139, 87, 0.2);
    }

.gallery-media {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-media {
    transform: scale(1.05);
}

.gallery-video {
    position: relative;
}

    .gallery-video::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gallery-video:hover::after {
        opacity: 1;
    }

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(46, 139, 87, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-video:hover .video-play-icon {
    opacity: 1;
}

.gallery-info {
    padding: 15px;
    background: white;
}

.gallery-title {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1rem;
}

.gallery-type {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

/* Filter Buttons */
.btn-group .btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Gallery Modal */
#galleryModal .modal-content {
    border-radius: 15px;
    border: none;
}

#galleryModal .modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-media {
        height: 200px;
    }

    .gallery-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-media {
        height: 180px;
    }

    .video-play-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animation for gallery items */
.gallery-item {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 60px 0;
    }

    .carousel-item {
        min-height: 500px;
    }
}body {
}
