/* 
 * Premium Persian Psychology Website Stylesheet
 * Designed & Coded by Omid Doosti & Ali Yousefi
 * Font: IRANSansX
 * Direction: RTL (Right to Left)
 */

/* ==========================================================================
   1. Fonts & Global Variables
   ========================================================================== */
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansX-Medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansX-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'IRANSans';
    src: url('../fonts/IRANSansX-ExtraBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

:root {
    /* Color Palette */
    --primary-teal: #0d9488;
    --primary-teal-rgb: 13, 148, 136;
    --primary-teal-dark: #0f766e;
    --primary-teal-light: #e6f6f4;
    --primary-teal-lighter: #f0fdfa;
    --accent-orange: #f08535;
    --accent-orange-rgb: 240, 133, 53;
    --accent-orange-dark: #d96d27;
    --accent-orange-light: #fff9f5;
    --neutral-dark: #1e293b;
    --neutral-gray: #64748b;
    --neutral-light: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'IRANSans', sans-serif;
    
    /* Border Radii */
    --border-radius-sm: 10px;
    --border-radius-md: 20px;
    --border-radius-lg: 28px;
    
    /* Layout Constants */
    --header-height: 140px;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--white);
    color: var(--neutral-dark);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.8;
    moz-font-feature-settings: 'ss02';
    -webkit-font-feature-settings: 'ss02';
    font-feature-settings: 'ss02';
    word-spacing: -.5px
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--accent-orange);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: var(--neutral-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--neutral-light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-teal);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal-dark);
}

/* Custom Text Selection */
::selection {
    background-color: var(--primary-teal);
    color: var(--white);
}
::-moz-selection {
    background-color: var(--primary-teal);
    color: var(--white);
}

/* Global Form Select Customization */
select,
.form-select {
    accent-color: var(--primary-teal);
}
select:focus,
.form-select:focus {
    border-color: var(--primary-teal) !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25) !important;
}


/* Common Section Typography */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 900;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-teal);
    border-radius: 2px;
}
.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 70px;
    width: 15px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--neutral-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.btn-custom {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: var(--transition-smooth);
    border: none;
    white-space: nowrap;
}
.btn-teal {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}
.btn-teal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}
.btn-orange {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(var(--accent-orange-rgb), 0.3);
}
.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-orange-rgb), 0.4);
}
.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}
.btn-outline-custom:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   3. Sticky Top Utility Bar (Section 1)
   ========================================================================== */
.top-utility-bar {
    background-color: var(--neutral-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
    color: var(--neutral-gray);
    padding: 8px 0;
    z-index: 1030;
}
.top-utility-bar a {
    color: var(--neutral-gray);
}
.top-utility-bar a:hover {
    color: var(--primary-teal);
}
.utility-item i {
    color: var(--primary-teal);
}

/* ==========================================================================
   4. Main Header (Section 2)
   ========================================================================== */
.main-header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.logo-container img {
    max-height: 70px;
    object-fit: contain;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-teal);
    margin: 0;
}
.logo-text span {
    font-size: 0.85rem;
    color: var(--neutral-gray);
}
.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}
.search-box input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    background-color: var(--neutral-light);
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary-teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.search-box button {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--neutral-gray);
    transition: var(--transition-smooth);
}
.search-box button:hover {
    color: var(--primary-teal);
}

/* ==========================================================================
   5. Sticky Main Navigation (Section 3)
   ========================================================================== */
.main-navbar-wrapper {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    z-index: 1020;
    transition: var(--transition-smooth);
}
.main-navbar-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Mobile Logo/Toggler inside Main Navbar (only shown when sticky on mobile) */
.main-navbar-wrapper:not(.is-sticky) .sticky-mobile-logo,
.main-navbar-wrapper:not(.is-sticky) .sticky-mobile-toggler {
    display: none !important;
}

@media (max-width: 991.98px) {
    .main-navbar-wrapper.is-sticky {
        padding: 8px 0;
    }
    .main-navbar-wrapper.is-sticky .sticky-mobile-logo {
        display: flex !important;
    }
    .main-navbar-wrapper.is-sticky .sticky-mobile-toggler {
        display: block !important;
    }
}

/* Sticky Mobile Logo Styling */
.sticky-mobile-logo .logo-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    color: var(--primary-teal) !important;
}
.sticky-mobile-logo .logo-icon i {
    font-size: 1.1rem;
}
.sticky-mobile-logo .logo-text span {
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--primary-teal) !important;
}

/* General Logo Icon Color */
.logo-icon {
    color: var(--primary-teal);
}

.main-navbar {
    padding: 0;
}
.main-navbar .nav-link {
    color: var(--neutral-dark);
    font-weight: bold;
    padding: 20px 15px !important;
    position: relative;
    font-size: 0.95rem;
}
.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-teal);
    transition: var(--transition-smooth);
}
.main-navbar .nav-item:hover .nav-link {
    color: var(--primary-teal);
}
.main-navbar .nav-item:hover .nav-link::after {
    width: 60%;
}
.main-navbar .nav-item.active .nav-link {
    color: var(--primary-teal);
}
.main-navbar .nav-item.active .nav-link::after {
    width: 60%;
}

/* Dropdown styling */
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--hover-shadow);
    border-radius: var(--border-radius-md);
    padding: 10px;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    text-align: right;
    right: 0;
    left: auto;
}
.main-navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-navbar .dropdown-item {
    border-radius: var(--border-radius-sm);
    padding: 10px 15px;
    font-weight: bold;
    color: var(--neutral-dark);
}
.main-navbar .dropdown-item:hover {
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
}

.nav-utility {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-btn-login {
    padding: 8px 22px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}
.nav-btn-login:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.3);
}

/* Burger menu toggler */
.navbar-toggler {
    border: none;
    padding: 10px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.burger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-teal);
    border-radius: 3px;
    transition: var(--transition-smooth);
}
.navbar-toggler[aria-expanded="true"] .burger-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .burger-icon span:nth-child(2) {
    opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .burger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   6. Hero Section (Section 4)
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, var(--primary-teal-light) 0%, rgba(255,255,255,1) 100%);
    padding: 80px 0 120px 0;
    position: relative;
    overflow: hidden;
}
.hero-content {
    z-index: 2;
    position: relative;
}
.hero-badge {
    background-color: var(--white);
    border: 1px solid rgba(13, 148, 136, 0.15);
    color: var(--primary-teal);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: var(--card-shadow);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--neutral-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}
.hero-title span {
    color: var(--primary-teal);
}
.hero-description {
    font-size: 1.15rem;
    color: var(--neutral-gray);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.9;
}
.hero-buttons {
    display: flex;
    gap: 15px;
}
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}
.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, rgba(255,255,255,0) 70%);
}
.shape-circle-1 {
    width: 400px;
    height: 400px;
    left: -100px;
    top: -50px;
}
.shape-circle-2 {
    width: 300px;
    height: 300px;
    right: -50px;
    bottom: -50px;
}

/* Custom wave curve at the bottom */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}
.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.hero-wave .shape-fill {
    fill: #FFFFFF;
}

/* ==========================================================================
   7. Service Feature Slider (Section 5)
   ========================================================================== */
.services-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-section .section-title::after {
    right: calc(50% - 30px);
    width: 60px;
    background: var(--primary-teal);
}

.services-section .section-title::before {
    right: calc(50% + 40px);
    width: 15px;
    background: var(--accent-orange);
}

.service-card {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
    border: 1px solid rgba(13, 148, 136, 0.1);
    border-radius: var(--border-radius-md);
    padding: 50px 30px 40px 30px;
    transition: var(--transition-smooth);
    height: 100%;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center; /* Center all card content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(13, 148, 136, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: var(--transition-smooth);
    color: #99f6e4; /* lighter cyan/teal */
    font-size: 3.8rem; /* much larger icon size */
}

.service-card:hover .service-icon-wrapper {
    color: var(--accent-orange);
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    font-size: 1.45rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.service-card:hover h3 {
    color: var(--accent-orange);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8); /* highly visible text on dark background */
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.8;
}

.service-link {
    font-weight: bold;
    font-size: 0.9rem;
    color: #2dd4bf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto; /* Push link to the bottom of the card */
    transition: var(--transition-smooth);
}

.service-link i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link {
    color: var(--accent-orange);
}

.service-card:hover .service-link i {
    transform: translateX(-6px);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}
.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--neutral-light);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-dark);
    transition: var(--transition-smooth);
    cursor: pointer;
}
.slider-btn:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.2);
}

/* ==========================================================================
   8. About Us Section (Section 6)
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--neutral-light);
    position: relative;
}
.about-image-wrapper {
    position: relative;
    z-index: 1;
}
.about-image-wrapper img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: 0 15px 30px rgba(var(--accent-orange-rgb), 0.3);
    z-index: 2;
    text-align: center;
    min-width: 150px;
}
.experience-badge span {
    display: block;
}
.experience-num {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
}
.experience-text {
    font-size: 0.9rem;
    font-weight: bold;
}
.about-content {
    padding-right: 30px;
}
.about-list {
    list-style: none;
    margin: 30px 0 40px 0;
}
.about-list li {
    position: relative;
    padding-right: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.05rem;
}
.about-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--primary-teal);
    font-size: 1.1rem;
}

/* Swiper Equal Height Slides Helper */
.services-slider .swiper-slide,
.team-slider .swiper-slide,
.blog-slider .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   9. Team Slider (Section 7)
   ========================================================================== */
.team-section {
    padding: 100px 0;
    background-color: var(--white);
}
.team-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(13, 148, 136, 0.12);
}
.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}
.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.team-card:hover .team-image img {
    transform: scale(1.08);
}
.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(13,148,136,0.9) 100%);
    transition: var(--transition-smooth);
    opacity: 0;
}
.team-card:hover .team-socials {
    bottom: 0;
    opacity: 1;
}
.team-socials a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.team-socials a:hover {
    background-color: var(--accent-orange);
    color: var(--white);
}
.team-info {
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.team-info h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}
.team-card:hover .team-info h4 {
    color: var(--primary-teal);
}
.team-info p {
    color: var(--neutral-gray);
    font-size: 0.85rem;
    margin-bottom: 15px;
}
.skills-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.skill-tag {
    font-size: 0.75rem;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* ==========================================================================
   10. Blog Carousel (Section 8)
   ========================================================================== */
.blog-section {
    padding: 100px 0;
    background-color: var(--neutral-light);
}
.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(13, 148, 136, 0.12);
}
.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Badges on top right */
.blog-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.blog-badge-views {
    background-color: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.blog-badge-category {
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    align-self: flex-start;
}

/* Eye overlay on hover */
.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 148, 136, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}
.blog-card:hover .blog-image-overlay {
    opacity: 1;
}
.blog-image-overlay i {
    color: var(--white);
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-image-overlay i {
    transform: scale(1);
}

.blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-body h4 {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 12px;
    line-height: 1.5;
    transition: var(--transition-smooth);
}
.blog-card:hover .blog-body h4 {
    color: var(--primary-teal);
}
.blog-body p {
    color: var(--neutral-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.7;
    flex-grow: 1;
}
.blog-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--neutral-gray);
}
.blog-footer i {
    color: var(--primary-teal);
}

.blog-more-link {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================================================
   11. Reservation & Contact (Section 9)
   ========================================================================== */
.booking-section {
    padding: 100px 0;
    background-color: var(--white);
}
.booking-text-wrapper {
    padding-left: 30px;
}
.booking-quote {
    font-size: 1.15rem;
    color: var(--neutral-gray);
    border-right: 4px solid var(--accent-orange);
    padding: 10px 20px;
    margin: 30px 0;
    background-color: var(--neutral-light);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    line-height: 1.8;
}
.booking-features {
    list-style: none;
}
.booking-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: bold;
}
.booking-features li i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.booking-form-card {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 20px 50px rgba(13, 148, 136, 0.25);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.booking-form-card::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--accent-orange-rgb), 0.25) 0%, rgba(var(--accent-orange-rgb), 0) 70%);
    pointer-events: none;
}
.booking-form-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}
.booking-form-card h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-orange);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}
.form-group-custom {
    margin-bottom: 22px;
}
.form-group-custom label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}
.form-group-custom label span {
    color: #fca5a5;
    font-size: 0.8rem;
    margin-right: 5px;
}
.form-group-custom input,
.form-group-custom select,
.form-group-custom textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}
.form-group-custom input::placeholder,
.form-group-custom textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.form-group-custom select option {
    background-color: #0f766e;
    color: var(--white);
}
.form-group-custom input:focus,
.form-group-custom select:focus,
.form-group-custom textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(var(--accent-orange-rgb), 0.3);
}
.booking-submit-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(var(--accent-orange-rgb), 0.4);
    cursor: pointer;
}
.booking-submit-btn:hover {
    background: linear-gradient(135deg, var(--accent-orange-dark) 0%, #c0581b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-orange-rgb), 0.5);
}

/* ==========================================================================
   12. Partners Section (Section 10)
   ========================================================================== */
.partners-section {
    padding: 60px 0;
    background-color: var(--neutral-light);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.partners-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--neutral-gray);
    text-align: center;
    margin-bottom: 30px;
}
.partners-slider-wrapper {
    width: 100%;
}
.partners-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px 60px;
    align-items: center;
    width: 100%;
}
.partner-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner-logo-item img,
.partner-logo-item i {
    max-height: 45px;
    max-width: 100%;
    color: var(--neutral-gray);
    filter: grayscale(1) opacity(0.4);
    transition: var(--transition-smooth);
}
.partner-logo-item img:hover,
.partner-logo-item i:hover {
    filter: grayscale(0) opacity(0.85);
    color: var(--primary-teal);
    transform: scale(1.08);
}

/* ==========================================================================
   13. Premium Contact Block (Section 11)
   ========================================================================== */
.contact-block-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #072a27 0%, #0d5c54 60%, #083631 100%);
    position: relative;
    overflow: hidden;
}

/* Glowing ambient color indicators */
.contact-block-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(240, 133, 53, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.contact-block-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Center and style section titles inside the contact block */
.contact-block-section .text-center .section-title::after {
    right: calc(50% - 30px);
    width: 60px;
}

.contact-block-section .text-center .section-title::before {
    right: calc(50% + 40px);
    width: 15px;
}

/* If not bg-light, style title for dark background */
.contact-block-section:not(.bg-light) .section-title {
    color: var(--white);
}
.contact-block-section:not(.bg-light) .section-title::after {
    background: #2dd4bf;
}
.contact-block-section:not(.bg-light) .section-title::before {
    background: var(--accent-orange);
}

/* If bg-light, style title for light background */
.contact-block-section.bg-light .section-title {
    color: var(--neutral-dark);
}
.contact-block-section.bg-light .section-title::after {
    background: var(--primary-teal);
}
.contact-block-section.bg-light .section-title::before {
    background: var(--accent-orange);
}

.contact-card-box {
    background-color: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(13, 148, 136, 0.08);
    border-top: 4px solid var(--primary-teal);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
    border-top-color: var(--accent-orange);
    border-color: rgba(240, 133, 53, 0.15);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 1.6rem;
    transition: var(--transition-smooth);
    position: relative;
}

.contact-card-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px dashed var(--primary-teal);
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.contact-card-box:hover .contact-card-icon {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: rotateY(360deg);
}

.contact-card-box:hover .contact-card-icon::after {
    border-color: var(--accent-orange);
    transform: rotate(180deg);
    opacity: 0.8;
}

.contact-card-box h4 {
    color: var(--neutral-dark);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.contact-card-box:hover h4 {
    color: var(--primary-teal);
}

.contact-card-box p {
    font-size: 0.95rem;
    color: var(--neutral-gray);
    margin-bottom: 12px;
    line-height: 1.8;
}

.contact-card-box a {
    color: var(--primary-teal);
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-card-box a:hover {
    color: var(--accent-orange);
}

/* Social badges inside mobile contact card */
.social-badges-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
}

.social-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--white) !important;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.social-pill-badge.eitaa-badge {
    background-color: var(--accent-orange);
}
.social-pill-badge.eitaa-badge:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(var(--accent-orange-rgb), 0.3);
}

.social-pill-badge.telegram-badge {
    background-color: #229ED9;
}
.social-pill-badge.telegram-badge:hover {
    background-color: #1c85b7;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(34, 158, 217, 0.3);
}

.social-pill-badge.whatsapp-badge {
    background-color: #25D366;
}
.social-pill-badge.whatsapp-badge:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   14. Animated Statistics (Section 12)
   ========================================================================== */
.stats-section {
    padding: 80px 0;
    background-color: var(--white);
}
.stat-box {
    text-align: center;
    padding: 35px 25px;
    background-color: rgba(13, 148, 136, 0.08);
    border-radius: var(--border-radius-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(13, 148, 136, 0.12);
}
.stat-box:hover {
    background-color: rgba(13, 148, 136, 0.14);
    border-color: rgba(13, 148, 136, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.15);
}
.stat-icon {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--neutral-dark);
    margin-bottom: 8px;
    line-height: 1.1;
}
.stat-number span {
    color: var(--accent-orange);
}
.stat-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--neutral-gray);
}

/* ==========================================================================
   15. Footer & Sub-Footer (Sections 13 & 14)
   ========================================================================== */
.main-footer {
    background-color: var(--neutral-dark);
    color: #cbd5e1;
    padding: 80px 0 40px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}
.footer-logo h2 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}
.footer-logo span {
    color: var(--neutral-gray);
    font-size: 0.85rem;
}
.footer-widget h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-teal);
    border-radius: 2px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-links li a:hover {
    color: var(--accent-orange);
    transform: translateX(-5px);
}
.footer-links li a i {
    font-size: 0.8rem;
    color: var(--primary-teal);
}
.footer-contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}
.footer-contact-info li i {
    color: var(--primary-teal);
    font-size: 1.1rem;
    margin-top: 5px;
}
.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.footer-social-icons a:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* Sub-Footer */
.sub-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 20px 0;
    font-size: 0.85rem;
}
    .sub-footer a {
        color: #94a3b8!important;
    }
.sub-footer a:hover {
    color: var(--accent-orange);
}

/* ==========================================================================
   16. Go to Top Circular Scroll-Progress Button
   ========================================================================== */
.go-top-progress {
    position: fixed;
    bottom: 30px;
    left: 30px; /* RTL screen layout, standard is right side, but left is excellent for RTL overlap prevention */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}
.go-top-progress.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.go-top-progress svg {
    position: absolute;
    width: 100%;
    height: 100%;
}
.go-top-progress svg circle {
    fill: none;
    stroke: var(--primary-teal);
    stroke-width: 3;
    stroke-dasharray: 138;
    stroke-dashoffset: 138;
    transition: stroke-dashoffset 0.1s linear;
}
.go-top-progress .go-top-icon {
    font-size: 1.1rem;
    color: var(--primary-teal);
    z-index: 1;
    transition: var(--transition-smooth);
}
.go-top-progress:hover {
    background-color: var(--primary-teal);
}
.go-top-progress:hover .go-top-icon {
    color: var(--white);
    transform: translateY(-2px);
}

/* ==========================================================================
   17. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 50px 0 80px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-description {
        margin: 0 auto 30px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        margin-top: 50px;
    }
    .about-content {
        padding-right: 0;
        margin-top: 50px;
    }
    .booking-text-wrapper {
        padding-left: 0;
        margin-bottom: 50px;
    }
    .search-box {
        margin: 15px auto 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-custom {
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
    }
    .btn-lg {
        font-size: 1rem !important;
    }
    .experience-badge {
        right: -10px;
        bottom: -20px;
        padding: 15px;
        min-width: 120px;
    }
    .experience-num {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .main-navbar .nav-link {
        padding: 10px 15px !important;
    }
    .main-navbar .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: var(--neutral-light);
        margin: 5px 0;
    }
    .top-utility-bar {
        display: none !important; /* Hide tiny top bar on mobile */
    }
}

/* ==========================================================================
   18. Psychologists Filter Styles
   ========================================================================== */
.filter-tabs-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--neutral-gray);
    background-color: var(--neutral-light);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
}
.filter-btn:hover {
    color: var(--primary-teal);
    background-color: var(--primary-teal-light);
    border-color: rgba(13, 148, 136, 0.15);
}
.filter-btn.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    border-color: var(--primary-teal);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}
.therapist-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.therapist-item.hide {
    display: none !important;
    opacity: 0;
    transform: scale(0.8);
}
.therapist-item.show {
    display: block !important;
    animation: fadeInScale 0.4s forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ==========================================================================
   19. Single Blog Post & Share Sticky Styles
   ========================================================================== */

/* Breadcrumbs Styling */
.breadcrumb-wrapper {
    background-color: var(--neutral-light);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 0.9rem;
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb-list li a {
    color: var(--neutral-gray);
    font-weight: 500;
}
.breadcrumb-list li a:hover {
    color: var(--primary-teal);
}
.breadcrumb-list li::after {
    content: '\f104';
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    color: var(--neutral-gray);
    font-size: 0.8rem;
    margin-right: 8px;
}
.breadcrumb-list li:last-child::after {
    display: none;
}
.breadcrumb-list li.active {
    color: var(--primary-teal);
    font-weight: bold;
}

/* Blog Single Page Layout */
.blog-single-section {
    padding: 60px 0 100px 0;
    background-color: var(--white);
}

.article-container {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    margin-bottom: 40px;
}

.article-category {
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--neutral-dark);
}

/* Article Meta Header */
.article-meta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
}
.author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-meta img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-teal-light);
}
.author-meta-info h5 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: bold;
}
.author-meta-info span {
    font-size: 0.75rem;
    color: var(--neutral-gray);
}
.meta-items-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--neutral-gray);
}
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.meta-item i {
    color: var(--primary-teal);
}

/* Featured Image */
.article-featured-image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}
.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

/* Article Body Typography */
.article-body-content {
    font-size: 1.1rem;
    line-height: 1.95;
    color: var(--neutral-dark);
}
.article-body-content p {
    margin-bottom: 25px;
    text-align: justify;
}
.article-body-content h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 45px 0 20px 0;
    color: var(--neutral-dark);
    position: relative;
    padding-right: 15px;
}
.article-body-content h2::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 5px;
    height: 24px;
    background-color: var(--primary-teal);
    border-radius: 2px;
}
.article-body-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 35px 0 15px 0;
    color: var(--neutral-dark);
}
.article-body-content blockquote {
    background-color: var(--primary-teal-light);
    border-right: 5px solid var(--primary-teal);
    padding: 25px 30px;
    margin: 40px 0;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--primary-teal-dark);
    font-weight: 500;
}
.article-body-content blockquote p {
    margin-bottom: 0;
}
.article-body-content ul, 
.article-body-content ol {
    margin-bottom: 25px;
    padding-right: 20px;
}
.article-body-content li {
    margin-bottom: 10px;
}
.article-body-content ul li {
    list-style-type: square;
}

/* Article Tags */
.article-tags-wrapper {
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.tags-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--neutral-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.tags-title i {
    color: var(--primary-teal);
}
.tag-pill {
    font-size: 0.8rem;
    background-color: var(--neutral-light);
    color: var(--neutral-gray);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-weight: 500;
}
.tag-pill:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

/* Author Bio Card */
.author-bio-card {
    background-color: var(--primary-teal-lighter);
    border: 1px solid rgba(13, 148, 136, 0.08);
    border-radius: var(--border-radius-md);
    padding: 30px;
    margin-top: 40px;
    display: flex;
    gap: 25px;
    align-items: center;
    box-shadow: 0 10px 25px rgba(13, 148, 136, 0.03);
}
.author-bio-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: var(--card-shadow);
}
.author-bio-info h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--primary-teal-dark);
}
.author-bio-info .author-title {
    font-size: 0.85rem;
    color: var(--neutral-gray);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.author-bio-info p {
    font-size: 0.9rem;
    color: var(--neutral-dark);
    margin-bottom: 15px;
    line-height: 1.7;
}
.author-bio-socials {
    display: flex;
    gap: 10px;
}
.author-bio-socials a {
    width: 32px;
    height: 32px;
    background-color: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: var(--card-shadow);
}
.author-bio-socials a:hover {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}
.widget-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-teal-light);
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-teal);
}

/* Popular Articles Sidebar List */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.popular-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
}
.popular-post-thumb {
    width: 75px;
    height: 75px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.popular-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.popular-post-item:hover .popular-post-thumb img {
    transform: scale(1.08);
}
.popular-post-info h5 {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 6px;
}
.popular-post-info h5 a {
    color: var(--neutral-dark);
}
.popular-post-info h5 a:hover {
    color: var(--primary-teal);
}
.popular-post-date {
    font-size: 0.75rem;
    color: var(--neutral-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Categories Widget */
.widget-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-categories li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 10px 0;
}
.widget-categories li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget-categories li a {
    display: flex;
    justify-content: space-between;
    color: var(--neutral-dark);
    font-weight: 600;
    font-size: 0.9rem;
}
.widget-categories li a span.cat-count {
    background-color: var(--neutral-light);
    color: var(--neutral-gray);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}
.widget-categories li a:hover {
    color: var(--primary-teal);
}
.widget-categories li a:hover span.cat-count {
    background-color: var(--primary-teal);
    color: var(--white);
}

/* Sidebar Booking CTA */
.widget-cta-booking {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 35px 30px;
}
.widget-cta-booking h4 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.widget-cta-booking p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}
.widget-cta-booking .btn-booking-cta {
    background-color: var(--white);
    color: var(--primary-teal) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}
.widget-cta-booking .btn-booking-cta:hover {
    background-color: var(--accent-orange);
    color: var(--white) !important;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .widget-cta-booking {
        position: -webkit-sticky;
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}

/* Inline Share Footer Styling */
.article-share-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 35px;
}
.article-share-footer .share-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--neutral-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-share-footer .share-title i {
    color: var(--primary-teal);
}
.share-buttons-inline {
    display: flex;
    gap: 10px;
}

/* Sharing Button */
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-gray);
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    background-color: var(--neutral-light);
    border: none;
    cursor: pointer;
}
.share-btn:hover {
    color: var(--white);
    transform: scale(1.1);
}
.share-btn.telegram:hover { background-color: #0088cc; }
.share-btn.whatsapp:hover { background-color: #25d366; }
.share-btn.linkedin:hover { background-color: #0077b5; }
.share-btn.twitter:hover { background-color: #1da1f2; }
.share-btn.copy-link:hover { background-color: var(--primary-teal); }

/* Suggested Articles (Random Posts) Section */
.suggested-posts-section {
    padding: 80px 0;
    background-color: var(--neutral-light);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}
.suggested-title-wrapper {
    margin-bottom: 45px;
}
.suggested-title-wrapper .section-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

/* Clipboard Toast Alert */
.share-toast {
    position: fixed;
    bottom: 80px;
    left: 30px;
    background-color: var(--neutral-dark);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}
.share-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.share-toast i {
    color: #4ade80;
    font-size: 1.1rem;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .article-container {
        padding: 25px;
    }
    .article-title {
        font-size: 1.8rem;
    }
    .author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    .author-bio-socials {
        justify-content: center;
    }
    .share-toast {
        bottom: 85px;
        left: 50%;
        transform: translate(-50%, 15px);
    }
    .share-toast.show {
        transform: translate(-50%, 0);
    }
}


/* ==========================================================================
   19. Contact Page Specific Styles
   ========================================================================== */
.subpage-hero {
    background: linear-gradient(180deg, var(--primary-teal-light) 0%, rgba(255,255,255,1) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.subpage-hero h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--neutral-dark);
    margin-bottom: 15px;
}
.subpage-breadcrumbs {
    font-size: 0.95rem;
    color: var(--neutral-gray);
    font-weight: bold;
}
.subpage-breadcrumbs a {
    color: var(--primary-teal);
    transition: var(--transition-smooth);
}
.subpage-breadcrumbs a:hover {
    color: var(--accent-orange);
}
.subpage-breadcrumbs span {
    margin: 0 10px;
    color: var(--neutral-gray);
}
.contact-page-card {
    background-color: var(--white);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    height: 100%;
}
.contact-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(13, 148, 136, 0.15);
}
.contact-page-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.8rem;
    transition: var(--transition-smooth);
}
.contact-page-card:hover .contact-page-card-icon {
    background-color: var(--primary-teal);
    color: var(--white);
    transform: rotateY(360deg);
}
.contact-page-card h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--neutral-dark);
}
.contact-page-card p {
    font-size: 0.95rem;
    color: var(--neutral-gray);
    margin-bottom: 8px;
    line-height: 1.7;
}
.contact-page-card a {
    font-weight: bold;
    color: var(--primary-teal);
}
.contact-page-card a:hover {
    color: var(--accent-orange);
}
.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}
.contact-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.contact-social-icons a:hover {
    background-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   20. Blog Page Specific Styles
   ========================================================================== */
.blog-filter-bar {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
}
.custom-select-filter {
    border-radius: var(--border-radius-sm);
    border: 1px solid #e2e8f0;
    padding: 8px 35px 8px 15px;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    transition: var(--transition-smooth);
    min-width: 200px;
}
.custom-select-filter:focus {
    border-color: var(--primary-teal);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    outline: none;
}
.custom-pagination .page-item .page-link {
    color: var(--neutral-dark);
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    margin: 0 5px;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: bold;
    transition: var(--transition-smooth);
}
.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    border-color: var(--primary-teal);
    color: var(--white) !important;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}
.custom-pagination .page-item:not(.active):not(.disabled) .page-link:hover {
    color: var(--primary-teal);
    background-color: var(--primary-teal-light);
    border-color: var(--primary-teal);
}
.custom-pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    background-color: var(--neutral-light);
    border-color: #e2e8f0;
}

/* ==========================================================================
   21. Text Justification Overrides
   ========================================================================== */
.about-content p {
    text-align: justify;
}

.blog-body p {
    text-align: justify;
}

.booking-text-wrapper {
    padding-left: 30px;
    text-align: justify;
}

.main-footer p {
    text-align: justify;
}

/* ==========================================================================
   22. Refactored Inline CSS Classes
   ========================================================================== */
.logo-icon-custom {
    font-size: 1.8rem;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.logo-text-title-custom {
    font-size: 1.6rem;
    color: var(--primary-teal);
}
.logo-text-subtitle-custom {
    font-size: 0.85rem;
    font-weight: bold;
}
.footer-logo-icon-custom {
    font-size: 1.5rem;
    background-color: var(--primary-teal);
    color: var(--white);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.footer-logo-title-custom {
    font-size: 0.8rem;
}
.footer-logo-bio-custom {
    font-size: 0.9rem;
}
.footer-contact-info-custom {
    list-style: none;
    padding-right: 0;
}
.breadcrumb-list-custom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}
.validation-message-custom {
    font-size: 0.8rem;
}
.booking-captcha-image {
    height: 45px;
    width: 120px;
    cursor: pointer;
}
.contact-header-subtitle-custom {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.contact-phone-custom {
    font-size: 1.15rem;
}
.page-hero-custom {
    background: linear-gradient(180deg, var(--primary-teal-light) 0%, rgba(255,255,255,1) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.page-hero-circle-1 {
    width: 300px;
    height: 300px;
    left: -80px;
    top: -40px;
    opacity: 0.8;
}
.page-hero-circle-2 {
    width: 200px;
    height: 200px;
    right: -40px;
    bottom: -40px;
    opacity: 0.8;
}
.page-hero-inner {
    position: relative;
    z-index: 2;
}
.page-hero-title-custom {
    font-size: 2.5rem;
    color: var(--neutral-dark);
}
.page-hero-breadcrumb-custom {
    font-weight: bold;
    font-size: 0.95rem;
    list-style: none;
    padding: 0;
}
.page-hero-home-link-custom {
    color: var(--primary-teal);
}
.therapist-details-name-link-custom {
    color: inherit;
    text-decoration: none;
}
.psychologist-avatar-details {
    width: 190px;
    height: 190px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.psychologist-details-title {
    font-size: 2.1rem;
    color: var(--neutral-dark);
}
.psychologist-details-skills-badge {
    font-size: 0.8rem;
}
.psychologist-details-bio {
    font-size: 1.05rem;
    line-height: 1.85;
    text-align: justify;
}
.psychologist-details-header-border {
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-teal-light);
}
.psychologist-details-header-accent {
    width: 50px;
    height: 2px;
    background-color: var(--primary-teal);
}
.psychologist-details-bio-content {
    line-height: 1.8;
    text-align: justify;
}
.psychologist-details-other-specialists-title {
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-teal-light);
    padding-bottom: 10px;
}
.psychologist-details-other-avatar {
    width: 55px;
    height: 55px;
    overflow: hidden;
    border: 2px solid var(--primary-teal-light);
    flex-shrink: 0;
}
.psychologist-details-other-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.psychologist-details-other-name {
    font-size: 0.9rem;
    font-weight: bold;
}
.psychologist-details-other-link {
    color: var(--neutral-dark);
    text-decoration: none;
}
.psychologist-details-other-position {
    font-size: 0.75rem;
}
.psychologist-details-cta-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}
.btn-booking-cta-custom {
    border-radius: 30px;
    background-color: white !important;
    color: var(--primary-teal) !important;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-block;
    padding: 8px 24px;
}
.blog-hero-title {
    font-size: 2.5rem;
    color: var(--neutral-dark);
}
.blog-hero-breadcrumbs {
    font-weight: bold;
    font-size: 0.95rem;
}
.blog-hero-home-link {
    color: var(--primary-teal);
    text-decoration: none;
}
.blog-list-bg {
    background-color: var(--neutral-light);
}
.blog-card-title-link {
    color: var(--neutral-dark);
    text-decoration: none;
}
.blog-no-articles-icon {
    font-size: 3rem;
}
.article-category-badge {
    font-size: 0.8rem;
}
.article-title-custom {
    font-size: 2.1rem;
    color: var(--neutral-dark);
}
.article-meta-text {
    font-size: 0.85rem;
}
.article-meta-author-name {
    font-size: 0.95rem;
}
.article-meta-author-role {
    font-size: 0.75rem;
}
.article-meta-details-text {
    font-size: 0.85rem;
}
.article-featured-image-wrapper {
    max-height: 400px;
}
.article-featured-image-img {
    object-fit: cover;
}
.article-body-custom {
    line-height: 1.85;
    text-align: justify;
}
.article-tag-link {
    font-size: 0.85rem;
    text-decoration: none;
}
.sidebar-widget-categories-title {
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-teal-light);
    padding-bottom: 10px;
}
.sidebar-widget-category-link {
    color: var(--neutral-dark);
    text-decoration: none;
}
.sidebar-widget-category-count {
    font-size: 0.8rem;
}
.sidebar-widget-popular-title {
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-teal-light);
    padding-bottom: 10px;
}
.sidebar-widget-popular-thumb {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
}
.sidebar-widget-popular-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-widget-popular-item-title {
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.4;
}
.sidebar-widget-popular-item-link {
    color: var(--neutral-dark);
    text-decoration: none;
}
.sidebar-widget-popular-item-date {
    font-size: 0.75rem;
}
.sidebar-widget-cta-text {
    font-size: 0.9rem;
    opacity: 0.9;
}
.blog-suggested-posts-bg {
    background-color: var(--neutral-light);
}
.blog-suggested-card-img-wrapper {
    max-height: 400px;
}
.blog-suggested-card-title {
    font-size: 1.1rem;
}
.blog-suggested-card-desc {
    font-size: 0.9rem;
}
.blog-suggested-card-footer {
    font-size: 0.8rem;
}
.clipboard-toast-custom {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary-teal);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    align-items: center;
    gap: 8px;
}
.service-icon-custom {
    font-size: 2.2rem;
    background-color: var(--primary-teal-light);
    color: var(--primary-teal);
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.service-body-text {
    line-height: 1.85;
    text-align: justify;
    font-size: 1.05rem;
}
.sidebar-widget-services-title {
    color: var(--neutral-dark);
    border-bottom: 2px solid var(--primary-teal-light);
    padding-bottom: 10px;
}
.sidebar-widget-service-icon {
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}
.sidebar-widget-service-link {
    color: var(--neutral-dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}
.sidebar-widget-service-cta-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

.service-details-title {
    font-size: 2.1rem;
    color: var(--neutral-dark);
}

.success-modal-direction {
    direction: rtl;
}
.success-modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}
.success-modal-icon-wrapper {
    font-size: 4.5rem;
    color: #27794e;
    margin-bottom: 0!important;
}
.success-modal-title {
    color: #27794e;
}
.success-modal-close-btn {
    border-radius: 30px;
}
.contact-map-icon-custom {
    font-size: 0.75rem;
}

/* --- Captcha & Booking Form Validation Styling --- */
.booking-form-card .invalid-feedback {
    color: #ff6b6b !important; /* Premium bright red for clear error visibility on dark teal */
    font-weight: 600;
    margin-top: 6px;
    display: none;
    font-size: 0.85rem;
}

.booking-form-card input.is-invalid,
.booking-form-card select.is-invalid,
.booking-form-card textarea.is-invalid {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.4) !important;
    background-color: rgba(255, 107, 107, 0.08) !important;
}

#bookingErrorAlert {
    border-radius: 12px;
    background-color: rgba(255, 107, 107, 0.15) !important;
    border: 1px solid rgba(255, 107, 107, 0.3) !important;
    color: #ffb3b3 !important;
    font-weight: bold;
    font-size: 0.9rem;
    padding: 12px 16px;
    margin-top: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.1);
}

/* Shake animation for validation errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    15%, 45%, 75% { transform: translateX(-6px); }
    30%, 60%, 90% { transform: translateX(6px); }
}
.shake-element {
    animation: shake 0.4s ease-in-out;
}

/* ==========================================================================
   16. Blog Comments & Replies Styling
   ========================================================================== */
.comments-section {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--white);
}
.comments-title {
    font-size: 1.5rem;
    color: var(--neutral-dark);
}
.comment-card {
    background-color: var(--neutral-light);
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
    position: relative;
    transition: var(--transition-smooth);
}
.comment-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.2);
}
.reply-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    box-shadow: 0 4px 8px rgba(240, 133, 53, 0.2);
}
.commenter-name {
    font-size: 0.95rem;
    color: var(--neutral-dark);
}
.comment-date {
    font-size: 0.75rem;
    color: var(--neutral-gray) !important;
    display: block;
    margin-top: 2px;
}
.comment-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 10px;
    word-break: break-word;
}
.btn-reply {
    color: var(--primary-teal);
    border-color: rgba(13, 148, 136, 0.3);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    transition: var(--transition-smooth);
}
.btn-reply:hover {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}
.replies-list {
    margin-right: 3rem;
    border-right: 3px solid var(--primary-teal-light);
    padding-right: 1.2rem;
}
.reply-card {
    background-color: var(--primary-teal-lighter);
    border: 1px solid rgba(13, 148, 136, 0.05) !important;
    transition: var(--transition-smooth);
}
.reply-card:hover {
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.03);
}

/* Comments Form Styles on Light Background */
.comment-form-wrapper .form-group-custom label {
    color: var(--neutral-dark);
}
.comment-form-wrapper .form-group-custom input,
.comment-form-wrapper .form-group-custom textarea {
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.comment-form-wrapper .form-group-custom input::placeholder,
.comment-form-wrapper .form-group-custom textarea::placeholder {
    color: var(--neutral-gray);
    opacity: 0.7;
}
.comment-form-wrapper .form-group-custom input:focus,
.comment-form-wrapper .form-group-custom textarea:focus {
    background-color: var(--white);
    border-color: var(--primary-teal);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.15);
}
.comment-form-wrapper .form-control-custom-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.comment-form-wrapper .form-control-custom {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.input-group-custom-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-group-custom-wrapper .input-group-icon {
    position: absolute;
    right: 16px;
    color: var(--neutral-gray);
    pointer-events: none;
    z-index: 5;
}
.input-group-custom-wrapper input {
    padding-right: 42px !important;
}
.captcha-img-box {
    border-radius: 12px !important;
    height: 48px;
    cursor: pointer;
    flex-shrink: 0;
}
.reply-info-banner {
    display: flex;
    align-items: center;
    border-radius: 10px;
    font-size: 0.9rem;
    background-color: var(--primary-teal-light) !important;
    color: var(--primary-teal) !important;
    border: 1px solid rgba(13, 148, 136, 0.1);
}
.reply-info-banner .btn-close {
    filter: invert(41%) sepia(85%) saturate(375%) hue-rotate(125deg) brightness(90%) contrast(93%); /* teal colored icon */
}

@media (max-width: 768px) {
    .replies-list {
        margin-right: 1.5rem;
        padding-right: 0.8rem;
    }
}

