@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

:root {
    --primary-color: #8B4513;
    --secondary-color: #D2691E;
    --accent-color: #DEB887;
    --text-color: #333;
    --light-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

body {
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 100;
}

/* Mobile Menu Button */
.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.menu-btn__burger {
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* Animation for menu button */
.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Slider Styles */
.slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding-top: 80px;
}

.slide:nth-child(1) {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1600585152220-90363fe7e115') center/cover;
}

.slide:nth-child(2) {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1502005229762-cf1b2da7c5d6') center/cover;
}

.slide:nth-child(3) {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1541123437800-1bb1317badc2') center/cover;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.slide-content .cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: var(--primary-color);
    color: white;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-content .cta-button:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-nav button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slide-nav-buttons button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-nav-buttons button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .slide-content .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}

/* Products Section */
#products {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 2rem;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-link {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

/* Section Headings Global Style */
section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Remove any specific heading styles that might conflict */
#products h2,
#branches h2,
#partners h2,
#reviews h2,
#contact h2 {
    margin-bottom: 2.5rem;
}

/* Adjust specific section spacing if needed */
#products,
#branches,
#partners,
#reviews,
#contact {
    padding: 5rem 0;
}

/* About Section */
#about {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.about-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0.5rem 0;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-color);
}

@media (max-width: 768px) {
    #about {
        padding: 3rem 1rem;
    }

    #about h2 {
        font-size: 2rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-card i {
        font-size: 2rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }
}

/* Partners Section */
#partners {
    padding: 5rem 2rem;
    background-color: white;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

.partners-slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.partner-item {
    min-width: 250px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
}

.partner-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 5px;
}

.partner-item h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 10px 0;
}

.partners-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.partners-nav button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-nav button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partner-item {
        min-width: 200px;
    }
}

/* Contact Section */
#contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Working Hours Card */
.schedule-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.schedule-item.friday {
    background: var(--primary-color);
    color: white;
}

.schedule-item .days {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.schedule-item .time {
    display: block;
    color: var(--secondary-color);
}

.schedule-item.friday .time {
    color: white;
}

/* Phone Numbers Card */
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-item {
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.phone-item .label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.phone-number {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

/* Location Card */
.address-info {
    text-align: center;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.district {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Social Links Card */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateX(-5px);
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.x-twitter {
    background: #000000;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link.twitter {
    background: #1DA1F2;
}

@media (max-width: 768px) {
    #contact {
        padding: 3rem 0;
    }

    #contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon i {
        font-size: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .schedule-item,
    .phone-item {
        padding: 0.8rem;
    }

    .phone-number {
        font-size: 1rem;
    }

    .map-link {
        padding: 0.6rem 1.2rem;
    }
}

/* Clients Section */
#clients {
    padding: 5rem 2rem;
    background-color: var(--light-bg);
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.client-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card.featured {
    grid-column: 1 / -1;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.client-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
}

.client-card.featured .client-image {
    padding-bottom: 50%;
}

.client-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.client-card:hover .client-image img {
    transform: scale(1.1);
}

.client-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: white;
    transform: translateY(20%);
    opacity: 0;
    transition: all 0.3s ease;
}

.client-card:hover .client-overlay {
    transform: translateY(0);
    opacity: 1;
}

.client-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.client-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.project-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Client Stats */
.client-stats {
    max-width: 1200px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    padding: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
    color: white;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Responsive Design for Clients Section */
@media (max-width: 992px) {
    .clients-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .clients-container {
        grid-template-columns: 1fr;
    }

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .client-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 6rem 2rem;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section:nth-child(even) {
    background-color: var(--light-bg);
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 3rem 1rem;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.1;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 0 1rem;
}

.footer-logo {
    flex: 0 1 300px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.02);
}

.footer-info {
    flex: 0 1 400px;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.company-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.cr-number {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-contact {
    flex: 0 1 400px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.footer-contact h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item .info {
    flex: 1;
}

.contact-item h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contact-item .highlight {
    color: #4CAF50;
    font-weight: 600;
}

.contact-item a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #45a049;
    text-decoration: underline;
}

.location-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #4CAF50 !important;
    font-weight: 600;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1rem;
        margin-top: 3rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-logo {
        flex: 0 1 auto;
        width: 90%;
        margin: 0 auto;
        padding: 1rem;
    }

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

    .footer-info {
        flex: 0 1 auto;
        width: 90%;
        margin: 0 auto;
    }

    .company-name {
        font-size: 1.8rem;
    }

    .cr-number {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    .footer-contact {
        flex: 0 1 auto;
        width: 90%;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .footer-contact h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-item i {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }

    .contact-item h4 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transition: 0.3s ease;
        overflow-y: auto;
    }

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

    .nav-links li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem;
        width: 100%;
        font-size: 1.1rem;
        color: var(--text-color);
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: var(--light-bg);
        color: var(--primary-color);
    }

    .menu-btn.open .menu-btn__burger {
        transform: translateX(-50px);
        background: transparent;
    }

    .menu-btn.open .menu-btn__burger::before {
        transform: rotate(45deg) translate(35px, -35px);
    }

    .menu-btn.open .menu-btn__burger::after {
        transform: rotate(-45deg) translate(35px, 35px);
    }
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Common styles for floating buttons */
.floating-buttons a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.floating-buttons a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366;
}

/* Call Button */
.call-btn {
    background-color: var(--primary-color);
}

/* Tooltip styles */
.floating-buttons .tooltip {
    position: absolute;
    right: 80px;
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-buttons .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.floating-buttons a:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .floating-buttons a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .floating-buttons .tooltip {
        display: none;
    }
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.call-btn,
.whatsapp-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.call-btn:hover,
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tooltip {
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.call-btn:hover .tooltip,
.whatsapp-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@media (max-width: 768px) {
    .contact-buttons {
        left: 15px;
        bottom: 15px;
        gap: 12px;
    }

    .call-btn,
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .tooltip {
        display: none;
    }
}

/* Branches Section */
#branches {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

/* Branches Grid */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.branch-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.branch-specialty {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.branch-specialty i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.branch-specialty span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.map-container {
    width: 100%;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    position: relative;
}

.branch-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1.5rem;
    text-align: center;
}

.branch-info {
    padding: 1.5rem;
    background: var(--light-bg);
}

.info-row {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-row p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.info-row i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-card {
        margin: 0 1rem;
    }
    
    .branch-features {
        justify-content: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Enhanced Reviews Section */
#reviews {
    padding: 4rem 0;
    background-color: #fff;
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 400px;
    background: #fff;
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    scroll-snap-align: start;
    transition: all 0.3s ease;
}

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

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-image {
    margin-left: 1.5rem;
}

.reviewer-image i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.reviewer-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffd700;
    font-size: 1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
    margin-bottom: 2rem;
}

.carousel-nav button {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-nav button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .reviewer-image i {
        font-size: 2rem;
    }

    .review-text {
        font-size: 0.95rem;
    }
}

/* Main Content Styles */
main {
    margin-top: 80px; /* Account for fixed header */
}

section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Hero Section */
#hero {
    height: calc(100vh - 80px);
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 0;
    margin-top: 80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Common Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Sections Background */
#about, #partners, #reviews {
    background-color: var(--light-bg);
}

#products, #branches, #contact {
    background-color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-grid,
    .branches-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .product-card,
    .branch-card {
        margin-bottom: 1rem;
    }
}
