/* ======================================
   GLOBAL STYLES
====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enable smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 80px; /* space for fixed navbar */
}

img {
    max-width: 100%;
    display: block;
}

/* ======================================
   NAVBAR
====================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1rem 3rem;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.logo img {
    width: 200px;
    max-width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1abc9c;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

/* ======================================
   HERO SECTION
====================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 3rem;
    background: #f0fcff;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: #1abc9c;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.4);
}

.btn-primary:hover {
    background-color: #16a085;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(26, 188, 156, 0.5);
}

.hero-image img {
    border-radius: 10px;
}

/* ======================================
   SECTION HEADERS
====================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1abc9c;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1rem;
    color: #555;
}

/* About intro specifically */
.about-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

/* ======================================
   SERVICES
====================================== */
.services {
    padding: 6rem 3rem;
    background-color: #ffffff;
    scroll-margin-top: 120px; /* fixes anchor jump for navbar */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    background-color: #f9f9f9;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: #e0fcf8;
}

.service-card h3 {
    color: #1abc9c;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1.05rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    color: #555;
    font-size: 1rem;
    text-align: left;
}

.service-list li {
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.service-list li::before {
    content: "✓";
    color: #1abc9c;
    font-weight: 700;
    margin-right: 0.5rem;
}

.extras {
    font-size: 0.9rem !important;
    color: #666;
    margin-top: 0.8rem;
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #5ec6ab;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-card .price {
    display: block;
    font-size: 1.4rem;
    margin: 1rem 0;
}

.service-card .price {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.service-card .btn-service {
    display: block;
    margin: 1rem auto 0 auto;
    padding: 0.6rem 1.5rem;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    width: fit-content;
    transition: all 0.3s ease;
}

.service-card .btn-service:hover {
    background-color: #16a085;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(26,188,156,0.4);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================
   ABOUT
====================================== */
.about {
    padding: 4rem 3rem;
    background-color: #ffffff;
    scroll-margin-top: 170px; /* fixes anchor jump for navbar */
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.about-content img {
    border-radius: 10px;
    flex: 0 0 40%;
    max-width: 530px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about-intro {
    font-size: 1.6rem;
    font-weight: 700; 
    color: #1abc9c; 
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-cta {
    font-size: 1.2rem;
    font-weight: 700;
    color: #16a085;
    display: inline-block;
    margin-top: 3rem;
}

.about-cta a {
    text-decoration: underline;
    color: #16a085;
    transition: color 0.3s ease;
}

.about-cta a:hover {
    color: #149174;
}

@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .about-content img {
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }

    .about-text {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

/* ======================================
   CONTACT
====================================== */
.contact {
    padding: 6rem 3rem;
    background-color: #f0fcff;
    scroll-margin-top: 110px; /* fixes anchor jump */
}

.contact-form-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

#contact-form {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

#contact-form input,
#contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    width: 100%;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 8px rgba(26,188,156,0.3);
    outline: none;
}

#contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

#contact-form button {
    width: fit-content;
    padding: 0.8rem 2rem;
    border: none;
    background-color: #1abc9c;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-form button:hover {
    background-color: #16a085;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(26,188,156,0.4);
}

.contact-info {
    flex: 1 1 300px;
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-info .trust {
    margin-top: 1rem;
    font-weight: 600;
    color: #1abc9c;
}

/* ======================================
   SUCCESS MESSAGE
====================================== */
#success-message {
    position: fixed; /* floats over content */
    top: 20px; /* distance from top of viewport */
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #1abc9c;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2000;
}

#success-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
    .contact-form-container {
        flex-direction: column;
        align-items: center;
    }
}


/* Responsive tweaks */
@media (max-width: 1024px) {
    .contact-form-container {
        flex-direction: column;
        align-items: center;
    }
}


/* ======================================
   FOOTER
====================================== */

footer {
    background-color: #333;
    color: #fff;
    padding: 2.5rem 4rem;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-left h3 {
    margin: 0;
    font-size: 1.3rem;
}

.footer-left p {
    margin-top: 0.3rem;
    color: #ccc;
}

.footer-center {
    text-align: center;
}

.footer-center p {
    margin: 0;
}

.privacy-link {
    display: block;
    margin-top: 0.5rem;
    color: white;
    text-decoration: none;
}

.privacy-link:hover {
    color: #1abc9c;
}

.footer-right {
    display: flex;
    gap: 1rem;
}

.footer-right a {
    color: #1abc9c;
    font-size: 1.8rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-right a:hover {
    color: #16a085;
    transform: scale(1.2);
}

/* Mobile */

@media (max-width:768px) {

footer .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}



}

/* ======================================
   MEDIA QUERIES
====================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .about-content img {
        max-height: 350px;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        height: 100vh;
        width: 250px;
        flex-direction: column;
        background-color: #ffffff;
        padding: 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* ======================================
   SECTION ANCHOR FIX
====================================== */
section {
    scroll-margin-top: 90px; /* ensures anchor links stop above navbar */
}
/* ======================================
   SCROLL ANIMATIONS
====================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-cta-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #67c5ab;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    width: fit-content;
    align-self: flex-start;
}

.about-cta-btn:hover {
    opacity: 0.9;
}

.hero-badges {
    margin-top: 25px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 17px;
}

.hero-badges span {
    color: #555;
}

.reviews {
    padding: 5rem 3rem;
    background: #f0fcff;
    scroll-margin-top: 190px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.review-card p {
    color: #555;
    line-height: 1.6;
}

.review-card h4 {
    margin-top: 1rem;
    color: #333;
}

.stars {
    color: #1abc9c !important;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.contact-note{
    margin-top:20px;
    color:#666;
    font-size:15px;
}

.privacy-link {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin: 10px 0;
}

.privacy-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-image img {
        width: 100%;
        max-width: 420px;
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .hero-badges {
        justify-content: center;
        gap: 12px;
    }

    .popular-tag {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    .navbar {
        height: 120px;
        padding: 0.5rem 1.5rem;
    }

    .logo img {
        width: 150px;
    }

    .hero {
        padding-top: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(26, 188, 156, 0.18);
}

.service-card:nth-child(2) {
    background: #f0fcff;
    border: 2px solid #5ec6ab;
    transform: scale(1.03);
}

.service-card:nth-child(2):hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-card:nth-child(2) {
        transform: none;
    }

    .service-card:nth-child(2):hover {
        transform: none;
    }
}