/* Al-Khatib Car Inspection - Main Styles */

:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #f39c12;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    overflow-x: hidden;
}

/* Header Styles */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand .brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.navbar-logo {
    max-height: 50px;
    width: auto;
}

.footer-logo {
    max-height: 60px;
    width: auto;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.4);
    color: white;
}

.nav-link {
    font-weight: 500;
    padding: 10px 15px !important;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.9));
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, white, transparent);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-hero-primary {
    background: var(--accent-color);
    color: white;
    border: none;
}

.btn-hero-primary:hover {
    background: #e67e22;
    color: white;
    transform: translateY(-3px);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary-color);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Services Section */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

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

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 15px;
}

.service-duration {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

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

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--accent-color);
    margin-left: 10px;
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin: 15px 0;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color);
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30, 60, 114, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

/* Staff Section */
.staff-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.staff-card:hover {
    transform: translateY(-10px);
}

.staff-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.staff-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.staff-info {
    padding: 20px;
}

.staff-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.staff-info p {
    color: #888;
    margin: 0;
}

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

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-control-custom {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.1);
}

.form-label-custom {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    padding: 40px;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    margin-left: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Styles */
.main-footer {
    background: #1a1a2e;
    color: #ffffff;
    width: 100%;
    overflow: hidden;
}

.main-footer a {
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

.main-footer a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-top {
    padding: 60px 0 40px;
    width: 100%;
    overflow: visible;
}

.footer-brand {
    height: 100%;
}

.footer-brand .footer-logo {
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-brand p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-top h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-top h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 8px 15px 8px 0;
    border-radius: 4px;
    min-height: 44px;
    line-height: 1.4;
}

.footer-links a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    color: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-right: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info li i {
    min-width: 20px;
    margin-left: 12px;
    margin-top: 6px;
    color: var(--accent-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    direction: ltr;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    min-height: 44px;
    box-sizing: border-box;
    display: inline-block;
}

.phone-link:hover,
.phone-link:focus {
    color: var(--accent-color);
    text-decoration: underline;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.footer-link:hover,
.footer-link:focus {
    color: var(--accent-color);
    text-decoration: underline;
    outline: none;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
    background: var(--accent-color);
    transform: translateY(-3px);
    outline: none;
}

.footer-branches {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-branch {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.footer-branch:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.branch-header i {
    color: var(--accent-color);
}

.branch-address,
.branch-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    min-height: 44px;
    box-sizing: border-box;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.branch-address:last-child,
.branch-phone:last-child {
    margin-bottom: 0;
}

.branch-address i,
.branch-phone i {
    font-size: 0.85rem;
    color: var(--accent-color);
    min-width: 14px;
    flex-shrink: 0;
}

.branch-address:hover,
.branch-address:focus,
.branch-phone:hover,
.branch-phone:focus {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    text-decoration: none;
}

.branch-phone {
    direction: ltr;
    font-family: 'Cairo', sans-serif;
}

.footer-bottom {
    background: #16162a;
    padding: 20px 0;
    opacity: 0.9;
}

/* Service Detail Page */
.service-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
}

.service-detail-content {
    padding: 60px 0;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-detail-image img {
    width: 100%;
    height: auto;
}

.service-detail-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-detail-price {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.service-detail-duration {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Pagination */
.pagination-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-custom a,
.pagination-custom span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s;
}

.pagination-custom a {
    background: white;
    border: 1px solid var(--border-color);
}

.pagination-custom a:hover,
.pagination-custom span.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Alert Messages */
.alert-custom {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success-custom {
    background: #d4edda;
    color: #155724;
}

.alert-error-custom {
    background: #f8d7da;
    color: #721c24;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-info-card {
        margin-bottom: 30px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-price {
        font-size: 1.25rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .footer-top {
        padding: 40px 0 25px;
    }

    .footer-top .row {
        display: flex;
        flex-wrap: wrap;
    }

    .footer-top .col-lg-3 {
        flex: 0 0 calc(50% - var(--bs-gutter-x, 1.5rem) / 2);
        max-width: calc(50% - var(--bs-gutter-x, 1.5rem) / 2);
    }

    .footer-top h5 {
        font-size: 1rem;
    }

    .footer-brand h4 {
        font-size: 1.25rem;
    }

    .footer-brand p {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
    }

    .footer-links li {
        word-wrap: break-word;
    }

    .footer-links a {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .contact-info li {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .contact-details {
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }

    .footer-branch {
        padding: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .branch-header {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }

    .branch-header span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .branch-address,
    .branch-phone {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .footer-logo {
        max-width: 120px;
    }
    
    .about-features li {
        font-size: 0.9rem;
    }
    
    .service-detail-header {
        padding: 40px 0;
    }
    
    .service-detail-header h1 {
        font-size: 1.5rem;
    }
    
    .service-detail-content {
        padding: 40px 0;
    }
    
    .service-detail-price {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-hero {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
    }
    
    .section {
        padding: 30px 0;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .about-content h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 15px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .pagination-custom a,
    .pagination-custom span {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 15px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info-item i {
        margin-left: 0;
        margin-bottom: 5px;
    }
    
    .staff-card {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .service-detail-header {
        padding: 30px 0;
        text-align: center;
    }
    
    .service-detail-header h1 {
        font-size: 1.25rem;
    }
    
    .service-detail-content {
        padding: 30px 0;
    }
    
    .service-detail-price {
        font-size: 1.75rem;
    }
    
    .footer-top {
        padding: 30px 0 20px;
        min-height: auto;
        overflow: visible;
    }

    .footer-top .row {
        --bs-gutter-y: 20px;
        display: flex;
        flex-direction: column;
    }

    .footer-top .col-lg-3,
    .footer-top .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .footer-top h5 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-top h5::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .footer-logo {
        max-width: 100px;
    }

    .footer-brand h4 {
        font-size: 1.2rem;
    }

    .footer-brand p {
        max-width: 100%;
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-links {
        text-align: center;
        align-items: center;
    }

    .footer-links li {
        width: 100%;
    }

    .footer-links a {
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-links a:hover {
        padding-right: 0;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info li {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        justify-content: center;
    }

    .contact-info li i {
        margin-left: 0;
        margin-top: 0;
        font-size: 1.1rem;
        width: auto;
        min-width: auto;
    }

    .contact-details {
        width: 100%;
    }

    .phone-numbers {
        align-items: center;
    }

    .phone-link {
        font-size: 0.85rem;
    }

    .footer-branches {
        gap: 12px;
    }

    .footer-branch {
        text-align: center;
        padding: 14px 10px;
    }

    .branch-header {
        justify-content: center;
    }

    .branch-header i {
        font-size: 0.9rem;
    }

    .branch-address,
    .branch-phone {
        justify-content: center;
        font-size: 0.8rem;
    }

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

    .footer-bottom p {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.25rem;
    }
    
    .btn-primary-custom {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }

    .footer-top {
        padding: 25px 0 15px;
    }

    .footer-top h5 {
        font-size: 0.95rem;
    }

    .footer-brand h4 {
        font-size: 1.1rem;
    }
}

/* Navbar responsive fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-top: 10px;
    }
    
    .navbar-nav {
        margin-bottom: 10px;
    }
    
    .nav-link {
        padding: 10px !important;
        border-radius: 5px;
    }
    
    .nav-link:hover {
        background: #f8f9fa;
    }
    
    .navbar-brand {
        max-width: 70%;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .navbar-brand small {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        max-width: 60%;
    }
    
    .navbar-logo {
        max-height: 40px;
    }
}

/* Footer responsive */
@media (max-width: 767px) {
    .footer-top .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

    .footer-brand p {
        font-size: 0.8rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .contact-info li {
        font-size: 0.85rem;
    }

    .phone-link {
        font-size: 0.8rem;
    }

    .footer-branch {
        padding: 12px 8px;
    }

    .branch-header {
        font-size: 0.85rem;
    }

    .branch-address,
    .branch-phone {
        font-size: 0.75rem;
    }

    .social-links a {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
        padding: 0 10px;
    }
}

/* Facebook Posts Styles */
.facebook-post-card {
    display: block;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
}

.facebook-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #1877f2;
}

.facebook-post-thumbnail {
    position: relative;
    height: 180px;
    background: #f0f2f5;
    overflow: hidden;
}

.facebook-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facebook-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2, #4267b2);
}

.facebook-placeholder i {
    font-size: 4rem;
    color: white;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon i {
    color: white;
    font-size: 1.25rem;
    margin-left: 3px;
}

.facebook-post-content {
    padding: 20px;
}

.facebook-post-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 10px;
}

.facebook-post-content p {
    font-size: 0.875rem;
    color: #65676b;
    margin-bottom: 15px;
    line-height: 1.4;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1877f2;
    font-weight: 500;
    font-size: 0.875rem;
}

.facebook-link:hover {
    color: #4267b2;
}

/* Product Card Styles */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    height: 200px;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder i {
    font-size: 4rem;
    color: #c4c4c4;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1e21;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.875rem;
    color: #65676b;
    line-height: 1.5;
    flex: 1;
}
