﻿/* === Smart Dropdown Menu Design === */
.career-header {
    background: linear-gradient(135deg, #609E37, #BA9447);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.career-header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
}
.career-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 15px auto 0;
    color: #f8f8f8;
}
.nav-item {
    color: #222;
}
.nav-item.dropdown .dropdown-toggle {
    position: relative;
    color: #222;
    transition: color 0.3s ease;
}
.nav-item.dropdown .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    border: 5px solid transparent;
    border-top-color: #609E37;
    transition: transform 0.3s ease;
}
.nav-item .dropdown:hover .dropdown-toggle {
}
.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Show dropdown smoothly */
.nav-item.dropdown:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Dropdown item style */
.dropdown-menu .dropdown-item {
    font-weight: 500;
    color: #333;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.dropdown-menu .dropdown-item:hover {
    background: linear-gradient(90deg, #e8f5e2, #f0f7e8);
    color: #609E37;
    border-left: 4px solid #609E37;
    padding-left: 24px;
}

/* Optional: subtle divider line between items */
.dropdown-menu .dropdown-item:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
}
.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #609E37 !important;
}

.job-img {
    width: 97%;
    padding: 5px;
    border: solid 4px #f2ed99;
    margin-bottom: 20px;
}

/* Main menu items */
.menu-item {
    font-weight: 500;
    color: #222;
    padding: 0.8rem 1rem;
    transition: background 0.3s;
}
.menu-item:hover {
    background: #f1f1f1;
    border-radius: 8px;
}

/* Sub-menu items */
.sub-menu-item {
    display: block;
    padding: 0.6rem 1.5rem;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.sub-menu-item:hover {
    background: #e9ecef;
    color: #222;
    border-radius: 5px;
}
/* -------------------------
            DESKTOP VIEW (default)
          --------------------------*/
.dropdown-submenu {
    position: relative !important;
}

.dropdown-submenu > .dropdown-menu {
    top: 0 !important;
    left: 100% !important;
    display: none !important;
    position: absolute !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
}

/* -------------------------
            MOBILE VIEW (max-width: 991px)
            --------------------------*/
@media (max-width: 991px) {
    /* Make submenu open vertically */
    .dropdown-submenu > .dropdown-menu {
        position: static !important;
        left: 0 !important;
        top: 0 !important;
        display: none !important; /* still hidden */
        margin-left: 0 !important;
        border-left: none !important;
        width: 100%;
    }

    /* On click (Bootstrap handles .show class), dropdown-menu auto opens */
    .dropdown-submenu > a.dropdown-toggle::after {
        float: right;
        transform: rotate(90deg);
    }

    /* When Bootstrap adds .show class in mobile */
    .dropdown-submenu.show > .dropdown-menu {
        display: block !important;
    }
}

.advisor-section {
    background: linear-gradient(135deg, #fdfdfd, #f8f9fa);
    padding: 20px 20px;
    position: relative;
}

.advisor-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    animation: fadeUp 0.8s ease forwards;
}

.advisor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.advisor-photo {
    flex: 1 1 40%;
    background: linear-gradient(135deg, #e8f5e2, #f5f9f0);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.advisor-photo img {
    width: 280px;
    height: 280px;
    object-fit: fill;
    /* border-radius: 50%; */
    border: 6px solid gold;
    box-shadow: 0 6px 15px rgba(96, 158, 55, 0.3);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.advisor-photo img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(96, 158, 55, 0.5);
}

.advisor-photo h3 {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.advisor-photo p {
    color: #555;
    font-size: 14px;
}

.advisor-content {
    flex: 1 1 60%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advisor-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #609E37;
    margin-bottom: 20px;
    position: relative;
}

.advisor-content h2::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #BA9447;
    display: block;
    margin-top: 8px;
    border-radius: 2px;
}

.advisor-content p {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.signature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.signature img {
    width: 100px;
    object-fit: contain;
}

.signature p {
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    color: #222;
}

/* Responsive */
@media (max-width: 992px) {
    .advisor-card {
        flex-direction: column-reverse;
        text-align: center;
    }
    .advisor-content {
        padding: 30px;
    }
    .advisor-photo {
        padding: 40px;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== Career Page Smart Digital Design ==== */
.career-header {
    background: linear-gradient(135deg, #609E37, #BA9447);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.career-header h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
}
.career-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 15px auto 0;
    color: #f8f8f8;
}

.career-section {
    background: #f8f9fa;
    padding: 80px 20px;
}

.career-title {
    text-align: center;
    margin-bottom: 50px;
}
.career-title h2 {
    font-weight: 700;
    color: #333;
}
.career-title p {
    color: #777;
}

.job-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: 0.3s;
    border-top: 4px solid transparent;
}
.job-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid #609E37;
    box-shadow: 0 6px 25px rgba(96, 158, 55, 0.15);
}

.job-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}
.job-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 1px;
}
.job-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

.apply-btn {
    background: linear-gradient(90deg, #609E37, #BA9447);
    color: #fff;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
}
.apply-btn:hover {
    background: linear-gradient(90deg, #4a7d2b, #9a7a35);
    color: #fff;
}

.no-jobs {
    text-align: center;
    font-size: 18px;
    color: #777;
    padding: 50px 0;
}

.pdf-btn {
    background: linear-gradient(90deg, #1d3557, #457b9d);
    color: #fff;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}
.pdf-btn i {
    margin-right: 6px;
}
.pdf-btn:hover {
    background: linear-gradient(90deg, #1a2d45, #3b5a7e);
    color: #fff;
    text-decoration: none;
}

.about-area {
    background: #ffffff;
}

.about-left-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}
.about-left-img img:hover {
    transform: scale(1.03);
}

.about-content .title {
    font-size: 32px;
    font-weight: 800;
    color: #609E37;
    margin-bottom: 20px;
}

.read-more {
    max-height: 260px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.6s ease;
}
.read-more.expanded {
    max-height: 2000px;
}
.fade-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(to top, #fff, transparent);
}
.read-more.expanded .fade-overlay {
    opacity: 0;
}

.btn-toggle {
    background: #609E37;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    padding: 10px 26px;
    border: none;
    transition: 0.3s;
}
.btn-toggle:hover {
    background: #4a7d2b;
    transform: translateY(-2px);
}

.counter {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 5px;
}

/* ===== Achievements Section ===== */
.section {
    background: #f8f9fa;
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-weight: 800;
    color: #609E37;
}
.section-title p {
    color: #555;
    font-weight: 500;
}

/* ===== Achievement Cards ===== */
.achievement-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    background: #fff;
}

.achievement-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

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

.achievement-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: background 0.3s ease;
}

.achievement-card:hover .achievement-title {
    background: rgba(96, 158, 55, 0.9);
}

.management-section {
    background: #fafafa;
    padding: 10px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}
.section-title p {
    color: #777;
    font-size: 16px;
    max-width: 650px;
    margin: 10px auto 0;
}

.management-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
    height: 100%;
}
.management-card:hover {
    transform: translateY(-6px);
    border-top: 5px solid #609E37;
    box-shadow: 0 8px 30px rgba(96, 158, 55, 0.15);
}

.management-img {
    width: 160px;
    height: 160px;
    /* border-radius: 50%; */
    object-fit: fill;
    margin-bottom: 18px;
    border: 3px solid goldenrod;
    transition: 0.3s;
}
.management-card:hover .management-img {
    border-color: #BA9447;
}

.management-name {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}
.management-role {
    font-size: 15px;
    color: #609E37;
    font-weight: 600;
    margin-bottom: 15px;
}

.view-btn {
    background: #609E37;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}
.view-btn:hover {
    background: #BA9447;
}
.modal-content {
    border-radius: 16px;
    border: none;
}
.modal-header {
    border-bottom: none;
}
.profile-img {
    object-fit: cover;
    background: #f0f0f0;
}
.bi-dot {
    font-size: 0.7rem;
    vertical-align: middle;
}

/* ===== Smart Modern Gallery Style ===== */
.gallery-section {
    background: linear-gradient(135deg, #fafafa, #fff);
    padding: 20px 20px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
}

.gallery-header p {
    color: #555;
    font-size: 17px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab {
    background: #f1f1f1;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover,
.tab.active {
    background: linear-gradient(90deg, #609E37, #BA9447);
    color: #fff;
    box-shadow: 0 4px 12px rgba(96, 158, 55, 0.3);
    transform: translateY(-2px);
}

/* Masonry Smart Grid */
.gallery-container {
    display: none;
    column-count: 4;
    column-gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-container.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@media (max-width: 992px) {
    .gallery-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .gallery-container {
        column-count: 1;
    }
}

/* Card Style */
.gallery-item {
    position: relative;
    margin-bottom: 15px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    border-radius: 15px;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay i {
    font-size: 24px;
    color: #fff;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.3s ease;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.lightbox .close-btn {
    position: absolute;
    top: 140px;
    right: 50px;
    font-size: 38px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox .close-btn:hover {
    color: #609E37;
}

.lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.arrow.left {
    left: 50px;
}

.arrow.right {
    right: 50px;
}

.arrow:hover {
    color: #609E37;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==== Top Management Page ==== */
.header-section {
    background: linear-gradient(135deg, #609E37, #BA9447);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.header-section h1 {
    font-size: 48px;
    font-weight: 700;
}

.header-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 15px auto 0;
    color: #f8f8f8;
}

.section {
    background: #f8f9fa;
    padding: 10px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    color: #333;
}

.section-title p {
    color: #777;
}

/* Management Card */
.management-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: 0.3s;
    text-align: center;
}

.management-card:hover {
    transform: translateY(-5px);
    border-top: 4px solid #f1ed96;
    box-shadow: 0 6px 25px rgba(96, 158, 55, 0.15);
}

.management-img {
    width: 120px;
    /* increased from 120px */
    height: 120px;
    /* increased from 120px */
    border-radius: 10%;
    object-fit: fill;
    margin-bottom: 15px;
    border: 3px solid goldenrod;
}

.management-name {
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.management-role {
    font-size: 12px;
    color: #555;
    margin-bottom: 12px;
}

.management-bio {
    font-size: 14px;
    color: #777;
}

.news-card {
    transition: all 0.4s ease;
    border-radius: 20px;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.news-img img {
    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
    filter: brightness(90%);
}

.read-more {
    transition: all 0.3s ease;
}

.news-card:hover .read-more {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

.news-card:hover .read-more i {
    transform: translateX(3px);
    transition: transform 0.3s ease;
}

/* ===== Smart Modern Gallery Style ===== */
.gallery-section {
    background: linear-gradient(135deg, #fafafa, #fff);
    padding: 80px 20px;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
}

.gallery-header p {
    color: #555;
    font-size: 17px;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab {
    background: #f1f1f1;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab:hover,
.tab.active {
    background: linear-gradient(90deg, #609E37, #BA9447);
    color: #fff;
    box-shadow: 0 4px 12px rgba(96, 158, 55, 0.3);
    transform: translateY(-2px);
}

/* Masonry Smart Grid */
.gallery-container {
    display: none;
    column-count: 4;
    column-gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-container.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@media (max-width: 992px) {
    .gallery-container {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-container {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .gallery-container {
        column-count: 1;
    }
}

/* Card Style */
.gallery-item {
    position: relative;
    margin-bottom: 15px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    border-radius: 15px;
}

.gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay i {
    font-size: 24px;
    color: #fff;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.3s ease;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.lightbox .close-btn {
    position: absolute;
    top: 140px;
    right: 50px;
    font-size: 38px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox .close-btn:hover {
    color: #609E37;
}

.lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}

.arrow.left {
    left: 50px;
}

.arrow.right {
    right: 50px;
}

.arrow:hover {
    color: #609E37;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    text-align: center;
    margin: 50px 0 20px;
}

.section-title h2 {
    font-size: 32px;
    color: #222;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 15px;
}

/* Video Gallery Grid */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px 60px;
}

/* Video Card */
.video-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    height: 200px;
}

.video-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

/* Play Button */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.3s,
        background 0.3s;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0, 0, 0, 0.7);
}

/* Video Title Overlay */
.video-card::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-card:hover::after {
    opacity: 1;
}

/* Lightbox */
.video-lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.video-lightbox.active {
    display: flex;
}

.video-lightbox iframe {
    width: 80%;
    height: 70%;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #609E37;
}

@media (max-width: 768px) {
    .video-lightbox iframe {
        width: 95%;
        height: 55%;
    }

    .video-card {
        height: 180px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-btns .btn {
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.hero-btns .btn-accent {
    background-color: green;
    border-color: lawngreen;
    color: #000;
}

.video-overlay {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    top: 50% !important;
    bottom: auto !important;
}

.hero-news {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    height: 70vh;
    overflow: hidden;
}

.hero-news::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.75)
    );
}

.hero-news-content {
    position: absolute;
    bottom: 60px;
    left: 50px;
    color: #fff;
    z-index: 2;
    max-width: 700px;
}

.hero-news-content h1 {
    font-weight: 700;
    font-size: 2.8rem;
}

.meta-info {
    font-size: 0.95rem;
    color: #ddd;
}

.article-body {
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-body img {
    border-radius: 12px;
    margin: 25px 0;
}

blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    border-left: 4px solid var(--bs-primary);
    padding-left: 20px;
    margin: 40px 0;
}

.tag-pill {
    background: #f1f5f9;
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--bs-primary);
    font-weight: 500;
    transition: 0.3s;
}

.tag-pill:hover {
    background: var(--bs-primary);
    color: #fff;
}

.sidebar-news img {
    border-radius: 10px;
}

.sidebar-news h6:hover {
    color: var(--bs-primary);
}

.share-icons a {
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-icons a:hover {
    background: var(--bs-primary);
    color: #fff;
}

/* ===========================
    HERO SECTION (Animated) Subsidiaries Page CSS
    =========================== */

/* Dark overlay */
.subsidiry .hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.subsidiry .hero-content {
    position: relative;
    z-index: 3;
}

.subsidiry .hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
}

/* 🔥 Keyframes animation */
@keyframes heroZoom {
    0% {
        transform: scale(1);
        filter: brightness(0.75);
    }
    100% {
        transform: scale(1.15);
        filter: brightness(0.9);
    }
}
/* ===========================
    ABOUT COMPANY
    =========================== */
.subsidiry .about-company p {
    line-height: 1.8;
    color: #555;
}
.subsidiry .about-company img {
    border-radius: 20px;
}

/* ===========================
    CORE VALUES
    =========================== */
.subsidiry .principle-card {
    padding: 25px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
}
.subsidiry .principle-card i {
    font-size: 38px;
    color: #609E37;
    margin-bottom: 12px;
}
.subsidiry .principle-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}
.subsidiry .principle-card p {
    font-size: 15px;
    color: #666;
}
.subsidiry .principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
/* ===========================
    STATS
    =========================== */
.subsidiry .stats-smart {
    padding: 70px 0;
    background: #e8f0ff; /* 🔵 Light premium background */
}

.subsidiry .stat-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.35s ease;
}

.subsidiry .stat-box h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 10px;
}

.subsidiry .stat-box p {
    font-size: 15px;
    color: #333;
    margin: 0;
}

.subsidiry .stat-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

/* ===========================
    GALLERY
    =========================== */
.subsidiry .gallery img {
    border-radius: 15px;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}
.subsidiry .gallery img:hover {
    transform: scale(1.05);
    filter: brightness(85%);
}

.subsidiry .section {
    background: #f8f9fa;
    padding: 20px 0;
}

.subsidiry .section-title {
    text-align: center;
    margin-bottom: 50px;
}
.subsidiry .section-title h2 {
    font-weight: 700;
    color: #222;
    font-size: 36px;
}
.section-title p {
    color: #777;
    max-width: 600px;
    margin: 10px auto 0;
}

/* ===== Achievement Cards ===== */
.subsidiry .achievement-slider {
    overflow: hidden;
    position: relative;
}

.subsidiry .slider-track {
    display: flex;
    transition: transform 0.6s ease;
}

.subsidiry .achievement-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
    background: #fff;
    min-width: 33.333%;
    margin: 0 10px;
}

.subsidiry .achievement-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

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

.subsidiry .achievement-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 12px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: background 0.3s ease;
}

.subsidiry .achievement-card:hover .achievement-title {
    background: rgba(96, 158, 55, 0.9);
}

/* Dots */
.subsidiry .achievement-dots {
    text-align: center;
    margin-top: 20px;
}

.subsidiry .achievement-dots .dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease;
}

.subsidiry .achievement-dots .dot.active {
    background-color: #609E37;
}

/* <!-- Company Gallery --> */

/* ===== Smart Modern Gallery Style ===== */
.subsidiry .gallery-section {
    background: linear-gradient(135deg, #fafafa, #fff);
    padding: 80px 20px;
}

.subsidiry .gallery-header {
    text-align: center;
    margin-bottom: 50px;
}
.subsidiry .gallery-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    letter-spacing: 1px;
}
.subsidiry .gallery-header p {
    color: #555;
    font-size: 17px;
}

/* Tabs */
.subsidiry .tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}
.subsidiry .tab {
    background: #f1f1f1;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}
.subsidiry .tab:hover,
.subsidiry .tab.active {
    background: linear-gradient(90deg, #609E37, #BA9447);
    color: #fff;
    box-shadow: 0 4px 12px rgba(96, 158, 55, 0.3);
    transform: translateY(-2px);
}

/* Masonry Smart Grid */
.subsidiry .gallery-container {
    display: none;
    column-count: 4;
    column-gap: 15px;
    max-width: 1300px;
    margin: 0 auto;
}
.subsidiry .gallery-container.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
@media (max-width: 992px) {
    .subsidiry .gallery-container {
        column-count: 3;
    }
}
@media (max-width: 768px) {
    .subsidiry .gallery-container {
        column-count: 2;
    }
}
@media (max-width: 500px) {
    .subsidiry .gallery-container {
        column-count: 1;
    }
}

/* Card Style */
.subsidiry .gallery-item {
    position: relative;
    margin-bottom: 15px;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: all 0.3s ease;
}
.subsidiry .gallery-item img {
    width: 100%;
    height: 200px;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
    border-radius: 15px;
}
.subsidiry .gallery-item:hover img {
    transform: scale(1.07);
    filter: brightness(1.1);
}
.subsidiry .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}
.subsidiry .gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.subsidiry .gallery-overlay h5 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}
.subsidiry .gallery-overlay i {
    font-size: 24px;
    color: #fff;
}

/* Lightbox */
.subsidiry .lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.3s ease;
}
.subsidiry .lightbox.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}
.subsidiry .lightbox img {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}
.subsidiry .lightbox .close-btn {
    position: absolute;
    top: 140px;
    right: 50px;
    font-size: 38px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}
.subsidiry .lightbox .close-btn:hover {
    color: #609E37;
}
.subsidiry .lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}
.subsidiry .arrow.left {
    left: 50px;
}
.subsidiry .arrow.right {
    right: 50px;
}
.subsidiry .arrow:hover {
    color: #609E37;
}

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