/* CSS Variables - Slate Professional Theme */
:root {
    --primary: #475569;
    --primary-dark: #334155;
    --primary-light: #64748B;
    --accent: #94A3B8;
    --accent-light: #CBD5E1;
    --white: #ffffff;
    --off-white: #F8FAFC;
    --gray-50: #F1F5F9;
    --gray-100: #E2E8F0;
    --gray-200: #CBD5E1;
    --gray-300: #94A3B8;
    --gray-400: #64748B;
    --gray-500: #475569;
    --gray-600: #334155;
    --gray-700: #1E293B;
    --gray-800: #0F172A;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--off-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-800);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.mobile-call-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

@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); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 100;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav a:not(.cta-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:not(.cta-btn):hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--primary);
}

.cta-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    padding: 12px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
}

.mobile-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--gray-100) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .accent {
    color: var(--primary);
    position: relative;
}

.hero-title .accent::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: skewX(-10deg);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-label {
    font-size: 14px;
    color: var(--gray-400);
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.hero-illustration {
    animation: slideInRight 0.8s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-svg {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-scroll {
    overflow-x: auto;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.services-track {
    display: flex;
    gap: 25px;
    padding: 10px;
}

.service-card {
    flex: 0 0 280px;
    background: var(--off-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    animation: borderHighlight 0.6s ease-out;
    animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes borderHighlight {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.service-card p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding-bottom: 3px;
}

.service-link::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover::after {
    margin-left: 10px;
}

/* Locations Section */
.locations {
    background: var(--gray-50);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.location-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.15s; }
.location-card:nth-child(3) { animation-delay: 0.2s; }
.location-card:nth-child(4) { animation-delay: 0.25s; }
.location-card:nth-child(5) { animation-delay: 0.3s; }
.location-card:nth-child(6) { animation-delay: 0.35s; }
.location-card:nth-child(7) { animation-delay: 0.4s; }
.location-card:nth-child(8) { animation-delay: 0.45s; }
.location-card:nth-child(9) { animation-delay: 0.5s; }
.location-card:nth-child(10) { animation-delay: 0.55s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.location-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.location-card h3 {
    font-size: 20px;
    padding: 20px 20px 10px;
    font-family: var(--font-heading);
}

.location-card p {
    font-size: 14px;
    color: var(--gray-400);
    padding: 0 20px 15px;
    line-height: 1.5;
}

.location-link {
    display: block;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

.location-link:hover {
    background: var(--primary-dark);
}

/* Problems Section */
.problems {
    background: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.problem-card {
    background: var(--off-white);
    padding: 30px;
    border-radius: 12px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.problem-card:nth-child(5) { animation-delay: 0.5s; }
.problem-card:nth-child(6) { animation-delay: 0.6s; }

.problem-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.problem-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 15px;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
}

.problem-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.problem-card p {
    font-size: 15px;
    color: var(--gray-400);
    margin-bottom: 15px;
    line-height: 1.6;
}

.problem-card a {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.problem-card a:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* FAQ Section */
.faq {
    background: var(--gray-50);
}

.faq-tabs {
    max-width: 800px;
    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 var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    font-size: 15px;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.faq-panel {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.faq-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* About Section */
.about {
    background: var(--white);
    padding: 100px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 17px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text .btn {
    margin-top: 20px;
}

/* Footer */
.footer {
    background: var(--gray-800);
    color: var(--gray-300);
    padding: 50px 0 20px;
}

.footer-content {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-600);
}

.footer-info h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.footer-info p {
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact span {
    font-size: 14px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-bottom .disclaimer {
    margin-top: 15px;
    font-size: 11px;
    color: var(--gray-500);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-contact {
        justify-content: center;
    }
    
    .hero-illustration {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .mobile-call-btn {
        display: block;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .service-card {
        flex: 0 0 260px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        font-size: 15px;
        padding: 15px 20px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
}
