﻿/* === General Table Styles === */
table {
    width: 100%;
    border: solid 1px;
}


/* === Global Styles === */
body {
    background-color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #757575;
    margin-top: -21px;
}

h2 {
    margin-bottom: 20px;
}

/* === Social Cards Section === */
.social-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Reduced gap */
    max-width: 1340px;
    margin: 0 auto;
    padding: 10px; /* Reduced padding */
}

.cards {
    background: #fff;
    color: #000;
    border-radius: 8px;
    padding: 10px; /* Reduced inner padding */
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    height: 500px;
}

    .cards h3 {
        margin-top: 0;
        font-size: 18px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 8px;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

.card p {
    color: #333;
}

iframe {
    width: 100%;
    border: none;
}

/* Responsive Social Section */
@media (max-width: 992px) {
    .social-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .social-container {
        grid-template-columns: 1fr;
    }
}

.key-section-wrapper1 {
    background-color: #f1eff0; /* full-width grey background */
    padding: 20px 0; /* spacing top & bottom */
}
/* === Section-wide Text Overrides === */
section {
    color: #000 !important;
}

    section .card-body,
    section .card-header,
    section .text-white {
        color: #000 !important;
    }

/* === Image Fit === */
.fixed-img {
    height: 210px;
    width: 100%;
    object-fit: contain;
    padding: 10px;
    background-color: #fff;
}

/* === Card Headers === */
.card-header1 {
    background-color: #fff !important;
    color: #302c51 !important;
    font-weight: bold;
    font-size: 1rem;
    border-bottom: 1px solid #ddd;
    padding: 1rem 1.25rem;
}

/* === About Section Buttons === */
.about-title {
    color: #6a1b9a;
    font-weight: bold;
}

.about-buttons .btn {
    border: 1px solid #6a1b9a;
    color: #6a1b9a;
    font-weight: 600;
}

    .about-buttons .btn:hover {
        background-color: #790e49;
        color: #fff;
    }

/* === Leader Cards === */
.col-md-5.d-flex {
    flex-wrap: nowrap !important;
    gap: 0px;
}

.leader-card {
    flex: 0 0 195px;
    text-align: center;
    margin: 1px;
    padding: 0px;
    background: transparent;
    box-shadow: none;
}

    .leader-card img {
        width: 70%;
        height: 180px;
        object-fit: cover;
        border: 1px solid #ccc;
        border-radius: 6px;
        padding: 0px;
    }

.leader-name {
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.leader-designation {
    font-size: 14px;
    color: #555;
}


/* === Scoped styles for Key Offerings & What’s New section === */
.key-section-wrapper {
    background-color: #f1eff0; /* full-width grey background */
    padding: 20px 0; /* spacing top & bottom */
}

    .key-section-wrapper .container {
        display: flex;
        justify-content: space-between;
        gap: 15px; /* Reduced gap */
        padding: 10px; /* Reduced padding inside container */
        flex-wrap: wrap;
        max-width: 1320px; /* keeps content centered */
        margin: 0 auto; /* center align inside grey */
    }

    .key-section-wrapper .section {
        background-color: #fff;
        border-radius: 5px;
        width: 48%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        color: #000;
        padding: 10px;
    }

    .key-section-wrapper .right-section {
        background-color: #790e49;
        color: #fff;
    }

    .key-section-wrapper .header {
        font-size: 22px;
        font-weight: bold;
        color: inherit;
        display: flex;
        align-items: center;
        padding: 15px 10px;
    }

        .key-section-wrapper .header i {
            margin-right: 10px;
        }

    .key-section-wrapper .tabs {
        display: flex;
        border-bottom: 2px solid #ccc;
        background-color: #fff;
        padding: 0 10px;
    }

    .key-section-wrapper .tab {
        padding: 10px 16px;
        cursor: pointer;
        font-weight: bold;
        color: #790e49;
        background-color: #fff;
        border: none;
        border-bottom: 3px solid transparent;
    }

        .key-section-wrapper .tab.active {
            background-color: #790e49;
            color: white;
            border-bottom: 3px solid #790e49;
        }

    /* Scrollable list in both sections */
    .key-section-wrapper .list {
        padding: 10px;
        max-height: 200px; /* adjust as per your design */
        overflow-y: auto; /* enables vertical scroll */
    }


    .key-section-wrapper .list-item {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 15px;
    }

    .key-section-wrapper .right-section .list-item {
        border-color: #97486e;
    }

    .key-section-wrapper .list-item a {
        font-size: 17px;
        text-decoration: none;
        color: inherit;
    }

    .key-section-wrapper .arrow {
        color: inherit;
        font-weight: bold;
    }

    .key-section-wrapper .view-more {
        text-align: right;
        padding: 10px;
    }

        .key-section-wrapper .view-more button {
            padding: 6px 12px;
            border: 1px solid #790e49;
            background-color: white;
            color: #790e49;
            cursor: pointer;
            font-weight: bold;
        }

    .key-section-wrapper .right-section .view-more button {
        background-color: white;
        color: #790e49;
    }
.view-more {
    visibility: hidden; /* hides it but space stays */
}

/* Responsive: Stack on small screens */
@media (max-width: 992px) {
    .key-section-wrapper .section {
        width: 100%;
    }
}



/* ==== Scoped styles for Info Section (Recent Docs, Personas, Links) ==== */
.info-section-wrapper {
    background-color: #fefcfc;
    padding: 25px 0px;
}

.info-section-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 2100px;
    margin: auto;
    flex-wrap: wrap;
    align-items: flex-start;
}

.info-box {
    background: #fff;
    border-radius: 5px;
    padding: 10px;
    flex: 1;
    min-width: 350px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

    .info-box .info-header {
        font-size: 20px;
        font-weight: bold;
        color: #790e49;
        display: flex;
        align-items: center;
        padding: 10px 0;
    }

        .info-box .info-header i {
            font-style: normal;
            font-size: 22px;
            margin-right: 10px;
        }

/* === Recent Documents Grid === */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-top: 10px;
}

.doc-card {
    border: 1px solid #790e49;
    border-radius: 5px;
    padding: 15px;
}

    .doc-card h4 {
        color: #790e49;
        margin-bottom: 11px;
    }

    .doc-card p {
        font-size: 14px;
        color: #333;
        margin: 0;
    }
    .doc-card:hover {
        background-color: #FAA0A0; /* light blue shade on hover */
        transform: translateY(-3px); /* subtle lift effect */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }


/* === Important Links Box === */
.important-links {
    background-color: white;
    color: #fff;
    min-height: 470px; /* ⬅️ Sets a minimum height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.link-list {
    padding: 10px 0;
    max-height: 300px;
    overflow-y: auto;
}

.link-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
    border-bottom: 1px solid #97486e;
    font-size: 18px;
    color: #333
}

.arrow {
    font-weight: bold;
}

/* === View More Button === */
.view-more {
    text-align: right;
    padding: 10px 0;
}

    .view-more button {
        background: #fff;
        border: 1px solid #790e49;
        color: #790e49;
        padding: 6px 14px;
        font-weight: bold;
        cursor: pointer;
        border-radius: 3px;
        font-size: 13px;
    }

/* === Responsive Fix === */
@media (max-width: 992px) {
    .info-section-container {
        flex-direction: column;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }
}

.persona-slider {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.slide {
    display: none;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.3s ease-in-out;
}

    .slide.active {
        display: flex;
    }

.pagination-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

    .pagination-dots .dot.active {
        background-color: #790e49;
    }



.info-section1 {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Ensures equal height */
    gap: 15px;
    padding: 20px;
    background-color: #d6e5f5;
    flex-wrap: wrap; /* Responsive for small screens */
}

.info-box1 {
    flex: 1;
    min-width: 300px;
    max-width: 32%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .info-box1 img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        display: block;
    }

    .info-box1 iframe {
        border: none;
        width: 100%;
        height: 250px;
    }

@media (max-width: 768px) {
    .info-box1 {
        max-width: 100%;
    }
}



.quote-section {
    background-color: #f0eeee;
    padding: 60px 20px; /* increased padding for more height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.quote-image {
    flex: 0 0 280px; /* more space for larger image */
    text-align: center;
    margin-bottom: 20px;
}

    .quote-image img {
        width: 350px; /* increased image size */
        height: auto;
        border-radius: 50%; /* keep circular */
       
    }

.quote-content {
    flex: 1;
    padding-left: 40px; /* more spacing from image */
}

.quote-text {
    font-size: 22px; /* larger text for better readability */
    color: #741947;
    line-height: 1.8;
    margin-bottom: 25px;
    border-bottom: 2px solid #741947;
    padding-bottom: 15px;
}

.quote-icon {
    color: #741947;
    margin-right: 10px;
    font-size: 26px; /* larger icon */
    vertical-align: middle;
}

.quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.quote-author,
.quote-date {
    color: #741947;
    font-weight: bold;
    font-size: 16px;
}

/* ✅ Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .quote-container {
        flex-direction: column;
        text-align: center;
    }

    .quote-content {
        padding-left: 0;
    }

    .quote-image img {
        width: 280px; /* slightly smaller on mobile */
    }

    .quote-text {
        font-size: 20px;
    }
}


.view-event-btn {
    padding: 8px 16px;
    border: 1px solid #741947;
    color: #741947;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .view-event-btn:hover {
        background-color: #741947;
        color: #fff;
    }


 /*Minimal CSS to handle toggle*/
.tab {
    padding: 6px 12px;
    cursor: pointer;
    border: none;
    background: #eee;
}

.tab.active {
    background: #333;
    color: #fff;
}

.tab-content {
    display: none;
    margin-top: 10px;
}

    .tab-content.active {
        display: block;
    }


/* Main Navigation */


/* Main Navigation */
/*.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: absolute;
    width: 100%;
    z-index: 999;
    padding: 0;
}*/

.main-nav nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav nav .navbar-nav .nav-item {
    position: relative;
}

    .main-nav nav .navbar-nav .nav-item a {
        font-family: "Open Sans", sans-serif;
        font-weight: 650;
        font-size: 20px;
        color: #333333;
        text-transform: none;
        /*padding: 10px 20px;*/
        display: block;
    }

        .main-nav nav .navbar-nav .nav-item a.active,
        .main-nav nav .navbar-nav .nav-item a:hover {
            color: #800033; /* Maroon highlight */
        }

    /* Dropdown Menu */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #333333;
        width: 200px;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 99;
    }
    /*.main-nav nav .navbar-nav .nav-item .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(0, 0, 0, 0.7);*/ /* Transparent black (70% opacity) */
        /*width: 200px;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 99;
    }*/


    .main-nav nav .navbar-nav .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }

    /* Dropdown Items */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
        font-size: 14px;
        color: #fff;
        padding: 8px 15px;
        display: block;
    }

        .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
            color: #FF2D55; /* Highlight on hover */
            background: rgba(255,255,255,0.05);
        }
    /* Submenu Items */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
        font-size: 14px;
        color: #ffffff;
        padding: 10px 15px;
        display: block;
        width: 100%; /* Full width */
        box-sizing: border-box; /* Include padding */
        transition: all 0.3s ease-in-out;
    }

        /* Hover on Submenu Items */
        .main-nav nav .navbar-nav .nav-item .dropdown-menu li a:hover {
            background: #00BFFF; /* Sky blue */
            color: #ffffff;
        }

    /* Main menu hover background (light pink) */
    /*.main-nav nav .navbar-nav .nav-item > a:hover {
        background-color: #ffe6f0;*/ /* Light pink */
    /*}*/


.social-wrapper {
    max-width: 600px;
    margin: 40px auto;
    background: #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px 20px 30px;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 1px solid #ddd;
}

    .social-wrapper h2 {
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 20px;
        text-align: center;
        color: #333;
    }

    .social-wrapper .close-btn {
        position: absolute;
        top: 12px;
        right: 16px;
        font-size: 18px;
        color: #999;
        text-decoration: none;
        font-weight: bold;
    }

        .social-wrapper .close-btn:hover {
            color: #e74c3c;
        }

.fb-page {
    margin: 0 auto;
}

@media (max-width: 600px) {
    .social-wrapper {
        padding: 16px;
    }

    .fb-page {
        width: 100% !important;
    }
}

.social-tabs {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

    .social-tabs img {
        width: 30px;
        height: 30px;
        cursor: pointer;
        filter: grayscale(100%);
        transition: 0.3s;
    }

        .social-tabs img.active {
            filter: none;
        }

.social-frame {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 500px;
    background: #f9f9f9;
    overflow: hidden;
}

.social-content {
    display: none;
}

    .social-content.active {
        display: block;
    }

.update-bar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(to bottom, #ffffff, #f2f2f2); /* Light 3D gradient */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* 3D shadow */
    border-radius: 4px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.update-label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
    font-size: 20px;
}

.pause-icon {
    margin-right: 12px;
    cursor: pointer;
    filter: brightness(0) saturate(100%) invert(25%) sepia(30%) saturate(400%) hue-rotate(180deg) brightness(90%);
}

.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 10s linear infinite;
    font-size: 20px;
    color: #003366; /* Deep blue */
    font-weight: 500;
}

    .scrolling-text a {
        color: #003366;
        text-decoration: none;
        font-size: 16px;
    }

        .scrolling-text a:hover {
            text-decoration: underline;
        }

.dot {
    height: 8px;
    width: 8px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    margin: 0 10px;
}

.paused {
    animation-play-state: paused !important;
}

.scroll-container:hover .scrolling-text {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}



/* Modal Enhancements */
/* .modal-content {
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    font-family: 'Segoe UI', sans-serif;
}

.modal-header {
    background-color: #007acc; 
    color: white;
    padding: 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-title {
    font-size: 20px;
    font-weight: bold;
}

.modal-body {
    padding: 30px;
    background-color: #e6f2ff; 
}*/

/*table {
    width: 100%;
    border: solid 3px #007acc;
    margin-bottom: 20px;
    background: white;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

    table td {
        padding: 8px;
        font-size: 16px;
        color: #333;
    }
*/
    table h4 {
        margin: 10px 0;
        font-size: 18px;
        font-weight: 600;
        color: #004b80;
    }

/*.modal-footer {
    background-color: #e6f2ff;
    padding: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    text-align: center;
}
*/

.btn.bg-primary {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s;
}

    .btn.bg-primary:hover {
        background-color: #005f99;
    }

.language-links a {
    font-size: 20px;
    font-weight: bold;
    color: #007acc;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s, transform 0.2s;
}

    .language-links a:hover {
        color: #005f99;
        transform: scale(1.1);
    }





.visitor-container {
    display: flex;
    align-items: center;
    border: 1px solid #004080;
    background-color: #f1f1f1;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    width: fit-content;
    padding: 3px 8px;
}

.visitor-icon {
    color: #004080;
    margin-right: 5px;
}

.visitor-text {
    color: #004080;
    font-weight: bold;
    margin-right: 6px;
    font-size: 15px;
}

.visitor-count {
    background-color: #004080;
    color: #fff;
    padding: 4px 12px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 4px;
}


.minister-card {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .minister-card img {
        width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .minister-card .minister-title {
        font-weight: bold;
        margin-top: 10px;
        font-size: 18px;
    }

    .minister-card .sub-title {
        font-size: 14px;
        color: #555;
    }

.profile-link, .speech-link {
    display: inline-block;
    margin-top: 8px;
    color: #007bff;
    font-size: 14px;
    text-decoration: none;
}

    .profile-link:hover, .speech-link:hover {
        text-decoration: underline;
    }

/* Minister of State styling (flex card) */
.minister-card.flex-card {
    display: flex;
    align-items: center;
    text-align: left;
}

    .minister-card.flex-card img {
        width: 100px;
        height: auto;
        margin-right: 15px;
    }

.minister-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 29px;
    text-align: center;
    background-color: #f9f9f9;
}

.minister-title {
    font-weight: bold;
    margin-top: 10px;
}

.sub-title {
    font-size: 0.9rem;
    color: #666;
}

.social-tabs img.active {
    border: 2px solid #007bff;
    border-radius: 50%;
}
.about-section {
    padding-left: 80px;
    padding-right: 80px;
}


/* 🌟 Global search box style */
.search-box {
    width: 280px; /* fixed size across all pages */
    height: 40px;
    display: flex;
    align-items: center;
    background: #fff; /* white background like the image */
    border-radius: 5px; /* rounded corners */
    padding: 0 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    position: relative;
}

    /* Input inside the search box */
    .search-box input {
        flex: 1;
        height: 100%;
        border: none;
        outline: none;
        background: transparent;
        color: #333;
        font-size: 14px;
        padding: 0 8px;
    }

        /* Placeholder text */
        .search-box input::placeholder {
            color: #888;
            opacity: 1;
        }

    /* Search icon style */
    .search-box i {
        font-size: 18px;
        color: #5a1835; /* dark maroon color (similar to image) */
        cursor: pointer;
    }

/* ✅ Responsive */
@media (max-width: 768px) {
    .search-box {
        width: 200px;
        height: 36px;
    }

        .search-box i {
            font-size: 16px;
        }
}








.title {
    text-align: center;
    margin: 20px 0;
    color: #6c0000;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-box {
    background: white;
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .gallery-box img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .gallery-box h3 {
        background: #6c0000;
        color: white;
        padding: 0px;
        margin: 0;
    }

    .gallery-box:hover {
        transform: scale(1.03);
    }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.photo-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.gallery-container,
.photo-grid {
    margin-top: 30px;
    padding: 20px;
}








/* Gallery CSS */

/*body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
   
    padding: 0;
}*/

.gallery-title {
    text-align: center;
    margin: 20px 0;
    font-size: 28px;
    color: #333;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 0 10px 30px 10px;
}

.gallery-item {
    position: relative;
    flex: 0 0 200px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item i.icofont-eye {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 6px;
    border-radius: 50%;
    display: none;
}

.gallery-item:hover i.icofont-eye {
    display: block;
}

/*Remove second Accessbility button*/

#uw-widget-custom-trigger {
    display: none !important;
}


.view-more {
    visibility: hidden; /* hides it but space stays */
}

/* Temporary Debugging: highlight overflowing elements */
/** {
    outline: 1px solid red;
}
*/

/* Hide Google Translate top bar */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

/* Prevent layout shift due to hidden frame */
body {
    top: 0px !important;
}

/* Hide Google Translate hover tooltip */
.goog-tooltip {
    display: none !important;
}

/* Remove blue highlight background when hovering translated text */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}




/* Base styling for both icon buttons */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* button size */
    height: 40px;
    border-radius: 50%; /* circular icon */
    background-color: transparent;
    color: #fff; /* icon color (white for dark navbar) */
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 10px; /* space between icons */
}

    /* Hover and focus effects */
    .icon-btn:hover,
    .icon-btn:focus {
        background-color: rgba(255, 255, 255, 0.15);
        color: #fff;
        transform: translateY(-2px);
    }

    /* Optional: focus-visible ring for accessibility */
    .icon-btn:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }

/* Adjust color for light backgrounds (if needed) */
.light-theme .icon-btn {
    color: #333;
}

    .light-theme .icon-btn:hover {
        background-color: rgba(0, 0, 0, 0.1);
        color: #000;
    }

/* ===== HEADER RESPONSIVE ===== */
.header-red {
    background-color: #961416;
    color: #fff;
}

/* Desktop: row layout */
@media (min-width: 992px) {
    .header-red {
        flex-direction: row;
    }
}

/* Tablet + Mobile: stack */
@media (max-width: 991.98px) {
    .header-red {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

        .header-red > div:first-child {
            width: 100%;
        }

        .header-red > div:last-child {
            width: 100%;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
        }

    .search-box {
        flex: 1 1 100%;
        max-width: 100%;
        order: 1;
    }
}










/* === Mobile Navbar & Dropdown Behaviour === */
@media (max-width: 991.98px) {

    /* Stack items vertically when collapsed */
    .main-nav nav .navbar-nav {
        flex-direction: column;
        width: 100%;
    }

        .main-nav nav .navbar-nav .nav-item {
            width: 100%;
        }

            .main-nav nav .navbar-nav .nav-item > a {
                padding: 10px 15px;
                border-top: 1px solid #444;
            }

    /* Collapse wrapper when hidden */
    .navbar-collapse {
        width: 100%;
        max-height: 80vh;
        overflow-y: auto;
    }

        .navbar-collapse:not(.show) {
            display: none;
        }

        .navbar-collapse.show {
            display: block;
        }

    /* Make dropdowns expand inline instead of absolute */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu {
        position: static;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        background: #333333;
        opacity: 1;
        visibility: visible;
        display: none; /* hidden by default */
    }

        /* Show when JS adds .show */
        .main-nav nav .navbar-nav .nav-item .dropdown-menu.show {
            display: block;
        }

    /* Remove hover-based opening on mobile (click only) */
    .main-nav nav .navbar-nav .nav-item:hover > .dropdown-menu {
        /* no hover behavior */
    }

    /* Submenu link styling */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu li a {
        padding-left: 25px;
        font-size: 14px;
        border-top: 1px solid #555;
    }

    /* For deeper nested submenus */
    .main-nav nav .navbar-nav .nav-item .dropdown-menu .dropdown-menu li a {
        padding-left: 40px;
    }
}


.main-nav nav .navbar-nav .nav-item {
    position: relative;
}

    .main-nav nav .navbar-nav .nav-item .dropdown-menu { /* desktop styles… */
    }

    .main-nav nav .navbar-nav .nav-item:hover > .dropdown-menu { /* show on hover… */
    }







