/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --main-color: #215C3D;
    --secondary-color: #dcc9b0;
    --accent-color: #aea781;
    --coral-color: #215C3D;
    --text-color: #4a3c2a;
    --light-bg-color: #f8f6f2;
    --card-bg-color: #ffffff;
    --light-text-color: #fff;
    --footer-bg-color: #f2f0ec;
    --card-radius: 18px;
    --img-radius: 80px;
    --img-margin: 40px;
    --gap: 20px;
}

/* Base Styles & Typography */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
    background-color: var(--light-bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    
}

.font-garamond {
    font-family: garamond, serif;
    
}

/* Header & Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: transparent;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {

    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 90px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 105px;
    width: auto;
    transition: height 0.3s ease;
}

.menu-bar {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    top: 20px;
    width: fit-content;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--main-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--main-color);
    z-index: 1001;
}

/* Hero Section */
.hero {
    background: url("image/bg22.jpeg") no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.heading-logo {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 1rem;
}

.h1-size-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: normal;
    margin: 0 0 1rem 0;
    color: #4CAF50;
}

.hero-subtext {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 600px;
    color: black;
}

.cta-button {
    display: inline-block;
    background: #62B46C;
    color: var(--light-text-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid #62B46C;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--card-bg-color);
    color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Sections */
.services, .wellness-packages, .why-choose, .detailed-services, .research {
    padding: 100px 0;
}

.services, .why-choose, .detailed-services, .research {
    background: var(--footer-bg-color);
}

.wellness-packages {
    background: var(--footer-bg-color);
}

.section-title {
    font-family: garamond, serif;
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color:var(--main-color);
    margin-bottom: 3rem;
    position: relative;
}

.wellness-packages .section-title,
.research .section-title {
    color:var(--main-color);
}
        .wellness-packages .card-image img {
            transition: transform 0.5s ease;
        }

        .wellness-packages .card-image:hover img {
            transform: scale(1.03);
        }

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--card-bg-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-content {
    padding: 2rem;
    flex-grow: 1;
}

.service-card-content h3 {
    color:var(--main-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card-content p {
    margin-bottom: 1rem;
}

/* Card Container Styles for Packages Section */
.card-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding: 8px;
}

.card {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.card-image {
    flex: 0 0 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--img-margin);
    background: #fff;
}

.card-image img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: clamp(220px, 30vw, 360px);
    object-fit: cover;
    margin: 0;
    transition: transform 0.5s ease;
    border-top-left-radius: var(--img-radius);
    border-bottom-right-radius: var(--img-radius);
}

.card-content {
    flex: 1 1 52%;
    padding: clamp(16px, 2.6vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background-color: #fff;
}

.card h2 {
    margin: 0;
   color:var(--main-color);
    font-size: clamp(20px, 2.6vw, 26px);
    line-height: 1.15;
}

.card p {
    margin: 0;
    color: #444;
    line-height: 1.5;
}

/* Package Features */
.package-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 1rem;
    color: #333;
}

.package-features li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 6px 0;
}

.package-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--main-color);
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.9;
    color: var(--main-color);
}

.research-impact-container {
    margin-top: 3rem;
}

.research-impact {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    backdrop-filter: blur(10px);
     text-align: center;
}

.research-impact p {
    color: var(--main-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

.research-impact .source-link {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.research-impact .source-link a {
    color: inherit;
    text-decoration: underline;
}

.research-impact .impact-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Outcome Cards */
.outcomes-section {
    margin-top: 4rem;
}

.outcome-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    margin: 2rem 0;
}

.outcome-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.outcome-icon i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.outcome-card h3 {
    color: var(--main-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.outcome-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.outcome-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.outcome-list li i {
    margin-right: 0.5rem;
    font-size: 1rem;
    flex-shrink: 0;
    color: var(--main-color);
}

.outcome-list li strong {
    color: var(--main-color);
    font-weight: 600;
}

/* Detailed Services */
.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.detailed-service-card {
    background: var(--card-bg-color);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.detailed-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.detailed-service-image {
    height: 200px;
    overflow: hidden;
}

.detailed-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detailed-service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.detailed-service-title {
    font-family: garamond, serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--main-color);
    font-weight: 700;
}

.detailed-service-description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    flex-grow: 1;
}

/* Mobile Carousel */
.mobile-carousel {
    display: none;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--coral-color);
}

/* Footer */
.new-footer-section {
    background-color: var(--footer-bg-color);
    padding: 60px 0;
}

.new-footer-main {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: left;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.new-footer-about {
    max-width: 400px;
}

.new-footer-about p {
    margin-top: 1rem;
    line-height: 1.8;
    color: #555;
}

.ps4wellbeing-logo img {
    max-width: 300px;
    height: auto;
}

.social-icons {
    margin-top: 1rem;
    text-align: left;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
    color: var(--main-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.new-footer-links {
    flex-grow: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.new-footer-links h4 {
    color: var(--main-color);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.new-footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.new-footer-links a {
    text-decoration: none;
    color: #555;
    transition: color 0.3s ease;
}

.new-footer-links a:hover {
    color: var(--main-color);
}

.new-footer-links li {
    margin-bottom: 0.5rem;
}

/* Main Footer */
footer#contact-details {
    background:#62B46C;
    color: var(--light-text-color);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h2 {
    margin-bottom: 1rem;
  color:var(--main-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    margin-top: 2rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn img {
    width: 30px;
    height: 30px;
}

/* Animation */
[data-animated] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animated].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries for Responsiveness */

/* Desktop Alternate Layout (769px and up) */
@media (min-width: 769px) {
    .card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* Tablet & Large Screen Optimizations */
@media (max-width: 1024px) {
    .detailed-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Responsive Styles (768px and below) */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
        height: auto;
    }
    
    
    header.scrolled {
        height: auto;
    }

    .logo-image {
        height: 60px;
    }

    .menu-bar {
        background: none;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        top: 0;
        width: 100%;
        display: block;
    }

 .nav-links {
        /* Keep all original properties except display: none */
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--card-bg-color);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 1rem;

        /* Add these new properties for the animation */
        display: flex; /* Make it a flex container by default */
        opacity: 0; /* Start fully transparent */
        visibility: hidden; /* Hide it from screen readers and clicks */
        transform: translateY(-20px); /* Start slightly moved up */
        transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s; /* Animate these properties */
    }

.nav-links.active {
    opacity: 1; /* Make it fully visible */
    visibility: visible; /* Make it accessible again */
    transform: translateY(0); /* Move it back to its original position */
}


    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-content {
        padding: 2rem 0;
    }

    .heading-logo {
        width: 100%;
        max-width: 400px;
    }

    .detailed-services-grid {
        display: none;
    }

    .mobile-carousel {
        display: block;
    }

    .service-card-image {
        height: 200px;
    }

    .card {
        flex-direction: column !important;
    }

    .card-image {
        padding: 30px;
    }

    .card-image img {
        height: 220px;
        border-top-left-radius: 60px;
        border-bottom-right-radius: 60px;
    }

    .new-footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .new-footer-about, .new-footer-links {
        width: 100%;
        text-align: center;
    }

    .social-icons {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .outcome-list li {
        flex-direction: column;
        text-align: center;
    }

    .outcome-list li i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    
    }
}
