/* css/style.css */
:root {
    --primary-red: #e63946; 
    --primary-dark: #ba1a1a;
    --dark: #0f0f0f;
    --nav-bg: #222222;
    --nav-bg-scrolled: #1a1a1a;
    --footer-bg: #1a1a1a;
    --section-dark-bg: #222222; 
    --card-dark-bg: #333333;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--white); color: #1a1a1a; overflow-x: hidden; }

/* --- SHARED NAVIGATION --- */
nav {
    position: fixed; top: 0; width: 100%; height: 95px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 8%; z-index: 2000; transition: var(--transition);
    background: rgba(30, 30, 30, 0.95); 
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
nav.scrolled, body.page-form nav { 
    height: 75px; 
    background: var(--nav-bg-scrolled); 
    border-bottom: 3px solid var(--primary-red); 
}
.logo-box { height: 100%; display: flex; align-items: center; max-width: 300px; z-index: 2001; }
.logo-box img { max-height: 65px; width: auto; object-fit: contain; transition: var(--transition); }
nav.scrolled .logo-box img, body.page-form .logo-box img { max-height: 50px; }

.nav-links { display: flex; list-style: none; gap: 40px; }
.nav-links a { 
    text-decoration: none; color: rgba(255,255,255,0.8); 
    font-weight: 700; font-size: 0.85rem; text-transform: uppercase; 
    letter-spacing: 1.5px; transition: var(--transition);
}
.nav-links a.active { color: var(--primary-red) !important; }
.nav-links a:hover { color: var(--white); }
.nav-links a.highlight { color: var(--primary-red); border: 1px solid var(--primary-red); padding: 10px 20px; border-radius: 4px; }
.nav-links a.highlight:hover { background: var(--primary-red); color: white; }

/* HAMBURGER MENU */
.hamburger { display: none; cursor: pointer; z-index: 2002; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: white; transition: var(--transition); }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), 
                url('../images/hero.jpg') no-repeat center center/cover;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    text-align: center; 
    color: white; 
    padding: 0 20px;
}
.hero h1 { font-size: clamp(3rem, 10vw, 6rem); line-height: 1; margin-bottom: 15px; font-weight: 900; text-transform: uppercase; }
.hero h1 span { color: var(--primary-red); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 3px; }
.btn-more { padding: 22px 55px; background: var(--primary-red); color: white; text-decoration: none; font-weight: 800; text-transform: uppercase; border-radius: 4px; transition: var(--transition); }

/* --- SERVICES --- */
.services-section { padding: 120px 0; background: var(--section-dark-bg); color: white; position: relative; }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 2.8rem; text-transform: uppercase; font-weight: 900; }

.slider-wrapper { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 100px; } 
.services-container { 
    display: flex; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    gap: 30px; 
    padding: 40px 0; 
    scrollbar-width: none; 
    scroll-snap-type: x mandatory;
    align-items: stretch;
}
.services-container::-webkit-scrollbar { display: none; }

.service-card { 
    width: 340px; 
    flex: 0 0 340px; 
    background: var(--card-dark-bg); 
    padding: 60px 40px; 
    border-left: 6px solid var(--primary-red); 
    border-top: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition); 
    scroll-snap-align: start; 
    scroll-snap-stop: always;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
}
.service-card p { line-height: 1.6; margin: 0; }
.service-card:hover { background: #3d3d3d; transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0,0,0,0.5); border-top-color: rgba(255,255,255,0.2); }
.service-card i { font-size: 3.5rem; color: var(--primary-red); margin-bottom: 30px; }

.nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; 
    background: var(--primary-red); color: white; border: none; cursor: pointer; z-index: 10; 
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.nav-arrow:hover { background: var(--white); color: var(--dark); transform: translateY(-50%) scale(1.1); }
.arrow-left { left: 20px; } 
.arrow-right { right: 20px; }

/* --- INFO ROWS --- */
.info-row { display: flex; align-items: center; padding: 120px 8%; gap: 100px; max-width: 1500px; margin: 0 auto; }
.img-container { flex: 1; aspect-ratio: 1 / 1; width: 100%; max-width: 500px; }
.img-container img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 20px 20px 0px var(--primary-red); }
.info-text { flex: 1; }
.info-text h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 35px; text-transform: uppercase; line-height: 1.1; }
.info-text li { list-style: none; margin-bottom: 25px; display: flex; align-items: center; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.info-text li i { color: var(--white); background: var(--primary-red); margin-right: 25px; padding: 12px; font-size: 1.1rem; }

/* --- FORM STYLES --- */
body.page-form { padding-top: 120px; }
.form-wrapper { max-width: 900px; margin: 0 auto 100px; padding: 0 20px; }
.form-header { text-align: center; margin-bottom: 50px; }
.form-header h1 { font-size: 3rem; font-weight: 900; text-transform: uppercase; color: var(--dark); }
.form-header span { color: var(--primary-red); }

form { background: var(--section-dark-bg); padding: 50px; border-radius: 8px; color: white; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.form-section { margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
.form-section h3 { text-transform: uppercase; letter-spacing: 2px; color: var(--primary-red); margin-bottom: 25px; font-size: 1.2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
label { margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; opacity: 0.9; }

input[type="text"], input[type="email"], input[type="tel"], select {
    padding: 14px; background: var(--card-dark-bg); border: 1px solid rgba(255,255,255,0.1);
    color: white; border-radius: 4px; font-size: 1rem; transition: var(--transition);
}
input:focus { outline: none; border-color: var(--primary-red); background: #3d3d3d; }

input[type="file"]::file-selector-button {
    background: var(--primary-red); border: none; padding: 8px 16px; border-radius: 4px;
    color: white; font-weight: 700; cursor: pointer; margin-right: 15px;
}

/* Signature & Checkbox */
.signature-container { background: #f9f9f9; border: 2px dashed rgba(255,255,255,0.3); border-radius: 4px; position: relative; margin-top: 10px; }
canvas#signature-pad { width: 100%; height: 200px; cursor: crosshair; display: block; }
.sig-controls { display: flex; justify-content: flex-end; padding: 10px; background: #eee; }
.clear-btn { background: #666; color: white; border: none; padding: 5px 15px; font-size: 0.75rem; text-transform: uppercase; font-weight: 700; cursor: pointer; border-radius: 3px; }

.check-container { display: flex; gap: 20px; margin-top: 10px; flex-wrap: wrap; }
.check-item { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; white-space: nowrap; }
.check-item input[type="checkbox"] { accent-color: var(--primary-red); cursor: pointer; }
.check-item span strong { color: var(--primary-red); text-decoration: underline; }
.conditional-fields { display: none; background: rgba(0,0,0,0.2); padding: 25px; border-radius: 4px; margin-top: 20px; border-left: 4px solid var(--primary-red); }

.submit-btn {
    width: 100%; padding: 20px; background: var(--primary-red); color: white;
    border: none; border-radius: 4px; font-size: 1.1rem; font-weight: 800;
    text-transform: uppercase; cursor: pointer; transition: var(--transition); margin-top: 20px;
}
.submit-btn:hover { background: var(--white); color: var(--dark); }

/* --- FLOATING BUTTONS --- */
.fab-container { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 3000; }
.fab-button { display: flex; align-items: center; gap: 12px; padding: 16px 32px; border-radius: 50px; color: white; text-decoration: none; font-weight: 900; text-transform: uppercase; transition: var(--transition); border: none; }
.fab-call { background: var(--primary-red); animation: pulse-glow 2s infinite; }
.fab-email { background: #333; }

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

/* --- FOOTER --- */
footer { background: var(--footer-bg); color: white; padding: 100px 5% 50px; text-align: center; border-top: 10px solid var(--primary-red); }

/* --- ERROR STATES --- */
.input-error { border: 2px solid #ff4444 !important; background-color: rgba(255, 68, 68, 0.05) !important; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.shake { animation: shake 0.3s ease-in-out; }
#error-box { background-color: #ffe6e6; color: #cc0000; padding: 15px; border-radius: 4px; border-left: 5px solid #cc0000; margin-bottom: 20px; font-weight: 700; display: none; text-align: center; }

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed; left: -100%; top: 0; gap: 0;
        flex-direction: column; background-color: var(--nav-bg);
        width: 100%; height: 100vh; text-align: center;
        transition: 0.3s; padding-top: 120px;
    }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 25px 0; }
    .nav-links a { font-size: 1.5rem; }

    .nav-arrow { display: flex; width: 45px; height: 45px; } 
    .arrow-left { left: 10px; }
    .arrow-right { right: 10px; }
    .slider-wrapper { padding: 0 10px; }
    .info-row { flex-direction: column !important; text-align: center; }
    .img-container { width: 100%; max-width: 400px; margin: 0 auto 50px; }
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    form { padding: 30px 20px; }
}

/* --- NEW: WHY US SECTION STYLES --- */
.why-us-section {
    background-color: #f8f9fa; /* Light grey background */
    padding: 100px 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    border-top: 1px solid #eee;
}

.why-us-header {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: #1D3557; /* Your brand dark blue */
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 700;
}

.why-us-sub {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Card Styling */
.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
    text-align: left; /* Aligns text inside card to left */
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-bottom: 4px solid var(--primary-red);
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-red);
}

.feature-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.feature-desc {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}