/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-red: #cc0000;
    --dark-bg: #1a1a1a;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f4f4f4;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-red { color: var(--primary-red); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.bg-red { background-color: var(--primary-red); }
.mt-20 { margin-top: 20px; }

.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Add background image placeholders for dark sections */
.hero {
    background-image:  url('../images/banner-2.png');
}

.cta-banner {
    background-image: url('../images/background-img.png');
    padding: 80px 0;
}
.pre-footer {
    background-image: url('../images/cta-bg-img.png');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

.pattern-bg {
    background-color: var(--light-gray);
    /* Subtle geometric pattern placeholder */
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23e0e0e0"/></svg>');
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-red:hover {
    background-color: #a30000;
}

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

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

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

.btn-dark:hover {
    background-color: #000;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 40px 0px 80px 0px;
}
@media (max-width:768px) {
.hero .container.call-btn {
text-align: center!important;
}
}
@media (min-width:780px) {

.hero.section-dark {
background-color: #ffffff;
    color: var(--white);
}
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.logo {
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-benefits {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 0.9rem;
}

.hero-benefits .check {
    color: var(--primary-red);
    margin-right: 5px;
    font-size: 1.2rem;
}

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

/* Forms */
.hero-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 30px 30px 30px;
    border-radius: 5px;
    width: 100%;
    max-width: 450px;
    position: relative;
    border: 1px solid #ddd;
}

.form-header {
    background-color: var(--primary-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 10px 20px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    white-space: nowrap;
}

.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group-row {
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
}

/* ==========================================================================
   LAYOUT SECTIONS (INTRO & WHY CHOOSE)
   ========================================================================== */
.intro-section, .why-choose-section {
    padding: 80px 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content, .split-image {
    flex: 1;
}

.split-content h2 {
    font-size: 2.5rem;
}

.split-content p {
    margin-bottom: 20px;
}

/* Red Offset Image Effect */
.image-offset-red {
    position: relative;
    z-index: 1;
}

.image-offset-red::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    z-index: -1;
}

.image-offset-red img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Lists */
.custom-list {
    list-style: none;
    margin-bottom: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '♦';
    color: var(--primary-red);
    position: absolute;
    left: 0;
    top: 0;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* ==========================================================================
   PRE-FOOTER (MAPS & CONTACT)
   ========================================================================== */

.pre-footer .containers {
 display: flex;
}

@media (min-width: 1199px){
.pre-footer .containers {
    max-width: 1200px;
    margin: 0 auto;
}
}

.pre-footer .bg-red {
background-color: rgb(204 0 0 / 43%);
}

.pre-footer .contact-column.section-dark{
    background-color: rgb(26 26 26 / 80%);
}

.map-column, .contact-column {
    flex: 1;
    padding: 60px 40px;
}

.map-container {
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.map-address {
    font-weight: 700;
}

.form-wrapper-dark {
    max-width: 450px;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-main {
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.footer-split {
    display: flex;
    align-items: stretch;
    padding: 0; /* Reset container padding for full height background on right */
}

.footer-logo-area {
    flex: 1;
    padding: 40px 20px 40px 0;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.social-icons .icon {
    display: inline-block;
    color: var(--primary-red);
    margin-right: 15px;
    margin-top: 15px;
    font-weight: bold;
}

.footer-cta-area {
    flex: 2;
    padding: 40px;
    color: var(--white);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

.footer-cta-content {
    max-width: 600px;
    margin-left: auto;
}

.footer-cta-content h2 {
    margin-bottom: 10px;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.footer-phone strong {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.footer-phone span {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.small-disclaimer {
    font-size: 0.8rem;
    margin-top: 15px;
    font-style: italic;
}

.copyright-bar {
    background-color: #000;
    color: #666;
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .split-layout, .pre-footer, .footer-split { flex-direction: column; }
    .image-offset-red::before { bottom: -10px; left: -10px; }
    
    .footer-cta-area {
        clip-path: none;
        padding: 40px 20px;
    }
    
    .footer-logo-area {
        padding: 40px 20px;
        text-align: center;
    }
    
    .footer-cta-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .footer-actions {
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-benefits { justify-content: center; }
    .hero-actions { flex-direction: column; }
    .form-group-row { flex-direction: column; }
    .hero h1 { font-size: 2.2rem; }
    .map-column, .contact-column { padding: 40px 20px; }
    .pre-footer .containers {
         display: block;       
    }
}