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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FEFEFE;
    overflow-x: hidden;
}

:root {
    --primary-color: #E91E63;
    --primary-light: #F8BBD9;
    --primary-dark: #AD1457;
    --secondary-color: #FF6B9D;
    --accent-color: #4ECDC4;
    --warm-pink: #FFE0E6;
    --soft-lavender: #F3E5F5;
    --cream: #FFF8F0;
    --text-dark: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
}

/* Floating Elements Animation */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.15;
    font-size: 2rem;
    animation: float 25s infinite linear;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 8s;
}

.floating-element:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 16s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 10px 16px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--white) 0%, var(--warm-pink) 100%);
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: transform 0.3s ease-in-out;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.2rem;
}

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

.instagram-icon-header {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.instagram-icon-header .instagram-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(188, 24, 136, 0.3);
}

.instagram-icon-header .instagram-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.instagram-icon-header:hover .instagram-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(188, 24, 136, 0.5);
}

.midwife-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo .subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--warm-pink);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 0px;
    text-align: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.85) 0%, rgba(255, 107, 157, 0.75) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-left {
    flex-shrink: 0;
}

.hero-center {
    flex: 1;
    max-width: 650px;
    text-align: center;
}

.hero-logo {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

/* Testimonial Carousel */
.testimonial-carousel {
    max-width: 100%;
    margin: 0 auto 1.2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.2);
    min-height: 130px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-slide {
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0.8rem;
    min-height: 60px;
    transition: opacity 0.3s ease;
    display: block;
    font-weight: 400;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: Georgia, serif;
    line-height: 0;
    margin-right: 0.2rem;
}

.testimonial-author {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
    display: block;
    margin-top: 0.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

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

.hero-name {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-title {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* Tab Container */
.tab-container {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    min-height: 100vh;
    padding: 60px 0;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

/* Presentation Section */
.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.presentation-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.presentation-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.credential-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.credential-item ul {
    list-style: none;
}

.credential-item li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.credential-item li:before {
    content: "✨";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.presentation-image {
    width: 100%;
    height: 500px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
    position: relative;
}

.presentation-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 30, 99, 0.1), rgba(78, 205, 196, 0.1));
    z-index: 1;
}

.presentation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Services Sections */
#prenatal h2,
#postnatal h2,
#contact h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.2);
    border-color: var(--primary-light);
}

.service-icon {
    width: 100%;
    height: 220px;
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

.contact-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.1);
    transition: transform 0.3s ease;
    min-width: 0;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: break-word;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    word-break: break-all;
    overflow-wrap: break-word;
    display: block;
    width: 100%;
    hyphens: auto;
}

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

.contact-form {
    background: linear-gradient(135deg, var(--white) 0%, var(--warm-pink) 100%);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.15);
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--primary-light);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    transform: translateY(-2px);
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .testimonial-carousel {
        padding: 1rem 1.5rem;
        margin: 1rem auto;
    }
    
    .testimonial-text {
        font-size: 1rem;
        min-height: 100px;
    }
    
    .midwife-photo {
        width: 50px;
        height: 50px;
    }
    
    .hero-logo {
        width: 150px;
    }
    
    .logo-image {
        height: 60px;
        max-width: 200px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--white) 0%, var(--warm-pink) 100%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .presentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .credentials-grid {
        grid-template-columns: 1fr;
    }
    
    .presentation-image {
        height: 350px;
    }
    
    .presentation-content h2,
    #prenatal h2,
    #postnatal h2,
    #contact h2 {
        font-size: 2.2rem;
    }
    
    .language-toggle {
        top: 15px;
        right: 15px;
    }
    
    .service-icon {
        height: 180px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .testimonial-carousel {
        padding: 1rem;
        margin: 0.8rem auto;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        min-height: 120px;
    }
    
    .midwife-photo {
        width: 45px;
        height: 45px;
    }
    
    .hero-logo {
        width: 120px;
    }
    
    .logo-image {
        height: 50px;
        max-width: 180px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .tab-container {
        padding: 40px 0;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
}