/* Bahrain.com Inspired Premium Design & Fonts */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* Variables */
:root {
    --primary-gold: #c5a47e;
    --primary-blue: #002d5c;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    --card-hover-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    --font-primary: 'Manrope', sans-serif;
    --dropdown-bg: #fff;
    /* Solid white for box feel */
    --accent-blue-light: rgba(0, 45, 92, 0.05);
    /* Light blue for hovers */
}

/* ---------------------------------------------------------------- */
/* Global Typography Overrides */
/* ---------------------------------------------------------------- */

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
li,
div,
button,
input,
select,
textarea {
    font-family: var(--font-primary) !important;
}

body {
    -webkit-font-smoothing: antialiased;
    color: var(--text-dark);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-weight: 400;
}

/* ---------------------------------------------------------------- */
/* Navigation & Dropdown Menu (Arrow & Box Style) */
/* ---------------------------------------------------------------- */

/* Top Level Items */
.main-menu ul li a {
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 30px 0;
    color: var(--primary-blue) !important;
}

/* Dropdown Container - The "Box" */
.main-menu ul.sub-menu {
    background: var(--dropdown-bg);
    border: 1px solid rgba(0, 45, 92, 0.1);
    /* Subtle blue border */
    border-top: 4px solid #fff;
    /* Strong blue accent top */
    box-shadow: 0 15px 40px rgba(0, 45, 92, 0.15);
    /* Blue-tinted shadow */
    padding: 10px 0;
    min-width: 250px;
    border-radius: 4px;
    /* Slightly sharper corners for box feel */
    display: block;
    margin-top: 15px;
    /* Space for the arrow */

    /* Animation Initial State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The "Arrow" pointing up */
.main-menu ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    /* Position above the box */
    left: 40px;
    /* Adjust based on alignment preferences */
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

/* Dropdown Links */
.main-menu ul.sub-menu li {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.main-menu ul.sub-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    text-transform: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    background: transparent;
    transition: all 0.2s ease;
}

.main-menu ul.sub-menu li:last-child a {
    border-bottom: none;
}

/* Dropdown Hover Effects */
.main-menu ul.sub-menu li a:hover {
    background: var(--accent-blue-light);
    /* Light blue bg */
    color: var(--primary-blue) !important;
    padding-left: 32px;
    font-weight: 700 !important;
}

/* Show Dropdown on Hover */
.main-menu ul li:hover>ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.th-btn.style3 {
    font-weight: 600 !important;
}

/* Mobile Toggle Styling */
.th-menu-toggle {
    background-color: var(--primary-blue) !important;
}

.th-menu-wrapper .th-menu-area {
    border-color: var(--primary-blue);
}

/* ---------------------------------------------------------------- */
/* Hero Section Enhancements (Blue Accents) */
/* ---------------------------------------------------------------- */

.th-hero-wrapper.hero-1 .hero-title {
    font-weight: 800;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.th-hero-wrapper.hero-1 .hero-title img {
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.th-hero-wrapper.hero-1 .hero-text {
    color: #f8f8f8;
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------------------- */
/* Section Titles & Elements (Blue Theme) */
/* ---------------------------------------------------------------- */

.sec-title {
    color: var(--primary-blue);
    /* font-weight: 800; */
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 40px;
    font-weight: 200;
}

.sec-text {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-light);
}

.rounded-3 {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------------- */
/* Mobile Language Switcher Styles */
/* ---------------------------------------------------------------- */

.th-menu-wrapper .th-menu-area {
    display: flex !important;
    flex-direction: column;
    overflow: visible !important;
}

.th-mobile-menu {
    flex: 1;
    overflow-y: auto !important;
    max-height: none !important;
    padding-bottom: 20px !important;
    z-index: 1;
}

.mobile-lang-switcher {
    position: relative;
    padding-top: 15px;
    padding-bottom: 30px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 999;
    overflow: visible !important;
}

.switcher-label {
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue) !important;
    font-weight: 800 !important;
    cursor: pointer;
}

.switcher-select-wrap {
    width: 100px;
    position: relative;
    overflow: visible;
}

/* Hide the original select to prevent double dropdown */
.mobile-lang-switcher select.nice-select {
    display: none !important;
}

/* Ensure the generated dropdown container is visible and styled */
.mobile-lang-switcher .nice-select {
    width: 100%;
    background-color: var(--accent-blue-light);
    border: 1px solid rgba(0, 45, 92, 0.1);
    border-radius: 8px;
    height: 40px;
    line-height: 38px;
    padding-left: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    float: none;
    font-size: 13px;
}

.mobile-lang-switcher .nice-select:after {
    border-bottom: 2px solid var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
    width: 6px;
    height: 6px;
    right: 15px;
    top: 50%;
    margin-top: -4px;
}

.mobile-lang-switcher .nice-select .list {
    width: 140px;
    right: 0;
    left: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 45, 92, 0.1);
    bottom: 100%;
    top: auto;
    margin-bottom: 10px;
    z-index: 9999;
}

.mobile-lang-switcher .nice-select .option {
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.mobile-lang-switcher .nice-select .option.selected {
    font-weight: 800;
    color: var(--primary-blue);
    background-color: var(--accent-blue-light);
}

.mobile-lang-switcher .nice-select .option:hover {
    background-color: var(--accent-blue-light);
}