/* CSS Variables - Slate Professional */
:root {
    --primary: #475569;
    --primary-dark: #334155;
    --primary-light: #64748B;
    --secondary: #1e293b;
    --accent: #94A3B8;
    --text-dark: #1e293b;
    --text-light: #64748B;
    --bg-light: #f8fafc;
    --bg-white: #FFFFFF;
    --shadow: 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);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

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

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

@keyframes borderHighlight {
    0% {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary);
    }
    100% {
        border-color: transparent;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.header-top {
    background: var(--primary);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-info {
    display: flex;
    gap: 25px;
    color: white;
    font-size: 0.9rem;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-phone a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transform: rotate(-3deg);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
}

.logo-text span {
    color: var(--primary);
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.5);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-white-alt {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.btn-white-alt:hover {
    background: #FAFAF9;
    transform: translateY(-3px);
}

/* Hero Section - Illustration Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-illustration {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(71, 85, 105, 0.3);
    border: 1px solid var(--primary-light);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 22px;
    line-height: 1.15;
}

.hero h1 span {
    color: var(--accent);
}

.hero-content > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat {
    text-align: center;
}

.stat-value {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

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

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
}

/* Services Section - Horizontal Scroll */
.services {
    padding: 90px 0;
    background: var(--bg-white);
}

.services-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 20px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-light);
}

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

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

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

.service-box {
    flex: 0 0 350px;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 18px;
    transition: all 0.4s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
}

.service-box:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(71, 85, 105, 0.15);
    animation: borderHighlight 2s ease infinite;
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(71, 85, 105, 0.3);
}

.service-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-img-stack {
    position: relative;
}

.about-img-main {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-floating-card {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 22px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-floating-card .years {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.about-floating-card span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-details h2 {
    font-size: 2.6rem;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.about-details > p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 30px;
}

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

.feature-icon {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.feature-box span {
    font-weight: 500;
    color: var(--text-dark);
}

/* Why Choose Us */
.why-choose {
    padding: 90px 0;
    background: var(--bg-white);
}

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

.why-choose-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 18px;
    transition: all 0.4s;
    border: 2px solid transparent;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    animation: borderHighlight 2s ease infinite;
}

.why-choose-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.why-choose-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-choose-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Locations Section - List Layout */
.locations {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.location-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s;
    border: 2px solid transparent;
    align-items: center;
}

.location-list-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(71, 85, 105, 0.12);
    animation: borderHighlight 2s ease infinite;
}

.location-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.location-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.location-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.location-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.location-link:hover {
    color: var(--primary-dark);
}

/* Common Problems */
.common-problems {
    padding: 90px 0;
    background: var(--bg-white);
}

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

.problem-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 18px;
    transition: all 0.4s;
    border: 2px solid transparent;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    animation: borderHighlight 2s ease infinite;
}

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

.problem-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.08"%3E%3Ccircle cx="30" cy="30" r="4"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.6rem;
    color: white;
    margin-bottom: 18px;
}

.cta-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Section - Tabbed Layout */
.faq {
    padding: 90px 0;
    background: var(--bg-light);
}

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

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

.faq-tab-btn {
    padding: 12px 28px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-tab-btn:hover {
    background: var(--primary);
    color: white;
}

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

.faq-tab-pane {
    display: none;
}

.faq-tab-pane.active {
    display: block;
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
}

.faq-element {
    background: white;
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

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

.faq-element.active {
    border-color: var(--primary);
}

.faq-question {
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.3s;
    font-size: 1.05rem;
}

.faq-question:hover {
    background: #FAFAF9;
}

.faq-toggle {
    font-size: 1.6rem;
    color: var(--primary);
    transition: transform 0.3s;
    line-height: 1;
}

.faq-element.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s;
}

.faq-element.active .faq-answer {
    padding: 0 28px 22px;
    max-height: 250px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.75;
}

/* Contact Section */
.contact {
    padding: 90px 0;
    background: var(--bg-white);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-row h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-row p {
    color: var(--text-light);
}

.contact-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-map-container {
    background: var(--bg-light);
    border-radius: 22px;
    overflow: hidden;
    height: 500px;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 65px 0 30px;
}

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

.footer-brand .logo {
    margin-bottom: 22px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 22px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-phone {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 22px;
    color: white;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(71, 85, 105, 0.5);
    z-index: 1001;
    animation: pulse 2s infinite;
}

.mobile-call-btn span {
    margin-right: 8px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .hero-illustration {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 40px;
        width: 300px;
        height: 300px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content > p {
        margin: 0 auto 30px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .services-scroll {
        gap: 20px;
    }

    .service-box {
        flex: 0 0 300px;
    }

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

    .location-list-item {
        grid-template-columns: 1fr;
    }

    .location-img {
        height: 150px;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-floating-card {
        right: 10px;
        bottom: 10px;
    }

    .services-scroll {
        gap: 15px;
    }

    .service-box {
        flex: 0 0 280px;
        padding: 24px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-map-container {
        height: 350px;
    }

    .faq-tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-tab-btn {
        width: 200px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-call-btn {
        display: flex;
        align-items: center;
    }
}