* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Top Bar */

.top-bar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: #f5f5f5;
}

.top-left img {
    height: 60px;
    width: auto;
    display: block;
}

.top-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-weight: 500;
    font-size: 16px;
    color:#666;
}

.top-right {
    text-align: right;
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: flex-end;
}

.top-right a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.top-right a:hover {
    color: #6aaa3b;
}

.divider {
    color: #000000;
}

/* Nav Bar */

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 10px 40px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 35px;
}

.navbar nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
}

.navbar nav a:hover {
    color: #6aaa3b;
}

.btn-quote {
    margin-left: auto;
    background: #6aaa3b;
    color: white;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: 600;
    border-bottom: none;
    text-decoration: none;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-quote:hover {
    background: #5a8c2b;
    color: white;
}

/* Hero Section */

.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;

    background-color: #63b8dc;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url("images/hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    margin-top: 0;
    font-size: 52px;
    line-height: 1.2;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero p {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #6aaa3b;
    color: white;
}

.btn-primary:hover {
    background: #5a8c2b;
}

.btn-secondary {
    background: #6aaa3b;
    color: white;
}

.btn-secondary:hover {
    background: #5a8c2b;
}

/* About Section */

.about {
    padding: 25px 40px 25px;
    background: #f7fbf5;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.about-image {
    position: relative;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.15)
    );
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 18px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.about-text {
    background: white;
    padding: 45px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-left: -60px;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 16px;
}

/* Services Section */

.services {
    padding: 0px 40px 40px;
    background: #ffffff;
    text-align: center;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.services-intro {
    color: #666;
    margin-bottom: 30px;
}

/* Grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Cards */

.service-card {
    background: #f7fbf5;
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Tick list */

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

.service-card li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #6aaa3b;
    font-weight: bold;
}

/* Plans */

.service-plans {
    display: inline-block;
    margin-top: 30px;
    background: #6aaa3b;
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(106,170,59,0.25);
}

.service-plans h3 {
    margin: 0 0 10px 0;
}

/* Reviews Section */

.reviews {
    padding: 30px 40px 70px;
    background: #f7fbf5;
    text-align: center;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews h2 {
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.reviews-intro {
    color: #666;
    margin-bottom: 35px;
}

.reviews-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
}

.review-highlight {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.stars {
    color: #f5b301;
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.review-highlight h3 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #333;
}

.review-highlight p {
    margin: 0;
    color: #555;
    font-size: 15px;
}

/* Review Carousel */

.reviews-slider {
    overflow: hidden;
    width: 100%;
    border-radius: 18px;
}

.review-track {
    display: flex;
    width: 400%;
    animation: slideReviews 24s infinite;
}

.review-card {
    width: 25%;
    flex-shrink: 0;
    background: white;
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.review-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 18px;
}

.review-card h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

@keyframes slideReviews {
    0%, 20% {
        transform: translateX(0);
    }

    25%, 45% {
        transform: translateX(-25%);
    }

    50%, 70% {
        transform: translateX(-50%);
    }

    75%, 95% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Quote Section */

.quote {
    padding: 30px 40px 70px;
    background: #ffffff;
}

.quote-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.quote-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.quote-form {
    background: #f7fbf5;
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.quote-form textarea {
    resize: vertical;
}

.quote-form button {
    width: 100%;
    background: #6aaa3b;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.quote-form button:hover {
    background: #5a8c2b;
}

/* Privacy Policy Page */

.privacy-policy {
    min-height: 100vh;
    padding: 80px 40px;
    background: #f7fbf5;
}

.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.privacy-container h1 {
    margin-top: 0;
    color: #333;
}

.privacy-container h2 {
    margin-top: 35px;
    color: #333;
    font-size: 24px;
}

.privacy-container p {
    color: #555;
    line-height: 1.8;
}

/* Footer */

.footer {
    background: #eef0ee; /* similar to top bar */
    border-top: 3px solid #6aaa3b;
    text-align: center;
    padding-top: 35px;
}

.footer h3 {
    margin: 0 0 20px;
    color: #333;
    font-size: 24px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-contact a,
.footer-contact p {
    margin: 0;
    color: #555;
    text-decoration: none;
    font-size: 16px;
}

.footer-contact a:hover {
    color: #6aaa3b;
}

.footer-bottom {
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #d8d8d8;
}

.footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* Mobile */

@media (max-width: 900px) {

    /* Top bar */
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        text-align: center;
    }

    .top-center {
        position: static;
        transform: none;
        white-space: normal;
        font-size: 16px;
    }

    .top-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .navbar nav {
        position: static;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .btn-quote {
        margin-left: 0;
    }

    /* Hero */
    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .about {
        padding: 50px 20px;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 450px;
    }

    .about-text {
        margin-left: 0;
        margin-top: -70px;
        padding: 30px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .services {
        padding: 0px 40px 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .reviews {
    padding: 30px 40px 70px;
    }

    .reviews-content {
        grid-template-columns: 1fr;
    }

    .review-highlight {
        padding: 24px;
    }

    .review-card {
        padding: 26px;
    }

    .quote {
    padding: 50px 20px;
    }

    .quote-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 25px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 50px 20px;
    }
}

@media (max-width: 1100px) {
    .top-center {
        display: none;
    }
}

@media (max-width: 1200px) {
    .top-center {
        font-size: 16px;
    }
}



