/* Palette: Petrol, Orange, Light Beige */
:root {
    --petrol: #006064;
    --dark-petrol: #00363a;
    --orange: #FF7043;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --text: #37474F;
    
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.factor-header { background: var(--white); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-row { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--text); }
.petrol { color: var(--petrol); }

.nav-menu a { margin-left: 25px; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; color: #78909C; }
.nav-menu a:hover, .nav-menu a.active { color: var(--orange); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--petrol); cursor: pointer; }
.mobile-menu-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--petrol); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu-overlay.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; color: var(--white); font-size: 2rem; background: none; border: none; cursor: pointer; }
.mobile-menu-overlay a { color: var(--white); font-family: var(--font-heading); font-size: 1.8rem; margin: 15px 0; }

@media (max-width: 900px) {
    .nav-menu { display: none; }
    .menu-toggle { display: block; }
}

/* Hero */
.hero-work { height: 80vh; background-size: cover; background-position: center; position: relative; }
.hero-shade { width: 100%; height: 100%; background: rgba(0, 96, 100, 0.6); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: var(--white); max-width: 700px; padding: 20px; }
.badge { background: var(--orange); color: var(--white); padding: 5px 10px; font-weight: 700; border-radius: 4px; font-size: 0.8rem; display: inline-block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #E0F7FA; }

.cta-row { display: flex; justify-content: center; gap: 20px; }
.btn-orange { background: var(--orange); color: var(--white); padding: 15px 35px; border-radius: 4px; font-weight: 700; }
.btn-orange:hover { background: #E64A19; }
.btn-white { background: var(--white); color: var(--petrol); padding: 15px 35px; border-radius: 4px; font-weight: 700; }

/* Services */
.section-head h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--petrol); margin-bottom: 10px; }
.orange-line { width: 60px; height: 4px; background: var(--orange); margin: 0 auto 40px; }
.orange-line.left { margin: 20px 0 40px; }
.orange-line.center { margin: 20px auto 40px; }
.text-center { text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); padding: 40px 20px; text-align: center; border-radius: 8px; border-bottom: 4px solid transparent; transition: 0.3s; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.service-card:hover { border-bottom-color: var(--orange); transform: translateY(-5px); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { color: var(--petrol); margin-bottom: 10px; font-family: var(--font-heading); }

/* Stats Bar */
.trust-bar { background: var(--petrol); padding: 60px 0; margin-top: 60px; color: var(--white); }
.trust-flex { display: flex; justify-content: space-around; text-align: center; }
.trust-item strong { display: block; font-size: 3rem; font-family: var(--font-heading); color: var(--orange); }
.trust-item span { font-size: 1rem; }

/* About */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-heading); font-size: 2.5rem; color: var(--petrol); }
.factor-list { margin-top: 30px; list-style: none; }
.factor-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.factor-list li::before { content: '✓'; color: var(--orange); position: absolute; left: 0; font-weight: 700; }
.about-img img { border-radius: 8px; box-shadow: 10px 10px 0 var(--orange); }

/* Testimonials */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-box { background: var(--white); padding: 30px; border-radius: 8px; border: 1px solid #eee; }
.r-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.r-tag { background: var(--light-bg); color: var(--petrol); padding: 2px 8px; font-size: 0.7rem; font-weight: 700; border-radius: 4px; }
.stars { color: #FFD700; }
.review-box p { font-style: italic; color: #555; margin-bottom: 20px; }
.r-author strong { display: block; color: var(--petrol); }
.r-author span { font-size: 0.8rem; color: #888; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--white); padding: 60px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.info-side h2 { font-family: var(--font-heading); color: var(--petrol); }
.alert-text { color: var(--orange); font-weight: 700; margin-bottom: 20px; }
.c-details { margin-top: 30px; line-height: 2; }

.factor-form .form-group { margin-bottom: 20px; }
.factor-form input, .factor-form select, .factor-form textarea { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 4px; font-family: var(--font-body); }
.factor-form input:focus, .factor-form select:focus, .factor-form textarea:focus { border-color: var(--petrol); outline: none; }
.submit-btn { width: 100%; background: var(--petrol); color: var(--white); border: none; padding: 15px; font-weight: 700; cursor: pointer; border-radius: 4px; transition: 0.3s; }
.submit-btn:hover { background: var(--dark-petrol); }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 8px; }
.legal-doc h1 { color: var(--petrol); font-family: var(--font-heading); }

/* Footer */
.factor-footer { background: #263238; color: #CFD8DC; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #455A64; padding-bottom: 30px; margin-bottom: 20px; }
.f-info h4 { color: var(--white); font-family: var(--font-heading); letter-spacing: 1px; }
.f-nav a { margin-left: 20px; color: #90A4AE; }
.f-nav a:hover { color: var(--orange); }
.copyright { text-align: center; font-size: 0.8rem; }

/* Cookie */
.cookie-popup { position: fixed; bottom: 20px; right: 20px; background: var(--white); padding: 20px 30px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); border-left: 5px solid var(--orange); display: none; z-index: 3000; }
.cookie-popup.active { display: block; }
.cookie-popup button { background: var(--petrol); color: var(--white); border: none; padding: 5px 15px; margin-top: 10px; cursor: pointer; border-radius: 4px; }

@media (max-width: 900px) {
    .grid-3, .about-split, .reviews-grid, .contact-card, .trust-flex { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .cta-row { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}