/*
Theme Name: Satha Hofouf
Theme URI:
Author: Bassam
Description: Satha Hofouf custom theme
Version: 1.0
Text Domain: sathahofouf
*/

/* ===== Theme Variables ===== */
:root {
    /* Primary */
    --color-primary: #F30000;
    --color-primary-dark: #830000;
    --color-primary-medium: #e61010;
    --color-primary-light: #fdf2f2;
    --color-primary-transparent: #e6101054;

    /* Gradients */
    --gradient-primary: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary-medium) 100%);
    --gradient-primary-reverse: linear-gradient(180deg, var(--color-primary-medium) 0%, var(--color-primary-dark) 100%);

    /* Text */
    --color-text-dark: #222;
    --color-text-body: #333;
    --color-text-medium: #444;
    --color-text-light: #555;
    --color-text-muted: #666;
    --color-text-faded: #999;
    --color-text-black: #000;

    /* Backgrounds */
    --color-bg-white: #fff;
    --color-bg-light: #f9f9f9;
    --color-bg-warm: #f5f0ec;
    --color-bg-dark: #1a1a1a;

    /* Borders */
    --color-border-light: #eee;
    --color-border-medium: #ddd;
    --color-border-card: #e1e8ed;
    --color-border-separator: #7a7a7a;

    /* Accent */
    --color-whatsapp: #25d366;

    /* Fonts */
    --font-primary: 'Noto Sans Arabic', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Container */
    --container-width: 1300px;

    /* Shadows */
    --shadow-card: 0 1px 4px 0 rgb(0 0 0 / .5);
    --shadow-card-hover: 0 4px 3px 0 red;
    --shadow-header: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-red: 0 1px 5px 0 rgb(255 0 0 / .5);
}

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

html {
    scroll-behavior: smooth;
}

/* Hide Google Translate default bar */
.goog-te-banner-frame,
.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-body);
    background-color: #fff;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--color-bg-dark);
    color: #fff;
    padding: 0;
}

.top-bar-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 16px;
    font-weight: 600;
    background: var(--color-primary);
    padding: 10px 30px;
}

.top-bar-phone span {
    margin-inline-start: 15px;
}

.top-bar-phone a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}

.top-bar-phone a:hover {
    opacity: 0.9;
}

/* ===== Main Header ===== */
.main-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-header);
}

.header-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    width: auto;
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Roboto Slab", Sans-serif;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.header-phone a:hover {
    color: var(--color-primary);
}

.main-nav ul {
    display: flex;
    gap: 0;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li::before {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-start: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: var(--color-border-separator);
}

.main-nav ul li:first-child::before {
    display: none;
}

.main-nav ul li a {
    display: block;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-black)000;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    width: 37.5px;
    height: 37.5px;
    background: none;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 20px 0;
    background: #fff;
}

.hero-grid {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: right;
}

.hero-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: right;
}

.hero-text p {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 18px;
    line-height: 1.4;
    text-align: justify;
}

.hero-image-grid {
    flex: 0 0 45%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    height: 660px;
}

.hero-img-item {
    border-radius: 8px;
    overflow: hidden;
}

.hero-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Row 1: small + large */
.item-1 { grid-column: 1 / 3; grid-row: 1; }
.item-2 { grid-column: 3 / 7; grid-row: 1; }

/* Row 2: 3 equal */
.item-3 { grid-column: 1 / 3; grid-row: 2; }
.item-4 { grid-column: 3 / 5; grid-row: 2; }
.item-5 { grid-column: 5 / 7; grid-row: 2; }

/* Row 3: small + small + large */
.item-6 { grid-column: 1 / 3; grid-row: 3; }
.item-7 { grid-column: 3 / 5; grid-row: 3; }
.item-8 { grid-column: 5 / 7; grid-row: 3; }

/* ===== Features Bar ===== */
.features-bar {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-primary);
    box-shadow: var(--shadow-red);
}

.features-row {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 0;
}

.feature-item img {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
}

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

.feature-text span {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-medium);
    text-wrap: nowrap;
}

.feature-text strong {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-black);
}

/* ===== Services Section ===== */
.services-section {
    padding: 60px 0 0;
    background: #fff;
    overflow: visible;
}

.services-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.services-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Animation: right col comes from bottom, left col comes from top */
.services-col:first-child {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-col:last-child {
    opacity: 0;
    transform: translateY(-80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-col.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.services-center-image {
    flex: 0 0 433px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.services-center-image img {
    max-width: 100%;
    height: auto;
    padding: 0;
    margin-bottom: -1px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 18px 0;
}

/* Right column: text far right, icon pushed to left edge (near truck) */
.services-col:first-child .service-card {
    flex-direction: row-reverse;
}

.services-col:first-child .service-content {
    flex: 1;
}

/* Left column: icon pushed to right edge (near truck), text far left */
.services-col:last-child .service-content {
    flex: 1;
}

.services-col:last-child .service-content h3,
.services-col:last-child .service-content p {
    text-align: start;
}

.service-icon {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    background-color: #fff0;
    border: 3px solid var(--color-primary);
    padding: .5em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg{
    fill: var(--color-primary);
    width: 35px;
    height: 35px;
}

.service-content h3 {
    font-size: 25px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.5;
    text-align: end;
}

.service-content p {
    font-size: 16px;
    color: var(--color-text-black);
    line-height: 1.7;
    text-align: end;
}

/* ===== CTA Buttons ===== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px 30px;
}

.cta-whatsapp,
.cta-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 62px;
    padding: 0 35px;
    border-radius: 41px;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 500;
    border: 3px solid var(--color-primary);
    transition: transform 0.3s;
}

.cta-whatsapp {
    background: var(--color-primary);
    color: #fff;
    fill: var(--color-primary);
}

.cta-phone {
    background: #fff;
    color: var(--color-primary);
    fill: var(--color-primary);
}

.cta-whatsapp:hover,
.cta-phone:hover {
    transform: scale(1.08);
}

/* ===== Routes Section ===== */
.routes-section {
    background: var(--color-primary);
    padding: 60px 0;
    color: #fff;
}

.routes-heading {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    color: #fff;
    margin-bottom: 5px;
}

.routes-divider {
    width: 200px;
    height: 3px;
    background: repeating-linear-gradient(
        to right,
        #fff 0px,
        #fff 8px,
        transparent 8px,
        transparent 14px
    );
    margin: 10px auto 25px;
}

.routes-description {
    text-align: center;
    font-size: 17px;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 35px;
    line-height: 1.9;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    direction: rtl;
}

.route-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px 15px;
    border: 2px solid #fff;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    transition: all 0.3s;
}

.route-card:hover {
    background: #fff;
    color: var(--color-primary);
}

.route-name {
    font-size: 16px;
    font-weight: 700;
}

.route-phone {
    font-size: 15px;
    font-weight: 600;
    direction: ltr;
}

/* ===== Why Choose Us Section ===== */
.why-us-section {
    padding: 70px 0;
    background: var(--color-bg-light);
}

.why-us-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 5px;
}

.why-us-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 45px;
}

.divider-line {
    width: 80px;
    height: 2px;
    background: repeating-linear-gradient(
        to left,
        var(--color-primary) 0px,
        var(--color-primary) 8px,
        transparent 8px,
        transparent 14px
    );
}

.divider-star {
    color: var(--color-primary);
    font-size: 18px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-us-card {
    background: #fff;
    padding: 40px;
    border-radius: 2px;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.why-us-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.why-us-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.why-us-card p {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===== About Section ===== */
.about-section {
    padding: 70px 0;
    background: var(--color-bg-warm);
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-label {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.about-label-divider {
    width: 180px;
    height: 2px;
    background: repeating-linear-gradient(
        to left,
        var(--color-primary) 0px,
        var(--color-primary) 8px,
        transparent 8px,
        transparent 14px
    );
    margin-bottom: 20px;
    margin-inline-end: auto;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: right;
}

.about-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-style: italic;
    text-align: right;
}

.about-text p {
    font-size: 17px;
    color: var(--color-text-light);
    line-height: 2;
    text-align: right;
}

.about-image-grid {
    flex: 0 0 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 551px;
}

.about-img-item {
    border-radius: 8px;
    overflow: hidden;
}

.about-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== Team Section ===== */
.team-section {
    padding: 70px 0;
    background: var(--color-bg-light);
}

.team-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 5px;
}

.team-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 45px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    direction: rtl;
}

.team-card {
    background: var(--color-primary);
    border-radius: 12px;
    overflow: visible;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}

.team-card:hover {
    transform: translateY(-3px);
}

.team-avatar {
    width: 210px;
    height: 200px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-info {
    background: #fff;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / .5);
    padding: 10px;
    width: 100%;
    text-align: center;
    margin-top: -10px;
}

.team-info h3 {
    font-size: 25px;
    font-weight: 700;
    color: var(--color-primary-medium);
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: var(--color-primary-dark);
    line-height: 1.6;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    margin-bottom: 0;
}

.team-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px 15px;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    transition: opacity 0.3s;
    background: #fff;
    width: 100%;
    justify-content: center;
    direction: ltr;
}

/* ===== Emergency Section ===== */
.emergency-section {
    direction: rtl;
    background-color: var(--color-primary-medium);
}

.emergency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 527px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.emergency-card {
    padding: 50px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.emergency-right {
    background-image: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-primary-medium) 100%);
}

.emergency-left {
    background-image: linear-gradient(180deg, var(--color-primary-medium) 0%, var(--color-primary-dark) 100%);
}

.emergency-card h2 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.6;
}

.emergency-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin-bottom: 15px;
}

.emergency-card p strong {
    color: #fff;
    font-weight: 700;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 70px 0;
    background: var(--color-bg-warm);
    direction: rtl;
}

.testimonials-heading {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text-dark);
    text-align: center;
    margin-bottom: 5px;
}

.testimonials-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 45px;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    direction: ltr;
}

.testimonials-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s ease;
}

.testimonial-card {
    width: calc((100% - 50px) / 3);
    min-width: calc((100% - 50px) / 3);
    max-width: calc((100% - 50px) / 3);
    background: #fff;
    border: 2px solid var(--color-border-card);
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    direction: rtl;
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 2px solid var(--color-border-card);
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-user img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.testimonial-name span {
    font-size: 13px;
    color: var(--color-text-faded);
}

.twitter-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
    flex-shrink: 0;
}

.testimonial-body {
    padding: 20px 25px;
}

.testimonial-body p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.9;
    text-align: right;
}

/* ===== Footer ===== */
.site-footer {
    background: #fff;
    direction: rtl;
}

.footer-top-border {
    width: 100%;
    height: 3px;
    background: repeating-linear-gradient(
        to right,
        var(--color-primary) 0px,
        var(--color-primary) 8px,
        transparent 8px,
        transparent 14px
    );
}

.footer-grid {
    display: flex;
    gap: 40px;
    padding: 50px 0 40px;
    border-top: none;
}

.footer-col {
    flex: 1;
}

.footer-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    text-align: right;
}

.footer-heading-divider {
    width: 120px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--color-primary) 0px,
        var(--color-primary) 6px,
        transparent 6px,
        transparent 12px
    );
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.9;
    text-align: right;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    direction: rtl;
}

.footer-links li a {
    font-size: 15px;
    color: var(--color-text-medium);
    transition: color 0.3s;
    display: block;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.footer-links li a:hover {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--color-text-medium);
}

.footer-contact li a {
    color: var(--color-text-medium);
    transition: color 0.3s;
}

.footer-contact li a:hover {
    color: var(--color-primary);
}

.footer-contact li span {
    color: var(--color-text-medium);
}

.footer-contact li svg {
    flex-shrink: 0;
}

.footer-bottom {
    background: var(--color-primary);
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ===== Floating Action Buttons (Right) ===== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 12px;
}

.fab-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.fab-toggle:hover {
    transform: scale(1.1);
}

.fab-icon-close {
    display: none;
}

.fab-container.open .fab-icon-open {
    display: none;
}

.fab-container.open .fab-icon-close {
    display: block;
}

.fab-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.fab-container.open .fab-actions {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.fab-btn:hover {
    transform: scale(1.1);
}

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

.fab-whatsapp {
    background: var(--color-whatsapp);
}

/* ===== Language Switcher (Left) ===== */
.lang-switcher {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    direction: ltr;
    text-align: left;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--color-border-medium);
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-body);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    min-width: 134px;
}

.lang-current:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-current img {
    width: 33px;
    height: 25px;
    border-radius: 3px;
    object-fit: cover;
}

.lang-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid var(--color-border-medium);
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 134px;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-body);
    white-space: nowrap;
    transition: background 0.2s;
}

.lang-option:hover {
    background: #f5f5f5;
}

.lang-option.active {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.lang-option img {
    width: 33px;
    height: 25px;
    border-radius: 3px;
    object-fit: cover;
}

/* ===== Responsive - Tablet (max-width: 992px) ===== */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    /* Top Bar */
    .top-bar-phone {
        padding: 10px 20px;
        font-size: 14px;
    }

    .top-bar-phone span {
        display: none;
    }

    /* Header */
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .logo img {
        height: 55px;
    }

    .header-phone a {
        font-size: 16px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li a {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* Hero */
    .hero-grid {
        flex-direction: column-reverse;
    }

    .hero-image-grid {
        flex: none;
        width: 100%;
        height: 400px;
    }

    .hero-text h1 {
        font-size: 26px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    /* CTA */
    .cta-buttons {
        gap: 15px;
    }

    /* Features */
    .features-row {
        flex-direction: column;
        gap: 15px;
    }

    /* Services */
    .services-grid {
        flex-direction: column;
    }

    .services-center-image {
        flex: none;
        order: 0;
    }

    .services-col:first-child {
        order: -1;
    }

    .services-col:last-child {
        order: 1;
    }

    .services-center-image img {
        max-width: 280px;
        margin: 0 auto;
    }

    /* Disable animation on mobile */
    .services-col:first-child,
    .services-col:last-child {
        opacity: 1;
        transform: none;
    }

    /* Routes */
    .routes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .routes-section {
        padding: 40px 0;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about-grid {
        flex-direction: column;
    }

    .about-image-grid {
        flex: none;
        width: 100%;
    }

    .about-text h2 {
        font-size: 26px;
    }

    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Emergency */
    .emergency-grid {
        grid-template-columns: 1fr;
    }

    .emergency-card {
        padding: 40px 30px;
    }

    /* Testimonials */
    .testimonial-card {
        min-width: calc((100% - 25px) / 2);
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Responsive - Mobile (max-width: 768px) ===== */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        gap: 0;
    }

    .top-bar-phone {
        justify-content: center;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }

    /* Header */
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo img {
        height: 50px;
    }

    .header-phone {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .main-nav.open {
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 10px 0;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }

    .main-nav ul li::before {
        display: none;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        text-align: center;
        border-bottom: none;
    }

    .main-nav ul li a:hover,
    .main-nav ul li a.active {
        border-bottom: none;
        background: var(--color-primary-light);
    }

    /* Hero */
    .hero-section {
        padding: 15px 0;
    }

    .hero-grid {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .hero-image-grid {
        height: 280px;
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .hero-text p {
        font-size: 15px;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 20px 20px;
    }

    .cta-whatsapp,
    .cta-phone {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Features */
    .features-bar {
        padding: 20px 0;
    }

    .features-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .feature-item img {
        width: 40px;
        height: 40px;
    }

    .feature-text strong {
        font-size: 15px;
    }

    .feature-text span {
        font-size: 13px;
    }

    /* Services */
    .services-section {
        padding: 40px 0;
    }

    .services-heading {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .services-center-image {
        flex: none;
    }

    .services-center-image img {
        max-width: 220px;
    }

    .service-card {
        padding: 12px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

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

    .service-content h3 {
        font-size: 16px;
    }

    .service-content p {
        font-size: 14px;
    }

    /* Routes */
    .routes-section {
        padding: 35px 0;
    }

    .routes-heading {
        font-size: 24px;
    }

    .routes-description {
        font-size: 15px;
    }

    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .route-card {
        padding: 15px 10px;
    }

    .route-name {
        font-size: 14px;
    }

    .route-phone {
        font-size: 13px;
    }

    /* Why Us */
    .why-us-section {
        padding: 40px 0;
    }

    .why-us-heading {
        font-size: 24px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-us-card {
        padding: 25px 20px;
    }

    .why-us-card h3 {
        font-size: 18px;
    }

    /* About */
    .about-section {
        padding: 40px 0;
    }

    .about-text h2 {
        font-size: 22px;
    }

    .about-text h3 {
        font-size: 16px;
    }

    .about-text p {
        font-size: 15px;
    }

    /* Team */
    .team-section {
        padding: 40px 0;
    }

    .team-heading {
        font-size: 24px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-avatar img {
        height: 180px;
    }

    .team-info {
        padding: 15px 10px 8px;
    }

    .team-info h3 {
        font-size: 16px;
    }

    .team-info p {
        font-size: 12px;
    }

    .team-phone {
        font-size: 14px;
        padding: 8px 10px 15px;
    }

    /* Emergency */
    .emergency-card {
        padding: 30px 20px;
    }

    .emergency-card h2 {
        font-size: 22px;
    }

    .emergency-card p {
        font-size: 14px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 40px 0;
        margin-top: 298px;

    }

    .testimonials-heading {
        font-size: 24px;
    }

    .testimonial-card {
        min-width: 100%;
    }

    .testimonial-header {
        padding: 15px;
    }

    .testimonial-user img {
        width: 45px;
        height: 45px;
    }

    .testimonial-name h4 {
        font-size: 15px;
    }

    .testimonial-body {
        padding: 15px;
    }

    .testimonial-body p {
        font-size: 14px;
    }

    /* Footer */
    .footer-grid {
        padding: 30px 0 25px;
        gap: 25px;
    }

    .footer-heading {
        font-size: 18px;
    }

    .footer-col p {
        font-size: 14px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 8px 15px;
    }

    .footer-links li a {
        font-size: 14px;
    }

    .footer-contact li {
        font-size: 14px;
    }

    .footer-bottom {
        padding: 12px 0;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

/* ===== Responsive - Small Mobile (max-width: 480px) ===== */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 20px;
    }

    .hero-text h2 {
        font-size: 18px;
    }

    .hero-image-grid {
        height: 220px;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-heading,
    .routes-heading,
    .why-us-heading,
    .team-heading,
    .testimonials-heading {
        font-size: 20px;
    }

    .about-text h2 {
        font-size: 20px;
    }

    .emergency-card h2 {
        font-size: 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
