/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Albert Sans', sans-serif;
    line-height: 1.6;
    color: #000;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* ===== PSYCHOLOGY TODAY BANNER ===== */
.pt-banner {
    background: #003BD1;
    text-align: center;
    padding: 10px 20px;
}

.pt-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.pt-btn:hover {
    opacity: 0.85;
}

/* ===== TOP NAVIGATION ===== */
.top-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #003BD1;
}

.nav-logo .logo {
    height: 70px;
    width: auto;
}

/* ===== WAVE WRAPPER ===== */
.wave-wrapper {
    position: relative;
    overflow: hidden;
}

/* Animated Wave Gradient Background */
.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #32b7b6,
        #3581a5,
        #425389,
        #3581a5,
        #32b7b6
    );
    background-size: 500% 500%;
    animation: diagonalRipple 12s ease infinite;
    z-index: 0;
}

@keyframes diagonalRipple {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-image img {
    width: 340px;
    height: 340px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-text {
    max-width: 500px;
    color: #fff;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-text p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.about-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #fff;
    color: #003BD1;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.pt-verified-btn {
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
}

.pt-verified-btn:hover {
    opacity: 0.85;
}

.pt-verified-img {
    height: 50px;
    width: auto;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    position: relative;
    padding: 20px 30px 40px;
    z-index: 1;
}

.blog-bubble {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.blog-bubble h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #003BD1;
    font-size: 1.8rem;
}

.blog-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.blog-scroll::-webkit-scrollbar {
    display: none;
}

.blog-card {
    min-width: 390px;
    max-width: 390px;
    background: #fafafa;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.05rem;
    color: #000;
}

.blog-card p {
    padding: 0 15px 10px;
    font-size: 0.9rem;
    color: #000;
}

.blog-card a {
    display: block;
    padding: 10px 15px 18px;
    color: #003BD1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-card-text {
    background: #d4eded;
    border-radius: 0 0 14px 14px;
}

.blog-card a:hover {
    text-decoration: underline;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    position: relative;
    z-index: 1;
    padding: 35px 30px;
    background: #fff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 25px;
    color: #003BD1;
    font-size: 1.6rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #000;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #003BD1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.form-row {
    display: flex;
    gap: 12px;
}

.form-row input {
    flex: 1;
}

.submit-btn {
    padding: 12px;
    background: #003BD1;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #002a9e;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 20px 30px;
}

.newsletter-card {
    background: #d4eded;
    border-radius: 24px;
    padding: 35px 40px;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 10px;
    color: #003BD1;
}

.newsletter-section p {
    margin-bottom: 20px;
    color: #000;
}

.newsletter-form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.newsletter-form input[type="email"]::placeholder {
    color: #000;
}

.newsletter-form input[type="email"]:focus {
    border-color: #003BD1;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #000;
}

.newsletter-btn {
    padding: 12px 30px;
    background: #1a7a7a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #145f5f;
}

/* ===== SOCIAL FOOTER ===== */
.social-footer {
    background: #003BD1;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 32px;
}

.social-icons a {
    color: #fff;
    font-size: 2.1rem;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

.pt-icon {
    height: 34px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.pt-badge {
    height: 45px;
    width: auto;
}

.hero-buttons .pt-badge {
    height: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo .logo {
    height: 56px;
    width: auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 1.7rem;
    }

    .hero-image img {
        width: 200px;
        height: 200px;
    }

    .blog-bubble {
        padding: 25px 15px;
    }

    .blog-card {
        min-width: 330px;
        max-width: 330px;
    }

    .blog-card img {
        height: 200px;
    }

    .social-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .blog-card {
        min-width: 280px;
        max-width: 280px;
    }

    .contact-form,
    .newsletter-form {
        width: 100%;
    }
}
