/* ===== Quick Response Restoration - Main Stylesheet ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --accent: #f1c40f;
    --dark: #0a1929;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #333;
    background: var(--white);
    overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

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

.top-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-info span i {
    color: var(--primary);
    margin-right: 6px;
}

.top-social a {
    margin-left: 12px;
    color: var(--white);
    font-size: 15px;
}

.top-social a:hover {
    color: var(--primary);
}

/* ===== Header / Navbar ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 65px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    padding: 12px 18px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 15px;
    display: block;
    border-radius: 4px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 10px 0;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--primary);
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--secondary);
    font-size: 14px;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.btn-call {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 22px !important;
    border-radius: 30px;
    margin-left: 10px;
    font-weight: 600 !important;
}

.btn-call:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10,25,41,0.85), rgba(29,53,87,0.75)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero h1 {
    color: var(--white);
    font-size: 52px;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

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

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

/* ===== Page Banner (for inner pages) ===== */
.page-banner {
    background: linear-gradient(135deg, rgba(10,25,41,0.88), rgba(29,53,87,0.82)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600') center/cover no-repeat;
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.page-banner h1 {
    color: var(--white);
    font-size: 46px;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--accent);
}

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

/* ===== Section Common ===== */
section {
    padding: 80px 0;
}

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

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

/* ===== About Preview ===== */
.about-preview {
    background: var(--light);
}

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

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-image .badge {
    position: absolute;
    bottom: -25px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image .badge strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 18px;
    color: #555;
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    padding: 8px 0 8px 35px;
    position: relative;
    color: #444;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 13px;
    font-weight: bold;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

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

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    position: absolute;
    bottom: -25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow);
}

.service-content {
    padding: 35px 25px 25px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-content h3 a {
    color: var(--secondary);
}

.service-content h3 a:hover {
    color: var(--primary);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 18px;
    font-size: 14px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    letter-spacing: 1px;
}

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

.why-choose h2 {
    color: var(--white);
}

.why-choose .section-header p {
    color: rgba(255,255,255,0.8);
}

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

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.feature-box:hover {
    background: rgba(230,57,70,0.15);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-box .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-box h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(230,57,70,0.92), rgba(193,18,31,0.92)),
                url('https://images.unsplash.com/photo-1591955506264-3f5a6834570a?w=1600') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 70px 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

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

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
}

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

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

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

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.client-info span {
    color: var(--gray);
    font-size: 13px;
}

/* ===== FAQ ===== */
.faq-grid {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.faq-question .icon {
    color: var(--primary);
    transition: var(--transition);
    font-size: 20px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 20px;
}

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

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

.contact-info h2 {
    margin-bottom: 20px;
    font-size: 32px;
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.info-item p, .info-item a {
    color: #555;
    font-size: 15px;
}

.info-item a:hover {
    color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ===== Map Section ===== */
.map-section {
    padding: 0;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

/* ===== Service Detail Page ===== */
.service-detail {
    padding: 80px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main img {
    border-radius: 10px;
    margin-bottom: 30px;
    width: 100%;
}

.service-main h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.service-main h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--primary);
}

.service-main p {
    color: #555;
    margin-bottom: 16px;
}

.service-main ul {
    margin: 15px 0 25px 20px;
    color: #555;
}

.service-main ul li {
    margin-bottom: 8px;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.sidebar-widget h4 {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.service-list {
    list-style: none;
}

.service-list li a {
    display: block;
    padding: 11px 15px;
    background: var(--white);
    margin-bottom: 8px;
    border-radius: 6px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.service-list li a:hover,
.service-list li a.active {
    background: var(--primary);
    color: var(--white);
    border-left-color: var(--accent);
    padding-left: 20px;
}

.contact-widget {
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    padding: 30px 25px;
}

.contact-widget h4 {
    color: var(--white);
    border-bottom-color: var(--white);
}

.contact-widget .phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin: 15px 0;
    display: block;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 0;
}

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

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

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-col img {
    margin-bottom: 18px;
    max-height: 60px;
    background: var(--white);
    padding: 8px;
    border-radius: 5px;
}

.footer-col p {
    font-size: 14px;
    margin-bottom: 18px;
}

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-bottom a {
    color: var(--primary);
}

/* ===== Floating Call Button ===== */
.floating-call {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 5px 20px rgba(230,57,70,0.5);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230,57,70,0.6); }
    70% { box-shadow: 0 0 0 20px rgba(230,57,70,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .contact-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 { font-size: 40px; }
    .sidebar { position: static; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { width: 100%; }
    .nav-menu > li > a { padding: 12px; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 1px solid #eee;
        background: var(--light);
        padding-left: 15px;
        display: none;
    }
    .nav-menu li.open .dropdown-menu { display: block; }
    .top-info { gap: 15px; font-size: 12px; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .services-grid,
    .features-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 28px; }
    .page-banner h1 { font-size: 32px; }
    section { padding: 60px 0; }
}
