/* ==========================================================================
   AL-NOORZIYA Manpower Consultant - Custom Premium Stylesheet
   Theme: Luxury, Corporate, Minimal, Dark + White + Emerald Green (#2E8B84)
   ========================================================================== */

/* Design Tokens & Variables - Light Theme (Default) */
:root {
    --primary: #2E8B84;
    --primary-hover: #236B65;
    --primary-glow: rgba(46, 139, 132, 0.1);
    --primary-glow-strong: rgba(46, 139, 132, 0.3);
    
    /* Backgrounds */
    --bg-deep: #F5F8F7;
    --bg-dark: #E6EEEE;
    --bg-card: #FFFFFF;
    --bg-card-hover: rgba(46, 139, 132, 0.05);
    --border-glass: rgba(46, 139, 132, 0.12);
    --border-glass-focus: rgba(46, 139, 132, 0.4);
    --bg-input: rgba(46, 139, 132, 0.05);
    
    /* Dynamic overlays for hero & header */
    --bg-hero-overlay: linear-gradient(rgba(245, 248, 247, 0.75), rgba(245, 248, 247, 0.92));
    --bg-header: rgba(245, 248, 247, 0.85);
    --border-header: rgba(46, 139, 132, 0.1);
    --bg-map-section: radial-gradient(circle at 50% 50%, #e0ece8 0%, var(--bg-deep) 100%);
    
    /* Typography Colors */
    --text-white: #122421; /* Main text / heading color in light theme */
    --text-muted: #526B67;
    --text-dark: #FFFFFF;
    --text-dark-muted: #CBDAD7;
    
    /* Fonts */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
    
    --bg-footer: #0E1614;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-deep: #080D0C;
    --bg-dark: #0E1614;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.06);
    --border-glass-focus: rgba(46, 139, 132, 0.4);
    --bg-input: rgba(0, 0, 0, 0.3);
    
    --bg-hero-overlay: linear-gradient(rgba(8, 13, 12, 0.85), rgba(8, 13, 12, 0.95));
    --bg-header: rgba(8, 13, 12, 0.75);
    --border-header: rgba(255, 255, 255, 0.05);
    --bg-map-section: radial-gradient(circle at 50% 50%, #0d1a17 0%, var(--bg-deep) 100%);
    
    --text-white: #FFFFFF;
    --text-muted: #94A8A5;
    --text-dark: #121F1C;
    --text-dark-muted: #556B67;
    
    --primary-hover: #3ba19a;
    --primary-glow: rgba(46, 139, 132, 0.2);
    --primary-glow-strong: rgba(46, 139, 132, 0.4);
    
    --bg-footer: #060B0A;
}

/* Reset & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
}

body.loading {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-white);
}

p {
    font-family: var(--font-secondary);
}

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

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

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

.section-title-container {
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.05rem;
}

/* Preloader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-deep);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    position: relative;
    width: 250px;
}

.preloader-logo-img {
    max-width: 180px;
    margin-bottom: 25px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-line {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-line::after {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 40%;
    background: var(--primary);
    left: -40%;
    animation: loadingAnim 1.5s infinite linear;
}

@keyframes loadingAnim {
    0% { left: -40%; }
    100% { left: 100%; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 15px var(--primary)); }
}

/* Premium Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 35px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.4);
    height: 100%;
    position: relative;
    overflow: hidden;
    transform: translate3d(0,0,0);
    will-change: transform;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(46, 139, 132, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 45px -5px rgba(46, 139, 132, 0.1);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 139, 132, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 0;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card * {
    position: relative;
    z-index: 1;
}

/* Premium Buttons */
.btn-premium {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.btn-emerald {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-emerald:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 25px var(--primary-glow-strong);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-outline-premium {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
}

.btn-outline-premium:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Header & Navigation */
.header {
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-header);
    transition: var(--transition-smooth);
    z-index: 1000;
}

.header.scrolled {
    background: rgba(8, 13, 12, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo-img {
    height: 55px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-muted);
    padding: 10px 18px !important;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.navbar-toggler {
    border: 1px solid var(--border-glass);
    padding: 6px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 10px var(--primary-glow);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Cinematic Full Screen Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    background-image: var(--bg-hero-overlay), url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(46, 139, 132, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

#hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

/* Floating Statistics (Hero Right Side) */
.hero-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    animation: floatShape 6s infinite ease-in-out;
    transform: translate3d(0,0,0);
    will-change: transform;
}

.stat-glass-card:nth-child(even) {
    animation-delay: 2s;
}

.stat-glass-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(46, 139, 132, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Floating Animation */
@keyframes floatShape {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animated Scroll Indicator */
.scroll-indicator-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    width: 28px;
    height: 48px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.scroll-indicator::after {
    content: '';
    width: 6px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 3px;
    position: absolute;
    top: 8px;
    animation: scrollDot 2s infinite ease-in-out;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

.scroll-indicator:hover {
    border-color: var(--primary);
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.about-img {
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.02);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, #1c5b56 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(46, 139, 132, 0.3);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-experience-badge h4 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0;
}

.about-experience-badge p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Navigation Tabs (Mission, Vision, Values) */
.about-tabs .nav-link {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    margin-right: 10px;
    transition: var(--transition-fast);
}

.about-tabs .nav-link.active {
    background: var(--primary);
    color: var(--text-white) !important;
    border-color: var(--primary);
    box-shadow: 0 6px 15px var(--primary-glow);
}

/* Card Icons */
.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(46, 139, 132, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.glass-card:hover .card-icon-wrapper {
    background: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: 0 6px 15px var(--primary-glow-strong);
}

/* Timeline Recruitment Process */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), var(--primary), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-deep);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover::after {
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 25px;
    position: relative;
}

.timeline-item:hover .timeline-content {
    border-color: var(--primary);
}

.timeline-step {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 5px;
}

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

@media (max-width: 767.98px) {
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .right {
        left: 0%;
    }
}

/* Global Destinations Map & Hotspots */
.map-section {
    background: var(--bg-map-section);
}

.map-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.world-map-img {
    width: 100%;
    height: auto;
    opacity: 0.75;
    display: block;
}

body.dark-theme .world-map-img {
    opacity: 0.25;
    filter: brightness(1.3);
}

.map-hotspot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.map-hotspot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: var(--primary);
    animation: ripple 2s infinite ease-out;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.map-hotspot .tooltip-content {
    visibility: hidden;
    background: rgba(14, 22, 20, 0.95);
    border: 1px solid var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 6px 12px;
    position: absolute;
    z-index: 15;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.map-hotspot:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Current Openings / Jobs Board */
.job-card {
    background: var(--bg-card);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform: translate3d(0,0,0);
    will-change: transform;
}

.job-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(46, 139, 132, 0.1);
}

.job-country-badge {
    background: rgba(46, 139, 132, 0.15);
    color: var(--primary);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.job-meta-item {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.job-meta-item i {
    width: 20px;
    color: var(--primary);
}

.filter-btn-group .btn {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 8px 20px;
    border: 1px solid var(--border-glass);
    background: transparent;
    color: var(--text-muted);
    margin: 5px;
    transition: var(--transition-fast);
}

.filter-btn-group .btn.active, 
.filter-btn-group .btn:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* Success Stories / Testimonials */
.testimonial-slider {
    padding: 20px 0 50px 0;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(46, 139, 132, 0.2);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 30px;
}

.client-info-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--primary);
}

.client-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.client-role {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    width: 24px !important;
    border-radius: 4px !important;
    opacity: 1;
}

/* Photo Gallery (Masonry Layout) */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 13, 12, 0.8);
    opacity: 0;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

@media (max-width: 991.98px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 12px;
    }
    .gallery-item {
        margin-bottom: 12px;
        border-radius: 12px;
    }
    .gallery-overlay {
        padding: 10px !important;
    }
    .gallery-title {
        font-size: 0.85rem !important;
    }
    .gallery-cat {
        font-size: 0.6rem !important;
        margin-bottom: 2px !important;
    }
}

/* Blog Section */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.blog-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-read-more:hover {
    color: var(--primary-hover);
}

/* FAQ Accordion */
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 25px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(46, 139, 132, 0.08);
    color: var(--primary);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-family: var(--font-secondary);
    padding: 20px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section & Inquiry Form */
.contact-info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transform: translate3d(0,0,0);
    will-change: transform;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-method-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 139, 132, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-text-box h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-text-box p {
    font-family: var(--font-secondary);
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.inquiry-form-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translate3d(0,0,0);
    will-change: transform;
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-control-custom {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-white) !important;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 12px var(--primary-glow) !important;
    background: var(--bg-card) !important;
}

/* Map Embed */
.map-embed-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.map-embed-wrapper iframe {
    display: block;
    width: 100%;
    filter: invert(90%) hue-rotate(180deg) grayscale(40%);
}

/* Footer Section */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border-glass);
}

.footer-logo {
    height: 60px;
    object-fit: contain;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px var(--primary-glow-strong);
    transform: translateY(-2px);
}

/* Floating Action Buttons */
.floating-btn-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
    border: none;
}

.whatsapp-btn {
    background-color: #25D366;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    color: white;
}

.call-btn {
    background-color: var(--primary);
}

.call-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
    box-shadow: 0 10px 30px var(--primary-glow-strong);
    color: white;
}

.scroll-top-btn {
    background-color: #1A2523;
    border: 1px solid var(--border-glass);
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 10px 30px var(--primary-glow-strong);
}

/* Breadcrumb styling for inside pages */
.inner-banner {
    padding: 120px 0 70px 0;
    background-image: var(--bg-hero-overlay), url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.inner-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(46, 139, 132, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.inner-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
}

.breadcrumb-custom a {
    color: var(--text-muted);
    text-decoration: none;
}

.breadcrumb-custom a:hover {
    color: var(--primary);
}

.breadcrumb-custom .active {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-custom li + li::before {
    content: "/";
    color: var(--text-muted);
    margin-right: 8px;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats-wrapper {
        margin-top: 50px;
    }
    
    .section-padding {
        padding: 70px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-premium {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-stats-wrapper {
        grid-template-columns: 1fr;
    }
    
    .floating-btn-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .contact-info-card, .inquiry-form-card {
        padding: 25px;
    }
}

/* Theme Toggle Button & General Dark Overrides */
#theme-toggle-mobile, #theme-toggle-desktop {
    transition: var(--transition-fast);
    border-color: var(--border-glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
#theme-toggle-mobile:hover, #theme-toggle-desktop:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: rotate(15deg) scale(1.05);
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

body.dark-theme .logo-img,
body.dark-theme .footer-logo,
body.dark-theme .preloader-logo-img {
    filter: drop-shadow(0px 0px 8px rgba(255, 255, 255, 0.25)) brightness(1.15);
}

/* Ensure light text elements when we explicitly have contrast sections */
.text-light-custom {
    color: var(--text-dark) !important;
}

/* Mobile App-style Bottom Navigation Bar */
.mobile-app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: var(--bg-header);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-header);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    padding-bottom: env(safe-area-inset-bottom);
}

.app-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 6px 10px;
    border-radius: 12px;
}

.app-bar-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    transition: var(--transition-fast);
}

.app-bar-item:hover, 
.app-bar-item.active {
    color: var(--primary);
}

.app-bar-item.active i {
    transform: translateY(-2px);
    color: var(--primary);
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: 75px !important;
    }
    
    .floating-btn-container {
        bottom: 85px !important; /* Move floating buttons above app bar */
    }
    
    /* Crop hero image slightly from the bottom, making it compact */
    .hero-section {
        min-height: 65vh !important;
        padding-top: 130px !important;
        padding-bottom: 50px !important;
        background-position: center 25% !important;
    }
    
    /* Make glass cards compact for 2-column mobile grid */
    .glass-card {
        padding: 20px 12px !important;
        border-radius: 16px !important;
    }
    
    .glass-card .card-icon-wrapper {
        width: 42px !important;
        height: 42px !important;
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        margin-top: 2px !important;
    }
    
    .glass-card .card-title {
        font-size: 0.9rem !important;
        margin-top: 4px !important;
        margin-bottom: 4px !important;
    }
    
    .glass-card .card-text {
        font-size: 0.72rem !important;
        line-height: 1.35 !important;
    }
}
