/*
 * Chenbalo Ltd - Mobile Repairs
 * 2018 Bootstrap 4 Era Styling
 * Clean, Professional, Flat Design
 */

/* ============================================
   CSS Variables (2018 style)
   ============================================ */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333333;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Utility Classes
   ============================================ */
.page-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--secondary-color) !important; }
.text-white { color: var(--white) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary { background: var(--gradient-primary) !important; }
.bg-dark { background: var(--gradient-dark) !important; }
.bg-light { background-color: var(--light-color) !important; }
.bg-white { background-color: var(--white) !important; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* ============================================
   Buttons (2018 Bootstrap 4 Style)
   ============================================ */
.button {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    padding: 12px 30px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.button--primary {
    color: var(--white);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.button--primary:hover {
    color: var(--white);
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.button-secondary {
    color: var(--white);
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.button-secondary:hover {
    color: var(--white);
    background-color: #1a252f;
    border-color: #1a252f;
}

.button-outline-primary {
    color: var(--secondary-color);
    background-color: transparent;
    border-color: var(--secondary-color);
}

.button-outline-primary:hover {
    color: var(--white);
    background-color: var(--secondary-color);
}

.button-outline-white {
    color: var(--white);
    background-color: transparent;
    border-color: var(--white);
}

.button-outline-white:hover {
    color: var(--primary-color);
    background-color: var(--white);
}

.button-success {
    color: var(--white);
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.button-success:hover {
    background-color: #219a52;
    border-color: #219a52;
}

.button-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.button-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.875rem;
}

.top-bar .page-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left a:hover {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   Navigation (2018 Style)
   ============================================ */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .page-width {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img {
    height: 45px;
}

.navbar-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-brand .brand-text span {
    color: var(--secondary-color);
}

.navbar-brand .brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-cta .phone-number {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.navbar-cta .phone-number i {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ============================================
   Hero Section (2018 Style with Overlay)
   ============================================ */
.intro {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.85) 100%),
                url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=1920&q=80') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
}

.intro-content {
    max-width: 700px;
}

.intro h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.intro-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.intro-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intro-feature i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.intro-feature span {
    font-weight: 600;
}

/* Page Hero (Inner Pages) */
.page-hero {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--secondary-color);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-card .icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.service-card .price span {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ============================================
   Why Choose Us
   ============================================ */
.why-choose-us {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
}

.feature-item .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item .icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-item h4 {
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ============================================
   Pricing Tables (2018 Style)
   ============================================ */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 12px 25px;
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.pricing-tab:hover,
.pricing-tab.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

/* Pricing Table Content (Tab Panels) */
.pricing-table-content {
    display: none;
}

.pricing-table-content:first-of-type,
.pricing-table-content.active {
    display: block;
}

.pricing-table {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.pricing-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.pricing-table .price-cell {
    font-weight: 700;
    color: var(--secondary-color);
}

.pricing-table .time-cell {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Testimonials (2018 Carousel Style)
   ============================================ */
.testimonials {
    background: var(--gradient-dark);
    color: var(--white);
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials .section-title h2::after {
    background: var(--white);
}

.testimonials .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.5;
    position: absolute;
    top: 20px;
    right: 25px;
}

.testimonial-card .content {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.testimonial-card .author-info h5 {
    color: var(--white);
    margin-bottom: 3px;
}

.testimonial-card .author-info span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.testimonial-card .rating {
    color: var(--warning-color);
    margin-top: 10px;
}

/* ============================================
   CTA Section
   ============================================ */
.promo-banner {
    background: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.promo-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.promo-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image .experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.about-image .experience-badge span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.about-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-list li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: grid;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-info-card .icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card .icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-card h4 {
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-card a {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question i {
    transition: var(--transition);
    color: var(--secondary-color);
}

.faq-item.active .faq-question {
    background: var(--gradient-primary);
    color: var(--white);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--white);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================
   Footer (2018 Style)
   ============================================ */
.footer {
    background: var(--gradient-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--white);
}

.footer-brand .brand-text span {
    color: var(--secondary-color);
}

.footer-brand p {
    margin: 20px 0;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-legal-links a:hover {
    color: var(--white);
}

/* ============================================
   Cookie Consent Banner (2018 Style)
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* ============================================
   Cards (Generic)
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 25px;
}

.card-title {
    margin-bottom: 15px;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content .last-updated {
    background: var(--light-color);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    font-style: italic;
    color: var(--text-muted);
}

/* ============================================
   Map
   ============================================ */
.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .navbar-cta {
        display: none;
    }

    .intro h1 {
        font-size: 2.25rem;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        display: inline-block;
        margin-top: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section-padding {
        padding: 60px 0;
    }

    .intro {
        min-height: 500px;
        text-align: center;
    }

    .intro-content {
        max-width: 100%;
    }

    .intro-buttons {
        justify-content: center;
    }

    .intro-features {
        justify-content: center;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-width {
        padding: 0 15px;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .intro h1 {
        font-size: 1.75rem;
    }

    .intro p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 25px;
    }
}

/* ============================================
   Animations (Subtle 2018 style)
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Additional Missing Styles
   ============================================ */

/* Service Icon (alternative style for contact cards) */
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    margin-bottom: 15px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Map Wrapper */
.map-wrapper {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.map-wrapper h3 {
    margin-bottom: 15px;
}

.map-wrapper .map-container {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Contact Info Box */
.contact-info-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.contact-info-box h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-list li i {
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.contact-list li strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text-color);
}

.contact-list li a {
    color: var(--secondary-color);
}

/* FAQ Category Headers */
.faq-category {
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.faq-category:first-of-type {
    margin-top: 0;
}

.faq-category i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Cookie Policy Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background-color: #f8f9fa;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

.checkbox-group label {
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

/* Form Inputs (base styles) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-family: inherit;
    background-color: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 45px;
}

/* Error state for form inputs */
input.error,
textarea.error,
select.error {
    border-color: var(--accent-color);
}

/* Form Success Message */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.form-success h3 {
    color: var(--success-color);
    margin-bottom: 10px;
}

/* Disabled button state */
.button.disabled,
.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Lead text for legal pages */
.legal-content .lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Responsive adjustments for contact grid */
@media (max-width: 992px) {
    .contact-sidebar {
        order: -1;
    }
}

/* =====================================================
   MISSING CLASS DEFINITIONS (Added for compatibility)
   ===================================================== */

/* Button Size Variants */
.button--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.button--sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Button Style Variants */
.button--outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.button--outline-primary:hover {
    background: var(--primary);
    color: white;
}

.button--outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.button--outline-white:hover {
    background: white;
    color: var(--primary);
}

/* Form Elements */
.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


/* Button secondary */
.button--secondary { background-color: #6c757d; color: white; }
.button--secondary:hover { background-color: #5a6268; }

/* =====================================================
   INTRO SECTION (BEM Hero)
   ===================================================== */
.intro__content {
    max-width: 700px;
}

.intro__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.intro__features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.intro__feature i {
    color: var(--success-color);
}

/* =====================================================
   OUR ADVANTAGE SECTION
   ===================================================== */
.our-advantage {
    background-color: var(--light-color);
}

.our-advantage h2 {
    text-align: center;
    margin-bottom: 3rem;
}

/* =====================================================
   PAYMENT METHODS (Footer)
   ===================================================== */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 24px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-methods img:hover {
    opacity: 1;
}
