/* CSS Variables - New Color Palette */
:root {
    --primary-color: #FF99C1;     /* Main Pink */
    --secondary-color: #7272AB;   /* Purple */
    --accent-color: #CBEEF3;      /* Light Blue */
    --text-dark: #080705;         /* Near Black */
    --text-light: #CBEEF3;        /* Light Blue */
    --background-light: #FFF5F9;  /* Very Light Pink */
    --background-dark: #080705;   /* Near Black */
    --border-color: #FF99C1;      /* Main Pink Border */
    --success-color: #7272AB;     /* Purple for success */
    --warning-color: #FF99C1;     /* Pink for warning */
    --error-color: #7272AB;       /* Purple for error */
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.nav-logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background-color: var(--background-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
}

.stat {
    text-align: center;
    min-width: 200px;
}

.stat h3 {
    color: var(--primary-color);
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: visible;
    line-height: 1;
}

.stat p {
    font-size: 1.4rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual {
    position: relative;
    width: 350px;
    height: 350px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(255, 153, 193, 0.4);
    animation: pulse 3s ease-in-out infinite;
}

.fitness-icon-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: float 2s ease-in-out infinite;
}

.icon-circle:nth-child(1) {
    animation-delay: 0s;
}

.icon-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.icon-circle:nth-child(3) {
    animation-delay: 1s;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.circle-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.circle-top {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.circle-middle {
    font-size: 5rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.circle-bottom {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

.image-placeholder {
    width: 300px;
    height: 300px;
    background-color: var(--background-light);
    border: 3px dashed var(--border-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    opacity: 0.6;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 153, 193, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-decorative {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.deco-icon {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.deco-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.deco-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.deco-2 {
    top: 20%;
    right: 8%;
    animation-delay: 1.5s;
}

.deco-2 i {
    color: var(--secondary-color);
}

.deco-3 {
    bottom: 15%;
    left: 10%;
    animation-delay: 3s;
}

.deco-3 i {
    color: var(--accent-color);
}

.deco-4 {
    bottom: 25%;
    right: 5%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.about-text {
    position: relative;
    z-index: 1;
    text-align: left;
}

.about-content-with-image .about-text {
    padding: 2rem 0;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.4;
}

.about-text > p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about-text p em {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.credentials {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.credential {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--background-light);
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

.credential i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--background-light);
}

.ai-feature-banner {
    margin-top: 2rem;
    padding: 1.2rem 1.5rem;
    background-color: var(--background-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-feature-banner i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.ai-feature-banner p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
    opacity: 1;
    font-weight: 500;
}

.ai-feature-banner strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.client-login-section {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
}

.client-login-section p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-dark);
    opacity: 1;
    font-weight: 500;
}

.client-login-link {
    color: var(--success-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.client-login-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

/* BMI Calculator Section */
.bmi-calculator {
    padding: 80px 0;
    background-color: #ffffff;
}

.bmi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.bmi-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
}

.bmi-form h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-group select {
    flex: 0 0 80px;
}

.bmi-result {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
}

.bmi-display {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 15px;
}

.bmi-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bmi-category {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bmi-description {
    opacity: 0.7;
}

.bmi-chart h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.chart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.chart-item.underweight {
    background-color: #e3f2fd;
    color: #1976d2;
}

.chart-item.normal {
    background-color: #e8f5e8;
    color: var(--success-color);
}

.chart-item.overweight {
    background-color: #fff3e0;
    color: var(--warning-color);
}

.chart-item.obese {
    background-color: #ffebee;
    color: var(--error-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
}

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

.author-image i {
    font-size: 3rem;
    color: var(--primary-color);
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-methods {
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-method i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 20px;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: #ffffff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-logo p {
    opacity: 0.7;
    color: #ffffff;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

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

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.6;
    color: #ffffff;
    margin-bottom: 0;
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
    .hero-container,
    .bmi-content,
    .contact-content,
    .about-content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        padding: 0 1rem;
    }
    
    .about-content-with-image .about-text {
        text-align: center;
    }
    
    .about-image img {
        max-width: 350px;
    }
    
    .deco-icon i {
        font-size: 3rem;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .credentials {
        gap: 0.8rem;
    }
    
    .credential {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        justify-content: center;
        margin: 3rem 0;
    }
    
    .stat {
        min-width: 180px;
    }
    
    .stat h3 {
        font-size: 3.5rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    .stat p {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Small screens (mobile phones) */
@media (max-width: 480px) {
    .ai-feature-banner {
        padding: 1rem;
        gap: 0.75rem;
    }

    .ai-feature-banner i {
        font-size: 1.2rem;
    }

    .ai-feature-banner p {
        font-size: 0.85rem;
    }

    .ai-feature-banner strong {
        font-size: 0.9rem;
    }

    .client-login-section {
        padding: 0.75rem;
    }

    .client-login-section p {
        font-size: 0.85rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        margin: 2rem 0;
    }
    
    .stat {
        min-width: 160px;
    }
    
    .stat h3 {
        font-size: 3rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    .stat p {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group select {
        flex: none;
    }
    
    /* Hide "Let's Connect" section on mobile */
    .contact-info {
        display: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-container,
    .nav-container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    
    .image-placeholder {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }
    
    .about-image .image-placeholder {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .about-image img {
        max-width: 300px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .about-text > p {
        font-size: 1rem;
    }
    
    .hero-visual {
        width: 300px;
        height: 300px;
    }
    
    .service-card,
    .bmi-form,
    .bmi-result,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-stats {
        justify-content: center;
        margin: 1.5rem 0;
    }
    
    .stat {
        min-width: 140px;
    }
    
    .stat h3 {
        font-size: 2.5rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    .stat p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .hero-visual {
        width: 250px;
        height: 250px;
    }
    
    .fitness-icon-container {
        gap: 0.5rem;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonial slide animations */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* BMI Result States */
.bmi-display.underweight .bmi-value {
    color: #1976d2;
}

.bmi-display.normal .bmi-value {
    color: var(--success-color);
}

.bmi-display.overweight .bmi-value {
    color: var(--warning-color);
}

.bmi-display.obese .bmi-value {
    color: var(--error-color);
}

/* Form Validation Styles */
.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.field-error {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
