/* ========================================
   PREGNA BEAM - MATERNAL HEALTH THEME
   Elegant, Warm, and Modern Design
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* New Color Palette - Warm & Maternal */
    --primary-bg: #faf8f5;
    --secondary-bg: #f5f1eb;
    --accent-bg: #f0ebe3;
    --primary-pink: #e91e63;
    --soft-pink: #f8bbd9;
    --warm-coral: #ff7043;
    --sage-green: #81c784;
    --lavender: #ba68c8;
    --gold: #ffb74d;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(233, 30, 99, 0.1);
    
    /* New Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Source Sans Pro', sans-serif;
    --font-accent: 'Dancing Script', cursive;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Animations */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.6s ease;
    --transition-slow: 1s ease;
}

body {
    font-family: var(--font-secondary);
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

/* ========================================
   ANIMATED BACKGROUND - NEW DESIGN
   ======================================== */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, var(--accent-bg) 100%);
}

.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, var(--soft-pink) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, var(--sage-green) 2px, transparent 2px),
        radial-gradient(circle at 40% 60%, var(--lavender) 2px, transparent 2px);
    background-size: 300px 300px, 200px 200px, 150px 150px;
    animation: heartFloat 20s linear infinite;
    opacity: 0.3;
}

.gentle-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, var(--soft-pink) 49%, var(--soft-pink) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--sage-green) 49%, var(--sage-green) 51%, transparent 52%);
    background-size: 100px 100px, 80px 80px;
    animation: waveMove 15s linear infinite;
    opacity: 0.1;
}

@keyframes heartFloat {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

@keyframes waveMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(50px) translateY(-50px); }
}

/* ========================================
   HERO SECTION - NEW DESIGN
   ======================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
}

/* Title Container */
.title-container {
    margin-bottom: 60px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.1);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--warm-coral));
    border-radius: 2px;
    animation: lineExpand 2s ease-out;
}

@keyframes titleGlow {
    0% { 
        text-shadow: 2px 2px 4px rgba(233, 30, 99, 0.1);
        transform: scale(1);
    }
    100% { 
        text-shadow: 2px 2px 8px rgba(233, 30, 99, 0.2);
        transform: scale(1.02);
    }
}

/* Subtitle */
.title-subtitle {
    position: relative;
    display: inline-block;
    margin-top: 40px;
}

.subtitle-text {
    font-family: var(--font-accent);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: var(--sage-green);
    text-align: center;
    position: relative;
    z-index: 2;
    animation: subtitleFloat 2s ease-in-out infinite alternate;
}

@keyframes subtitleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* Description */
.description-container {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    position: relative;
    font-weight: 300;
}

/* ========================================
   PROGRESS BAR - NEW DESIGN
   ======================================== */

.progress-container {
    margin-bottom: 60px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--accent-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--glass-border);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-pink), var(--warm-coral), var(--sage-green));
    background-size: 200% 100%;
    border-radius: 20px;
    width: 0;
    animation: progressFill 3s ease-out forwards, gradientShift 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes progressFill {
    to { width: 85%; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--primary-pink);
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

/* ========================================
   CONTACT SECTION - NEW DESIGN
   ======================================== */

.contact-section {
    margin-bottom: 60px;
}

.contact-card {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 35px 45px;
    backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
}

.contact-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.6s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.2);
    border-color: var(--primary-pink);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-pink);
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact-info {
    text-align: left;
}

.contact-label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-email {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-weight: 600;
}

.contact-email:hover {
    color: var(--primary-pink);
    text-shadow: 0 0 10px rgba(233, 30, 99, 0.3);
}

/* ========================================
   SOCIAL LINKS - NEW DESIGN
   ======================================== */

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.1);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-pink);
    border-radius: 50%;
    transition: all var(--transition-medium);
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: var(--white);
    border-color: var(--primary-pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: color var(--transition-fast);
}

/* ========================================
   COUNTDOWN TIMER - NEW DESIGN
   ======================================== */

.countdown-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 25px 35px;
    backdrop-filter: blur(20px);
    z-index: 1000;
    animation: slideInUp 1s ease-out;
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.1);
}

.countdown-title {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-unit {
    text-align: center;
    position: relative;
}

.time-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-pink);
    text-shadow: 0 0 20px rgba(233, 30, 99, 0.3);
    line-height: 1;
    margin-bottom: 5px;
    animation: numberPulse 1s ease-in-out infinite;
}

.time-label {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ========================================
   CONTACT PAGE SPECIFIC STYLES
   ======================================== */

.main-container {
    position: relative;
    z-index: 2;
    background: var(--primary-bg);
}

.page-header {
    margin-bottom: 60px;
    padding: 60px 0 40px;
}

.brand-section {
    position: relative;
}

.title-underline {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--warm-coral));
    margin: 25px auto;
    border-radius: 2px;
    animation: lineExpand 2s ease-out;
}

.page-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    color: var(--primary-pink);
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

.page-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

.contact-form-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    padding: 50px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.1);
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 30, 99, 0.05), transparent);
    transition: left 0.6s ease;
}

.contact-form-card:hover::before {
    left: 100%;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(233, 30, 99, 0.15);
    border-color: var(--primary-pink);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-pink);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

.form-control {
    background: var(--white);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 18px 25px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all var(--transition-medium);
    width: 100%;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--primary-pink);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-pink), var(--warm-coral));
    border: none;
    border-radius: 15px;
    padding: 18px 35px;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.3);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(233, 30, 99, 0.4);
}

.success-message {
    background: linear-gradient(135deg, rgba(129, 199, 132, 0.1), rgba(129, 199, 132, 0.05));
    border: 2px solid rgba(129, 199, 132, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin-top: 25px;
}

.success-message h4 {
    font-family: var(--font-primary);
    color: var(--sage-green);
    margin-bottom: 20px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.success-message p {
    font-family: var(--font-secondary);
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .subtitle-text {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 35px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .time-value {
        font-size: 1.8rem;
    }
    
    .countdown-container {
        bottom: 20px;
        padding: 20px 25px;
    }
    
    .contact-form-card {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle-text {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-card {
        padding: 25px 30px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .time-value {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
    
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* ========================================
   SCROLLBAR STYLING
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-pink);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--warm-coral);
}

/* ========================================
   SELECTION STYLING
   ======================================== */

::selection {
    background: var(--soft-pink);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--soft-pink);
    color: var(--text-primary);
}
