header {
    position: fixed;
    top: 0;
    width: 100%;
    /* height: 80px; */
    /* Let's say header height is 80px */
    z-index: 999;
    background: white;
}

@media (min-width: 768px) {
    .inner_bg {
        padding-top: 250px;
        /* Adjust this based on actual header height */
    }
}

@media (max-width: 767px) {
    .inner_bg {
        padding-top: 150px;
        /* smaller header on mobile if needed */
    }
}

.header_row {
    display: flex;
    justify-content: space-between;
    /* push logos left, buttons right */
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.header_logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 190px;
    height: auto;
}

.auth_buttons {
    display: flex;
    gap: 10px;
}

.auth_buttons .btn {
    padding: 8px 16px;
    /* background-color: #3c8c8c; */
    /* color: white; */
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    height: 40px;
    padding: 0 24px;
    text-align: center;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    gap: 10px;
}

.auth_buttons .btn:hover {
    color: var(--primary_white);
    transition: all 0.5s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.auth_buttons .btn:hover {
    /* background-color: #2c6e6e; */
}

@media (max-width: 576px) {
    .header_row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth_buttons {
        margin-top: 10px;
    }
}

/* Basic Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 9999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-content input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.modal-content .btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.register-card {
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.register-card:hover {
    background-color: #f5f5f5;
    /* Light grey background on hover */
    transform: translateY(-3px);
    /* Slight lift on hover */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(0.95);
    }
}

@media (max-width: 767px) {
    .modal-dialog {
        margin: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .modal-content {
        width: 100%;
        border-radius: 0;
        height: auto;
        margin: auto;
    }
}

.modal {
    overflow-y: auto;
}

@media (max-width: 767px) {
    .modal-dialog {
        height: 100vh;
        max-width: 100%;
        margin: 0;
    }

    .modal-content {
        height: 100%;
        border-radius: 0;
    }
}


body {
    font-family: 'Inter', sans-serif;
}

.register-card {
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.register-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

.nav-link i {
    margin-right: 8px;
    min-width: 18px;
}

.btn {
    border-radius: 0.5rem;
}

.card {
    border-radius: 1rem;
    border: 1px solid #e3e3e3;
}

/* General layout improvements */
.header {
    background-color: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header_offer_main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 15px;
    color: #06576A;
}

/* Buttons */
.auth_buttons .btn {
    margin-left: 10px;
    font-weight: 600;
    background: #06576A;
    border: none;
    transition: all 0.2s ease-in-out;
}

.auth_buttons .btn:hover {
    background: #053f50;
}

/* Language Button */
.header_luang_btn .btn {
    font-size: 14px;
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

/* Icons in header */
.header_right_social_icon i {
    font-size: 18px;
    color: #06576A;
    transition: transform 0.2s ease;
}

.header_right_social_icon i:hover {
    transform: scale(0.95);
    color: #000;
}

.modal-content {
    border-radius: 12px;
    padding: 25px 20px;
    border: none;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.modal-header img {
    height: 60px;
}

.modal-body h4 {
    color: #06576A;
    font-weight: 700;
}

.register-card {
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s ease;
}

.register-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}


.mobile-header {
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mobile-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

#nav-opn-btn i {
    font-size: 24px;
    color: #06576A;
}

#offcanvas-nav {
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.m-nav ul.nav-links li a {
    font-weight: 600;
    font-size: 16px;
    color: #06576A;
    padding: 8px 0;
}

.header_txt span {
    /* background: #eff338ff; */
    color: #fff;
    /* padding: 2px 6px; */
    border-radius: 3px;
    margin-right: 6px;
}

.menu .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.menu .nav-link:hover::after,
.menu .nav-link.active::after {
    width: 100%;
}

.menu .text_lg::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.menu .text_lg:hover::after,
.menu .text_lg.active::after {
    width: 100%;
}


/* new */

/* ------------------------------
   BUTTON ANIMATIONS
------------------------------ */
button,
.btn {
    transition: all 0.3s ease-in-out;
}

button:hover,
.btn:hover {
    transform: scale(0.95);
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); */
}

/* Optional click effect */
button:active,
.btn:active {
    transform: scale(0.95);
}


/* ------------------------------
   IMAGE HOVER ZOOM EFFECT
------------------------------ */
img {
    transition: transform 0.4s ease-in-out;
}

img:hover {
    transform: scale(0.95);
}

.card img,
.gallery img {
    transition: transform 0.4s ease-in-out;
}

.card img:hover,
.gallery img:hover {
    transform: scale(0.95);
}

/* new header style gallery start */
:root {
    --primary-color: #01566B;
    --secondary-color: #01566B;
    --accent-color: #01566B;
    --success-color: #01566B;
    --warning-color: #01566B;
    --light-bg: #f8f9fa;
    --dark-text: #01566B;
}

.main-container {
    background: white;
    /* border-radius: 20px; */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin: 40px 0 5px 0; 
    overflow: hidden;
}

.header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .inner_bg_new {
        padding-top: 160px;
        /* Adjust this based on actual header height */
    }
}

@media (max-width: 767px) {
    .inner_bg_new {
        padding-top: 60px;
        /* smaller header on mobile if needed */
    }
}

/* new header style gallery end */

.required-field::after {
    content: "*";
    color: #dc3545;
    margin-left: 4px;
}