/* ==========================
   GLOBAL RESET
========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #fff;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

/* ==========================
   HEADER
========================== */

.navbar {
    background: #111;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
}

.logo h2 {
    color: white;
}

.logo span {
    color: #d62828;
    font-size: 13px;
}

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

.nav-links a {
    color: white;
    font-weight: bold;
}

.nav-button {
    background: #d62828;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
}

/* ==========================
   BUTTONS
========================== */

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: bold;
}

.primary {
    background: #d62828;
    color: white;
}

.secondary {
    background: white;
    color: #111;
}

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

.hero,
.page-hero {
    background:
    linear-gradient(
        rgba(0,0,0,.65),
        rgba(0,0,0,.65)
    ),
    url("images/hero.jpg");
    background-size: cover;
    background-position: center;
}

.hero {
    min-height: 85vh;
}

.hero-overlay {
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 850px;
    padding: 20px;
    color: white;
    margin: auto;
}

.hero-content h1 {

    font-size: 55px;
    margin-bottom: 20px;

}

.hero-buttons {

    display: flex;
    justify-content: center;
    gap: 15px;
}

.page-hero {
    min-height: 45vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.page-hero div {
    max-width:800px;
    color:white;
    padding:20px;
}

/* ==========================
   GENERAL SECTIONS
========================== */

.section-title {
    text-align:center;
    margin-bottom:40px;
}

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

.trust-bar {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:50px 8%;
    background:#d62828;
    color:white;
    text-align:center;
}

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

/* ==========================
   ABOUT
========================== */

.about-preview,
.about-page {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
    padding:80px 8%;
}

.about-image {
    display:flex;
    justify-content:center;
}

.about-image img {
    max-width:500px;
    height:400px;
    object-fit:cover;
    border-radius:12px;
}

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

.services-preview,
.services-page {
    padding:80px 8%;
}

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

.service-card {
    background:white;
    text-align:center;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.service-card img {
    height:250px;
    object-fit:cover;
}

.card-content {
    padding:25px;
}

/* ==========================
   WHY US
========================== */

.why-us {
    padding:80px 8%;
}

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

.feature {
    text-align:center;
}

/* ==========================
   REVIEWS
========================== */

.reviews {
    padding:80px 8%;
    background:#111;
    color:white;
}

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

.review {
    text-align:center;
}

/* ==========================
   APPOINTMENT
========================== */

.appointment-section {
    padding:80px 8%;
    background:#f5f5f5;
}

.appointment-form {
    max-width:800px;
    margin:auto;
    background:white;
    padding:45px;
    border-radius:12px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width:100%;
    padding:15px;
}

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

.contact-section {
    padding:80px 8%;
}

.contact-cards {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:30px;
}

.contact-card {
    width:100%;
    max-width:600px;
    padding:35px;
    text-align:center;
    background:white;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* ==========================
   CTA
========================== */

.cta {
    background:#d62828;
    color:white;
    text-align:center;
    padding:80px 8%;
}

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

.footer {
    background:#111;
    color:white;
    text-align:center;
    padding:40px;
}

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

@media(max-width:900px){

.navbar {
    flex-direction:column;
    gap:20px;
}

.nav-links {
    flex-direction:column;
    text-align:center;
}

.hero-content h1 {
    font-size:38px;
}

.hero-buttons {
    flex-direction:column;
}

.trust-bar {
    grid-template-columns:1fr;
}

.about-preview,
.about-page {
    grid-template-columns:1fr;
}

.service-cards,
.features,
.review-cards {
    grid-template-columns:1fr;
}

}