
/* ========================= Global Variables ========================= */
:root {
    --primary-color:  #015296;
    --secondary-color: #002147;
    --font-family: "Merriweather", serif;
    --text-color: #ffffff;
    --hover-color: #013d70;
    --header-bg: #EDEDF4;
    --font-size-xl: 1.8rem;
    --font-size-xxl: 2.8rem;
    --font-size-lg: 1.5rem;
    --font-size-md: 1.2rem;
    --font-size-sm: 1rem;
    --font-size-lgg: 1.8rem;  /* increased */
    --font-size-mdd: 1.3rem;  /* slightly bigger */
    --font-size-smm: 1.1rem;  /* slightly bigger */
    --font-weight-normal: 400;
    --font-weight-bold: 700;
}



/* ========================= Reset + Base ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: #f9f9f9;
    color: #333;
}

/* ========================= Header Top Bar ========================= */
.brand-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-title {
    /* font-size: 1.8rem; */
    font-size: var(--font-size-md);
    font-weight: 700;
    margin-bottom: 3%;
    color: var(--primary-color);
}

.sub-title {
  font-size: var(--font-size-sm);
  margin: 0;
  color: var(--primary-color);
  font-weight: 700;
}


/* ========================= Navbar ========================= */
.navbar {
    background-color: var(--primary-color);
    overflow: visible; /* important for dropdowns */
    padding: 0 0;
}

.navbar ul li {
    position: relative;
}

.navbar a {
    display: block;
    padding: 12px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    position: relative;
    font-size: var(--font-size-sm);
}

.navbar a:hover::after {
    width: 100%;
}

/* ========================= Dropdown menu ========================= */
.navbar .dropdown {
    position: relative;
}

.navbar .dropdown-menu {
    display: none; /* hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--header-bg);
    min-width: 300px;
    flex-direction: column;
    border-radius: 6px;
    padding: 5px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.dropdown-menu li a {
    padding: 10px 20px;
    color: var(--primary-color);
}

.dropdown-menu li a:hover {
    background-color: #f0f0f0;
}

/* ========================= Desktop: show dropdown on hover ========================= */
@media screen and (min-width: 1001px) {

    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }

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

    .navbar a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 3px;
        background-color: #d0ad37;
        left: 0;
        bottom: 0;
        transition: width 0.3s ease;
    }

    .brand-left .logo,
    .right-logo {
        height: 100px;
        width: auto;
    }

    .top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        /* height: 75px; */
        height: 90px;
        background-color: var(--header-bg);
    }

    /* Force top bar height */
   
/* Fix logo / images */


    .navbar ul li.icon {
        display: none;
    }

    .govLink {
        font-family: "Merriweather", serif;
        font-size: var(--font-size-sm, 1rem);
        font-weight: 600;
        color: var(--primary-color);
        letter-spacing: 0.5px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        text-decoration: none;
        /* left: 15%; */
        left: 5%;
    }
}

/* ========================= Mobile styles ========================= */
@media screen and (max-width: 1000px) {

    .navbar ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
    }

    .navbar ul li:not(.icon) {
        display: none;
    }

    .navbar ul li.icon {
        display: block;
        float: right;
    }

    .navbar.responsive ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar.responsive ul li {
        display: block;
        text-align: left;
    }

    .navbar.responsive .dropdown-menu {
        position: relative;
        box-shadow: none;
        border-radius: 18px;
        width: 90%;
        display: none;
        margin: 2%;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .right-logo {
        display: none;
    }

    .header-title {
        /* font-size: 1.5rem; */
        font-size: var(--font-size-sm);
    }

    .sub-title {
        font-size: var(--font-size-sm) !important;
        font-weight: 700;
        margin: 0;
    }

    .brand-left .logo,
    .right-logo {
        height: 70px;
        width: auto;
    }

    .top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 10px;
        /* padding: 20px 10px; */
        background-color: var(--header-bg);
        color: var(--primary-color);
    }
}

/* header css */
/* ================== HEADER UTILITY ROW - Clean White with Black Text ================== */
.headerUtilityRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    background: white;
    min-height: 45px;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    position: relative;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0;
}

/* Government Link - Left Side */
.govLinkContainer {
    display: flex;
    align-items: center;
    padding-left: 28px;
    position: relative;
}

.govLink {
    /* color: #222222; */
    color: #015296;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    position: relative;
    transition: all 0.3s ease;
}

.govLink:hover {
    /* color: #000000; */
    color: #015296;
}

/* Elegant Underline Effect */
.govLink::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #222222, #444444);
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.govLink:hover::after {
    width: 100%;
}

.govLink::before {
    content: '🏛️';
    font-size: 18px;
    opacity: 0.8;
}

.govLink .underlineHover {
    display: none;
}

/* Contact Info Section (Center) */
.headerContactInfo {
    display: flex;
    align-items: center;
    gap: 25px;
    color: #333333;
    font-size: 13.5px;
    margin: 0 auto;
    font-weight: 500;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    /* color: #015296; */
    color: #015296;
}

.contact-item:hover {
    color: #000000;
}

.contact-item::before {
    font-size: 14px;
    opacity: 0.7;
}

.contact-item.phone::before {
    content: '📱';
}

.contact-item.email::before {
    content: '✉️';
}

.contact-item.helpline::before {
    content: '📞';
}

/* Contact Item Underline Effect */
.contact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: #222222;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.contact-item:hover::after {
    width: 100%;
}

/* Font Control Container - Right Side */
.fontControlContainer {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 20px;
    background: #f9f9f9;
    /* border-left: 1px solid #e0e0e0; */
    padding-left: 20px;
    height: 45px;
    /* box-shadow: inset 1px 0 0 #f0f0f0; */
}

/* Font Control Buttons - Clean Professional Style */
.fontControlBtn {
    background: transparent;
    color: #333333;
    border: none;
    padding: 10px 14px;
    /* font-size: 14px; */
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    border-radius: 0;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.fontControlBtn:hover {
    background: #f0f0f0;
    color: #000000;
}

.fontControlBtnn {
    background: #015296;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    border-radius: 0;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-left: 2%;
}

/* .fontControlBtnn:hover {
    background: #f0f0f0;
    color: #000000;
} */

.fontControlBtn:active {
    background: #e8e8e8;
}

/* Elegant Button Underline Effect */
.fontControlBtn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #222222;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.fontControlBtn:hover::after {
    width: 70%;
}

/* Language Toggle Button Special Styling */
.fontControlBtn[onclick="toggleLanguage()"] {
    background: #222222;
    color: white;
    padding: 10px 18px;
    min-width: 100px;
    font-weight: 600;
    margin-left: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.fontControlBtn[onclick="toggleLanguage()"]::after {
    display: none;
}

.fontControlBtn[onclick="toggleLanguage()"]:hover {
    background: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.fontControlBtn[onclick="toggleLanguage()"]:active {
    transform: translateY(0);
}

/* Separator between regular buttons */
.fontControlBtn:not([onclick="toggleLanguage()"]):not(:last-child)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    /* background: #ddd; */
    background: #015296;
}

/* ================== RESPONSIVE DESIGN ================== */
@media all and (max-width: 1200px) {
    .headerContactInfo {
        gap: 20px;
        font-size: 13px;
    }
    
    .govLinkContainer {
        padding-left: 20px;
    }
    
    .fontControlContainer {
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media all and (max-width: 992px) {
    .headerUtilityRow {
        flex-wrap: wrap;
        padding: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .govLinkContainer {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        background: #f5f5f5;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .headerContactInfo {
        order: 3;
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        background: #fafafa;
        font-size: 13px;
        gap: 20px;
        flex-wrap: wrap;
        border-top: 1px solid #eee;
    }
    
    .fontControlContainer {
        order: 2;
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        border-left: none;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        background: white;
        box-shadow: none;
    }
    
    .fontControlBtn[onclick="toggleLanguage()"] {
        margin-left: 5px;
    }
}

@media all and (max-width: 768px) {
    /* Hide contact info on mobile devices */
    .headerContactInfo {
        display: none;
    }
    
    .fontControlContainer {
        justify-content: space-around;
    }
    
    .fontControlBtn {
        padding: 10px 12px;
        min-width: 36px;
        font-size: 13.5px;
    }
    
    .fontControlBtn[onclick="toggleLanguage()"] {
        min-width: 90px;
        padding: 10px 16px;
    }
    
    .govLink {
        font-size: 15px;
    }
}

@media all and (max-width: 480px) {
    .govLink {
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }
    
    .govLink::before {
        font-size: 16px;
    }
    
    .headerContactInfo {
        font-size: 12px;
        gap: 10px;
    }
    
    .fontControlBtn {
        padding: 8px 10px;
        min-width: 34px;
        font-size: 13px;
    }
    
    .fontControlBtn[onclick="toggleLanguage()"] {
        min-width: 85px;
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .contact-item::before {
        font-size: 13px;
    }
}

/* ================== DARK MODE SUPPORT ================== */
@media (prefers-color-scheme: dark) {
    .headerUtilityRow {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .govLink::after {
        background: linear-gradient(90deg, #015296, #015296);
    }
    
    .headerContactInfo {
        color: #cccccc;
    }
    
    .contact-item:hover {
        color: #D4AF37;
    }
    
    .contact-item::after {
        background: #D4AF37;
    }
    
    .fontControlContainer {
        background: #FDF9F6;
        border-left-color: #333;
        /* box-shadow: inset 1px 0 0 #2a2a2a; */
    }
    
    .fontControlBtn {
        color: #015296;
    }
    
    .fontControlBtn:hover {
        color: #015296;
    }
    
    .fontControlBtn::after {
        background: #015296;
    }
    
    /* .fontControlBtn[onclick="toggleLanguage()"] {
        background: #333333;
    } */
    
    .fontControlBtn[onclick="toggleLanguage()"]:hover {
        background: #444444;
    }
    
    @media all and (max-width: 992px) {
        .govLinkContainer {
            background: #FDF9F6;
            border-bottom-color: #333;
            padding: 0px;
        }
        
        .headerContactInfo {
            background: #FDF9F6;
            border-top-color: #333;
        }
    }
}

/* ================== ACCESSIBILITY ================== */
.fontControlBtn:focus,
.govLink:focus,
.contact-item:focus {
    outline: 2px solid #222222;
    outline-offset: 3px;
    border-radius: 2px;
}

.fontControlBtn:focus:not(:focus-visible),
.govLink:focus:not(:focus-visible) {
    outline: none;
}

/* Animation for page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headerUtilityRow {
    animation: fadeInDown 0.5s ease-out;
}

/* ================== ACCESSIBILITY ================== */
.fontControlBtn:focus,
.govLink:focus,
.contact-item:focus {
    outline: 2px solid #222222;
    outline-offset: 3px;
    border-radius: 2px;
}

.fontControlBtn:focus:not(:focus-visible),
.govLink:focus:not(:focus-visible) {
    outline: none;
}

/* Animation for page load */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headerUtilityRow {
    animation: fadeInDown 0.5s ease-out;
}

/* ========================= Hamburger Icon Styling ========================= */
.navbar ul li.icon a {
    display: block;
    color: var(--text-color);
    font-size: 1.8rem;
    padding: 12px 18px;
    cursor: pointer;
}

/* ========================= Dropdown Menu ========================= */
.dropdown-menu {
    display: none;
}

.dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

/* ========================= Footer ========================= */
/* ================== ENHANCED FOOTER CSS ================== */
/* Add Font Awesome CDN to your head tag for icons:
   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
*/

footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
    color: #ffffff;
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    border-top: 4px solid #222222;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

/* Decorative top border accent */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d0ad37 0%, #f5d76e 50%, #d0ad37 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

/* Footer Top Section */
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    margin-bottom: 20px;
}

.footer-heading {
    color: #d0ad37;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(208, 173, 55, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #d0ad37;
    padding-left: 8px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #d0ad37;
}

.footer-links a:hover::before {
    left: -5px;
    opacity: 1;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
}

/* Contact Info Section (Center) - Updated for contact-itemm */

.contact-itemm {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
    color: #015296;
    font-size: 16px; /* Updated */
    font-weight: 600; /* Updated */
    letter-spacing: 0.4px; /* Updated */
    cursor: pointer;
}

.contact-itemm:hover {
    color: #003366; /* Darker blue on hover */
}

/* Contact Item Icons */
.contact-itemm::before {
    font-size: 16px; /* Increased to match text size */
    opacity: 0.8;
}

.contact-itemm.email::before {
    content: '✉️';
}

.contact-itemm.phone::before {
    content: '📱';
}

.contact-itemm.helpline::before {
    content: '📞';
}

/* Elegant Underline Effect for contact-itemm */
.contact-itemm::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1.8px; /* Slightly thicker for better visibility */
    background: #015296;
    border-radius: 1px;
    transform: translateX(-50%);
    transition: width 0.3s ease, left 0.3s ease;
}

.contact-itemm:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

/* Optional: Add a subtle scale effect on hover */
.contact-itemm:hover {
    transform: translateY(-1px);
}

.contact-itemm:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media all and (max-width: 1200px) {
    .contact-itemm {
        font-size: 15.5px;
        letter-spacing: 0.35px;
    }
    
    .contact-itemm::before {
        font-size: 15.5px;
    }
}

@media all and (max-width: 768px) {
    .contact-itemm {
        font-size: 15px;
        letter-spacing: 0.3px;
        font-weight: 600; /* Maintain weight on mobile */
    }
    
    .contact-itemm::before {
        font-size: 15px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .contact-itemm {
        color: #015296;
    }
    
    .contact-itemm:hover {
        color: #015296;
    }
    
    .contact-itemm::after {
        background: #015296;
    }
}

.contact-item i {
    color: #d0ad37;
    font-size: 16px;
    margin-top: 3px;
    min-width: 20px;
}

/* Footer Middle Section */
.footer-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    flex: 1;
    min-width: 300px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0ad37;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #d0ad37;
    color: #121212;
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(208, 173, 55, 0.3);
}

.newsletter {
    flex: 1;
    min-width: 300px;
}

.newsletter-text {
    color: #e0e0e0;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #d0ad37;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(208, 173, 55, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 25px;
    background: #d0ad37;
    color: #121212;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #f5d76e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(208, 173, 55, 0.4);
}

/* Footer Bottom Section */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom-content {
    flex: 1;
    min-width: 300px;
}

.copyright {
    color: #b0b0b0;
    font-size: 14px;
    margin-bottom: 8px;
}

.developer {
    color: #b0b0b0;
    font-size: 14px;
}

.developer a {
    color: #d0ad37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.developer a:hover {
    color: #f5d76e;
    text-decoration: underline;
}

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

.utility-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.utility-link:hover {
    color: #d0ad37;
}

.separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

/* ================== RESPONSIVE DESIGN ================== */
@media screen and (max-width: 992px) {
    .footer-container {
        padding: 30px 20px 20px;
    }
    
    .footer-top {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-links,
    .newsletter {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-bottom-content {
        min-width: 100%;
    }
    
    .footer-utility {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .footer-container {
        padding: 25px 15px 15px;
    }
    
    .footer-heading {
        font-size: 16px;
    }
    
    .footer-links a,
    .contact-item,
    .copyright,
    .developer {
        font-size: 13.5px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ================== ACCESSIBILITY ================== */
footer a:focus {
    outline: 2px solid #d0ad37;
    outline-offset: 3px;
    border-radius: 3px;
    background: rgba(208, 173, 55, 0.2);
}

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

footer .footer-container {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* ========================= Hero Section ========================= */
.hero-section {
    background-size: cover;
    background-position: center;
    height: 750px;
    min-height: 500px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    padding: 60px 20px;
}

/* Tablet */
@media screen and (max-width: 1000px) {
    .hero-section {
        height: 600px;
        min-height: 450px;
    }

    .hero-overlay {
        align-items: center;
        padding: 40px 20px;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .hero-section {
        height: 420px;
        min-height: 380px;
    }

    .hero-overlay {
        align-items: flex-start;   /* move text up */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }
}

/* Extra small devices */
@media screen and (max-width: 400px) {
    .hero-section {
        height: 360px;
        min-height: 320px;
    }

    .hero-overlay {
        padding-top: 10px;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }
}


.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
}

.hero-text h1 {
    font-size: var(--font-size-xxl);
    font-weight: var(--font-weight-bold);
    letter-spacing: 1.5px;
}

.hero-text p {
    font-size: var(--font-size-md);
    margin-top: 10px;
    letter-spacing: 1.5px;
}

/* Tablet and Mobile adjustments */
@media screen and (max-width: 1000px) {
    .hero-section {
        height: 400px;
    }

    .hero-overlay {
        padding-top: 200px; /* reduce push on smaller screens */
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 600px) {
    .hero-section {
        height: 300px;
    }

    .hero-overlay {
        padding-top: 150px; /* even smaller push */
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }
}


/* =====================
   Library Section
===================== */
/* Section */
#libraries-section {
    background-color: var(--header-bg);
    padding: 25px 0;
    font-family: var(--font-family);
}

/* Heading */
.section-header {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center horizontally */
    text-align: center;
    /* margin-bottom: 40px; */
    position: relative;
}

.section-title {
  font-size: var(--font-size-xl);
  color: var(--primary-color);
  font-weight: var(--font-weight-bold);
  margin: 0;
  position: relative;
  padding-bottom: 6px;
}

/* keep underline with flex layout */
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #d4af37;
  border-radius: 2px;
}

/* 📱 Mobile responsiveness */
@media screen and (max-width: 768px) {
    .section-title {
        font-size: var(--font-size-lg); /* smaller heading */
        padding-bottom: 6px;
    }

    .section-title::after {
        height: 2px; /* thinner underline */
    }

    .section-header {
        margin-top: 15% !important;
    }
}


@media screen and (max-width: 480px) {
    .section-title {
        font-size: var(--font-size-md);
    }
}

/* Card Grid */

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Library Card */
.library-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
}

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

/* Content */
.library-content h3 {
    margin-top: 2%;
    font-size: var(--font-size-lg);
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: var(--font-weight-bold);
}

.library-content h4 {
    font-size: var(--font-size-sm);
    color: #666;
    margin-bottom: 12px;
    font-weight: var(--font-weight-normal);
}

.library-content p {
    font-size: var(--font-size-sm);
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Button */
.card-btn {
    display: inline-block;
    padding: 10px 18px;
    background-color: #d4af37;
    color: var(--text-color);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
}

.card-btn:hover {
    border: 1px solid #d4af37;
    color: #d4af37;
    background-color: transparent;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

.library-img {
    width: 100%;
    height: 200px;  /* fixed height */
    object-fit: cover; /* makes image look neat, cropped properly */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* =====================
   Back To Top Button   
===================== */

#myBtn {
    display: none;
    position: fixed;
    bottom: 60px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #D4AF37;
    color: #fff;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: #fff;
    color: #d4af37;
    border: 3px solid #d4af37;
}


/* Toggle button styles */
.view-toggle {
    margin-top: 15px; /* spacing below the heading */
    display: flex;
    gap: 15px;         /* space between buttons */
}

.view-toggle button {
    background-color: #d4af37;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    transition: background 0.3s;
}

.view-toggle button:hover {
    background-color: #b8932e;
}

.view-toggle button.active {
    background-color: #b8932e;
}


/* Default grid view */
.card-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* List view */
.card-grid.list-view {
    display: block;
}

.card-grid.list-view .library-card {
    display: flex;
    flex-direction: row; /* image left, content right */
    text-align: left;
    margin-bottom: 20px;
}

.card-grid.list-view .library-img {
    width: 250px;
    height: auto;
    border-radius: 10px 0 0 10px;
}

.card-grid.list-view .library-content {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Prevent button stretching in list view */
.card-grid.list-view .card-btn {
    align-self: flex-end;   /* sticks to right side */
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .view-toggle {
        display: none;
    }
}

/* ========================= Library Card Grid ========================= */

/* Library Card */
.oz-library-card {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 6px 18px rgba(0, 0, 0, 0.07),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    margin: 2%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.oz-library-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 28px rgba(0, 0, 0, 0.1),
        0 3px 6px rgba(0, 0, 0, 0.05);
}

.oz-library-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
}

/* Image Section */
.oz-libraryInd-img-wrapper {
    width: 580px;          /* ⬅ wider */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Big image */
.main-library-image {
    width: 100%;
    height: 380px;         /* ⬅ reduced height */
    object-fit: contain;
    border-radius: 14px;
    background: #f1f5f9;
}

/* Thumbnails container */
.library-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
}

/* Thumbnails */
.library-thumb {
    width: 75px;           /* ⬅ slightly bigger */
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.library-thumb.active {
    opacity: 1;
    border-color: #3b82f6;
}

/* Content Section */
.oz-library-content {
    flex: 1 1 65%;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* Library Name - Primary Color */
.oz-library-content h1 {
    font-size: 1.8rem; /* Increased from 1.5rem */
    margin-bottom: 5px;
    color: #3b82f6; /* Changed to primary blue color */
    font-weight: 700; /* Increased from 600 */
    letter-spacing: -0.3px;
    position: relative;
    padding-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.oz-library-content h4 {
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Description with improved font size */
.description-container {
    position: relative;
    margin: 12px 0;
}

#libraryDescription {
    display: -webkit-box;
    line-clamp: 3;           /* Standard (future support) */
    -webkit-line-clamp: 3;  /* Increased to 3 lines for better readability */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px; /* Increased from 14px */
    line-height: 1.6; /* Improved line height */
    color: #475569;
    padding: 12px; /* Slightly increased padding */
    background: #f8fafc;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

#libraryDescription.expanded {
    display: block;
    line-clamp: unset; 
    -webkit-line-clamp: unset;
    max-height: none;
}

#libraryDescription.collapsed {
    max-height: 4.8em; /* Adjusted for 3 lines */
}

#readMoreBtn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 5px rgba(59, 130, 246, 0.2);
}

/* Info Sections - Reduced */
.library-info-section {
    margin: 10px 0;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 2px solid #10b981;
}

.library-info-section p {
    margin: 4px 0;
    font-size: 14px;
}

.library-info-section strong {
    color: #1e293b;
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
    font-size: 13px;
}

/* Rules Buttons - Compact */
.library-rules-icons {
    display: flex;
    gap: 10px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.rule-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #d9b340;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 13px;
    box-shadow: 0 1px 5px rgba(139, 92, 246, 0.2);
}


.rule-btn i {
    font-size: 14px;
}

/* Social Icons - Smaller */
.library-social-icons {
    display: flex;
    gap: 14px;
    margin: 12px 0;
}

.library-social-icons a {
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 36px;
    height: 36px;
    color: var(--primary-color);   
    font-size: 20px;
    transition: all 0.25s ease;
}
.library-social-icons a:hover {
    color: #d9b340;               /* 🟡 golden hover */
    transform: translateY(-2px); /* subtle lift */
}

.library-social-icons a i {
    pointer-events: none;
}

/* Contact Section - Compact */
.library-contact-inline {
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
}

.library-contact-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 14px;
    white-space: nowrap;
}

.library-contact-inline i {
    color: #3b82f6;
    font-size: 16px;
    min-width: 20px;
}

.library-contact-inline a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.library-contact-inline a:hover {
    color: #d9b340;
    text-decoration: none;
}

/* Login Button Section - Compact and moved to right */
.library-cta {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 2px dashed #e2e8f0;
    display: flex;
    justify-content: flex-end; /* Align to right */
    width: 100%;
}

.cta-inline {
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    gap: 12px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cta-inline span {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.join-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    text-decoration: none;
    white-space: nowrap;
    margin-left: auto; /* Push to right */
}

.join-link:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Modal Content - Slightly Reduced */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    margin: 30px auto;
    padding: 30px;
    width: 90%;
    max-width: 750px;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

.modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: #3b82f6;
    border-bottom: 2px solid #e2e8f0;
}

.rules-content {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}

.rules-content li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #94a3b8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover {
    color: #3b82f6;
}

/* Responsive adjustments */
@media screen and (max-width: 1100px) {
    .oz-library-card {
        margin: 3%;
    }
    
    .oz-libraryInd-img-wrapper {
        min-height: 160px;
        max-height: 160px;
    }
    
    .oz-library-content {
        padding: 18px;
    }
    
    .library-contact-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cta-inline {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-inline span {
        text-align: center;
        width: 100%;
    }
    
    .join-link {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .oz-library-card {
        margin: 2.5%;
        border-radius: 14px;
    }
    
    .oz-library-content {
        padding: 15px;
    }
    
    .oz-library-content h1 {
        font-size: 1.5rem; /* Slightly smaller on mobile */
    }
    
    #libraryDescription {
        font-size: 14px; /* Slightly smaller on mobile */
        line-clamp: 2; 
        -webkit-line-clamp: 2; /* Show 2 lines on mobile */
    }
    
    .modal-content {
        margin: 15px;
        padding: 20px;
        width: calc(100% - 30px);
    }
    
    .library-contact-inline {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .library-contact-inline span {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Center container on the page */

.dropdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Input wrapper with icon */
.input-wrapper {
  position: relative;
  width: 320px;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color:  #015296;
  font-size: 1.1rem;
  pointer-events: none;
}

/* Input field */
.dropdown-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.5rem; /* extra left padding for icon */
  border: 1px solid #ccc;
  border-radius: 0.8rem;
  background: #fff;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.dropdown-input:focus {
  border-color:  #015296;
  box-shadow: 0 0 8px rgba(1,82,150,0.25);
  outline: none;
}

/* Dropdown options */
.dropdown-options {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 320px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  max-height: 220px;
  overflow-y: auto;
  position: absolute;
  z-index: 999;
  display: none;
}

.dropdown-options li {
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-options li:hover {
  background:  #015296;
  color: #fff;
}

.library-cta {
    margin-top: 15px;
}

.cta-inline {
    display: flex;
    align-items: center; /* vertically aligns text and link */
    gap: 5px; /* spacing between text and link */
}

.library-cta .join-link {
    all: unset;         /* remove button styles */
    color:  #015296;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.library-cta .join-link:hover {
    color: #013d70;
}

/* ind library css */

.libraryInd-img {
    width: 100%;
    object-fit: cover; /* makes image look neat, cropped properly */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.oz-libraryInd-img-wrapper {
    /* flex: 3 1 400px; */
    /* max-width: 450px; */
    padding: 3%;
    /* padding: 5% 2%; */
}

/* registration page css */

.est-info-wrapper {
    padding: 3rem;
    border-radius: 1rem;
    background-color: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    font-family: 'Merriweather', serif;
    /* margin-bottom: 5%;
    margin-top: 2%; */
    margin: 2% 5% 5% 5%;
}
.est-info-wrapper .form-label {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.est-info-wrapper .form-control {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}
.est-info-wrapper .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.2);
    outline: none;
}
.est-info-wrapper .btn-go-back {
    padding: 0.6rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
    border: 2px solid #ced4da;
    border-radius: 0.5rem;
    text-decoration: none;
}
.est-info-wrapper .btn-go-back:hover {
    background-color: #495057;
    color: #fff;
}

/* Desktop / PC view (default) */
.est-info-wrapper h2 {
    font-size: 2.2rem;   /* Large heading for desktop */
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Tablet view (medium screens) */
@media (max-width: 991px) {
    .est-info-wrapper h2 {
        font-size: 1.8rem;  /* Slightly smaller */
        gap: 0.5rem;
    }
}

/* Mobile view (small screens) */
@media (max-width: 576px) {
    .est-info-wrapper h2 {
        font-size: 1.5rem;  /* Fit smaller screens */
        gap: 0.4rem;
        flex-direction: column; /* Stack icon + text vertically if any */
        align-items: flex-start; /* Align text to left */
    }
}

/* Desktop / PC view (default) */
.est-info-wrapper .btn-submit {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.65rem;
    background-color: #5865f2;
    border: none;
    color: white;
    transition: all 0.2s ease; /* smooth hover effect */
}

.est-info-wrapper .btn-submit:hover {
    background-color: #4752d6;
    transform: translateY(-1px);
}

/* Tablet view (medium screens) */
@media (max-width: 991px) {
    .est-info-wrapper .btn-submit {
        padding: 0.65rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile view (small screens) */
@media (max-width: 576px) {
    .est-info-wrapper .btn-submit {
        padding: 0.5rem 1.5rem;
        font-size: 0.95rem;
        width: 100%; /* full-width button for mobile */
        border-radius: 0.5rem;
    }
}
.hero-dropdown {
    max-width: 420px;
    margin: 18px auto 12px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

/* Shared button */
.hero-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Primary */
.primary-btn {
    background-color: #015296;
    color: #ffffff;
}

.primary-btn:hover {
    background-color: #2b2b85;
}

/* Secondary */
.secondary-btn {
    background-color: #EDEDF4;
    color: #015296;
}

.secondary-btn:hover {
    background-color: #dadaf0;
}

/* Force dropdown background + text visibility */
.hero-dropdown .dropdown-options {
    background-color: #ffffff !important;
    color: #015296 !important;
    border: 1px solid #ddd;
}

/* Each option */
.hero-dropdown .dropdown-options li {
    color: #015296 !important;
    background-color: #ffffff;
    font-weight: 500;
}

/* Search input text */
.hero-dropdown .dropdown-input {
    color: #015296;
}

/* Placeholder color */
.hero-dropdown .dropdown-input::placeholder {
    color: #666699;
}

/* Dropdown option hover effect */
.hero-dropdown .dropdown-options li:hover {
    background-color: #015296 !important; /* Primary */
    color: #ffffff !important;           /* White text */
}
