/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #00BCD4;
    --primary-light: #00E5FF;
    --primary-lighter: #80DEEA;
    --primary-dark: #0097A7;
    --secondary-color: #FF7043;
    --accent-color: #FFB74D;
    --dark-color: #1a2332;
    --dark-light: #2c3e50;
    --light-color: #E0F2F1;
    --light-lighter: #B2DFDB;
    --gray-color: #90A4AE;
    --gray-light: #E0E0E0;
    --text-color: #01579B;
    --text-light: #455A64;
    --white: #fafaf8;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    color: var(--text-color);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--primary-light);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 0;
}

.logo-svg {
    width: 240px;
    height: 60px;
    display: block;
}

@media (max-width: 768px) {
    .logo-svg {
        width: 180px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-svg {
        width: 140px;
        height: 35px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    display: inline-block;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 7rem 2rem;
    text-align: center;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0 300 Q300 200 600 300 T1200 300 L1200 600 L0 600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--dark-light);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.features > .container > div:nth-child(2) {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--light-lighter);
    border-top: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-dark);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Services Preview */
.services-preview {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.services-preview h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 3px solid var(--primary-light);
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
}

.service-item h3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
}

/* Services Full Page */
.services-full {
    padding: 3rem 2rem;
}

.services-full h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.service-detail {
    background-color: white;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
}

.service-header h3 {
    font-size: 1.5rem;
}

.service-content {
    padding: 2rem;
}

.service-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background-color: var(--white);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.about-text h3,
.about-qualifications h3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.qualifications-list {
    list-style: none;
}

.qualifications-list li {
    padding: 1rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
}
    border-bottom: 1px solid var(--light-color);
}

.qualifications-list li:last-child {
    border-bottom: none;
}

.about-values {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.about-values h3 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-light);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
    transform: translateY(-3px);
}

.value-card h4 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background-color: var(--light-color);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
}

.contact-info h3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.social-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

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

.social-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 0.7rem 1.3rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-form,
.appointment-form {
    display: flex;
    flex-direction: column;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.1);
    background-color: var(--white);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Appointment Section */
.appointment-section {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.appointment-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0 200 Q300 300 600 200 T1200 200 L1200 600 L0 600 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

.cta-box {
    background-color: white;
    color: var(--dark-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    max-width: 600px;
}

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

.cta-box p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer p {
    margin-bottom: 1rem;
}

.social-links {
    color: var(--gray-color);
}

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

.social-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: nowrap;
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0.2rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        width: 100%;
        border-bottom: 2px solid var(--primary-light);
        box-shadow: var(--shadow-md);
        padding: 0;
        z-index: 99;
    }

    .nav-menu.active {
        max-height: 500px;
        overflow-y: auto;
        padding: 1rem 0;
    }

    .nav-menu li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 1.5rem;
        border-radius: 0;
        white-space: normal;
        font-size: 0.95rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--primary-lighter);
        color: var(--white);
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .features-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .social-icons {
        flex-direction: column;
    }

    .social-link {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 300px;
    }

    .features h2,
    .services-preview h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */

.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.review-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
    border-top: 4px solid var(--primary-color);
}

.review-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rating-select {
    margin-top: 0.5rem;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1rem;
    font-size: 2rem;
}

.stars-input input {
    display: none;
}

.star-label {
    cursor: pointer;
    color: var(--gray-light);
    transition: var(--transition);
    filter: grayscale(100%);
}

.stars-input input:checked ~ .star-label,
.star-label:hover,
.star-label:hover ~ .star-label {
    filter: grayscale(0%);
    color: var(--primary-color);
}

.reviews-container {
    margin-top: 4rem;
}

.reviews-container h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-light);
}

.review-card-info {
    flex: 1;
}

.review-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.review-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.review-card-rating {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.review-card-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-card-result {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Empty State */
.empty-reviews {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.empty-reviews h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-reviews p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsive Reviews */
@media (max-width: 768px) {
    .review-form-container {
        padding: 2rem 1.5rem;
    }

    .review-form-container h3 {
        font-size: 1.5rem;
    }

    .stars-input {
        gap: 0.8rem;
        font-size: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card-header {
        flex-direction: column;
        gap: 1rem;
    }

    .reviews-container h3 {
        font-size: 1.5rem;
    }
}

.testimonials-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.stars {
    font-size: 0.9rem;
    color: #ffc107;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.result-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Charts Section */
.charts-section {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 4rem;
}

.charts-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.chart-container {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--gray-light);
}

.chart-container h4 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Pie Chart */
.pie-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pie-chart-item {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0deg calc(var(--size) * 3.6deg), var(--gray-light) calc(var(--size) * 3.6deg));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pie-chart-item:nth-child(2) {
    width: 100px;
    height: 100px;
    font-size: 0.9rem;
}

.pie-label {
    font-size: 0.75rem;
    text-align: center;
    font-weight: 600;
}

.pie-value {
    font-size: 1.3rem;
    margin-top: 0.3rem;
}

/* Bar Chart */
.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    width: 100px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.bar-container {
    flex: 1;
    height: 24px;
    background: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    border-radius: 12px;
    transition: width 0.3s ease;
}

.bar-value {
    width: 40px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Results Stats */
.results-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.result-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Testimonials CTA */
.testimonials-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonials-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.testimonials-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--white);
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 2rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.8rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .charts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .charts-section {
        padding: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ==================== BLOG SECTION ==================== */

.blog-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    min-height: 80vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Blog Controls */
.blog-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.search-box {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(247, 103, 7, 0.1);
}

.search-box button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    border-color: var(--primary-color);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--primary-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.blog-card-content {
    padding: 2rem;
}

.blog-card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.blog-card-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.blog-read-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

.blog-read-btn {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.blog-read-btn:hover {
    color: var(--primary-dark);
}

/* Empty State */
.empty-blog {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.empty-blog h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-blog p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Blog Modal */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-color);
}

.modal-blog-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-blog-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-blog-content {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1rem;
}

.modal-blog-content p {
    margin-bottom: 1.5rem;
}

.modal-blog-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-blog-content ul,
.modal-blog-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.modal-blog-content li {
    margin-bottom: 0.5rem;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-header h2 {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .search-box {
        max-width: 100%;
    }

    .category-filter {
        gap: 0.75rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 2rem;
    }

    .close {
        right: 1rem;
        top: 1rem;
    }

    .modal-blog-title {
        font-size: 1.5rem;
    }

    .modal-blog-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==================== RECIPES SECTION ==================== */

.recipes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    min-height: 80vh;
}

.recipes-header {
    text-align: center;
    margin-bottom: 4rem;
}

.recipes-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recipes-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Recipes Controls */
.recipes-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.recipes-filter {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#searchRecipes {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

#searchRecipes:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.category-filter-recipes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn-recipe {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-btn-recipe:hover,
.filter-btn-recipe.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    border-color: var(--primary-color);
}

/* Recipes Grid */
.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.recipe-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.recipe-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recipe-card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: fit-content;
}

.recipe-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.recipe-card-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.recipe-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
    margin-top: auto;
}

.recipe-calories {
    font-weight: 700;
    color: var(--primary-color);
}

.recipe-view-btn {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.recipe-view-btn:hover {
    color: var(--primary-dark);
}

/* Empty State */
.empty-recipes {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.empty-recipes h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.empty-recipes p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Recipe Modal */
.recipe-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.recipe-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 3rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.recipe-form-modal {
    max-width: 600px;
}

.recipe-close {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.recipe-close:hover {
    color: var(--text-color);
}

.recipe-modal-content h2 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.recipe-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recipe-form select {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background-color: var(--white);
}

.recipe-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.modal-recipe-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-recipe-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-light);
    flex-wrap: wrap;
}

.recipe-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.modal-recipe-section h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-recipe-section ul,
.modal-recipe-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.modal-recipe-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-color);
}

.recipe-modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.recipe-delete-btn {
    background: #e74c3c;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.recipe-delete-btn:hover {
    background: #c0392b;
}

/* Responsive Recipes */
@media (max-width: 768px) {
    .recipes-header h2 {
        font-size: 2rem;
    }

    .recipes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #searchRecipes {
        max-width: 100%;
    }

    .category-filter-recipes {
        gap: 0.75rem;
    }

    .filter-btn-recipe {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .recipe-modal-content {
        width: 95%;
        margin: 20% auto;
        padding: 2rem;
    }

    .recipe-close {
        right: 1rem;
        top: 1rem;
    }

    .modal-recipe-title {
        font-size: 1.5rem;
    }

    .modal-recipe-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .recipe-modal-actions {
        flex-direction: column;
    }

    .recipe-modal-actions button {
        width: 100%;
    }

    /* Responsive Navbar */
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-svg {
        width: 200px;
        height: 50px;
    }

    .nav-menu {
        justify-content: center;
        gap: 0.3rem;
    }

    .nav-menu a {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
