/* 
   Clevolunth Aqua Fitness
   Custom CSS Styles
*/

/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #1a8fe3;
    --primary-dark: #0c6cb3;
    --primary-light: #63b8ff;
    --secondary: #00e5ff;
    --accent: #ff6b6b;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-accent: linear-gradient(135deg, var(--accent), #ff9f43);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.7rem 5%;
    background-color: rgba(255, 255, 255, 0.98);
}

.logo-container {
    z-index: 1001;
}

.logo {
    height: 3rem;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    height: 2.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-main);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-main);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    margin-left: 1rem;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(135deg, #f8f9fa 30%, #e6f7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.reveal-text {
    position: relative;
    overflow: hidden;
    padding-bottom: 10px;
}

.reveal-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light);
    transform: translateX(-100%);
    animation: revealText 1.5s ease forwards;
}

@keyframes revealText {
    to {
        transform: translateX(100%);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(26, 143, 227, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(26, 143, 227, 0.3);
    color: white;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    z-index: 2;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    box-shadow: var(--shadow);
    animation: morphing 15s ease-in-out infinite;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    }
    25% {
        border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
    }
    50% {
        border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%;
    }
    75% {
        border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 40% 60% 70%;
    }
}

.shape-1, .shape-2 {
    position: absolute;
    background: var(--gradient-main);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -50px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: 10%;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.bubble-1 {
    width: 50px;
    height: 50px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 30px;
    height: 30px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 40px;
    height: 40px;
    bottom: 10%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5%;
    background-color: white;
}

.about-content, .about-visual {
    flex: 1;
}

.diagonal-header {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 2rem;
}

.diagonal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    width: 5px;
    height: 100%;
    background: var(--gradient-main);
    transform: skewX(-20deg);
}

.header-line {
    width: 80px;
    height: 3px;
    background: var(--gradient-main);
    margin: 1rem 0;
}

.value-cards {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.floating-image-container {
    position: relative;
    width: 90%;
    margin-left: auto;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.experience-badge {
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 120px;
    height: 120px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: var(--shadow);
}

.years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.text {
    font-size: 0.9rem;
    text-align: center;
    max-width: 90px;
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    background-color: #f8fdff;
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
}

.wave-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(120% + 1.3px);
    height: 120px;
}

.wave-divider path {
    fill: #FFFFFF;
}

.wave-divider.inverted {
    top: auto;
    bottom: 0;
    transform: rotate(180deg);
}

.benefits-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.benefit-content, .benefit-image {
    flex: 1;
}

.benefit-content h3 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.benefit-content h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gradient-main);
    bottom: -10px;
    left: 0;
}

.benefit-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.benefit-2, .benefit-4 {
    flex-direction: row-reverse;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 5rem 5%;
    background-color: white;
}

.services-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.services-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: var(--transition);
}

.service-card {
    flex: 0 0 calc(33.33% - 1.33rem);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-content {
    padding: 2rem;
}

.service-details {
    margin: 1.5rem 0;
    display: flex;
    justify-content: space-between;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon {
    font-size: 1.2rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.unit {
    color: var(--gray);
    font-size: 0.9rem;
}

.service-cta {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.service-cta:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 143, 227, 0.2);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 2rem;
}

.carousel-prev, .carousel-next {
    background: white;
    color: var(--primary);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary);
    color: white;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 8rem 5% 10rem;
    background-color: #f8fdff;
    position: relative;
}

.testimonials-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.testimonials-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    flex: 1;
    min-width: 300px;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-bubble {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: white;
    transform: rotate(45deg);
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
.contact {
    display: flex;
    background-color: white;
    padding: 0;
    overflow: hidden;
}

.contact-visual {
    flex: 1;
    position: relative;
    min-height: 600px;
}

.contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-pin {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.pin-icon {
    font-size: 2rem;
}

.location-details h4 {
    margin-bottom: 0.2rem;
}

.location-details p {
    color: var(--gray);
    margin-bottom: 0;
}

.contact-content {
    flex: 1;
    padding: 5rem;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 143, 227, 0.1);
}

.submit-button {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 143, 227, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #ddd;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        flex-direction: column;
        height: auto;
        padding-top: 6rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        max-width: 100%;
        text-align: center;
    }
    
    .about {
        flex-direction: column;
        gap: 4rem;
    }
    
    .about-content {
        order: 2;
    }
    
    .about-visual {
        order: 1;
    }
    
    .benefit-item {
        flex-direction: column !important;
        gap: 2rem;
    }
    
    .service-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .contact {
        flex-direction: column;
    }
    
    .contact-content {
        padding: 3rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .value-cards {
        flex-direction: column;
    }
    
    .service-card {
        flex: 0 0 100%;
    }
    
    .testimonials-gallery {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        width: 100%;
    }
    
    .contact-content {
        padding: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}


 .text-wrapper h2, .text-wrapper h3{
  margin-top: 20px;
  margin-bottom: 10px;
}

.text-wrapper h1{
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}
.text-wrapper h2{
  font-size: 1.5rem;
}

.text-wrapper{
  margin: 30px auto;
  max-width: 1200px;
  padding: 20px;
}