/* Color Palette & Variables */
:root {
    --primary-teal: #95D5D2;
    --primary-peach: #FFB5A7;
    --dark-blue: #004E64;
    --soft-bg: #F8FDFF;
    --text-color: #444;
}

* {
    margin: 0;
    padding: 0;
    /*box-sizing: border-box;*/
}
html{
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--soft-bg);
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Fredoka', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: white;
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
}

/* Logo Image Styling */
.logo img {
    height: 60px; /* Adjust this value until it looks right in your navbar */
    width: auto;  /* Maintains the aspect ratio so the logo doesn't look squished */
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Slight hover effect to make it feel interactive */
.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 800;
    font-size: 17px;
    transition: 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-peach);
}

.btn-cta {
    background: var(--dark-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(0deg, #d6efee 75%, #ffffff 100%);
    padding: 60px 8% 100px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg); /* Flips the wave to face upward */
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px); /* Slightly wider to prevent gaps */
    height: 115px; /* Adjust this to make the curve deeper or shallower */
}

.wave-divider .shape-fill {
    fill: #F8FDFF; /* This MUST match the background color of your next section (What we do) */
}


.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--dark-blue);
    line-height: 1.2;
}

.btn-main {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 35px;
    background: var(--dark-blue);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

.hero-image {
    position: relative;
    width: 450px;
}

.hero-image img {
    width: 100%;
    z-index: 2;
    position: relative;
}

/* Services Grid */
.services-section {
    padding: 40px 8% 100px;
    text-align: center;
}
.section-header h2{
    font-size: 45px;
}

.section-header h2 span { color: var(--primary-peach); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background: white;
    padding: 40px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s!important;
}
.service-box img{
    width: 40%;
}

.service-box:hover {
    transform: translateY(-10px)!important;
    transition: transform 0.3s!important;
}

.btn-box {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

/* Reviews */
.reviews {
    position: relative;
    background: #FFB5A7; /* Your Peach Color */
    padding: 0; /* Remove padding because the waves act as padding */
    margin: -2px 0; /* Prevents tiny lines between sections */
}
.review-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Makes cards same height */
    gap: 30px;            /* Space between cards */
    padding: 40px 10%;
    flex-wrap: wrap;      /* Allows them to stack on mobile */
}

.reviews-content {
    padding: 40px 8%;
    text-align: center;
    color: white;
}
.reviews-content h2{
    font-size: 45px;
}

.wave-top, .wave-bottom {
    width: 100%;
    line-height: 0;
}

.wave-top svg, .wave-bottom svg {
    display: block;
    width: 100%;
    height: 100px; /* Adjust height for deeper waves */
}

/* Ensure the background of the SVG matches your website background */
.wave-top path, .wave-bottom path {
    fill: #F8FDFF; 
}

/* Adjusting cards to look cleaner on the peach bg */
.review-card {
    background: white;
    color: #333;
    padding: 40px 30px;
    border-radius: 40px;  /* Extra rounded for that "bubbly" look */
    flex: 1;              /* Allows cards to grow equally */
    min-width: 300px;     /* Prevents them from getting too skinny */
    max-width: 450px;     /* Prevents them from getting too wide */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;         /* Ensure no default borders */
    margin-bottom: 20px;  /* Space for when they stack on mobile */
}
/* Name Styling */
.client-info h4 {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Quote Text Styling */
.review-card p {
    font-style: italic;
    line-height: 1.6;
    color: #666;
}

/* FAQ Section Wrapper */
.faq {
    padding: 40px 10%;
    background-color: #F8FDFF; /* Matches your main background */
    text-align: center;
}

.faq h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-blue);
    text-align: center;
}

.faq h2 span {
    color: var(--primary-peach);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Individual FAQ Item */
.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 2px solid #eef7f6; /* Very light teal border */
    overflow: hidden;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Hide the answer by default */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 30px; /* Remove vertical padding when closed */
    opacity: 0;
}

/* When the parent faq-item has the 'active' class, show the answer */
.faq-item.active .faq-answer {
    max-height: 200px; /* High enough to fit the text */
    padding: 0 30px 25px 30px;
    opacity: 1;
}

/* Rotate the icon when active */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-peach);
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}


/* Main Footer Wrapper */
.main-footer {
    background-color: #d6a69d; /* Your updated peach/dusty rose color */
    padding: 70px 10% 20px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

/* Left Side: Logo & Address */
.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-left img {
    height: 100px; 
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-address {
    line-height: 1.6;
    opacity: 0.9;
}

/* Titles */
.footer-middle h4, .footer-right h4 {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Links */
.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 12px;
    opacity: 0.8;
    transition: 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 8px; /* Smooth slide effect on hover */
}

/* Right Side: Contact Info with Icons */
.footer-right {
    flex: 1;
    min-width: 250px;
}

.contact-info {
    display: flex;
    align-items: flex-start; /* Aligns icon with first line of text */
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    font-size: 1.1rem;
    color: white;
    width: 20px; /* Ensures text stays aligned regardless of icon width */
    margin-top: 4px; /* Tiny adjustment to center with text */
}

.contact-info span {
    line-height: 1.5;
    opacity: 0.9;
}

/* Social Icons (Font Awesome Version) */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    color: white;
    font-size: 1.6rem; /* Size of the icons */
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.social-icons a:hover {
    transform: translateY(-5px); /* Bouncy effect */
    color: #004E64; /* Or any highlight color from your theme */
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    width: 100%;
}
/*=========================================================================================================================================*/

/* --- About Why Section --- */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 20px 10%;
}
.about-image{
    width: 80%;
}
.about-image img {
     width: 95%;
}
.about-text h2 {
    font-size: 45px;
}
.about-text h2 span{
    color: var(--primary-peach);
}
.why-list { list-style: none; margin: 20px 0; }
.why-list li { margin-bottom: 10px; font-weight: 600; color: #004E64; }
.why-list i { color: #d6a69d; margin-right: 10px; }

/* --- Gallery Grid --- */
.gallery-section{
    background: #d6efee;
}
.gallery-section h2{
    text-align: center;
}
.gallery-container{
    padding: 0px 10%;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 40px 0;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.service-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f2f2f2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(214, 166, 157, 0.2);
    border-color: #d6a69d;
}

.card-icon {
    font-size: 35px;
    color: #d6a69d;
    margin-bottom: 20px;
    background: #fdf6f5;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}

.service-card:hover .card-icon {
    background: #d6a69d;
    color: #ffffff;
}

.service-card h3 {
    font-family: 'Fredoka', sans-serif;
    color: #004E64;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


.gallery-item:hover img { transform: scale(1.05); }

/* --- Enquiry Form --- */
.enquiry-section { padding: 80px 10%; background: #fdf6f5;}
.enquiry-section h2{
    text-align: center;
    margin-bottom: 3%;
}
.enquiry-card { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.form-group { display: flex; gap: 20px; margin-bottom: 20px; }
.enquiry-form input, .enquiry-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
}
.enquiry-form textarea { height: 150px; margin-top: 20px;  width: 97%;}
.enquiry-form select.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #555;
    cursor: pointer;
    appearance: none; /* Removes default browser arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a69d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.enquiry-form select.form-input:focus {
    border-color: #d6a69d;
    outline: none;
}
.center-cta { text-align: center; margin-top: 30px; }
/*===========================================================================================================================================*/

/* Service Detail Sections */
.service-section-container{
    padding: 20px 10%;
}

.alt-bg {
    background-color: #fdf6f5; /* Light peach to separate sections */
}
.alt-bg-light {
    background-color: #d6efee; /* Light peach to separate sections */
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.flex-row-reverse {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
}

.service-img {
    flex: 1;
}

.service-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 15px 15px 0px #d6a69d; /* Decorative shadow */
}

.service-info {
    flex: 1;
}

.service-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

/* Form Dropdown Styling */
.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
}























/* --- Core Animation Settings --- */
.animate {
    opacity: 0;
    visibility: hidden; 
    transition: opacity 0.6s ease-out; /* Fallback */
}
.animate.show {
    opacity: 1;
    visibility: visible;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

/* 3. Define the Names ONLY for the show state */
.animate.show.zoom-in { animation-name: zoomIn; }
.animate.show.slide-up { animation-name: slideUp; }
.animate.show.slide-down { animation-name: slideDown; }
.animate.show.slide-left { animation-name: slideLeft; }
.animate.show.slide-right { animation-name: slideRight; }

/* --- Animation Keyframes --- */
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Optional: Delays so elements don't all pop at once */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

