/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
header {
    background: #222; /* dark grey */
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header .logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #e63946; /* red hover */
}

/* Banner */

.banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.2rem;
}

/* Intro Section */
.intro, .services-preview, .contact {
    padding: 3rem 2rem;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.intro h2, .services-preview h2, .contact h2, .wrap h2 {
    margin-bottom: 1rem;
    color: #e63946;
}

.intro p, .contact p {
    margin-bottom: 1rem;
    color: #555;
}

/* Services Preview */
.services-preview ul {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.services-preview li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.services-preview .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #e63946; /* red */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.services-preview .btn:hover {
    background: #b2222f; /* darker red */
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
}

.contact-form button {
    padding: 0.75rem;
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #b2222f;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .banner h2 {
        font-size: 2rem;
    }

    .banner p {
        font-size: 1rem;
    }
}

/* Section rule under the CONTACTS heading */
.section-rule {
    border: 0;
    height: 3px;
    background: #e63946;
    width: 60%;
    margin: 0.75rem auto 2rem;
}

/* Two-column grid (info left, map right) */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    text-align: left;
}

.contact-info h3,
.map-embed h3 {
    margin-bottom: 0.75rem;
    color: #333;
}

.contact-info address {
    font-style: normal;
    line-height: 1.6; /* tighter line spacing */
    color: #444;
    margin-bottom: 1rem;
    white-space: normal; /* avoid forced double spacing */
}

.contact-info strong {
    display: inline-block;
    width: 60px; /* keeps labels aligned neatly */
    color: #333;
}


.reps {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
}
.reps a { color: #e63946; }

/* Map frame */
.map-frame {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Form section at the bottom */
.contact-form-wrap {
    max-width: 1100px;
    margin: 1rem auto 0;
    padding: 0 2rem 2rem;
    text-align: left;
}

.required-note {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.captcha-placeholder {
    border: 1px dashed #bbb;
    border-radius: 6px;
    padding: 0.75rem;
    margin: 0.5rem 0 0.75rem;
    font-size: 0.95rem;
    color: #666;
}

/* Make headings consistent with theme */
.contact h2 { text-align: center; }
.contact h3 { color: #e63946; }

/* Responsive: stack columns on small screens */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner with background image */
.banner {
    position: relative;
    width: 100%;
    height: 600px; /* adjust as needed */
    background: url("../img/banner.png") no-repeat center center;
    background-size: cover; /* fills area, cuts overflow */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.banner-text {
    color: #fff;
    background: rgba(0, 0, 0, 0.4); /* semi-transparent overlay */
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.banner-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.banner-text p {
    font-size: 1.2rem;
}

.contact-info p {
    margin: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #444;
}

.contact-info i {
    color: #e63946; /* red accent */
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

/* Generic wrapper for consistent max width */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Intro */
.home-intro {
  padding: 2.5rem 0 1rem;
  text-align: center;
}
.home-intro p {
  color: #444;
  margin-bottom: .75rem;
  font-size: 1.05rem;
}

/* Services cards */
.services-cards { padding: 1rem 0 3rem; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 1.5rem;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-color: #f1c1c5;
}
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #ffe7ea;           /* soft red tint */
  margin-bottom: .9rem;
}
.card-icon i { font-size: 1.4rem; color: #e63946; }
.card h3 { margin: .35rem 0 .5rem; color: #222; }
.card p { color: #555; margin-bottom: 1rem; line-height: 1.55; }
.card-cta {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #e63946;
  border: 1px solid #e63946;
  padding: .5rem .9rem;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.card-cta:hover { background: #e63946; color: #fff; }

/* Benefits */
.benefits { background: #f7f7f8; padding: 2.5rem 0; }
.benefits h2 {
  text-align: center; color: #e63946; margin-bottom: 1.25rem;
}
.benefits-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.benefits-grid li {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: .85rem 1rem;
  display: flex; align-items: center; gap: .6rem;
  color: #333;
  transition: transform .15s ease, box-shadow .15s ease;
}
.benefits-grid li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.benefits-grid i { color: #2f9e44; } /* green check */

/* Responsive */
@media (max-width: 980px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .home-intro { padding: 1.5rem 0 .5rem; }
}
/* Article-style text block */
.home-article { padding: 2rem 0 3rem; }

/* Extra space on the RIGHT edge only for this section */
.home-article .wrap { padding-right: 3rem; }  /* tweak to taste */

/* Red headings + spacing */
.home-article h2,
.home-article h3 {
  color: #e63946;
  margin: 1.25rem 0 .5rem;
  line-height: 1.25;
}

/* Red divider line (same as contact page) */
.home-article .section-rule {
  border: 0;
  height: 3px;
  background: #e63946;
  width: 160px;             /* narrower, looks classy */
  margin: .25rem 0 1rem;    /* flush left under the heading */
}

/* Icons next to h3 */
.home-article h3 i {
  margin-right: .5rem;
  font-size: 1rem;
  vertical-align: middle;
}

/* Paragraphs and “Learn more” link style reuse */
.home-article p { color: #444; margin-bottom: .75rem; }

/* Clean bullet list with check icons via CSS */
.home-article .bulleted {
  list-style: none;
  padding-left: 0;
  margin-top: .5rem;
}
.home-article .bulleted li {
  position: relative;
  padding-left: 1.6rem;
  margin: .35rem 0;
}
.home-article .bulleted li::before {
  content: "\f058";                 /* Font Awesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #2f9e44;
  position: absolute;
  left: 0;
  top: 0;
}

/* Keep CTA buttons consistent */
.home-article .card-cta {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: #e63946;
  border: 1px solid #e63946;
  padding: .45rem .85rem;
  border-radius: 8px;
  margin: .4rem 0 1rem;
  transition: background .2s ease, color .2s ease;
}
.home-article .card-cta:hover { background: #e63946; color: #fff; }

/* Home intro */
.home-intro p {
  font-size: 1.25rem;   /* bigger font */
  color: #444;
  margin-bottom: 1rem;
}

/* Make Marodani bold + red */
.home-intro p strong {
  color: #e63946;
  font-weight: 700;
}

/* Style for the second paragraph (last child) */
.home-intro p:last-child {
  text-align: left;
  font-weight: 600;
  position: relative;
  padding-top: 1rem;
}


/* Responsive: reduce right padding on small screens */
@media (max-width: 640px) {
  .home-article .wrap { padding-right: 1.25rem; }
}


.form-msg { margin-top: .5rem; font-size: .95rem; }
.form-msg.ok { color: #2c7a2c; }
.form-msg.err { color: #e63946; }
input:invalid, textarea:invalid { border-color: #e63946; }