/* ========================================
   CSS Variables - Slate Professional (Scheme F)
   ======================================== */
:root {
    --primary: #475569;
    --primary-dark: #334155;
    --primary-light: #64748B;
    --accent: #94A3B8;
    
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748B;
    --white: #ffffff;
    --background: #f8fafc;
    --background-alt: #f1f5f9;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   Typography - Playfair Display + Source Sans Pro (Font 6)
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

body, p, a, li, span, button, input, textarea {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    background-color: var(--background);
    font-size: 16px;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

/* ========================================
   Header Styles
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location-info, .availability {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.logo img {
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 600;
    color: var(--text-medium);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

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

.nav-list a:hover::after {
    width: 100%;
}

.btn-call {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ========================================
   Hero Section - Illustration Hero (Variation 8)
   ======================================== */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--text-dark);
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    margin-bottom: 40px;
    animation: slideInLeft 0.8s ease-out 0.6s backwards;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-response {
    margin-top: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: slideInLeft 0.8s ease-out 0.8s backwards;
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

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

.hero-illustration-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-svg {
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    bottom: 20px;
    right: 0;
    background: var(--white);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite reverse;
}

.card-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.card-text {
    font-weight: 600;
    color: var(--text-dark);
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-medium);
    font-size: 17px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature-item {
    background: var(--background);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   Services Section - Horizontal Scroll (Layout 4)
   ======================================== */
.services-section {
    background: var(--background-alt);
}

.services-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 5px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.services-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-scroll::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 4px;
}

.services-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.service-card {
    flex: 0 0 320px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

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

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.why-choose-section {
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--background);
    padding: 35px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.why-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-light);
    font-family: 'Playfair Display', serif;
    opacity: 0.3;
    margin-bottom: 10px;
}

.why-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.why-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   Locations Section - List Style (Layout 4)
   ======================================== */
.locations-section {
    background: var(--background-alt);
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.location-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-lg);
    align-items: center;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.location-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.location-thumb img {
    border-radius: var(--radius-md);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.location-info p {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   Common Problems Section
   ======================================== */
.problems-section {
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background: var(--background);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.problem-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.problem-card p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 18px 40px;
    border-radius: var(--radius-md);
    font-size: 20px;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   FAQ Section - Tabbed Style (Layout 4)
   ======================================== */
.faq-section {
    background: var(--background-alt);
}

.faq-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.faq-tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    border-color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-medium);
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    margin-bottom: 15px;
    border-radius: var(--radius-md);
}

.footer-about p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.footer-phone {
    font-weight: 600;
    color: var(--white);
}

.footer-phone:hover {
    text-decoration: underline;
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    transition: color var(--transition-fast);
}

.footer ul a:hover {
    color: var(--white);
}

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

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.6;
}

/* ========================================
   Mobile Call Button
   ======================================== */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(71, 85, 105, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(71, 85, 105, 0);
    }
}

/* ========================================
   Animations - Slide In + Border Highlight (Animation 2)
   ======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1100px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-illustration-box {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav {
        display: none;
    }
    
    .btn-call {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .location-item {
        grid-template-columns: 1fr;
    }
    
    .location-thumb img {
        height: 180px;
    }
    
    .service-card {
        flex: 0 0 280px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .mobile-call-btn {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-about img {
        margin: 0 auto 15px;
    }
}