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

:root {
    --primary-color: #F28C28;
    --secondary-color: #0A1A2F;
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --orange: #F28C28;
    --navy-blue: #0A1A2F;
    --deep-orange: #F28C28;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(10, 26, 47, 0.1);
    z-index: 1000;
    transition: var(--transition);
    height: 100px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 90px;
    box-shadow: 0 2px 25px rgba(10, 26, 47, 0.12);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 30px;
    padding: 0 50px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
    padding-right: 30px;
    min-width: 200px;
    order: 3; /* Far right in RTL */
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    transition: var(--transition);
    width: 100%;
    gap: 15px;
}

.logo-link:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
}

.logo-text-ar {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text-en {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--secondary-color);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 75px;
    max-height: 80px;
    width: auto;
    min-width: 220px;
    max-width: 300px;
    object-fit: contain;
    object-position: right center;
    transition: var(--transition);
    filter: brightness(1.05) contrast(1.1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.navbar.scrolled .logo-img {
    height: 70px;
    max-height: 70px;
    min-width: 200px;
    max-width: 260px;
}

.navbar.scrolled .logo-text-ar {
    font-size: 1.2rem;
}

.navbar.scrolled .logo-text-en {
    font-size: 0.75rem;
}

.logo h2 {
    display: none; /* Hide text logo when image is used */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
    flex: 1;
    justify-content: center;
    order: 2; /* Center */
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    padding: 10px 8px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--orange);
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--orange);
}

/* Header CTA Button */
.header-cta {
    order: 1; /* Far left in RTL */
    padding-left: 30px;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--deep-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(242, 140, 40, 0.35);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.45);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 20px;
    order: 4;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light-gray);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary-color);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.lang-icon {
    font-size: 1.2rem;
}

.lang-text {
    font-size: 0.9rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0A1A2F 0%, #1a2f4f 50%, #0A1A2F 100%);
    z-index: 1;
}

.hero-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0.12;
    overflow: hidden;
    animation: floatMap 20s ease-in-out infinite;
}

.hero-map-overlay svg {
    width: 100%;
    height: 100%;
}

.map-continent {
    animation: fadeInContinent 3s ease-in;
}

.route-line {
    animation: animateRoute 4s ease-in-out infinite;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

@keyframes floatMap {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-10px) translateX(5px);
    }
}

@keyframes fadeInContinent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes animateRoute {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.2;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.25;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0.2;
    }
}

/* Truck overlay */
.hero-truck-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    opacity: 0.35;
}

.hero-truck-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.3) contrast(1.2);
    animation: parallaxTruck 15s ease-in-out infinite;
    transform: scale(1.1);
}

@keyframes parallaxTruck {
    0%, 100% {
        transform: scale(1.1) translateY(0) translateX(0);
    }
    50% {
        transform: scale(1.15) translateY(-20px) translateX(10px);
    }
}

/* Giant logo background */
.hero-logo-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 1;
    opacity: 0.06;
    pointer-events: none;
}

.hero-logo-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    animation: floatLogo 25s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    animation: fadeInUp 1.2s ease;
    max-width: 950px;
    padding: 60px 30px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: var(--white);
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
    color: var(--white);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--deep-orange);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(242, 140, 40, 0.4);
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(242, 140, 40, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
}

/* Section Styles */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 20px;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 50px;
}

.about-image {
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    order: -1;
}

.about-img {
    width: 100%;
    height: auto;
    min-height: 400px;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-intro {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-subtitle::before {
    content: '';
    width: 4px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-history,
.about-evolution,
.about-mission,
.about-vision {
    margin-bottom: 35px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
}

.branches-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.branches-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.branches-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.branches-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--white);
    opacity: 0.8;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Branches Section */
.branches {
    background: var(--light-color);
}

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

.branch-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.branch-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.branch-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.branch-address {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.branch-contact p {
    margin: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.branch-contact i {
    color: var(--primary-color);
}

/* Apps Section */
.apps {
    background: var(--white);
}

.apps-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.app-card {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

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

.app-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.app-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.app-btn i {
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-details p {
    color: var(--text-light);
    margin: 5px 0;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-right: 10px;
}

.footer-section ul li i {
    margin-left: 10px;
    color: var(--primary-color);
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .navbar {
        height: 75px;
    }

    .navbar.scrolled {
        height: 70px;
    }

    .logo {
        padding-right: 30px;
        min-width: 150px;
    }

    .logo-img {
        height: 55px;
        max-height: 55px;
        min-width: 140px;
        max-width: 200px;
    }

    .navbar.scrolled .logo-img {
        height: 50px;
        max-height: 50px;
    }

    .logo-text-ar {
        font-size: 1.1rem;
    }

    .logo-text-en {
        font-size: 0.7rem;
    }

    .logo-link {
        gap: 10px;
    }

    .nav-wrapper {
        padding: 0 15px;
    }

    .language-switcher {
        margin-right: 10px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-logo-bg {
        width: 80%;
        max-width: 600px;
    }

    .logo {
        padding-right: 30px;
        min-width: 150px;
    }

    .logo-img {
        min-width: 140px;
        max-width: 200px;
    }

    .hero-logo-bg {
        width: 80%;
        max-width: 600px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 30px;
        order: -1;
    }

    .about-img {
        min-height: 300px;
    }

    .branches-list {
        grid-template-columns: 1fr;
    }

    .about-history,
    .about-evolution,
    .about-mission,
    .about-vision {
        padding: 20px;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .about-subtitle {
        font-size: 1.3rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 70px;
    }

    .logo {
        padding-right: 20px;
        min-width: 120px;
    }

    .logo-img {
        height: 45px;
        max-height: 45px;
        min-width: 110px;
        max-width: 160px;
    }

    .logo-text {
        display: none; /* Hide text on mobile to save space */
    }

    .logo-link {
        gap: 0;
    }

    .language-switcher {
        margin-right: 5px;
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .lang-icon {
        font-size: 1rem;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-logo-bg {
        width: 90%;
        max-width: 500px;
        opacity: 0.1;
    }

    .logo {
        padding-right: 20px;
        min-width: 120px;
    }

    .logo-img {
        min-width: 110px;
        max-width: 160px;
    }

    .hero-logo-bg {
        width: 90%;
        max-width: 500px;
        opacity: 0.1;
    }

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

    .contact-form-wrapper {
        padding: 25px;
    }

    .about-image {
        border-radius: 10px;
    }

    .branches-list {
        grid-template-columns: 1fr;
    }
    
    .branches-grid {
        grid-template-columns: 1fr;
    }

    .about-history,
    .about-evolution,
    .about-mission,
    .about-vision {
        padding: 15px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .about-subtitle {
        font-size: 1.2rem;
    }
}

