/* Design B + A Refined: Hill & Nature & Sea & Wind */
:root {
    --primary-green: #88B04B;
    /* Greenery */
    --primary-blue: #4A90E2;
    /* Ocean Blue */
    --accent-blue: #E0F7FA;
    /* Light Sky/Sea */
    --secondary-bg: #F7F9F2;
    /* Off-white / Beige tint */
    --text-color: #4A4A4A;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-bg);
    line-height: 1.8;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.1);
    /* Slight transparency */
    backdrop-filter: blur(5px);
    position: fixed;
    /* Fixed for better UX */
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    opacity: 1.0;
    /* Transparent PNG with 100% opacity */
}

.logo-text {
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.header.scrolled .logo-text,
.header.scrolled .nav a {
    color: var(--primary-green);
    text-shadow: none;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: color 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    /* Gradient blending Green (Hill) -> Blue (Sea/Sky) */
    background: linear-gradient(135deg, #a8e063 0%, #4A90E2 100%);
    color: var(--white);
    padding: 180px 0 120px;
    /* Adjusted for fixed header */
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Waves overlay for depth */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 60px;
    display: inline-block;
    width: 100%;
    /* Ensure centering works */
}

/* About */
.about {
    background-color: var(--white);
}

.about-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
}

.name {
    margin-top: 30px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

/* Services */
.services {
    background-color: var(--secondary-bg);
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.1);
    /* Blue-tinted shadow */
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid var(--primary-green);
}

.card:nth-child(2) {
    border-top-color: var(--primary-blue);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.card .icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--text-color);
}

/* Contact */
.contact {
    background: linear-gradient(to right, #eef2f3, #8e9eab);
    /* Clean metallic/water feel */
    background: linear-gradient(120deg, var(--secondary-bg) 0%, var(--accent-blue) 100%);
    position: relative;
    padding-top: 150px;
}

.wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-top path {
    fill: var(--secondary-bg);
    /* Match previous section bg if needed, or white if needed */
}

/* Fix for wave continuity: About(White) -> Services(Secondary) -> Contact (Gradient)
   The top wave of Contact needs to transition from Services(Secondary) to Contact(Gradient).
   Actually, let's keep it simple: Services ends with Secondary BG.
   Contact top wave should be same color as Services BG? Or simple white separator?
   Let's make Contact wave white to separate clearly.
*/
.wave-top path {
    fill: var(--secondary-bg);
}


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.input-group {
    margin-bottom: 25px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-size: 1rem;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.1s;
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.submit-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.recaptcha-text {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}