/* ========================================
   WISE Insurance Brokerage - Custom Styles
   ======================================== */

/* Font Face Declarations - All fonts from /assets/Fonts/ */
@font-face {
    font-family: "Adobe Arabic";
    src: url("../assets/Fonts/AdobeArabic-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mixcase";
    src:
        url("../assets/Fonts/Roman Melikhov - Mixcase Mixed.otf")
            format("opentype"),
        url("../assets/Fonts/MixcaseMixed.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Mixcase Unmixed";
    src:
        url("../assets/Fonts/Roman Melikhov - Mixcase Unmixed.otf")
            format("opentype"),
        url("../assets/Fonts/MixcaseUnmixed.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/Fonts/Poppins-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/Fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../assets/Fonts/Poppins-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Taleeq";
    src:
        url("../assets/Fonts/taleeq-bold.ttf") format("truetype"),
        url("../assets/Fonts/taleeq-bold 2.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Alfont - if filename has Arabic/special chars, use URL-encoded path or rename file */
@font-face {
    font-family: "Alfont";
    src: url("../assets/Fonts/alfont_com_????-1.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --gold: #d4af37;
    --gold-light: #e8c547;
    --purple: #7b2d5b;
    --purple-dark: #341539;
    --dark-bg: #1a1a2e;
    --dark-gradient-start: #0f1419;
    --dark-gradient-end: #2d1f3d;
    --light-bg: #f5f7fa;
    --light-blue: #e8eef5;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-muted: #999999;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Mixcase", sans-serif;
    font-weight: normal;
}

.text-gold {
    color: var(--gold) !important;
}

.text-purple {
    color: var(--purple) !important;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: transparent;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 20, 25, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Navbar with dark text for light background pages */
.navbar.navbar-light {
    background: transparent !important;
}

.navbar.navbar-light .logo-text {
    color: var(--text-dark) !important;
}

.navbar.navbar-light .logo-tagline {
    color: var(--text-dark) !important;
}

.navbar.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

.navbar.navbar-light .navbar-nav .nav-link:hover,
.navbar.navbar-light .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar.navbar-light.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.navbar-light.scrolled .logo-text,
.navbar.navbar-light.scrolled .logo-tagline,
.navbar.navbar-light.scrolled .navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

.navbar.navbar-light.scrolled .navbar-nav .nav-link:hover,
.navbar.navbar-light.scrolled .navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    display: flex;
    align-items: baseline;
}

.logo-icon {
    font-family: "Mixcase", sans-serif;
    font-size: 2rem;
    font-weight: normal;
    color: var(--gold);
    margin-right: 2px;
}

.logo-text {
    font-family: "Mixcase", sans-serif;
    font-size: 1.8rem;
    font-weight: normal;
    color: var(--text-light);
    letter-spacing: 2px;
}

.logo-tagline {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-top: -5px;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-family: "Poppins", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 18px !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

.navbar-nav .nav-link.dropdown-toggle::after {
    display: none;
}

/* Dropdown Menu Styling */
.navbar .dropdown-menu {
    background: rgba(30, 30, 35, 0.98);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar .dropdown-menu-dark {
    background: rgba(30, 30, 35, 0.98);
}

/* Main dropdown items */
.navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    font-family: "Poppins", sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 12px 20px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.navbar .dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active {
    background: rgba(40, 40, 45, 0.95);
    color: var(--gold);
}

/* Submenu toggle arrow */
.dropdown-toggle-sub::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

/* Submenu container */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-menu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    background: rgba(45, 45, 50, 0.98);
    backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.4);
}

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

/* Submenu items */
.dropdown-submenu-menu .dropdown-item {
    font-size: 0.7rem;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
    text-transform: none;
}

.dropdown-submenu-menu .dropdown-item:hover,
.dropdown-submenu-menu .dropdown-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding-left: 22px;
}

/* Hover state for parent item */
.dropdown-submenu:hover > .dropdown-toggle-sub {
    background: rgba(40, 40, 45, 0.95);
    color: var(--gold);
}

/* Contact Us link special styling */
.navbar-nav .nav-item:last-child .nav-link {
    color: var(--gold) !important;
}

.navbar-nav .nav-item:last-child .nav-link:hover {
    color: var(--gold-light) !important;
}

/* Mobile dropdown adjustments */
@media (max-width: 991px) {
    /* Mobile navbar collapse menu background */
    .navbar-collapse {
        background: rgba(30, 30, 35, 0.98);
        backdrop-filter: blur(10px);
        margin-top: 10px;
        padding: 15px;
        border-radius: 5px;
    }

    /* Light navbar mobile menu background */
    .navbar.navbar-light .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    /* Mobile nav links */
    .navbar-nav .nav-link {
        padding: 12px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Light navbar mobile nav links */
    .navbar.navbar-light .navbar-nav .nav-link {
        color: var(--text-dark) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar.navbar-light .navbar-nav .nav-link:hover,
    .navbar.navbar-light .navbar-nav .nav-link.active {
        color: var(--gold) !important;
        background: rgba(212, 175, 55, 0.1);
    }

    /* Mobile: main dropdown menu (category) - hidden until .show is added by click */
    .navbar-collapse .dropdown-menu {
        display: none;
        margin-top: 0;
        margin-bottom: 8px;
        border-radius: 5px;
        padding: 0;
    }

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

    .navbar .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item.active {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Mobile: submenu - only show on tap via .mobile-open (disable hover) */
    .dropdown-submenu:hover > .dropdown-submenu-menu {
        display: none;
    }

    .dropdown-submenu-menu {
        display: none;
        position: static;
        left: 0;
        box-shadow: none;
        background: rgba(40, 40, 48, 0.98);
        padding-left: 15px;
        margin-top: 4px;
        margin-bottom: 8px;
        border-radius: 5px;
        border-left: 3px solid rgba(212, 175, 55, 0.5);
    }

    .dropdown-submenu-menu.mobile-open {
        display: block !important;
    }

    .dropdown-submenu-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .dropdown-submenu-menu .dropdown-item:hover,
    .dropdown-submenu-menu .dropdown-item.active {
        color: var(--gold);
        background: rgba(255, 255, 255, 0.06);
    }

    /* Light navbar mobile: main dropdown and submenu */
    .navbar.navbar-light .dropdown-menu,
    .navbar.navbar-light .dropdown-submenu-menu {
        background: rgba(248, 248, 248, 0.98) !important;
    }

    .navbar.navbar-light .dropdown-menu .dropdown-item,
    .navbar.navbar-light .dropdown-submenu-menu .dropdown-item {
        color: var(--text-dark) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .navbar.navbar-light .dropdown-menu .dropdown-item:hover,
    .navbar.navbar-light .dropdown-menu .dropdown-item.active,
    .navbar.navbar-light .dropdown-submenu-menu .dropdown-item:hover,
    .navbar.navbar-light .dropdown-submenu-menu .dropdown-item.active {
        background: rgba(212, 175, 55, 0.12) !important;
        color: var(--gold) !important;
    }

    .navbar.navbar-light .dropdown-submenu-menu {
        border-left-color: rgba(212, 175, 55, 0.4);
    }

    .dropdown-toggle-sub::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid currentColor;
        border-bottom: none;
    }

    /* Mobile navbar toggler button */
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 4px 8px;
    }

    .navbar.navbar-light .navbar-toggler {
        border: 1px solid rgba(0, 0, 0, 0.3);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar.navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    /* Mobile Contact Us link styling */
    .navbar.navbar-light .navbar-nav .nav-item:last-child .nav-link {
        color: var(--gold) !important;
    }

    .navbar.navbar-light .navbar-nav .nav-item:last-child .nav-link:hover {
        color: var(--gold-light) !important;
    }

    .about-service-card-container {
        margin-top: 0.5rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    min-height: 100vh;
    background: var(--dark-gradient-start)
        url("../assets/images/wise%20background.png") no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    font-family: "Poppins";
    font-weight: 100;
    font-style: normal;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(
            ellipse at bottom right,
            rgba(212, 175, 55, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            ellipse at top left,
            rgba(123, 45, 91, 0.2) 0%,
            transparent 50%
        );
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 6.5rem;
    font-weight: normal;
    color: var(--text-light);
    line-height: 0.6;
    font-family: "Mixcase";
    max-width: 100%;
    word-break: break-word;
}

/* Desktop: gold letters (W,I,S,E) scale with title */
.hero-title .text-gold {
    font-family: "Mixcase", sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-size: 9rem !important;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.hero-tagline {
    font-size: 1.1rem;
}

.hero-section .btn-outline-light {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--text-dark);
    padding: 12px 35px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
    margin-top: 10px;
}

.hero-section .btn-outline-light:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--text-light);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--text-light);
    padding: 80px 0;
}

.about-section .lead {
    color: #555;
    font-size: 0.95rem;
}

.about-section p {
    color: #555;
    font-size: 0.95rem;
}

.about-section strong {
    color: var(--purple-dark);
    font-weight: 600;
    font-size: larger;
}

/* ========================================
   Services Section
   ======================================== */

.section-title {
    font-family: "Mixcase", sans-serif;
    font-size: 9rem;
    color: var(--dark-bg);
    font-weight: normal;
}

.service-card {
    background: var(--text-light);
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.5s ease,
        opacity 0.3s ease;
    opacity: 0.2;
    filter: brightness(1.2);
    z-index: 0;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: transparent;
    width: 100%;
}

.service-content h5 {
    font-family: "Mixcase", sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    color: #333333;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    font-family: "Poppins", sans-serif;
}

.service-link:hover {
    background: #d0d0d0;
    color: #333333;
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-banner {
    background: var(--gold);
    padding: 30px 0;
}

.cta-banner h3 {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-bg);
    letter-spacing: 1px;
}

/* ========================================
   Footer
   ======================================== */
.footer-section {
    background: linear-gradient(
        135deg,
        var(--dark-gradient-start) 0%,
        var(--dark-gradient-end) 50%,
        #4a1a5a 100%
    );
    padding: 60px 0;
    color: var(--text-light);
    position: relative;
}

.footer-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(
        ellipse at bottom right,
        rgba(180, 100, 200, 0.3) 0%,
        transparent 60%
    );
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-tagline {
    font-family: "Poppins";
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 0.9;
}

.footer-tagline .text-gold {
    font-family: "Mixcase", sans-serif;
    font-weight: normal;
    font-style: normal;
}

.footer-logo {
    display: block;
}

.footer-logo-img {
    width: auto;
    height: 190px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .footer-logo-img {
        height: 190px;
    }
}

.logo-icon-lg {
    font-family: "Mixcase", sans-serif;
    font-size: 3.5rem;
    font-weight: normal;
    color: var(--gold);
}

.logo-text-lg {
    font-family: "Mixcase", sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: var(--text-light);
    letter-spacing: 3px;
}

.footer-brand-text {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--text-light);
    margin-top: -5px;
}

.footer-contact {
    position: relative;
    z-index: 1;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact strong {
    color: var(--text-light);
    font-weight: 500;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--gold);
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 150px 0 80px;
    background: #d2dee1;
}

.page-title {
    font-family: "Mixcase Unmixed";
    font-size: 7rem;
    color: var(--purple-dark);
    font-weight: normal;
    margin-bottom: 30px;
    margin-top: 50px;
    line-height: 0.8;
}

.page-intro {
    font-size: 1rem;
    color: #555;
    max-width: 800px;
    line-height: 1.8;
}

/* ========================================
   About Page Styles
   ======================================== */
.about-hero {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        #dce3ea 0%,
        #c5d3e0 30%,
        #87a9bb 50%,
        #3d1f4d 100%
    );
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(212, 175, 55, 0.15), transparent);
}

.about-hero-title {
    font-family: "Poppins";
    font-size: 3.5rem;
    color: var(--purple-dark);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 0.8;
}

.about-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.about-hero-stripline-col {
    position: relative;
}

.about-hero-stripline-img {
    margin-top: -71px;
    width: 215%;
}

.big-w {
    font-family: "Playfair Display", serif;
    font-size: 30rem;
    color: var(--gold);
    opacity: 0.25;
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    line-height: 1;
    font-weight: 700;
    pointer-events: none;
}

.mission-vision {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.mission-box,
.vision-box {
    flex: 1;
}

.mission-box h4,
.vision-box h4 {
    font-family: "Mixcase", sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mission-box h4 i,
.vision-box h4 i {
    color: #666;
    font-size: 1.1rem;
}

.mission-box p,
.vision-box p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.2;
}

/* About Services Section */
.about-services {
    /* background: linear-gradient(
    135deg,
    #dce3ea 0%,
    #c5d3e0 30%,
    #e8d9e8 70%,
    #d9c8d9 100%
  ); */
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-services::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
}

.about-services .section-title {
    font-family: "Mixcase Unmixed";
    color: var(--gold-light);
    margin-bottom: 0px !important;
    font-size: 3.5rem;
    font-weight: normal;
}

.about-services-subtitle {
    font-family: "Mixcase Unmixed";
    font-size: 1rem;
    color: var(--purple-dark);
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.about-services .container {
    position: relative;
    z-index: 1;
}

.about-services .row.mb-4 p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-service-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-service-card:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-service-card h5 {
    font-family: "Mixcase Unmixed";
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: normal;
}

.about-service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.journey-cta {
    margin-top: 60px;
}

.journey-cta h3 {
    font-family: "Mixcase Unmixed";
    font-size: 1.2rem;
    font-weight: normal;
    color: var(--text-light);
}

/* ========================================
   Solutions Page Styles
   ======================================== */
.solution-section {
    padding: 0;
    position: relative;
    max-height: 50vh;
    overflow: hidden;
}

.solution-with-overlay {
    position: relative;
}

.solution-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: 0;
}

.solution-section .container {
    position: relative;
    z-index: 2;
    padding: 100px 15px;
}

.min-vh-60 {
    min-height: 60vh;
}

/* Blue/Grey Overlay for Home, Health, Car Insurance */
.solution-blue-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(232, 238, 245, 0.95) 0%,
        rgba(240, 244, 248, 0.9) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 1;
}

/* Gold/Yellow Overlay for Life Insurance */
.solution-gold-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(245, 240, 232, 0.95) 0%,
        rgba(248, 244, 240, 0.9) 50%,
        rgba(255, 255, 255, 0.4) 100%
    );
    z-index: 1;
}

.solution-title {
    font-family: "Mixcase Unmixed";
    font-size: 4rem;
    color: var(--purple-dark);
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 0.8;
}

.solution-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.solution-link {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.solution-link:hover {
    color: var(--gold-light, #c9a82e);
    text-decoration: underline;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    min-height: 100vh;
    background: linear-gradient(
        135deg,
        var(--dark-gradient-start) 0%,
        var(--dark-gradient-end) 100%
    );
    padding: 150px 0 80px;
    position: relative;
}

.contact-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(
        ellipse at bottom right,
        rgba(180, 100, 200, 0.3) 0%,
        transparent 60%
    );
}

.contact-title {
    font-family: "Mixcase Unmixed";
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: normal;
    line-height: 0.8;
}

.contact-form .form-control {
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 0;
    padding: 15px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.contact-form .form-control:focus {
    background: transparent;
    border-color: var(--gold);
    box-shadow: none;
    color: var(--text-light);
}

.contact-form textarea.form-control {
    min-height: 200px;
    resize: none;
}

.btn-send {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: var(--text-light);
    padding: 12px 30px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
}

.btn-send:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--text-light);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-title .text-gold {
        font-size: 4rem !important;
    }

    .page-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .mega-menu {
        position: relative;
        width: 100%;
    }

    .mega-menu .row {
        flex-direction: column;
    }

    .big-w {
        font-size: 15rem;
        right: -30px;
    }

    .mission-vision {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(2.75rem, 12vw, 3.5rem);
        padding-right: 0.5rem;
        line-height: 0.7;
    }

    .about-hero-stripline-img {
        display: none !important;
    }

    .hero-title .text-gold {
        font-size: clamp(3.25rem, 14vw, 4.25rem) !important;
    }

    .hero-section .row {
        --bs-gutter-x: 1rem;
        min-height: 50vh;
    }

    .hero-section {
        padding: 100px 0 50px;
        /* min-height: auto; */
    }

    .hero-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .solution-title {
        font-size: 2rem;
    }

    .solution-section .container {
        padding: 60px 15px;
    }

    .min-vh-60 {
        min-height: 50vh;
    }

    .big-w {
        display: none;
    }

    .footer-logo {
        margin-bottom: 30px;
    }

    .logo-icon-lg {
        font-size: 2.5rem;
    }

    .logo-text-lg {
        font-size: 2rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.bg-light-gradient {
    background: linear-gradient(135deg, #e8eef5 0%, #f0f4f8 100%);
}

.bg-gold-tint {
    background: linear-gradient(135deg, #f5f0e8 0%, #f8f4f0 100%);
}

.bg-purple-tint {
    background: linear-gradient(135deg, #e8e0f0 0%, #f0e8f5 100%);
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RTL & Arabic locale
   ======================================== */
[dir="rtl"] body,
body.locale-ar {
    font-family: "Taleeq", sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
.locale-ar h1,
.locale-ar h2,
.locale-ar h3,
.locale-ar h4,
.locale-ar h5,
.locale-ar h6 {
    font-family: "Taleeq", sans-serif;
}

/* RTL layout overrides */
/* Navbar: Keep logo left, menu right (LTR layout for container) */
[dir="rtl"] .navbar {
    direction: ltr;
}

/* Menu items themselves should be RTL (right-to-left order) */
[dir="rtl"] .navbar-nav {
    direction: rtl;
    margin-left: auto;
    margin-right: 0;
}

/* Arabic nav links use Taleeq font */
[dir="rtl"] .navbar-nav .nav-link {
    font-family: "Taleeq", sans-serif !important;
    font-size: 0.9rem !important;
}

[dir="rtl"] .ms-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
}

/* Arabic dropdown items use Taleeq font */
[dir="rtl"] .dropdown-menu .dropdown-item {
    font-family: "Taleeq", sans-serif !important;
}

[dir="rtl"] .dropdown-submenu .dropdown-menu {
    right: 100%;
    left: auto;
    margin-right: 0.125rem;
    margin-left: 0;
}

/* Hero section: Keep English text on left, Arabic content on right (LTR layout) */
[dir="rtl"] .hero-section .row {
    direction: ltr;
}

[dir="rtl"] .hero-title {
    text-align: left;
    font-family: "Mixcase", sans-serif !important;
}

[dir="rtl"] .hero-title .text-gold {
    font-family: "Mixcase", sans-serif !important;
}

/* Hero content Arabic text uses Taleeq */
[dir="rtl"] .hero-content {
    font-family: "Taleeq", sans-serif !important;
    text-align: right;
}

[dir="rtl"] .hero-subtitle {
    font-family: "Taleeq", sans-serif !important;
    text-align: justify;
    direction: rtl;
}

[dir="rtl"] .hero-tagline {
    font-family: "Taleeq", sans-serif !important;
    text-align-last: justify;
    direction: rtl;
}

[dir="rtl"] .hero-section .btn-outline-light {
    font-family: "Taleeq", sans-serif !important;
}

[dir="rtl"] .about-hero-title,
[dir="rtl"] .about-hero-subtitle,
[dir="rtl"] .about-content,
[dir="rtl"] .mission-box,
[dir="rtl"] .vision-box {
    text-align: right;
}

[dir="rtl"] .footer-tagline,
[dir="rtl"] .footer-contact {
    text-align: right;
    font-family: "Taleeq" !important;
}

[dir="rtl"] .contact-title,
[dir="rtl"] .contact-form {
    text-align: right;
}

[dir="rtl"] .page-title,
[dir="rtl"] .page-intro,
[dir="rtl"] .solution-title,
[dir="rtl"] .solution-text {
    text-align: right;
}

[dir="rtl"] .section-title {
    text-align: center;
    font-family: "Taleeq" !important;
}

[dir="rtl"] .about-services-subtitle,
[dir="rtl"] .about-service-card {
    text-align: right;
    font-size: 1rem !important;
}

[dir="rtl"] .journey-cta h3 {
    text-align: center;
}

[dir="rtl"] .cta-banner h3 {
    text-align: center;
}

[dir="rtl"] .about-section .lead,
[dir="rtl"] .about-section p {
    text-align: right;
}

[dir="rtl"] .about-hero-title {
    line-height: 1.2;
}

[dir="rtl"] .about-hero-subtitle {
    color: var(--text-dark);
}

[dir="rtl"] .about-content p {
    color: var(--text-dark);
}

[dir="rtl"] .mission-box h4,
[dir="rtl"] .vision-box h4 {
    color: var(--purple-dark);
    font-size: 1.5rem;
}

[dir="rtl"] .mission-box p,
[dir="rtl"] .vision-box p {
    color: var(--text-dark);
}

[dir="rtl"] .mission-box h4 i,
[dir="rtl"] .vision-box h4 i {
    color: var(--purple-dark);
    font-size: 1.8rem;
}

[dir="rtl"] .about-services,
[dir="rtl"].section-title {
    font-family: "Taleeq" !important;
    color: var(--gold-light);
    margin-bottom: 0px !important;
    font-weight: normal;
    text-align-last: start;
}

.about-service-card-container {
    padding: 0.1rem;
}

[dir="rtl"] .about-service-card h5 {
    font-size: 2rem !important;
}

[dir="ltr"].navbar-nav [dir="ltr"] .nav-item:last-child .nav-link {
    font-family: "Taleeq" !important;
}
