/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background-color: #c51ff8;
    color: #fff;
}

.btn-primary:hover {
    background-color: #f81f87;
}

.btn-secondary {
    background-color: #f81f87;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #c51ff8;
}

/* Navigation */
.navbar {
    background-color: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #c51ff8;
}

.logo span {
    color: #f81f87;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #c51ff8;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.hero .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.hero-content p {
    margin: 1rem 0 2rem;
    color: #555;
}

.hero-buttons a {
    margin-right: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    border-radius: 10px;
}

/* Services */
.services {
    padding: 4rem 0;
    background-color: #fff;
}

.services h2,
.plans h2,
.appointment-form h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-description {
    text-align: center;
    margin-bottom: 3rem;
    color: #777;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f0f9f8;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #c51ff8;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Plans */
.plans {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.featured {
    border: 2px solid #c51ff8;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.recommended {
    background: #c51ff8;
    color: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.85rem;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
}

.plan-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f81f87;
}

.plan-price span {
    font-size: 1rem;
    color: #888;
}

.plan-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.plan-features li {
    margin: 0.5rem 0;
}

.plan-features i {
    color: #c51ff8;
    margin-right: 0.5rem;
}

.plan-features .fa-times {
    color: #e74c3c;
}

/* Appointment */
.appointment {
    padding: 4rem 0;
    background-color: #fff;
}

.appointment .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.appointment-form {
    flex: 1;
}

.appointment-image {
    flex: 1;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    margin-bottom: 1rem;
    color: #c51ff8;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col ul li i {
    color: #c51ff8;
}

.social-links a {
    margin-right: 1rem;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #c51ff8;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-links a {
    margin: 0 0.75rem;
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    position: relative;
}

.modal h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.modal-body {
    color: #555;
    line-height: 1.7;
}

.modal-body h3 {
    margin-top: 1rem;
    color: #f81f87;
}

.modal-body ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}

.modal-footer {
    text-align: right;
    margin-top: 2rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #e74c3c;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero .container,
    .appointment .container {
        flex-direction: column;
    }

    .plans-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Newsletter Specific Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.35rem;
}

#newsletterForm .btn {
    margin-top: 1rem;
    width: 100%;
}
