/*
Theme Name: ASW Theme - Pages
Version: 3.0.0 (Full Merge)
*/

/* =============================================
   === 1. HOME PAGE (front-page.php) ===
   ============================================= */

/* --- Hero Section --- */
.hero-asw {
    padding: 10em 0 8em;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

body.dark-mode .hero-asw {
    background: linear-gradient(135deg, var(--dark-bg-color) 0%, var(--dark-bg-light) 100%);
}

.hero-asw h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-asw .hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-text-color);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Premium Hero --- */
.premium-hero {
    position: relative;
    padding: 12em 0 8em;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
    color: var(--white);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.premium-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(114, 192, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.premium-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.premium-hero .hero-badge {
    display: inline-block;
    background: rgba(114, 192, 166, 0.2);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(114, 192, 166, 0.3);
}

.premium-hero h1 {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.premium-hero h1 .highlight-text {
    background: linear-gradient(135deg, var(--accent-color), #4ECDC4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-hero .hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.premium-hero .hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

.premium-hero .hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.premium-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-hero .hero-stats .stat-item {
    text-align: center;
}

.premium-hero .hero-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.premium-hero .hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

@media (max-width: 768px) {
    .premium-hero {
        padding: 8em 0 4em;
        min-height: auto;
    }
    .premium-hero h1 {
        font-size: 2.8rem;
    }
    .premium-hero .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .premium-hero .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .premium-hero .hero-actions .btn-cta {
        width: 100%;
        text-align: center;
    }
}

/* --- Service Cards Section --- */
.service-cards-section {
    padding: 6em 0;
    text-align: center;
}

.service-cards-section .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3em;
}

/* --- Premium Services --- */
.premium-services {
    padding: 6em 0;
    background: var(--bg-color);
}

body.dark-mode .premium-services {
    background: var(--dark-bg-color);
}

.premium-services .premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.premium-services .premium-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-color);
    text-align: left;
    position: relative;
    overflow: hidden;
}

body.dark-mode .premium-services .premium-card {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
}

.premium-services .premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.premium-services .premium-card .card-icon-wrapper {
    width: 55px;
    height: 55px;
    background: rgba(114, 192, 166, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.premium-services .premium-card .service-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.premium-services .premium-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

body.dark-mode .premium-services .premium-card h3 {
    color: var(--dark-text-color);
}

.premium-services .premium-card .price-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.premium-services .premium-card p {
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

body.dark-mode .premium-services .premium-card p {
    color: var(--dark-secondary-text-color);
}

.premium-services .premium-card .card-link {
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.premium-services .premium-card .card-link:hover {
    gap: 10px;
}

/* --- Why Us Section --- */
.why-us-section {
    padding: 6em 0;
    text-align: center;
}

.why-us-section h2,
.why-us-section p {
    color: var(--white);
}

.why-us-section a {
    color: var(--accent-color);
}

.clean-why-section {
    padding: 6em 0;
    background: var(--white);
}

body.dark-mode .clean-why-section {
    background: var(--dark-bg-light);
}

.clean-why-section .clean-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.clean-why-section .clean-item {
    background: var(--bg-color);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .clean-why-section .clean-item {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.clean-why-section .clean-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

body.dark-mode .clean-why-section .clean-item:hover {
    background: var(--dark-bg-light);
}

.clean-why-section .clean-item .feature-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(114, 192, 166, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.clean-why-section .clean-item .feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.clean-why-section .clean-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

body.dark-mode .clean-why-section .clean-item h3 {
    color: var(--dark-text-color);
}

.clean-why-section .clean-item p {
    color: var(--secondary-text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

body.dark-mode .clean-why-section .clean-item p {
    color: var(--dark-secondary-text-color);
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 6em 0;
    background-color: var(--bg-color);
}

body.dark-mode .testimonials-section {
    background-color: var(--dark-bg-color);
}

.premium-testi {
    padding: 6em 0;
    background: var(--bg-color);
}

body.dark-mode .premium-testi {
    background: var(--dark-bg-color);
}

.premium-testi .review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.premium-testi .premium-review {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .premium-testi .premium-review {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
}

.premium-testi .premium-review:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.premium-testi .premium-review .review-stars {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.premium-testi .premium-review .review-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 20px;
}

body.dark-mode .premium-testi .premium-review .review-text {
    color: var(--dark-text-color);
}

.premium-testi .premium-review .review-author .author-name {
    font-weight: 700;
    color: var(--text-color);
}

body.dark-mode .premium-testi .premium-review .review-author .author-name {
    color: var(--dark-text-color);
}

.premium-testi .premium-review .review-author .author-title {
    display: block;
    font-size: 0.8rem;
    color: var(--secondary-text-color);
}

/* --- Blog Preview Section --- */
.blog-preview-section {
    padding: 6em 0;
    background-color: var(--bg-color);
}

body.dark-mode .blog-preview-section {
    background-color: var(--dark-bg-light);
}

.latest-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3em;
}

@media (max-width: 768px) {
    .latest-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =============================================
   === 2. ABOUT PAGE (page-about-asw.php) ===
   ============================================= */

.about-asw-container {
    padding-bottom: 5em;
}

/* --- About Hero --- */
.about-hero-section {
    padding: 8em 0 4em;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
    color: var(--white);
    overflow: hidden;
}

.about-hero-section .about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-hero-section .about-hero-text .hero-badge {
    display: inline-block;
    background: rgba(114, 192, 166, 0.2);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(114, 192, 166, 0.3);
}

.about-hero-section .about-hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-hero-section .about-hero-text h1 strong {
    color: var(--accent-color);
}

.about-hero-section .about-hero-text .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 550px;
    margin-bottom: 30px;
}

.about-hero-section .about-hero-text .hero-subtitle strong {
    color: var(--white);
}

.about-hero-section .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero-section .hero-stats .stat-item {
    text-align: center;
}

.about-hero-section .hero-stats .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.about-hero-section .hero-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.about-hero-section .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* --- About Hero Image --- */
.about-hero-section .about-hero-image .hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.about-hero-section .about-hero-image .therapist-hero-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(114, 192, 166, 0.2);
}

.about-hero-section .about-hero-image .floating-badge {
    position: absolute;
    background: var(--white);
    color: var(--text-color);
    padding: 10px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    animation: floatBadge 3s ease-in-out infinite;
}

body.dark-mode .about-hero-section .about-hero-image .floating-badge {
    background: var(--dark-bg-light);
    color: var(--dark-text-color);
}

.about-hero-section .about-hero-image .floating-badge.experience-badge {
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: #0B1A2E;
}

.about-hero-section .about-hero-image .floating-badge.experience-badge i {
    color: #0B1A2E;
}

.about-hero-section .about-hero-image .floating-badge.rating-badge {
    bottom: 30px;
    left: -20px;
    animation-delay: 1.5s;
}

.about-hero-section .about-hero-image .floating-badge.rating-badge i {
    color: #F59E0B;
}

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

@media (max-width: 992px) {
    .about-hero-section .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-hero-section .about-hero-text .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .about-hero-section .hero-actions {
        justify-content: center;
    }
    .about-hero-section .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding: 6em 0 3em;
    }
    .about-hero-section .about-hero-text h1 {
        font-size: 2.5rem;
    }
    .about-hero-section .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .about-hero-section .hero-stats .stat-number {
        font-size: 1.4rem;
    }
    .about-hero-section .about-hero-image .floating-badge {
        display: none;
    }
}

/* --- Story Section --- */
.story-section {
    padding: 5em 0;
    background: var(--bg-color);
}

body.dark-mode .story-section {
    background: var(--dark-bg-color);
}

.story-section .story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.story-section .story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

body.dark-mode .story-section .story-text p {
    color: var(--dark-text-color);
}

.story-section .story-text p strong {
    color: var(--accent-color);
}

.story-section .story-mission {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.story-section .story-mission .mission-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: var(--white);
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .story-section .story-mission .mission-item {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
}

.story-section .story-mission .mission-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.story-section .story-mission .mission-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.story-section .story-mission .mission-item h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text-color);
}

body.dark-mode .story-section .story-mission .mission-item h4 {
    color: var(--dark-text-color);
}

.story-section .story-mission .mission-item p {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 0;
}

body.dark-mode .story-section .story-mission .mission-item p {
    color: var(--dark-secondary-text-color);
}

.story-section .story-image {
    position: relative;
}

.story-section .story-image .story-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-section .story-image .story-quote {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    border-left: 4px solid var(--accent-color);
}

body.dark-mode .story-section .story-image .story-quote {
    background: var(--dark-bg-light);
}

.story-section .story-image .story-quote i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.story-section .story-image .story-quote p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 5px;
}

body.dark-mode .story-section .story-image .story-quote p {
    color: var(--dark-text-color);
}

.story-section .story-image .story-quote span {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    font-weight: 600;
}

@media (max-width: 992px) {
    .story-section .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .story-section .story-image .story-quote {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
        max-width: 100%;
    }
}

/* --- Therapist Profile Section --- */
.therapist-profile-section {
    padding: 4em 0;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
}

.therapist-profile-section .profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.therapist-profile-section .profile-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(114, 192, 166, 0.2);
}

.therapist-profile-section .profile-bio {
    text-align: left;
}

.therapist-profile-section .profile-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.therapist-profile-section .profile-bio h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.therapist-profile-section .profile-bio h2 strong {
    color: var(--accent-color);
}

.therapist-profile-section .profile-bio p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--white);
}

.therapist-profile-section .profile-bio .profile-specialties {
    margin: 20px 0;
}

.therapist-profile-section .profile-bio .profile-specialties h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 10px;
}

.therapist-profile-section .profile-bio .profile-specialties ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
}

.therapist-profile-section .profile-bio .profile-specialties ul li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.therapist-profile-section .profile-bio .profile-specialties ul li i {
    color: var(--accent-color);
}

.therapist-profile-section .profile-bio .profile-quote {
    background: rgba(114, 192, 166, 0.1);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin: 20px 0;
}

.therapist-profile-section .profile-bio .profile-quote i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.therapist-profile-section .profile-bio .profile-quote p {
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.therapist-profile-section .profile-bio .profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

@media (max-width: 992px) {
    .therapist-profile-section .profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .therapist-profile-section .profile-bio .profile-specialties ul {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .therapist-profile-section .profile-bio .profile-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .therapist-profile-section .profile-image-wrapper img {
        max-width: 300px;
        margin: 0 auto;
    }
    .therapist-profile-section .profile-bio {
        text-align: center;
    }
}

/* --- Vision Mission Section --- */
.vision-mission-section {
    padding: 5em 0;
    background-color: var(--bg-light);
}

body.dark-mode .vision-mission-section {
    background-color: var(--dark-bg-color);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.vision-mission-grid h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.vision-mission-grid .intro-paragraph {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--secondary-text-color);
}

body.dark-mode .vision-mission-grid .intro-paragraph {
    color: var(--dark-secondary-text-color);
}

.vision-mission-grid .stat-box {
    padding: 20px 30px;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.vision-mission-grid .stat-box .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.vision-mission-grid .stat-box .stat-label {
    font-size: 0.95rem;
    color: var(--secondary-text-color);
}

@media (max-width: 992px) {
    .vision-mission-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vision-mission-grid .mission-image {
        text-align: center;
    }
    .vision-mission-grid .mission-image img {
        max-width: 100%;
        max-height: 400px;
    }
    .vision-mission-grid .stat-box {
        margin: 30px auto;
    }
}

/* --- Why Different Section --- */
.why-different-section {
    padding: 3em 0 5em;
}

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

.difference-item {
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-md);
    text-align: left;
    background-color: var(--bg-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark-mode .difference-item {
    background-color: var(--dark-bg-light);
    border-color: var(--accent-color);
}

.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.difference-item i {
    font-size: 2.2rem;
    float: left;
    margin-right: 20px;
    margin-top: 5px;
    color: var(--accent-color);
}

.difference-item h3 {
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1.25rem;
}

.difference-item p {
    clear: both;
    margin-top: 15px;
}

body.dark-mode .difference-item h3,
body.dark-mode .difference-item p {
    color: var(--dark-text-color);
}

@media (max-width: 768px) {
    .difference-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .difference-grid {
        grid-template-columns: 1fr;
    }
    .difference-item i {
        float: none;
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.8rem;
    }
    .difference-item h3 {
        padding-top: 0;
    }
    .difference-item p {
        clear: none;
    }
}

/* --- Certification Section --- */
.certification-section {
    padding: 5em 0;
    background: var(--bg-light);
}

body.dark-mode .certification-section {
    background: var(--dark-bg-light);
}

.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.cert-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

body.dark-mode .cert-card {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.cert-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.cert-card .cert-icon {
    width: 60px;
    height: 60px;
    background: rgba(114, 192, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.cert-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-color);
}

body.dark-mode .cert-card h4 {
    color: var(--dark-text-color);
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
}

body.dark-mode .cert-card p {
    color: var(--dark-secondary-text-color);
}

/* --- About Testimonials --- */
.about-testimonials-section {
    padding: 5em 0;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
}

.about-testimonials-section .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-testimonials-section .testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    color: var(--white);
}

.about-testimonials-section .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.about-testimonials-section .testimonial-card .testimonial-rating {
    color: #F59E0B;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.about-testimonials-section .testimonial-card .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 15px;
}

.about-testimonials-section .testimonial-card .testimonial-author .author-name {
    font-weight: 700;
    color: var(--white);
}

.about-testimonials-section .testimonial-card .testimonial-author .author-title {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.about-testimonials-section .testimonial-cta {
    margin-top: 40px;
}

/* --- Final CTA Section --- */
.final-cta-section {
    padding: 5em 0;
    background: var(--bg-light);
}

body.dark-mode .final-cta-section {
    background: var(--dark-bg-light);
}

.final-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content .cta-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(114, 192, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.final-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

body.dark-mode .final-cta-content h2 {
    color: var(--dark-text-color);
}

.final-cta-content h2 strong {
    color: var(--accent-color);
}

.final-cta-content p {
    font-size: 1.05rem;
    color: var(--secondary-text-color);
    line-height: 1.7;
    margin-bottom: 30px;
}

body.dark-mode .final-cta-content p {
    color: var(--dark-secondary-text-color);
}

.final-cta-content .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.final-cta-content .cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--secondary-text-color);
}

body.dark-mode .final-cta-content .cta-guarantee {
    color: var(--dark-secondary-text-color);
}

.final-cta-content .cta-guarantee i {
    color: var(--accent-color);
}

/* =============================================
   === 3. LAYANAN ARCHIVE (archive-layanan_asw.php) ===
   ============================================= */

.archive-hero-section {
    padding: 8em 0 4em;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
    color: var(--white);
    text-align: center;
}

.archive-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.archive-hero-content h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.archive-hero-content h1 strong {
    color: var(--accent-color);
}

.archive-hero-content .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.archive-hero-content .hero-subtitle strong {
    color: var(--white);
}

.archive-hero-content .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(114, 192, 166, 0.4);
}

.archive-hero-content .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(114, 192, 166, 0.6);
    background: #5FB89C;
}

/* --- Filter Section --- */
.filter-section {
    padding: 30px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .filter-section {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
}

.filter-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-wrapper .filter-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

body.dark-mode .filter-wrapper .filter-label {
    color: var(--dark-text-color);
}

/* --- Premium Layanan Grid --- */
.premium-layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    padding: 4em 0;
}

.premium-layanan-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

body.dark-mode .premium-layanan-card {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
}

.premium-layanan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.premium-layanan-card .popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F59E0B;
    color: #0B1A2E;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.premium-layanan-card .layanan-thumbnail-link {
    display: block;
    overflow: hidden;
    height: 220px;
}

.premium-layanan-card .layanan-thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-layanan-card:hover .layanan-thumbnail-link img {
    transform: scale(1.05);
}

.premium-layanan-card .layanan-content {
    padding: 20px 25px 25px;
}

.premium-layanan-card .layanan-content .layanan-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.premium-layanan-card .layanan-content .layanan-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(114, 192, 166, 0.1);
    padding: 3px 12px;
    border-radius: 50px;
}

.premium-layanan-card .layanan-content .layanan-duration {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
}

.premium-layanan-card .layanan-content .layanan-duration i {
    margin-right: 4px;
    color: var(--accent-color);
}

.premium-layanan-card .layanan-content .layanan-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.premium-layanan-card .layanan-content .layanan-title a {
    color: var(--text-color);
    transition: color 0.3s;
}

body.dark-mode .premium-layanan-card .layanan-content .layanan-title a {
    color: var(--dark-text-color);
}

.premium-layanan-card .layanan-content .layanan-title a:hover {
    color: var(--accent-color);
}

.premium-layanan-card .layanan-content .layanan-excerpt {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

body.dark-mode .premium-layanan-card .layanan-content .layanan-excerpt {
    color: var(--dark-secondary-text-color);
}

.premium-layanan-card .layanan-content .layanan-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

body.dark-mode .premium-layanan-card .layanan-content .layanan-footer {
    border-color: var(--dark-border-color);
}

.premium-layanan-card .layanan-content .layanan-footer .layanan-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.premium-layanan-card .layanan-content .layanan-footer .card-detail-link {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.dark-mode .premium-layanan-card .layanan-content .layanan-footer .card-detail-link {
    color: var(--dark-text-color);
}

.premium-layanan-card .layanan-content .layanan-footer .card-detail-link:hover {
    color: var(--accent-color);
    gap: 10px;
}

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 5em 0;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-banner-content .cta-text {
    flex: 1;
    min-width: 280px;
}

.cta-banner-content .cta-text .cta-badge {
    display: inline-block;
    background: rgba(114, 192, 166, 0.2);
    color: var(--accent-color);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cta-banner-content .cta-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-banner-content .cta-text h2 strong {
    color: var(--accent-color);
}

.cta-banner-content .cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.cta-banner-content .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-shrink: 0;
}

.cta-banner-content .cta-actions .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(114, 192, 166, 0.4);
}

.cta-banner-content .cta-actions .primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(114, 192, 166, 0.6);
    background: #5FB89C;
}

.cta-banner-content .cta-actions .secondary-btn-outline {
    background: transparent;
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.cta-banner-content .cta-actions .secondary-btn-outline:hover {
    border-color: var(--accent-color);
    background: rgba(114, 192, 166, 0.1);
}

@media (max-width: 992px) {
    .cta-banner-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-banner-content .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .cta-banner-content .cta-text h2 {
        font-size: 1.6rem;
    }
}

/* =============================================
   === 4. SINGLE LAYANAN (single-layanan_asw.php) ===
   ============================================= */

.single-layanan-container {
    padding-top: 2em;
    padding-bottom: 4em;
}

.layanan-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.layanan-detail-header {
    text-align: center;
    margin-bottom: 2em;
}

.layanan-detail-header .header-top-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}

.layanan-detail-header .category-tag {
    background: rgba(114, 192, 166, 0.15);
    color: var(--accent-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.layanan-detail-header .popular-tag {
    background: #F59E0B;
    color: #0B1A2E;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.layanan-title-single {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.layanan-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.layanan-meta-bar .meta-item {
    font-size: 1rem;
    color: var(--secondary-text-color);
}

.layanan-meta-bar .meta-item i {
    color: var(--accent-color);
    margin-right: 6px;
}

.layanan-meta-bar .meta-item.price strong {
    color: var(--accent-color);
}

/* --- Detail Grid --- */
.layanan-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 2em;
}

.layanan-featured-image {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
}

.layanan-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.layanan-detail-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.layanan-detail-content h2,
.layanan-detail-content h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

/* --- Advantages Section --- */
.layanan-advantages {
    margin-top: 2.5em;
    padding: 25px 30px;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

body.dark-mode .layanan-advantages {
    background: var(--dark-bg-light);
}

.layanan-advantages h3 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

.layanan-advantages .check-list {
    list-style: none;
    padding: 0;
}

.layanan-advantages .check-list li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.layanan-advantages .check-list li i {
    color: var(--accent-color);
    margin-top: 4px;
}

/* --- FAQ Simple --- */
.layanan-faq-simple {
    margin-top: 2.5em;
}

.layanan-faq-simple h3 {
    margin-bottom: 20px;
}

.layanan-faq-simple .faq-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

body.dark-mode .layanan-faq-simple .faq-item {
    border-color: var(--dark-border-color);
}

.layanan-faq-simple .faq-item:last-child {
    border-bottom: none;
}

.layanan-faq-simple .faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

body.dark-mode .layanan-faq-simple .faq-item h4 {
    color: var(--dark-text-color);
}

.layanan-faq-simple .faq-item p {
    font-size: 0.95rem;
    color: var(--secondary-text-color);
}

body.dark-mode .layanan-faq-simple .faq-item p {
    color: var(--dark-secondary-text-color);
}

/* --- Back to Archive --- */
.back-to-archive {
    text-align: center;
    margin-top: 4em;
    padding-top: 2em;
    border-top: 1px solid var(--border-color);
}

body.dark-mode .back-to-archive {
    border-color: var(--dark-border-color);
}

.back-to-archive a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

body.dark-mode .back-to-archive a {
    color: var(--dark-text-color);
}

.back-to-archive a:hover {
    color: var(--accent-color);
}

.back-to-archive a i {
    margin-right: 8px;
}

@media (max-width: 992px) {
    .layanan-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .layanan-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .layanan-title-single {
        font-size: 2rem;
    }
    .layanan-meta-bar {
        flex-direction: column;
        gap: 5px;
    }
    .single-layanan-container .layanan-featured-image img {
        max-height: 350px;
        object-fit: cover;
        border-radius: var(--radius-md);
    }
}

/* =============================================
   === 5. BLOG ARCHIVE (index.php) ===
   ============================================= */

.blog-hero-section {
    padding: 8em 0 4em;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
    color: var(--white);
    text-align: center;
}

.blog-hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.blog-hero-content .hero-badge {
    display: inline-block;
    background: rgba(114, 192, 166, 0.2);
    color: var(--accent-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(114, 192, 166, 0.3);
}

.blog-hero-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.1;
}

.blog-hero-content h1 strong {
    color: var(--accent-color);
}

.blog-hero-content .hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.blog-hero-content .hero-subtitle strong {
    color: var(--white);
}

/* --- Blog Search --- */
.blog-search-premium {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.premium-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.premium-search:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(114, 192, 166, 0.15);
}

.premium-search .search-icon {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 0 0 20px;
    font-size: 1rem;
}

.premium-search .search-field {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 15px;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

.premium-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.premium-search .search-submit {
    background: var(--accent-color);
    color: #0B1A2E;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 4px;
}

.premium-search .search-submit:hover {
    background: #5FB89C;
    transform: scale(1.02);
}

/* --- Search Results Dropdown --- */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

body.dark-mode .search-results-dropdown {
    background: var(--dark-bg-light);
}

.search-results-dropdown.visible {
    display: block;
}

.search-results-dropdown .search-results-list a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

body.dark-mode .search-results-dropdown .search-results-list a {
    color: var(--dark-text-color);
    border-color: var(--dark-border-color);
}

.search-results-dropdown .search-results-list a:hover {
    background: var(--bg-color);
}

body.dark-mode .search-results-dropdown .search-results-list a:hover {
    background: var(--dark-bg-color);
}

.search-results-dropdown .no-results {
    padding: 20px;
    text-align: center;
    color: var(--secondary-text-color);
}

/* --- Featured Post --- */
.featured-post-section {
    padding: 4em 0;
    background: var(--bg-color);
}

body.dark-mode .featured-post-section {
    background: var(--dark-bg-color);
}

.featured-post-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-post-image {
    position: relative;
    min-height: 400px;
    background: #0B1A2E;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 26, 46, 0.85) 0%, rgba(11, 26, 46, 0.4) 100%);
}

.featured-post-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 50px;
    color: var(--white);
    z-index: 2;
}

.featured-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #0B1A2E;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.featured-meta .post-categories a {
    color: var(--accent-color);
}

.featured-meta .post-categories a:hover {
    color: var(--white);
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--white);
}

.featured-title a {
    color: var(--white);
    transition: color 0.3s;
}

.featured-title a:hover {
    color: var(--accent-color);
}

.featured-excerpt {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-post-content .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.featured-post-content .primary-btn:hover {
    background: #5FB89C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(114, 192, 166, 0.4);
}

@media (max-width: 768px) {
    .featured-post-image {
        min-height: 300px;
    }
    .featured-post-image img {
        min-height: 300px;
    }
    .featured-post-content {
        position: relative;
        background: #0B1A2E;
        padding: 25px;
    }
    .featured-overlay {
        display: none;
    }
    .featured-title {
        font-size: 1.5rem;
    }
}

/* --- Blog CTA Section --- */
.blog-cta-section {
    padding: 5em 0;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
}

.blog-cta-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.blog-cta-content .cta-icon {
    font-size: 3rem;
    color: var(--accent-color);
    flex-shrink: 0;
    width: 70px;
    text-align: center;
}

.blog-cta-content .cta-text {
    flex: 1;
    min-width: 200px;
}

.blog-cta-content .cta-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.blog-cta-content .cta-text h3 strong {
    color: var(--accent-color);
}

.blog-cta-content .cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.blog-cta-content .cta-form {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 300px;
}

.blog-cta-content .cta-form .newsletter-form {
    display: flex;
    gap: 10px;
}

.blog-cta-content .cta-form .newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.blog-cta-content .cta-form .newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.blog-cta-content .cta-form .newsletter-form input[type="email"]:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.12);
}

.blog-cta-content .cta-form .newsletter-form .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.blog-cta-content .cta-form .newsletter-form .primary-btn:hover {
    background: #5FB89C;
    transform: translateY(-2px);
}

.blog-cta-content .cta-form small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    .blog-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .blog-cta-content .cta-form {
        min-width: 100%;
    }
    .blog-cta-content .cta-form .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 6em 0 3em;
    }
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    .premium-search {
        flex-wrap: wrap;
        background: transparent;
        border: none;
    }
    .premium-search .search-field {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        padding: 14px 20px;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .premium-search .search-icon {
        display: none;
    }
    .premium-search .search-submit {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

/* =============================================
   === 6. SINGLE POST (single.php) ===
   ============================================= */

#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #4ECDC4);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(114, 192, 166, 0.3);
}

.single-post-container {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 4em auto 3em;
    border: 1px solid var(--border-color);
}

body.dark-mode .single-post-container {
    background-color: var(--dark-bg-light);
    border-color: var(--dark-border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Entry Header --- */
.entry-header-single {
    text-align: center;
    margin-bottom: 30px;
}

.meta-above-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.meta-above-title .post-categories {
    font-weight: 600;
    color: var(--accent-color);
}

.meta-above-title .back-to-blog {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.meta-above-title .back-to-blog:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.entry-title-single {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--primary-color);
}

body.dark-mode .entry-title-single {
    color: var(--dark-text-color);
}

.entry-meta-single {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.entry-meta-single .post-author,
.entry-meta-single .post-date {
    font-weight: 500;
}

.entry-meta-single .read-time {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.single-featured-image {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Entry Content --- */
.entry-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-color);
}

.content-reading-area {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
}

body.dark-mode .content-reading-area {
    border-top-color: var(--dark-border-color);
}

.content-reading-area h2,
.content-reading-area h3,
.content-reading-area h4 {
    color: var(--primary-color);
    margin-top: 2em;
    margin-bottom: 0.8em;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--border-color);
}

body.dark-mode .content-reading-area h2 {
    border-color: var(--dark-border-color);
}

.content-reading-area ul,
.content-reading-area ol {
    margin: 1.5em 0;
    padding-left: 20px;
}

.content-reading-area li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.content-reading-area blockquote {
    border-left: 4px solid var(--accent-color);
    margin: 2em 0;
    padding: 15px 20px;
    background-color: var(--bg-color);
    font-style: italic;
    color: var(--secondary-text-color);
    border-radius: var(--radius-sm);
}

body.dark-mode .content-reading-area blockquote {
    background-color: var(--dark-bg-color);
    border-left-color: var(--accent-color);
    color: var(--dark-secondary-text-color);
}

body.dark-mode .content-reading-area,
body.dark-mode .content-reading-area p,
body.dark-mode .content-reading-area ul,
body.dark-mode .content-reading-area ol,
body.dark-mode .content-reading-area li {
    color: var(--dark-text-color) !important;
}

body.dark-mode .content-reading-area a:not(.btn-cta) {
    color: var(--accent-color) !important;
}

body.dark-mode .content-reading-area ul li::before,
body.dark-mode .content-reading-area ol li::marker {
    color: var(--accent-color) !important;
}

/* --- Post Tags --- */
.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.dark-mode .post-tags {
    border-color: var(--dark-border-color);
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

body.dark-mode .tags-label {
    color: var(--dark-text-color);
}

.tags-label i {
    color: var(--accent-color);
    margin-right: 5px;
}

.tag-item {
    display: inline-block;
    background: var(--bg-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .tag-item {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
    color: var(--dark-secondary-text-color);
}

.tag-item:hover {
    background: var(--accent-color);
    color: #0B1A2E;
    border-color: var(--accent-color);
}

/* --- Share Section --- */
.post-share-section {
    max-width: 900px;
    margin: 4em auto 3em;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

body.dark-mode .post-share-section {
    border-color: var(--dark-border-color);
}

.share-text {
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 20px;
    font-size: 1.1rem;
}

body.dark-mode .share-text {
    color: var(--dark-text-color);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: scale(1.1);
}

.whatsapp-share { background-color: #25D366; }
.facebook-share { background-color: #1877F2; }
.twitter-share { background-color: #1DA1F2; }
.linkedin-share { background-color: #0A66C2; }
.copy-link { background-color: var(--secondary-text-color); }

.copy-link:hover {
    background-color: var(--text-color);
}

/* --- Author Box --- */
.author-box {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
}

body.dark-mode .author-box {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--text-color);
}

body.dark-mode .author-name {
    color: var(--dark-text-color);
}

.author-name strong {
    color: var(--accent-color);
}

.author-title {
    font-size: 0.85rem;
    color: var(--secondary-text-color);
    margin-bottom: 10px;
}

.author-bio {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 15px;
}

body.dark-mode .author-bio {
    color: var(--dark-text-color);
}

.author-bio strong {
    color: var(--accent-color);
}

.author-social {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.author-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-color);
    transition: all 0.3s;
}

body.dark-mode .author-social a {
    background: var(--dark-border-color);
    color: var(--dark-text-color);
}

.author-social a:hover {
    background: var(--accent-color);
    color: #0B1A2E;
    transform: translateY(-2px);
}

/* --- Related Posts --- */
.related-posts-section {
    margin: 30px 0;
}

.related-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

body.dark-mode .related-title {
    color: var(--dark-text-color);
}

.related-title i {
    color: var(--accent-color);
    margin-right: 8px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .related-post-card {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.related-post-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.related-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-content h4 {
    font-size: 0.95rem;
    margin: 4px 0;
    line-height: 1.3;
}

.related-content h4 a {
    color: var(--text-color);
    transition: color 0.3s;
}

body.dark-mode .related-content h4 a {
    color: var(--dark-text-color);
}

.related-content h4 a:hover {
    color: var(--accent-color);
}

.related-date {
    font-size: 0.75rem;
    color: var(--secondary-text-color);
}

/* --- Post Navigation --- */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3em;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

body.dark-mode .post-navigation {
    border-color: var(--dark-border-color);
}

.nav-previous a,
.nav-next a {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: background-color 0.3s;
    text-decoration: none;
}

body.dark-mode .nav-previous a,
body.dark-mode .nav-next a {
    color: var(--accent-color);
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: rgba(13, 59, 102, 0.1);
    text-decoration: none;
}

body.dark-mode .nav-previous a:hover,
body.dark-mode .nav-next a:hover {
    background-color: rgba(114, 192, 166, 0.1);
}

/* --- Table of Contents --- */
.table-of-contents {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

body.dark-mode .table-of-contents {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.toc-header i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.toc-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
}

body.dark-mode .toc-title {
    color: var(--dark-text-color);
}

.toc-toggle {
    background: none;
    border: none;
    color: var(--secondary-text-color);
    cursor: pointer;
    margin-left: auto;
    transition: transform 0.3s;
}

.toc-toggle.active {
    transform: rotate(180deg);
}

.toc-body {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    display: block;
}

body.dark-mode .toc-body {
    border-color: var(--dark-border-color);
}

.toc-body.hidden {
    display: none;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 6px 0;
    border-bottom: 1px dashed var(--border-color);
}

body.dark-mode .toc-list li {
    border-color: var(--dark-border-color);
}

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

.toc-list a {
    color: var(--text-color);
    font-size: 0.95rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.dark-mode .toc-list a {
    color: var(--dark-text-color);
}

.toc-list a:hover {
    color: var(--accent-color);
}

.toc-list a::before {
    content: "▸";
    color: var(--accent-color);
    font-size: 0.8rem;
}

.toc-level-3 {
    padding-left: 20px !important;
}

.toc-level-3 a {
    font-size: 0.9rem !important;
}

/* --- Single CTA Section --- */
.single-cta-section {
    padding: 4em 0;
    background: linear-gradient(135deg, #0B1A2E 0%, #1A365D 100%);
    margin-top: 3em;
}

.single-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.single-cta-content .cta-text {
    flex: 1;
    min-width: 250px;
}

.single-cta-content .cta-badge {
    display: inline-block;
    background: rgba(114, 192, 166, 0.2);
    color: var(--accent-color);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.single-cta-content .cta-text h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.single-cta-content .cta-text h3 strong {
    color: var(--accent-color);
}

.single-cta-content .cta-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.single-cta-content .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-shrink: 0;
}

.single-cta-content .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(114, 192, 166, 0.4);
}

.single-cta-content .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(114, 192, 166, 0.6);
    background: #5FB89C;
}

.single-cta-content .secondary-btn-outline {
    background: transparent;
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.single-cta-content .secondary-btn-outline:hover {
    border-color: var(--accent-color);
    background: rgba(114, 192, 166, 0.1);
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 25px 20px;
        margin: 2em 10px;
        border-radius: 12px;
    }
    .entry-title-single {
        font-size: 2rem;
    }
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .author-social {
        justify-content: center;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    .single-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .single-cta-content .cta-actions {
        justify-content: center;
    }
    .post-share-section {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    .share-buttons {
        justify-content: center;
    }
    .table-of-contents {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .single-post-container {
        padding: 20px 15px;
        margin: 1em 5px;
    }
    .entry-title-single {
        font-size: 1.6rem;
    }
    .author-avatar img {
        width: 60px;
        height: 60px;
    }
    .single-cta-content .cta-text h3 {
        font-size: 1.3rem;
    }
}

/* =============================================
   === 7. WHATSAPP FLOATING BUTTON ===
   ============================================= */

.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.whatsapp-float-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff;
    padding: 12px 20px 12px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-float-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.whatsapp-float-btn:hover .whatsapp-float-inner::before {
    opacity: 1;
}

.whatsapp-float-inner i {
    font-size: 1.6rem;
    color: #ffffff;
    transition: transform 0.3s ease;
    line-height: 1;
}

.whatsapp-float-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.whatsapp-float-btn:hover {
    transform: translateY(-3px);
}

.whatsapp-float-btn:hover .whatsapp-float-inner {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    background: #20b85a;
}

.whatsapp-float-btn:hover .whatsapp-float-inner i {
    transform: scale(1.05);
}

/* --- Tooltip --- */
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 18px);
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    background: var(--white, #ffffff);
    color: var(--text-color, #212529);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color, #e9ecef);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--white, #ffffff);
}

body.dark-mode .whatsapp-tooltip::after {
    border-left-color: var(--dark-bg-light, #1e1e1e);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.tooltip-icon {
    font-size: 1.1rem;
}

.tooltip-text {
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-color, #212529);
}

body.dark-mode .tooltip-text {
    color: var(--dark-text-color, #e0e0e0);
}

body.dark-mode .whatsapp-tooltip {
    background: var(--dark-bg-light, #1e1e1e);
    border-color: var(--dark-border-color, #333333);
}

/* --- WhatsApp Responsive --- */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float-inner {
        padding: 14px 18px;
        border-radius: 50%;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    
    .whatsapp-float-text {
        display: none;
    }
    
    .whatsapp-float-inner i {
        font-size: 1.8rem;
        margin: 0;
    }
    
    .whatsapp-tooltip {
        right: auto;
        left: 50%;
        top: auto;
        bottom: calc(100% + 14px);
        transform: translateX(-50%) scale(0.9);
        white-space: normal;
        max-width: 200px;
        text-align: center;
    }
    
    .whatsapp-tooltip::after {
        right: auto;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        border-left-color: transparent;
        border-top-color: var(--white, #ffffff);
    }
    
    .whatsapp-float-btn:hover .whatsapp-tooltip {
        transform: translateX(-50%) scale(1);
    }
    
    body.dark-mode .whatsapp-tooltip::after {
        border-top-color: var(--dark-bg-light, #1e1e1e);
    }
}

@media (max-width: 480px) {
    .whatsapp-float-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-inner {
        padding: 12px 16px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    }
    
    .whatsapp-float-inner i {
        font-size: 1.5rem;
    }
    
    .whatsapp-tooltip {
        max-width: 160px;
        padding: 8px 12px;
        font-size: 0.75rem;
        bottom: calc(100% + 10px);
    }
    
    .tooltip-text {
        font-size: 0.75rem;
    }
}

/* =============================================
   === 8. 404 PAGE ===
   ============================================= */

.premium-404 {
    padding: 8em 0 5em;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light) 100%);
}

body.dark-mode .premium-404 {
    background: linear-gradient(135deg, var(--dark-bg-color) 0%, var(--dark-bg-light) 100%);
}

.error-404-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

body.dark-mode .error-404-wrapper {
    background: var(--dark-bg-light);
    border-color: var(--dark-border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.error-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.error-icon i {
    background: rgba(114, 192, 166, 0.1);
    padding: 20px;
    border-radius: 50%;
}

.error-code {
    display: block;
    font-size: 6rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.error-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

body.dark-mode .error-title {
    color: var(--dark-text-color);
}

.error-title strong {
    color: var(--accent-color);
}

.error-description {
    font-size: 1.05rem;
    color: var(--secondary-text-color);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 30px;
}

body.dark-mode .error-description {
    color: var(--dark-secondary-text-color);
}

.error-description strong {
    color: var(--text-color);
}

body.dark-mode .error-description strong {
    color: var(--dark-text-color);
}

/* --- 404 Search --- */
.error-search {
    margin: 30px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-label {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 10px;
    text-align: left;
}

body.dark-mode .search-label {
    color: var(--dark-secondary-text-color);
}

.error-search .search-form {
    display: flex;
    background: var(--bg-color);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .error-search .search-form {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
}

.error-search .search-form:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(114, 192, 166, 0.15);
}

.error-search .search-field {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 1rem;
    background: transparent;
    color: var(--text-color);
    outline: none;
}

body.dark-mode .error-search .search-field {
    color: var(--dark-text-color);
}

.error-search .search-field::placeholder {
    color: var(--secondary-text-color);
}

body.dark-mode .error-search .search-field::placeholder {
    color: var(--dark-secondary-text-color);
}

.error-search .search-submit {
    background: var(--accent-color);
    color: #0B1A2E;
    border: none;
    padding: 14px 28px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.error-search .search-submit:hover {
    background: #5FB89C;
}

/* --- 404 Suggestions --- */
.error-suggestions {
    margin: 30px 0;
}

.suggestions-label {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
}

body.dark-mode .suggestions-label {
    color: var(--dark-secondary-text-color);
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.suggestion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.9rem;
}

body.dark-mode .suggestion-item {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
    color: var(--dark-text-color);
}

.suggestion-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    color: var(--accent-color);
}

.suggestion-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* --- 404 Recent Posts --- */
.error-recent {
    margin: 30px 0;
}

.recent-label {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
    margin-bottom: 15px;
}

body.dark-mode .recent-label {
    color: var(--dark-secondary-text-color);
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    color: var(--text-color);
    text-decoration: none;
}

body.dark-mode .recent-item {
    background: var(--dark-bg-color);
    border-color: var(--dark-border-color);
    color: var(--dark-text-color);
}

.recent-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
}

.recent-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--border-color);
}

.recent-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-thumbnail.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(114, 192, 166, 0.1);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.recent-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}

/* --- 404 CTA --- */
.error-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

body.dark-mode .error-cta {
    border-color: var(--dark-border-color);
}

.error-cta .primary-btn {
    background: var(--accent-color);
    color: #0B1A2E !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(114, 192, 166, 0.4);
}

.error-cta .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(114, 192, 166, 0.6);
    background: #5FB89C;
}

.error-cta .secondary-btn-outline {
    background: transparent;
    color: var(--text-color) !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

body.dark-mode .error-cta .secondary-btn-outline {
    color: var(--dark-text-color) !important;
    border-color: var(--dark-border-color);
}

.error-cta .secondary-btn-outline:hover {
    border-color: var(--accent-color);
    background: rgba(114, 192, 166, 0.05);
}

@media (max-width: 768px) {
    .error-404-wrapper {
        padding: 30px 20px;
        border-radius: 16px;
    }
    .error-code {
        font-size: 4rem;
    }
    .error-title {
        font-size: 1.8rem;
    }
    .suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .recent-grid {
        grid-template-columns: 1fr;
    }
    .error-cta {
        flex-direction: column;
        align-items: center;
    }
    .error-cta .btn-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 3rem;
    }
    .error-title {
        font-size: 1.5rem;
    }
    .suggestions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .suggestion-item {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    .error-icon {
        font-size: 3rem;
    }
}
/* =============================================
   === MEDICAL HERO SECTION ===
   ============================================= */

.hero-medical {
    position: relative;
    padding: 8em 0 6em;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A1628 0%, #1A365D 50%, #0F9D58 100%);
    overflow: hidden;
}

.hero-medical::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(15, 157, 88, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-medical-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(15, 157, 88, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(26, 115, 232, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-medical-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Text --- */
.hero-medical-text .hero-medical-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 157, 88, 0.15);
    color: #4DBD8A;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    border: 1px solid rgba(15, 157, 88, 0.20);
    backdrop-filter: blur(8px);
}

.hero-medical-text .hero-medical-badge i {
    font-size: 1rem;
}

.hero-medical-text h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-medical-text h1 .text-gradient-medical {
    background: linear-gradient(135deg, #4DBD8A, #1A73E8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-medical-text .hero-medical-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-medical-text .hero-medical-subtitle strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* --- Medical Actions --- */
.hero-medical-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-medical-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0F9D58, #0B7A45);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(15, 157, 88, 0.35);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-medical-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 36px rgba(15, 157, 88, 0.45);
    background: linear-gradient(135deg, #0B7A45, #0F9D58);
    color: #FFFFFF;
}

.btn-medical-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    text-decoration: none;
}

.btn-medical-secondary:hover {
    border-color: #4DBD8A;
    background: rgba(15, 157, 88, 0.08);
    color: #4DBD8A;
}

/* --- Medical Trust Bar --- */
.hero-medical-trust {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.trust-item .trust-icon {
    color: #4DBD8A;
    font-size: 1.1rem;
}

.trust-item .trust-text strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* --- Hero Image --- */
.hero-medical-image-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.hero-medical-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
    border: 4px solid rgba(15, 157, 88, 0.15);
}

.hero-medical-floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0A1628;
    animation: floatMedical 3s ease-in-out infinite;
}

.hero-medical-floating-badge i {
    font-size: 1.2rem;
}

.hero-medical-floating-badge.experience {
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #0F9D58, #0B7A45);
    color: #FFFFFF;
    animation-delay: 0s;
}

.hero-medical-floating-badge.rating {
    bottom: 40px;
    left: -20px;
    animation-delay: 1.5s;
}

.hero-medical-floating-badge.rating i {
    color: #F59E0B;
}

.hero-medical-floating-badge.patients {
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    animation-delay: 3s;
}

.hero-medical-floating-badge.patients i {
    color: #1A73E8;
}

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

/* --- Responsive Hero --- */
@media (max-width: 992px) {
    .hero-medical-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-medical-text .hero-medical-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-medical-actions {
        justify-content: center;
    }
    
    .hero-medical-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-medical-image-wrapper {
        max-width: 360px;
    }
    
    .hero-medical-floating-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-medical {
        padding: 6em 0 3em;
    }
    
    .hero-medical-text h1 {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    
    .hero-medical-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-medical-actions .btn-medical-primary,
    .hero-medical-actions .btn-medical-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .hero-medical-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}