/* ============================
   Al Rizq General Maintenance
   CSS Design System — RTL First
   ============================ */
/* Note: Font loaded via <link> in layout for performance, no @import here */

/* Skip to content (Accessibility) */
.skip-to-content{position:absolute;top:-100%;left:50%;transform:translateX(-50%);background:var(--navy);color:var(--white);padding:12px 24px;border-radius:0 0 8px 8px;font-weight:700;z-index:9999;transition:top .3s}
.skip-to-content:focus{top:0}

/* --- Design Tokens --- */
:root {
    --navy: #113D75;
    --navy-medium: #1950A0;
    --navy-light: #3C75C8;
    --gold: #B78D3F;
    --gold-light: #D0A85A;
    --gold-pale: #EAD794;
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #F5F7FA;
    --border-light: #E9ECF0;
    --white: #FFFFFF;
    --success: #28a745;
    --danger: #dc3545;
    --font: 'Almarai', sans-serif;
    --shadow-sm: 0 2px 8px rgba(17,61,117,0.06);
    --shadow-md: 0 4px 20px rgba(17,61,117,0.10);
    --shadow-lg: 0 8px 40px rgba(17,61,117,0.14);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    direction: rtl;
    text-align: right;
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: var(--font); font-size: 1rem; }

/* --- Container --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Section --- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-title {
    font-size: 2rem; font-weight: 800; color: var(--navy);
    text-align: center; margin-bottom: 12px;
}
.section-subtitle {
    font-size: 1.1rem; color: var(--text-light);
    text-align: center; margin-bottom: 48px; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 700;
    font-size: 1rem; border: 2px solid transparent; cursor: pointer;
    transition: all var(--transition); text-align: center; justify-content: center;
}
.btn i { font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-medium); border-color: var(--navy-medium); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.section-alt .btn-outline, .service-card .btn-outline { border-color: var(--navy); color: var(--navy); }
.section-alt .btn-outline:hover, .service-card .btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn-whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* --- Header --- */
.site-header {
    position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition);
}
.header-accent {
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--navy) 40%, var(--gold) 100%);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(17,61,117,0.08); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 0; gap: 16px;
}
.header-logo img { height: 52px; width: auto; transition: transform var(--transition); }
.header-logo:hover img { transform: scale(1.03); }
.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a {
    font-size: 0.9rem; font-weight: 700; color: var(--text-dark);
    transition: all var(--transition); position: relative;
    padding: 8px 14px; border-radius: 8px;
}
.header-nav a:hover, .header-nav a.active {
    color: var(--navy); background: rgba(17,61,117,0.05);
}
.header-nav a span { position: relative; z-index: 1; }
.header-nav a::after {
    content: ''; position: absolute; bottom: 4px; right: 14px; left: 14px;
    height: 2px; background: var(--gold); border-radius: 2px;
    transform: scaleX(0); transform-origin: center; transition: transform var(--transition);
}
.header-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 8px; border-radius: 50px;
    background: var(--bg-light); border: 1px solid var(--border-light);
    transition: all var(--transition); font-size: 0.88rem; font-weight: 700; color: var(--navy);
}
.header-phone-btn:hover { background: rgba(17,61,117,0.06); border-color: var(--navy-light); }
.header-phone-icon {
    width: 32px; height: 32px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    background: var(--navy); color: var(--white); font-size: 0.75rem;
}
.header-phone-text { direction: ltr; letter-spacing: 0.3px; }
.header-cta { border-radius: 50px; }

/* Animated hamburger */
.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; width: 40px; height: 40px; position: relative;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger-line {
    display: block; width: 22px; height: 2px; background: var(--navy);
    border-radius: 2px; transition: all var(--transition);
}

/* --- Mobile Nav --- */
.mobile-nav {
    display: none; position: fixed; top: 0; right: -320px; width: 320px;
    height: 100vh; background: var(--white); z-index: 2000;
    box-shadow: -4px 0 30px rgba(17,61,117,0.12); transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
}
.mobile-nav.open { right: 0; display: flex; }
.mobile-nav-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; border-bottom: 1px solid var(--border-light);
}
.mobile-nav-close {
    background: var(--bg-light); border: none; font-size: 1.1rem;
    cursor: pointer; color: var(--navy); padding: 0;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.mobile-nav-close:hover { background: rgba(17,61,117,0.1); }
.mobile-nav-links { flex: 1; padding: 12px 0; overflow-y: auto; }
.mobile-nav-links a {
    display: flex; align-items: center; gap: 14px; padding: 14px 24px;
    font-size: 1rem; font-weight: 700; color: var(--text-dark);
    transition: all var(--transition);
}
.mobile-nav-links a i { width: 20px; text-align: center; color: var(--gold); font-size: 0.9rem; }
.mobile-nav-links a:hover { background: var(--bg-light); color: var(--navy); }
.mobile-nav-contact {
    padding: 16px 20px; border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light); background: var(--bg-light);
}
.mobile-nav-phone {
    display: flex; align-items: center; gap: 12px; color: var(--navy);
}
.mobile-nav-phone > i { font-size: 1.1rem; color: var(--gold); }
.mobile-nav-phone small { display: block; font-size: 0.75rem; color: var(--text-light); font-weight: 400; }
.mobile-nav-phone a { font-weight: 800; font-size: 1rem; color: var(--navy); display: block; }
.mobile-nav-actions { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(3px); z-index: 1500;
    transition: opacity 0.3s ease;
}
.mobile-overlay.open { display: block; }

/* --- Hero --- */
.hero {
    margin-top: 83px; padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 60%, var(--navy-light) 100%);
    position: relative; overflow: hidden; min-height: 520px;
    display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; top: -50%; left: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(183,141,63,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; right: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(183,141,63,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: center; position: relative; z-index: 1;
}
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--white); margin-bottom: 16px; line-height: 1.4; }
.hero h1 span { color: var(--gold); }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-badge {
    display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9);
    font-size: 0.95rem; font-weight: 700;
}
.hero-badge i { color: var(--gold); font-size: 1.2rem; }
.hero-image {
    display: flex; align-items: center; justify-content: center;
}
.hero-image img {
    width: 100%; max-width: 520px; height: auto;
    border-radius: var(--radius);
    filter: drop-shadow(0 12px 30px rgba(0,0,0,0.25));
    animation: heroFloat 4s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- About --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 20px; line-height: 1.9; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    background: var(--bg-light); border-radius: var(--radius-sm);
    border: none;
}
.about-feature i { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }
.about-feature span { font-weight: 700; font-size: 0.95rem; }
.about-image {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; border-radius: var(--radius);
}

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 24px;
    border: 1px solid var(--border-light); transition: all var(--transition);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-pale); }
.service-icon {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-medium));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-icon i { color: var(--gold); font-size: 1.4rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.service-card .btn { align-self: flex-start; }

/* --- Cities --- */
.cities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.city-card {
    display: flex; align-items: center; gap: 16px; padding: 24px;
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border-light); transition: all var(--transition);
}
.city-card.primary { border-color: var(--gold-pale); background: linear-gradient(135deg, var(--white), rgba(234,215,148,0.1)); }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.city-icon {
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex; align-items: center; justify-content: center;
}
.city-icon i { color: var(--white); font-size: 1.2rem; }
.city-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.city-card p { font-size: 0.85rem; color: var(--text-light); }
.city-card:not(.primary) .city-icon { background: linear-gradient(135deg, var(--navy), var(--navy-medium)); }

/* --- Why Us --- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-item {
    text-align: center; padding: 32px 20px;
    border-radius: var(--radius); transition: all var(--transition);
}
.why-item:hover { background: var(--white); box-shadow: var(--shadow-sm); }
.why-icon {
    width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(17,61,117,0.08), rgba(183,141,63,0.08));
    display: flex; align-items: center; justify-content: center;
}
.why-icon i { font-size: 1.5rem; color: var(--navy); }
.why-item h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.why-item p { font-size: 0.9rem; color: var(--text-light); }

/* --- Portfolio --- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card {
    border-radius: var(--radius); overflow: hidden; position: relative;
    aspect-ratio: 4/3; transition: all var(--transition);
}
.portfolio-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.portfolio-label {
    position: absolute; bottom: 0; right: 0; left: 0;
    background: linear-gradient(to top, rgba(17,61,117,0.85), transparent);
    padding: 20px 16px 16px; color: var(--white); font-weight: 700; font-size: 0.95rem;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.portfolio-card:hover img { transform: scale(1.05); }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.testimonial-card {
    background: var(--white); border-radius: var(--radius); padding: 32px 28px;
    border: 1px solid var(--border-light); position: relative;
    transition: all var(--transition); display: flex; flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: var(--gold-pale);
}
.testimonial-quote {
    position: absolute; top: 20px; left: 24px;
    font-size: 2rem; color: var(--gold-pale); opacity: 0.5; line-height: 1;
}
.testimonial-text {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.9;
    margin-bottom: 24px; flex: 1;
}
.testimonial-author {
    display: flex; align-items: center; gap: 14px; margin-bottom: 12px;
}
.testimonial-author img {
    width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--gold-pale);
}
.testimonial-author strong {
    display: block; font-size: 1rem; color: var(--navy); font-weight: 800;
}
.testimonial-author span {
    display: block; font-size: 0.8rem; color: var(--text-light); margin-top: 2px;
}
.testimonial-stars {
    display: flex; gap: 3px;
}
.testimonial-stars i {
    color: #F5A623; font-size: 0.85rem;
}

/* --- Partners / Success Partners --- */
.partners-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
    align-items: center;
}
.partner-card {
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 24px 20px;
    display: flex; align-items: center; justify-content: center;
    min-height: 110px; transition: all var(--transition);
}
.partner-card img {
    max-height: 60px; max-width: 100%; object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: all 0.4s ease;
}
.partner-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-md);
    border-color: var(--gold-pale);
}
.partner-card:hover img {
    filter: grayscale(0%) opacity(1);
}

/* --- Booking Form --- */
.booking-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    padding: 80px 0 120px; position: relative;
}
.booking-inner { max-width: 700px; margin: 0 auto; }
.booking-section .section-title { color: var(--white); }
.booking-section .section-subtitle { color: rgba(255,255,255,0.7); }
.form-group { margin-bottom: 20px; }
.form-label { display: block; color: rgba(255,255,255,0.9); font-weight: 700; margin-bottom: 8px; font-size: 0.95rem; }
.form-control {
    width: 100%; padding: 14px 16px; border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); background: rgba(255,255,255,0.08);
    color: var(--white); font-size: 1rem; transition: all var(--transition);
    direction: rtl;
}
.form-control::placeholder { color: rgba(255,255,255,0.4); }
.form-control:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.12); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B78D3F' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; }
select.form-control option { color: var(--text-dark); background: var(--white); }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-error { color: #ff6b6b; font-size: 0.85rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Footer --- */
.site-footer { background: var(--white); }

/* CTA Banner */
.footer-cta-wrap { padding: 0; position: relative; z-index: 2; }
.footer-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    border-radius: var(--radius); padding: 40px 48px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px;
    margin-top: -40px; position: relative;
    box-shadow: 0 8px 32px rgba(17,61,117,0.18);
}
.footer-cta-content h3 { color: var(--white); font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.footer-cta-content p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* Main Footer */
.footer-main { padding: 60px 0 40px; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-brand { }
.footer-logo img { height: 52px; margin-bottom: 20px; }
.footer-desc { font-size: 0.9rem; line-height: 1.9; color: var(--text-light); margin-bottom: 24px; }

/* Social Links */
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
    width: 42px; height: 42px; border-radius: 10px;
    border: 1px solid var(--border-light); background: var(--bg-light);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); font-size: 1rem; transition: all var(--transition);
}
.footer-social-link:hover {
    background: var(--navy); border-color: var(--navy); color: var(--white);
    transform: translateY(-3px); box-shadow: 0 4px 12px rgba(17,61,117,0.2);
}

/* Column Headings */
.footer-heading {
    font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 20px;
    position: relative; padding-bottom: 12px;
}
.footer-heading::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 36px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* Lists */
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list a {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.9rem; color: var(--text-light); transition: all var(--transition);
}
.footer-list a i { font-size: 0.6rem; color: var(--gold); transition: transform var(--transition); }
.footer-list a:hover { color: var(--navy); padding-right: 4px; }
.footer-list a:hover i { transform: translateX(-3px); }

/* Contact Cards */
.footer-contact-cards { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-card {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border-radius: var(--radius-sm);
    background: var(--bg-light); border: 1px solid var(--border-light);
    transition: all var(--transition); cursor: pointer;
}
.footer-contact-card:hover {
    border-color: var(--gold-pale); box-shadow: 0 2px 10px rgba(183,141,63,0.1);
    transform: translateY(-2px);
}
.footer-contact-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.footer-contact-icon--wa { background: #25D366; }
.footer-contact-card small { display: block; font-size: 0.75rem; color: var(--text-light); margin-bottom: 2px; }
.footer-contact-card span { font-weight: 700; font-size: 0.88rem; color: var(--navy); }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border-light); padding: 20px 0; background: var(--bg-light);
}
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-light); }
.footer-bottom strong { color: var(--navy); }
.footer-bottom-links { display: flex; align-items: center; gap: 8px; }
.footer-bottom-links a {
    font-size: 0.82rem; color: var(--text-light); transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--navy); }
.footer-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* --- Floating Buttons --- */
.floating-btns {
    position: fixed; bottom: 24px; left: 24px; z-index: 900;
    display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
    width: 56px; height: 56px; border-radius: 50%; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--white); cursor: pointer;
    box-shadow: var(--shadow-md); transition: all var(--transition);
}
.floating-btn:hover { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.floating-btn-call { background: var(--navy); }
.floating-btn-whatsapp { background: #25D366; }

/* Safe area for floating buttons so they don't cover content */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .floating-btns { bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* --- Thank You Page --- */
.thankyou { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-light); }
.thankyou-card {
    background: var(--white); border-radius: var(--radius); padding: 60px 40px;
    text-align: center; max-width: 550px; width: 100%; box-shadow: var(--shadow-lg);
    animation: thankyouIn 0.6s ease;
}
@keyframes thankyouIn { from { opacity:0; transform:translateY(20px) scale(0.97); } to { opacity:1; transform:translateY(0) scale(1); } }
.thankyou-icon { font-size: 4rem; color: var(--success); margin-bottom: 20px; animation: thankyouPulse 1.5s ease infinite; }
@keyframes thankyouPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.thankyou-card h1 { font-size: 1.8rem; color: var(--navy); margin-bottom: 12px; }
.thankyou-card p { color: var(--text-light); margin-bottom: 30px; line-height: 1.8; }
.thankyou-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- Booking Submit Loading --- */
.btn-loading { pointer-events: none; opacity: 0.7; }
.btn-loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Animations --- */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- Policy Pages --- */
.policy-page { padding-bottom: 80px; }
.policy-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-medium) 100%);
    padding: 100px 0 50px; text-align: center; margin-bottom: 50px;
}
.policy-hero h1 {
    color: var(--white); font-size: 2.2rem; font-weight: 900; margin-bottom: 12px;
}
.policy-hero p { color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.policy-content {
    max-width: 100%; line-height: 2; color: var(--text-dark);
}
.policy-content h2 {
    font-size: 1.4rem; color: var(--navy); font-weight: 800;
    margin: 40px 0 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-pale);
}
.policy-content h3 {
    font-size: 1.15rem; color: var(--navy-medium); font-weight: 700;
    margin: 28px 0 12px;
}
.policy-content p {
    margin-bottom: 16px; font-size: 1rem; color: var(--text-light);
}
.policy-content ul, .policy-content ol {
    margin: 12px 0 20px; padding-right: 28px;
}
.policy-content li {
    margin-bottom: 10px; font-size: 0.95rem; color: var(--text-light);
}
.policy-content a {
    color: var(--gold); font-weight: 700; text-decoration: underline;
}
.policy-content a:hover { color: var(--navy); }
.policy-content strong { color: var(--text-dark); }
.policy-table-wrapper { overflow-x: auto; margin: 20px 0 28px; }
.policy-table {
    width: 100%; border-collapse: collapse; border-radius: var(--radius);
    overflow: hidden; font-size: 0.95rem;
}
.policy-table th {
    background: var(--navy); color: var(--white); padding: 14px 18px;
    text-align: right; font-weight: 700;
}
.policy-table td {
    padding: 12px 18px; border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
}
.policy-table tr:nth-child(even) td { background: var(--bg-light); }
.policy-table tr:hover td { background: rgba(183,141,63,0.06); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid, .cities-grid, .why-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .hero-image img { max-width: 420px; }
    .header-phone-text { display: none; }
    .header-phone-btn { padding: 0; border: none; background: none; }
    .header-phone-icon { width: 38px; height: 38px; font-size: 0.85rem; }
    .footer-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
    .footer-cta-actions { justify-content: center; }
}
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .section-title { font-size: 1.6rem; }
    .header-nav, .header-actions { display: none; }
    .mobile-toggle { display: flex; }
    .hero { padding: 60px 0 40px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image { order: -1; }
    .hero-image img { max-width: 320px; }
    .hero-actions { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-badges { gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card { padding: 24px 20px; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .partner-card { min-height: 90px; padding: 18px 16px; }
    .cities-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-heading::after { right: 50%; transform: translateX(50%); }
    .footer-social { justify-content: center; }
    .footer-list a { justify-content: center; }
    .footer-contact-card { justify-content: center; text-align: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-cta { margin-top: -30px; }
    .booking-inner { padding: 0 10px; }
    .booking-section { padding: 50px 0 80px; }
    .floating-btns { bottom: 16px; left: 16px; }
    .floating-btn { width: 50px; height: 50px; font-size: 1.2rem; }
    .about-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-image img { max-width: 260px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; min-height: 48px; }
    .hero-badges { flex-direction: column; gap: 8px; align-items: center; }
    .cities-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .thankyou-card { padding: 40px 20px; margin: 20px; }
    .thankyou-actions { flex-direction: column; }
    .thankyou-actions .btn { width: 100%; }
    .footer-cta { margin-top: -20px; padding: 24px 16px; }
    .footer-cta-content h3 { font-size: 1.15rem; }
    .footer-cta-actions { flex-direction: column; width: 100%; }
    .footer-cta-actions .btn { width: 100%; }
    .section-title { font-size: 1.4rem; }
    .section-subtitle { font-size: 0.95rem; }
    .floating-btns { bottom: 12px; left: 12px; }
    .floating-btn { width: 48px; height: 48px; font-size: 1.1rem; }
}
@media (max-width: 360px) {
    .hero h1 { font-size: 1.35rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-image img { max-width: 220px; }
    .container { padding: 0 14px; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.3rem; }
    .service-card { padding: 24px 18px; }
}
