:root {
    /* Colors */
    --primary: #0a2540; /* Navy Blue - Trust */
    --secondary: #0056b3; /* Lighter Blue */
    --accent: #ff4742; /* Urgent Red/Orange */
    --accent-hover: #e03a35;
    --whatsapp: #25d366;
    --whatsapp-hover: #128c7e;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Variables */
    --header-height: 80px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

body {
    background-color: var(--white);
    line-height: 1.6;
    /* Extra padding at bottom for mobile to not hide content behind the sticky bar */
    padding-bottom: 70px; 
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-highlight {
    color: var(--accent);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

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

.btn-danger {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 71, 66, 0.3);
}

.btn-danger:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-strong {
    animation: pulse 2s infinite;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge.pulse {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
}

.top-phone {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-phone:hover {
    color: var(--accent);
}

/* Header */
.header {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--secondary);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: var(--border-radius);
    top: 100%;
    left: 0;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.grid-dropdown {
    min-width: 350px;
    display: none; /* Initially hidden, grid when shown */
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--secondary);
    padding-left: 25px; /* Slight indent on hover */
}

.dropdown:hover .dropdown-content {
    display: block; /* Fallback */
    opacity: 1;
    transform: translateY(0);
}

.dropdown:hover .dropdown-content.grid-dropdown {
    display: grid;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
}

/* Hero */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - 40px);
    min-height: 500px;
    display: flex;
    align-items: center;
    background-image: var(--hero-image, url('assets/hero-bg.png'));
    background-size: cover;
    background-position: center;
    background-color: var(--primary); /* fallback */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.trust-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-overlay { background: rgba(10, 37, 64, 0.8); }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .top-bar-content { flex-direction: column; gap: 5px; }
    .header-cta { display: none; }
}

/* Features */
.features {
    background-color: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border-bottom: 4px solid var(--secondary);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.keyword-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.keyword-service-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #dfe7ef;
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    text-align: center;
}

/* About */
.about-seo {
    background-color: var(--white);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 40px;
    align-items: center;
}

.split-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.split-section p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.info-panel {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 28px;
    border-left: 4px solid var(--secondary);
}

.info-panel ul {
    list-style: none;
}

.info-panel li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text-main);
    font-weight: 600;
}

.info-panel li:last-child {
    margin-bottom: 0;
}

.info-panel i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 2px;
}

/* Blog */
.blog-hero {
    position: relative;
    background-color: var(--primary);
    background-image: var(--hero-image, url('assets/hero-bg.png'));
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10, 37, 64, 0.92), rgba(10, 37, 64, 0.58));
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 900;
    max-width: 850px;
}

.blog-hero p {
    max-width: 760px;
    font-size: 1.15rem;
    opacity: 0.92;
}

.blog-hero .keyword-service-grid {
    max-width: 520px;
}

.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 18px;
}

.blog-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

.post-body {
    max-width: 780px;
}

.post-section {
    margin-bottom: 34px;
}

.post-section h2,
.post-cta h2,
.post-sidebar h2 {
    font-size: 1.7rem;
    font-weight: 800;
}

.post-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.post-cta {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 28px;
    margin-top: 40px;
}

.post-cta p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.post-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 12px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 22px;
}

@media (max-width: 900px) {
    .blog-content-grid {
        grid-template-columns: 1fr;
    }

    .post-sidebar {
        position: static;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .split-section h2 {
        font-size: 1.8rem;
    }
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .cta-container { flex-direction: column; text-align: center; }
}

/* Localities */
.localities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.locality-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.locality-link:hover {
    background: var(--white);
    border-color: var(--secondary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateX(5px);
}

.locality-link i {
    color: var(--accent);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.logo-footer .logo-title {
    color: var(--white);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.m-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.m-call {
    background-color: var(--accent);
}

.m-whatsapp {
    background-color: var(--whatsapp);
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
}
