@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #013b31;
    --primary-light: #0d5d4f;
    --accent-color: #fecb00;
    --accent-hover: #e6b800;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-800: #343a40;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

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

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

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

/* Layout Utilities */
.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Header */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    transition: var(--transition);
}

.top-bar {
    background: #f1f3f5;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--primary-color);
}

.top-bar a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-light);
}

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

.nav {
    padding: 1rem 0;
    transition: var(--transition);
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links li a {
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.mt-1 {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(rgba(1, 43, 36, 0.8), rgba(1, 43, 36, 0.8)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 span {
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 1px;
}

/* Hero Trust Badges */
.hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-badges img {
    height: 45px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 4px;
    border-radius: 4px;
}

.hero-trust-badges span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    border-left: 2px solid var(--accent-color);
    padding-left: 1rem;
    line-height: 1.2;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Budget Form */
.budget-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.budget-form h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.budget-form p {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    color: #555;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

input,
select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus {
    border-color: var(--primary-color);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: 500;
}

.checkbox input {
    width: auto;
}

.btn-block {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1rem;
}

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

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Why Us Section */
.why-us {
    background: var(--primary-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/pattern.png') repeat;
    /* Fallback if pattern exists, otherwise invisible */
    opacity: 0.05;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-item {
    display: flex;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--accent-color);
}

.feature-text p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Partners */
.partners {
    padding: 4rem 0;
    background: var(--bg-light);
}

.partners-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.partners-flex img {
    height: 50px;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.partners-flex img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Testimonials */
.testimonials {
    background: #ffffff;
    padding: 6rem 0;
}

.testimonials .section-title {
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: #fff;
    border-color: var(--accent-color);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-card .stars {
    color: var(--accent-color);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}


/* Footer */
.footer {
    background: #001f1a;
    color: var(--text-light);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero {
        text-align: center;
        padding-top: 12rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    z-index: 10;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
    color: var(--text-dark);
}

.modal-body h1,
.modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-body h3 {
    color: var(--primary-light);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-body p,
.modal-body li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.modal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}