/* =====================================
RESTOREPRO PREMIUM WEBSITE
CSS PART 1
Global + Navbar + Hero + Trust Bar

Services + Before & After
===================================== */

/* GOOGLE STYLE RESET */
.progress-bar {

    position: fixed;

    top: 0;

    left: 0;

    width: 0%;

    height: 4px;

    background: #0F62FE;

    z-index: 9999;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {

    --primary: #0F62FE;
    --primary-dark: #0043CE;

    --dark: #0B1220;

    --dark-light: #1E293B;

    --text: #334155;

    --white: #ffffff;

    --light: #F8FAFC;

    --border: #E2E8F0;

    --shadow:
        0 10px 30px rgba(0, 0, 0, .08);

    --radius: 22px;

}

body {

    font-family: 'Inter', sans-serif;

    background: #ffffff;

    color: var(--text);

    overflow-x: hidden;

    line-height: 1.7;

}

img {

    width: 100%;

    display: block;

}

a {

    text-decoration: none;

}

ul {

    list-style: none;

}

section {

    padding: 120px 8%;

}

.section-header {

    text-align: center;

    max-width: 800px;

    margin: auto;

    margin-bottom: 80px;

}

.section-tag {

    display: inline-block;

    padding: 10px 18px;

    border-radius: 50px;

    background:
        rgba(15, 98, 254, .08);

    color: var(--primary);

    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 20px;

}

.section-header h2 {

    font-size: 54px;

    color: var(--dark);

    line-height: 1.1;

    margin-bottom: 20px;

}

.section-header p {

    font-size: 18px;

    color: #64748B;

}

/* =====================================
NAVBAR
===================================== */

.navbar {

    position: fixed;

    top: 20px;

    left: 50%;

    transform: translateX(-50%);

    width: 90%;

    max-width: 1300px;

    z-index: 1000;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 18px 28px;

    background: rgba(255, 255, 255, .92);




    backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .4);

    border-radius: 18px;

    box-shadow: var(--shadow);

}

.logo {

    font-size: 24px;

    font-weight: 900;

    color: var(--dark);

}

.nav-links {

    display: flex;

    align-items: center;

    gap: 28px;

}

.nav-links a {

    color: var(--dark);

    font-weight: 600;

    transition: .3s;

}

.nav-links a {

    color: var(--primary);

}

.nav-btn {

    background: var(--primary);

    color: white;

    padding: 14px 24px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s;

}

.nav-btn {

    background: var(--primary-dark);

    transform: translateY(-2px);

}

/* =====================================
HERO
===================================== */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 200px 8% 120px;

    background:
        url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=80") center/cover;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(rgba(11, 18, 32, .82),
            rgba(11, 18, 32, .82));

}

.hero-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;

}

.hero-badge {

    display: inline-block;

    background:
        rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .2);

    color: white;

    padding: 12px 20px;

    border-radius: 50px;

    margin-bottom: 30px;

}

.hero h1 {

    color: white;

    font-size: 64px;

    line-height: 1.1;

    font-weight: 900;

    margin-bottom: 30px;

}

.hero p {

    color: #D6DDE8;

    font-size: 22px;

    max-width: 850px;

    margin: auto;

    margin-bottom: 40px;

}

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-bottom: 60px;

}

.primary-btn {

    background: var(--primary);

    color: white;

    padding: 18px 32px;

    border-radius: 50px;

    font-weight: 700;

    transition: .3s;

}

.primary-btn {

    transform: translateY(-3px);

}

.secondary-btn {

    background: white;

    color: var(--dark);

    padding: 18px 32px;

    border-radius: 50px;

    font-weight: 700;

}

.hero-trust {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 40px;

}

.trust-item {

    color: white;

}

.trust-item strong {

    display: block;

    font-size: 32px;

    font-weight: 900;

}

/* =====================================
TRUST BAR
===================================== */

.trust-bar {

    background: #ffffff;

}

.trust-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 25px;

}

.trust-card {

    background: white;

    padding: 40px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .3s;

}

.trust-card {

    transform: translateY(-8px);

}

.trust-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

    color: var(--dark);

}

.trust-card p {

    color: #64748B;

}

/* =====================================
SERVICES
===================================== */

.services {

    background: var(--light);

}

.services-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;

}

.service-card {

    background: white;

    padding: 40px;

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition: .35s;

}

.service-card {

    transform:
        translateY(-12px);

}

.service-icon {

    width: 70px;

    height: 70px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 32px;

    border-radius: 18px;

    background:
        rgba(15, 98, 254, .08);

    margin-bottom: 25px;

}

.service-card h3 {

    color: var(--dark);

    font-size: 24px;

    margin-bottom: 15px;

}

.service-card p {

    color: #64748B;

}

/* =====================================
BEFORE AFTER
===================================== */

.before-after {

    background: white;

}

.comparison-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(450px, 1fr));

    gap: 35px;

}

.comparison-card {

    overflow: hidden;

    border-radius: 26px;

    background: white;

    box-shadow: var(--shadow);

}

.comparison-card img {

    height: 350px;

    object-fit: cover;

}

.comparison-content {

    padding: 30px;

}

.comparison-content span {

    color: var(--primary);

    font-weight: 700;

}

.comparison-content h3 {

    margin-top: 10px;

    font-size: 28px;

    color: var(--dark);

}

/* PART 1 ENDS HERE */


/* =====================================
PROCESS SECTION
===================================== */

.process-section {

    background: #F8FAFC;

}

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}

.process-card {

    background: white;

    padding: 40px;

    border-radius: 22px;

    text-align: center;

    box-shadow: var(--shadow);

    transition: .3s;

}

.process-card {

    transform: translateY(-10px);

}

.step-number {

    width: 70px;

    height: 70px;

    margin: auto;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--primary);

    color: white;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 22px;

    font-weight: 800;

}

.process-card h3 {

    color: var(--dark);

    margin-bottom: 15px;

}

/* =====================================
STATS
===================================== */

.stats-section {

    background: var(--dark);

}

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 30px;

}

.stat-card {

    text-align: center;

    padding: 40px;

    border-radius: 22px;

    background:
        rgba(255, 255, 255, .05);

    backdrop-filter: blur(10px);

}

.stat-card h2 {

    color: white;

    font-size: 58px;

    margin-bottom: 10px;

}

.stat-card p {

    color: #CBD5E1;

}

/* =====================================
PROJECTS
===================================== */

.projects {

    background: white;

}

.project-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(350px, 1fr));

    gap: 30px;

}

.project-card {

    overflow: hidden;

    border-radius: 24px;

    background: white;

    box-shadow: var(--shadow);

    transition: .35s;

}

.project-card {

    transform: translateY(-10px);

}

.project-card img {

    height: 280px;

    object-fit: cover;

}

.project-content {

    padding: 25px;

}

.project-content h3 {

    color: var(--dark);

    margin-bottom: 10px;

}

/* =====================================
TESTIMONIALS
===================================== */

.testimonials {

    background: #F8FAFC;

}

.testimonial-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;

}

.testimonial-card {

    background: white;

    padding: 35px;

    border-radius: 24px;

    box-shadow: var(--shadow);

}

.stars {

    color: #F59E0B;

    font-size: 22px;

    margin-bottom: 15px;

}

.testimonial-card p {

    margin-bottom: 20px;

}

.testimonial-card h4 {

    color: var(--primary);

}

/* =====================================
FAQ
===================================== */

.faq-section {

    background: white;

}

.faq-container {

    max-width: 900px;

    margin: auto;

}

.faq-item {

    background: white;

    margin-bottom: 20px;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

}

.faq-question {

    width: 100%;

    border: none;

    background: white;

    padding: 25px;

    text-align: left;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

}

.faq-answer {

    display: none;

    padding: 0 25px 25px;

    color: #64748B;

}

.faq-item.active .faq-answer {

    display: block;

}

/* =====================================
CONTACT
===================================== */

.contact-section {

    background: #F8FAFC;

}

.contact-wrapper {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 50px;

    align-items: center;

}

.contact-info h2 {

    font-size: 48px;

    color: var(--dark);

    margin: 20px 0;

}

.contact-points {

    margin-top: 30px;

}

.contact-points div {

    margin-bottom: 15px;

    font-weight: 600;

}

.contact-form {

    background: white;

    padding: 40px;

    border-radius: 24px;

    box-shadow: var(--shadow);

}

.contact-form input,
.contact-form textarea {

    width: 100%;

    padding: 18px;

    margin-bottom: 18px;

    border: 1px solid var(--border);

    border-radius: 14px;

    font-family: 'Inter', sans-serif;

}

.contact-form textarea {

    height: 180px;

    resize: none;

}

.contact-form button {

    width: 100%;

    border: none;

    background: var(--primary);

    color: white;

    padding: 18px;

    border-radius: 14px;

    font-size: 18px;

    font-weight: 700;

    cursor: pointer;

}

/* =====================================
FLOATING BUTTON
===================================== */

.floating-btn {

    position: fixed;

    right: 25px;

    bottom: 25px;

    z-index: 999;

    background: var(--primary);

    color: white;

    padding: 16px 28px;

    border-radius: 50px;

    font-weight: 700;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .25);

}

/* =====================================
TOP BUTTON
===================================== */

#topBtn {

    position: fixed;

    right: 25px;

    bottom: 95px;

    width: 60px;

    height: 60px;

    border: none;

    border-radius: 50%;

    background: var(--dark);

    color: white;

    cursor: pointer;

    display: none;

    z-index: 999;

}

/* =====================================
FOOTER
===================================== */

.footer {

    background: var(--dark);

    color: white;

    padding: 80px 8% 30px;

}

.footer-content {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;

    margin-bottom: 50px;

}

.footer-content h3 {

    margin-bottom: 20px;

}

.footer-content h4 {

    margin-bottom: 20px;

}

.footer-content ul li {

    margin-bottom: 10px;

}

.footer-bottom {

    border-top:
        1px solid rgba(255, 255, 255, .1);

    padding-top: 25px;

    text-align: center;

    color: #94A3B8;

}

/* =====================================
ANIMATIONS
===================================== */

.hidden {

    opacity: 0;

    transform: translateY(50px);

    transition: .8s;

}

.show {

    opacity: 1;

    transform: translateY(0);

}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }

}

.floating-btn {

    animation: float 3s infinite;

}

/* =====================================
MOBILE RESPONSIVE
===================================== */

@media(max-width:992px) {

    .navbar {

        flex-direction: column;

        gap: 20px;

    }

    .hero h1 {

        font-size: 56px;

    }

    .contact-wrapper {

        grid-template-columns: 1fr;

    }

}

@media(max-width:768px) {

    section {

        padding: 90px 6%;

    }

    .nav-links {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }

    .hero {

        padding-top: 180px;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero p {

        font-size: 18px;

    }

    .section-header h2 {

        font-size: 36px;

    }

    .comparison-grid {

        grid-template-columns: 1fr;

    }

    .project-grid {

        grid-template-columns: 1fr;

    }

    .testimonial-grid {

        grid-template-columns: 1fr;

    }

}

@media(max-width:480px) {

    .hero h1 {

        font-size: 34px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .primary-btn,
    .secondary-btn {

        width: 100%;

        text-align: center;

    }

}

.service-card,
.project-card,
.process-card,
.testimonial-card {

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.service-card:hover,
.project-card:hover,
.process-card:hover,
.testimonial-card:hover {

    transform:
        translateY(-12px) scale(1.02);

    box-shadow:
        0 25px 50px rgba(0, 0, 0, .12);

}

.brands {

    display: flex;

    justify-content: center;

    gap: 40px;

    flex-wrap: wrap;

    padding: 35px;

    background: #fff;

    border-bottom:
        1px solid #e5e7eb;

}

.brands div {

    font-weight: 700;

    color: #64748B;

}

.hero h1 br {
    display: block;
}

@media(max-width:768px) {

    .hero h1 {

        font-size: 42px;

        line-height: 1.15;

    }

}