/* --- AL RAYA GROUP - CUSTOM PREMIUM STYLING --- */

:root {
    /* Color Palette */
    --blue-dark: #07162c;
    --blue-medium: #0e223f;
    --blue-light: #1b304f;
    --blue-accent: #233e68;
    
    --gold: #d4af37;
    --gold-light: rgba(212, 175, 55, 0.15);
    --gold-hover: #b89020;
    --gold-rgb: 212, 175, 55;
    
    --bg-dark: #0a192f;
    --bg-card: rgba(14, 34, 63, 0.8);
    --bg-card-hover: rgba(27, 48, 79, 0.95);
    
    --text-primary: #f8f9fa;
    --text-secondary: #8892b0;
    --text-muted: #606d88;
    --text-white: #ffffff;
    
    --glass-border: rgba(212, 175, 55, 0.18);
    --shadow-premium: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
    
    /* Layout Tokens */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius-large: 16px;
    --radius-medium: 8px;
    --container-width: 1200px;
}

/* RTL Typography */
html[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}

/* LTR Typography */
html[dir="ltr"] {
    font-family: 'Outfit', sans-serif;
}

/* --- Base Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utility --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.no-gap {
    gap: 0 !important;
}

/* --- Buttons & CTAs --- */
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
    color: var(--blue-dark);
    padding: 12px 28px;
    border-radius: var(--radius-medium);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #ffd700 0%, var(--gold) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: var(--radius-medium);
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* --- Header & Navbar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

/* Header Shrink state on Scroll */
.main-header.scrolled {
    padding: 12px 0;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
}

.svg-logo {
    width: 100%;
    height: 100%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Desktop Navigation Link styles */
.desktop-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language toggle button */
.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background-color: rgba(14, 34, 63, 0.5);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.lang-icon {
    width: 16px;
    height: 16px;
}

.btn-header {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Burger menu icon for mobile */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

/* Burger active state */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--blue-dark);
    z-index: 999;
    padding: 100px 24px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Adjust mobile drawer for LTR language */
html[dir="ltr"] .mobile-nav-drawer {
    right: auto;
    left: -100%;
}

html[dir="ltr"] .mobile-nav-drawer.open {
    left: 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 22, 44, 0.95) 0%, rgba(10, 25, 47, 0.8) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--gold-light);
    border: 1px solid var(--glass-border);
    color: var(--gold);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Wave Divider at Hero Bottom */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotateY(180deg);
}

/* --- Section Titles & Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.max-width-600 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Section --- */
.about-section {
    background-color: var(--blue-dark);
}

.about-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-frame {
    position: relative;
    width: 320px;
    height: 320px;
}

.visual-border {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-large);
    z-index: 1;
    pointer-events: none;
}

.visual-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--blue-medium);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.svg-about-art {
    width: 75%;
    height: 75%;
}

.accent-badge-box {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--blue-light);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-medium);
    padding: 16px 20px;
    z-index: 3;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.accent-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.accent-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
}

.values-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-light);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 22px;
    height: 22px;
}

.value-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.value-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Services Section --- */
.services-section {
    background-color: var(--blue-medium);
    position: relative;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 40px 32px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
    border-color: var(--gold);
    box-shadow: var(--shadow-glow), 0 20px 40px -15px rgba(2, 12, 27, 0.8);
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background-color: var(--blue-light);
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--gold);
    color: var(--blue-dark);
    transform: scale(1.05);
}

.service-icon-box svg {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 14px;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Why Choose Us --- */
.why-section {
    background-color: var(--blue-dark);
}

.features-checklist {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.check-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 28px;
    height: 28px;
    background-color: var(--gold-light);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon svg {
    width: 16px;
    height: 16px;
}

.check-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.check-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.stats-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.stat-box {
    background-color: var(--blue-medium);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.stat-box:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.stat-plus {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    margin-left: 2px;
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* --- Location & Maps --- */
.location-section {
    background-color: var(--blue-medium);
}

.location-block {
    border-radius: var(--radius-large);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.map-container {
    height: 450px;
    position: relative;
    background-color: var(--blue-dark);
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

/* Adjust map overlay position for LTR direction */
html[dir="ltr"] .map-overlay {
    right: auto;
    left: 15px;
}

.map-badge {
    background-color: rgba(7, 22, 44, 0.85);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.svg-map {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-label {
    pointer-events: none;
    font-weight: 600;
}

.address-details {
    background-color: var(--blue-dark);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.address-details h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.address-details h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

/* Adjust h4 underline for LTR direction */
html[dir="ltr"] .address-details h4::after {
    right: auto;
    left: 0;
}

.address-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon {
    color: var(--gold);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

.info-content h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 6px;
}

.info-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Contact Us Section --- */
.contact-section {
    background-color: var(--blue-dark);
}

.contact-info-block {
    padding-right: 24px;
}

/* Adjust contact spacing for LTR direction */
html[dir="ltr"] .contact-info-block {
    padding-right: 0;
    padding-left: 24px;
}

.contact-phones {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-phones h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--blue-medium);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-medium);
    padding: 16px 20px;
    transition: var(--transition-smooth);
}

.phone-item:hover {
    border-color: var(--gold);
}

.phone-icon {
    width: 48px;
    height: 48px;
    background-color: var(--gold-light);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 20px;
    height: 20px;
}

.whatsapp-color {
    background-color: rgba(37, 211, 102, 0.15) !important;
    color: #25d366 !important;
}

.phone-data {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.phone-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1px;
}

/* Form block */
.form-container-card {
    background-color: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 48px;
    box-shadow: var(--shadow-premium);
}

.form-container-card h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

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

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--blue-medium);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-medium);
    padding: 12px 16px;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Select element customization */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 16px center;
}

html[dir="ltr"] .form-group select {
    background-position: right 16px center;
}

/* Form validation error */
.error-msg {
    color: #e63946;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
    font-weight: 600;
}

.form-group.invalid input, .form-group.invalid textarea {
    border-color: #e63946;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Submit success feedback */
.form-success-box {
    margin-top: 16px;
    background-color: rgba(40, 167, 69, 0.15);
    border: 1px solid #28a745;
    border-radius: var(--radius-medium);
    padding: 16px;
    display: none;
    align-items: center;
    gap: 12px;
}

.success-icon {
    width: 24px;
    height: 24px;
    color: #28a745;
    flex-shrink: 0;
}

.form-success-box p {
    font-size: 0.9rem;
    color: #f8f9fa;
    font-weight: 600;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--blue-dark);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

.footer-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 380px;
}

.footer-links h5, .footer-services h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h5::after, .footer-services h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

html[dir="ltr"] .footer-links h5::after, html[dir="ltr"] .footer-services h5::after {
    right: auto;
    left: 0;
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(-4px);
}

html[dir="ltr"] .footer-links a:hover {
    transform: translateX(4px);
}

.footer-services li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-right: 16px;
}

html[dir="ltr"] .footer-services li {
    padding-right: 0;
    padding-left: 16px;
}

.footer-services li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    right: 0;
    font-weight: bold;
}

html[dir="ltr"] .footer-services li::before {
    right: auto;
    left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Floating Components --- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 45px;
    height: 45px;
    background-color: var(--blue-light);
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--gold);
    color: var(--blue-dark);
    transform: translateY(-4px);
}

.floating-whatsapp {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
}

.floating-whatsapp svg {
    width: 26px;
    height: 26px;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* Adjust floating buttons position for LTR direction */
html[dir="ltr"] .back-to-top, html[dir="ltr"] .floating-whatsapp {
    right: auto;
    left: 24px;
}

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

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger reveal */
.scroll-reveal:nth-child(2) { transition-delay: 0.15s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.45s; }

/* --- Responsive Adaptations --- */

@media (max-width: 1024px) {
    .grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .desktop-nav, .btn-header {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-section {
        background-attachment: scroll;
        text-align: center;
        height: auto;
        padding: 140px 0 100px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
        width: 100%;
    }
    
    .about-visual {
        order: -1; /* visual on top for mobile */
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .address-details {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info-block {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .form-container-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .grid-4col {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}
