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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Top Contact Bar */
.top-contact-bar {
    background-color: #187e81;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.top-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info .address {
    font-weight: 500;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-actions .contact-icon {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.contact-actions .contact-icon:hover {
    opacity: 0.8;
}

.contact-actions .contact-icon .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-actions .contact-icon .heroicon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Makes SVG white */
    transition: all 0.3s ease;
}

.contact-actions .contact-icon:hover .heroicon {
    transform: scale(1.1);
    filter: brightness(0) invert(0.9); /* Slightly dimmer on hover */
}

/* Navigation */
.navbar {
    background-color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 40px; /* Adjusted to account for top contact bar */
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: visible;
}

.nav-link.active {
    color: #187e81 !important;
    font-weight: 600;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    overflow: visible;
}

.nav-logo {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
}

.nav-logo a {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    background: transparent;
    display: block;
    border: none;
    outline: none;
    box-shadow: none;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #187e81;
}

.nav-link.cta-button {
    background-color: #187e81;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.nav-link.cta-button:hover {
    background-color: #0f5a5c;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #187e81;
    font-weight: bold;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: #187e81;
}

/* Mobile Menu Toggle - Hidden on Desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Desktop-specific dropdown arrow styling */
@media (min-width: 769px) {
    .dropdown-arrow {
        transition: transform 0.3s ease;
    }
    
    .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Hero Section */
.hero {
    min-height: 700px; /* Reduced from full viewport height */
    background: linear-gradient(rgba(24, 126, 129, 0.8), rgba(15, 90, 92, 0.8)), url('../images/content/hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #187e81;
    color: white;
}

.btn-primary:hover {
    background-color: #0f5a5c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #187e81;
}

/* Service page specific secondary button */
.service-buttons .btn-secondary {
    background-color: #f8f9fa;
    color: #187e81;
    border-color: #187e81;
}

.service-buttons .btn-secondary:hover {
    background-color: #187e81;
    color: white;
}

/* Hero section secondary button (for home page) */
.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background-color: white;
    color: #187e81;
}

/* Contact page and other pages secondary button */
.contact-detailed .btn-secondary,
.faq-detailed .btn-secondary,
.service-detailed .btn-secondary {
    background-color: #f8f9fa;
    color: #187e81;
    border-color: #187e81;
}

.contact-detailed .btn-secondary:hover,
.faq-detailed .btn-secondary:hover,
.service-detailed .btn-secondary:hover {
    background-color: #187e81;
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    padding-top: 20px;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.credentials {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.credentials h3 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Online therapy specific styling - smaller and round */
.service-icon.online-therapy {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #187e81;
}

.service-card p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.service-link {
    color: #2f80ed;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #187e81;
}

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

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

.contact-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.contact-item a {
    color: #2f80ed;
    text-decoration: none;
}

.contact-item a:hover {
    color: #187e81;
}

.contact-cta {
    background-color: #187e81;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-cta h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-cta .btn-primary {
    background-color: white;
    color: #187e81;
}

.contact-cta .btn-primary:hover {
    background-color: #f8f9fa;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #187e81;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #187e81;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Scroll Margin for Fixed Navigation */
section[id] {
    scroll-margin-top: 100px;
}

/* SPA Main Content */
#main-content {
    min-height: 100vh;
    padding-top: 90px; /* Adjusted for top contact bar + navigation */
}

/* Page Content Styles */
.page-content {
    width: 100%;
}

/* Hero Section for Pages */
.hero-section {
    background: linear-gradient(rgba(24, 126, 129, 0.8), rgba(47, 128, 237, 0.8)), url('../images/content/hero-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
}

/* About Company Page Hero - uses different background image */
.about-company-page .hero-section {
    background: linear-gradient(rgba(24, 126, 129, 0.8), rgba(47, 128, 237, 0.8)), url('../lg-logo-blank.png');
    background-size: 800px auto;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero Logo Styling */
.hero-logo {
    height: 480px;
    width: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Page Styles */
.services-detailed {
    padding: 80px 0;
}

/* Individual Service Page Styles */
.service-detailed {
    padding: 80px 0;
}

.service-overview {
    margin-bottom: 60px;
}

.service-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

.service-icon-large {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Individual counseling specific styling - rectangular and taller */
.service-icon-large.individual-counseling {
    width: 150px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

/* Online therapy specific styling - rectangular and taller */
.service-icon-large.online-therapy {
    width: 150px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    background-color: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.service-content h2 {
    color: #187e81;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.service-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #187e81;
    margin-bottom: 20px;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.detail-section {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.detail-section h3 {
    color: #187e81;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.expectation-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expectation-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.focus-area {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.focus-area h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.approach-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.approach-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.session-detail {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.session-detail h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.consideration-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.consideration-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.getting-started-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.step h4 {
    color: #187e81;
    margin-bottom: 15px;
}

/* Additional service page elements */
.emdr-explanation,
.hypnosis-explanation,
.process-explanation {
    margin-bottom: 30px;
}

.emdr-benefits,
.hypnosis-process,
.process-steps {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.emdr-benefits h4,
.hypnosis-process h4,
.process-steps h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.emdr-benefits ul,
.hypnosis-process ul,
.process-steps ul {
    margin: 15px 0;
    padding-left: 20px;
}

.emdr-benefits li,
.hypnosis-process li,
.process-steps li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.requirements-section {
    margin-bottom: 30px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.requirement-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.requirement-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.technical-support {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #187e81;
}

.technical-support h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.privacy-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.privacy-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.tip-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tip-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

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

.myth-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.myth-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

/* FAQ Page Styles */
.faq-detailed {
    padding: 80px 0;
}

.faq-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.faq-category {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.faq-category h2 {
    color: #187e81;
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
}

.faq-item {
    background-color: white;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    background-color: #187e81;
    color: white;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.faq-item h3:hover {
    background-color: #0f5a5c;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.faq-answer a {
    color: #187e81;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #0f5a5c;
    text-decoration: underline;
}

.faq-cta {
    background-color: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
}

.faq-cta h3 {
    color: #187e81;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.faq-cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Company Page Styles */
.company-detailed {
    padding: 80px 0;
}





.vision-section {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.vision-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.vision-point {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vision-point h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.values-section {
    margin-bottom: 60px;
}

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

.value-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.value-item h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.community-section {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.community-commitments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.commitment-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.commitment-item h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.practice-info {
    margin-bottom: 60px;
}

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

.practice-detail {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
}

.practice-detail h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.cta-section {
    background-color: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
}

.cta-section h2 {
    color: #187e81;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-item {
    margin-bottom: 60px;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-header .service-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-right: 20px;
}

/* Override for online therapy to make it circular */
.service-header .service-icon.online-therapy {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.service-header h2 {
    color: #187e81;
    font-size: 2rem;
    margin: 0;
}

.service-heading-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-heading-link:hover {
    color: #0f5a5c;
    text-decoration: none;
}

.service-content h3 {
    color: #187e81;
    margin: 25px 0 15px;
}

.service-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.service-buttons .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

/* About Page Styles */
.about-detailed {
    padding: 80px 0;
}

.about-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.about-image-large img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-intro .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #187e81;
    margin-bottom: 20px;
}

.about-story {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

.credentials-detailed {
    margin-bottom: 60px;
}

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

.credential-item {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.credential-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.specializations {
    margin-bottom: 60px;
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.specialization-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.specialization-item h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.specialization-item ul {
    list-style: none;
    padding: 0;
}

.specialization-item li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.specialization-item li:last-child {
    border-bottom: none;
}

.philosophy {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 60px;
}

/* Contact Page Styles */
.contact-detailed {
    padding: 80px 0;
}

/* Home Page Resources Container */
.resources-container {
    width: 840px;
    margin: 40px auto 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-method-full {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-method-full .contact-icon {
    margin-right: 20px;
}

.contact-method-full .contact-details {
    flex: 1;
    margin-right: 40px;
}

.contact-method-full .contact-details:last-child {
    margin-right: 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #187e81;
    margin-bottom: 10px;
}

.contact-details .note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

.booking-section-full {
    background-color: #187e81;
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.booking-section {
    background-color: #187e81;
    color: white;
    padding: 40px;
    border-radius: 15px;
}

.booking-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.booking-option {
    text-align: center;
    padding: 25px 20px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    margin: 0;
    width: 100%;
    transition: all 0.3s ease;
}

.booking-option:hover {
    background-color: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.booking-option h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.booking-option p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.appointment-info {
    margin-top: 30px;
}

.appointment-info ul {
    list-style: none;
    padding: 0;
}

.appointment-info li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.appointment-info li:last-child {
    border-bottom: none;
}

.location-section {
    margin-bottom: 60px;
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.location-info h3 {
    color: #187e81;
    margin-bottom: 15px;
}

.location-info h4 {
    color: #187e81;
    margin: 25px 0 10px;
}

.location-map {
    background-color: transparent;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-map iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 10px;
    display: block;
}

.map-placeholder h4 {
    color: #187e81;
    margin-bottom: 15px;
}

.map-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.faq-section {
    margin-bottom: 60px;
}

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

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: white;
    background-color: #187e81;
    padding: 15px 20px;
    margin: -25px -25px 15px -25px;
    border-radius: 10px 10px 0 0;
    font-size: 1.1rem;
}

.cta-section {
    background-color: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Error Page */
.error-page {
    padding: 100px 0;
    text-align: center;
}

.error-page h1 {
    color: #187e81;
    margin-bottom: 20px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Mobile-specific enhancements */
@media (max-width: 768px) {
    /* Improved touch targets */
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better focus states for accessibility */
    .nav-link:focus,
    .btn:focus,
    .service-link:focus {
        outline: 2px solid #187e81;
        outline-offset: 2px;
    }
    
    /* Improved button hover states for touch devices */
    .btn:hover,
    .service-link:hover,
    .nav-link:hover {
        transform: translateY(-2px);
        transition: transform 0.2s ease;
    }
    
    /* Better spacing for mobile forms */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
        border-radius: 8px;
        border: 2px solid #e9ecef;
        transition: border-color 0.3s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        outline: none;
        border-color: #187e81;
        box-shadow: 0 0 0 3px rgba(24, 126, 129, 0.1);
    }
    
    /* Enhanced service card interactions */
    .service-card {
        cursor: pointer;
        user-select: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
    
    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improved text readability */
    p, li {
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* Better list spacing */
    ul, ol {
        padding-left: 20px;
    }
    
    li {
        margin-bottom: 8px;
    }
    
    /* Enhanced contact icons */
    .contact-actions .contact-icon {
        position: relative;
    }
}

/* Extra mobile optimizations */
@media (max-width: 480px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Better container padding */
    .container {
        padding: 0 15px;
    }
    
    /* Improved button sizing */
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Better hero content spacing */
    .hero-content {
        padding: 0 15px;
    }
    
    /* Enhanced service grid */
    .services-grid {
        gap: 20px;
    }
    
    /* Better footer spacing */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* Landscape mobile optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 20px 0;
    }
    
    .nav-menu {
        max-height: 70vh;
    }
    
    .section {
        padding: 30px 0;
    }
}

/* Facebook Feed Section Styles */
.social-feed-section,
.social-media-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.social-media-section {
    margin-bottom: 80px;
}

.social-media-section h2 {
    text-align: center;
    color: #2f80ed;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.social-media-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2f80ed, #64b5f6);
    border-radius: 2px;
}

.social-feed-section::before,
.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.social-feed-section .section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.social-feed-container {
    display: flex;
    gap: 60px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fb-page {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fb-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.social-links {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-links:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.social-links h3 {
    color: #2f80ed;
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
}

.social-links h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2f80ed, #64b5f6);
    border-radius: 2px;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-button:hover::before {
    left: 100%;
}

.social-button.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-button.facebook:hover {
    background: linear-gradient(135deg, #166fe5 0%, #1464d0 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

.social-button.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(131, 58, 180, 0.3);
}

.social-button.instagram:hover {
    background: linear-gradient(135deg, #7a359f 0%, #e61a1a 50%, #e6a03d 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(131, 58, 180, 0.4);
}

.social-button.psychology-today {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.social-button.psychology-today:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.4);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-button:hover .social-icon {
    transform: scale(1.1);
}

.social-button:hover .social-icon img {
    transform: rotate(5deg);
}

.social-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.2;
}

.social-description {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.social-fallback {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.social-fallback p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.social-fallback a {
    color: #2f80ed;
    text-decoration: none;
    font-weight: 500;
}

.social-fallback a:hover {
    text-decoration: underline;
}


