:root {
  --primary: #4a6fa5;
  --secondary: #ff7e5f;
  --accent: #6b8cae;
  --light: #f5f8fa;
  --dark: #2c3e50;
  --text: #4a5568;
  --white: #ffffff;
  --success: #48bb78;
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Core layout */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.alert-message {
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-message i {
    font-size: 1.2rem;
}

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Mobile reset */
@media (max-width: 768px) {
  html {
    zoom: 1;
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -webkit-transform: scale(1);
  }
  
  .container, .container-fluid, header {
    width: 100% !important;
    max-width: 100% !important;
  }
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Open Sans', sans-serif;
color: var(--text);
line-height: 1.7;
overflow-x: hidden;
background-color: var(--light);
}

h1, h2, h3, h4 {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
margin-bottom: 1.25rem;
color: var(--dark);
}

h1 {
font-size: 2.75rem;
line-height: 1.2;
}

h2 {
font-size: 2.25rem;
position: relative;
padding-bottom: 15px;
margin-bottom: 2.5rem;
}

h2:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 70px;
height: 4px;
background: var(--secondary);
border-radius: 2px;
}

p {
margin-bottom: 1.5rem;
font-size: 1.2rem;
}

a {
text-decoration: none;
color: var(--primary);
transition: all 0.3s ease;
}

a:hover {
color: var(--secondary);
}

.btn {
display: inline-block;
padding: 12px 32px;
background: var(--primary);
color: var(--white);
border-radius: 50px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
font-size: 1.2rem;
box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
}

.btn:hover {
background: var(--accent);
color: var(--white);
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(74, 111, 165, 0.4);
}

.btn-secondary {
background: var(--secondary);
color: var(--white);
box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.btn-secondary:hover {
background: #ff6a45;
color: var(--white);
box-shadow: 0 10px 25px rgba(255, 126, 95, 0.4);
}

.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

section {
padding: 90px 0;
}

.text-center {
text-align: center;
}

.text-center h2:after {
left: 50%;
transform: translateX(-50%);
}

/* Header */
header {
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
background: var(--white);
box-shadow: 0 2px 15px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}

.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}

/* Updated Logo Styles */
.logo {
display: flex;
align-items: center;
font-size: 1.6rem;
font-weight: 700;
color: var(--dark);
font-family: 'Montserrat', sans-serif;
}

.logo-img {
height: 125px; /* Reduced from 130px for better mobile display */
width: auto; /* Maintain aspect ratio */
margin-right: 12px;
}

.logo-text {
display: flex;
flex-direction: column;
line-height: 1.2;
}

.logo-text span:first-child {
font-size: 1.6rem;
}

.logo-text span:last-child {
font-size: 1.2rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
.logo {
font-size: 1.4rem;
}

.logo-img {
height: 100px;
margin-right: 8px;
}

.logo-text span:first-child {
font-size: 1.4rem;
}

.logo-text span:last-child {
font-size: 1rem;
}
}

@media (max-width: 768px) {
nav ul {
position: fixed;
top: 90px; /* Adjusted based on header height */
left: -100%;
width: 100%;
height: calc(100vh - 90px);
background: var(--white);
flex-direction: column;
align-items: center;
padding-top: 40px;
transition: all 0.5s ease;
z-index: 1000;
}

nav ul.active {
left: 0;
}

nav ul li {
margin: 15px 0;
}

.mobile-menu-btn {
display: block;
z-index: 1001;
}

.logo {
font-size: 1.2rem;
}

.logo-img {
height: 100px;
}

.logo-text span:first-child {
font-size: 1.2rem;
}

.logo-text span:last-child {
font-size: 0.9rem;
}
}

@media (max-width: 576px) {
.logo {
font-size: 1.2rem;
flex-direction: column;
align-items: flex-start;
}

.logo-img {
height: 90px;
margin-right: 0;
margin-bottom: 5px;
}

.logo-text {
flex-direction: row;
flex-wrap: wrap;
}

.logo-text span {
white-space: nowrap;
}

.logo-text span:first-child {
font-size: 1rem;
margin-right: 5px;
}

.logo-text span:last-child {
font-size: 0.9rem;
}
}

nav ul {
display: flex;
list-style: none;
}

nav ul li {
margin-left: 30px;
}

nav ul li a {
font-weight: 600;
position: relative;
font-size: 1.05rem;
color: var(--dark);
}

nav ul li a:after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--secondary);
transition: width 0.3s ease;
}

nav ul li a:hover:after {
width: 100%;
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.7rem;
color: var(--dark);
cursor: pointer;
}

/* Hero Section */
.hero {
height: 100vh;
min-height: 700px;
background: linear-gradient(135deg, rgba(74, 111, 165, 0.85) 0%, rgba(107, 140, 174, 0.85) 100%), 
            url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
display: flex;
align-items: center;
color: var(--white);
text-align: center;
padding-top: 80px;
}

.hero-content {
max-width: 850px;
margin: 0 auto;
padding: 0 20px;
}

.hero h1 {
font-size: 3.5rem;
color: var(--white);
margin-bottom: 25px;
line-height: 1.2;
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
font-size: 1.25rem;
margin-bottom: 35px;
color: rgba(255,255,255,0.9);
}

.hero-btns {
display: flex;
justify-content: center;
gap: 25px;
flex-wrap: wrap;
}

/* About Section */
.about {
background: var(--white);
}

.about-content {
display: flex;
align-items: center;
gap: 60px;
}

.about-text {
flex: 1;
}

.about-img {
flex: 1;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.about-img img {
width: 100%;
height: auto;
display: block;
transition: transform 0.5s ease;
}

.about-img:hover img {
transform: scale(1.03);
}

/* Services Section */
.services {
background: var(--light);
}

.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 35px;
margin-top: 50px;
}

.service-card {
background: var(--white);
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
transition: all 0.4s ease;
border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-img {
height: 220px;
overflow: hidden;
}

.service-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
transform: scale(1.1);
}

.service-content {
padding: 30px;
}

.service-content h3 {
margin-bottom: 15px;
color: var(--primary);
}

.service-icon {
font-size: 2.5rem;
color: var(--secondary);
margin-bottom: 20px;
}

/* Stats Section */
.stats {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
color: var(--white);
text-align: center;
padding: 100px 0;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 40px;
margin-top: 60px;
}

.stat-item {
background: rgba(255,255,255,0.1);
padding: 30px 20px;
border-radius: 10px;
backdrop-filter: blur(5px);
border: 1px solid rgba(255,255,255,0.1);
transition: all 0.3s ease;
}

.stat-item:hover {
transform: translateY(-5px);
background: rgba(255,255,255,0.15);
}

.stat-item h3 {
font-size: 3.5rem;
color: var(--white);
margin-bottom: 10px;
}

.stat-item p {
font-size: 1.2rem;
font-weight: 500;
color: rgba(255,255,255,0.9);
}

/* Therapists Section */
.therapists {
background: var(--white);
}

.therapists-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 50px;
}

.therapist-card {
background: var(--light);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
transition: all 0.3s ease;
text-align: center;
padding: 30px;
}

.therapist-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.therapist-icon {
width: 80px;
height: 80px;
background: var(--primary);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
font-size: 2rem;
}

.therapist-card h3 {
color: var(--primary);
margin-bottom: 15px;
}

/* Contact Section */
.contact {
background: var(--white);
}

.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 60px;
}

.contact-info {
margin-bottom: 40px;
}

.contact-info h3 {
margin-bottom: 25px;
}

.contact-details {
margin-bottom: 40px;
}

.contact-detail {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}

.contact-icon {
width: 50px;
height: 50px;
background: var(--light);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
color: var(--primary);
font-size: 1.2rem;
flex-shrink: 0;
}

.contact-text p {
margin-bottom: 5px;
}

.form-group {
margin-bottom: 25px;
}

.form-control {
width: 100%;
padding: 15px 20px;
border: 1px solid #e2e8f0;
border-radius: 8px;
font-family: 'Open Sans', sans-serif;
font-size: 1rem;
transition: all 0.3s ease;
background: var(--light);
}

.form-control:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
background: var(--white);
}

textarea.form-control {
min-height: 180px;
resize: vertical;
}

.form-title {
margin-bottom: 25px;
color: var(--primary);
}

/* Footer */
footer {
background: var(--dark);
color: var(--white);
padding: 80px 0 30px;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 50px;
}

.footer-col h3 {
color: var(--white);
margin-bottom: 30px;
font-size: 1.4rem;
position: relative;
padding-bottom: 15px;
}

.footer-col h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: var(--secondary);
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 15px;
}

.footer-links a {
color: rgba(255,255,255,0.7);
transition: all 0.3s ease;
display: inline-block;
}

.footer-links a:hover {
color: var(--secondary);
transform: translateX(5px);
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-links a {
width: 45px;
height: 45px;
background: rgba(255,255,255,0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--white);
transition: all 0.3s ease;
font-size: 1.2rem;
}

.social-links a:hover {
background: var(--secondary);
color: var(--white);
transform: translateY(-5px);
}

.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255,255,255,0.1);
color: rgba(255,255,255,0.5);
font-size: 0.95rem;
}



/* File Upload Styling */
.file-upload {
margin: 15px 0;
}

.file-upload input[type="file"] {
display: none;
}

.file-upload label {
display: block;
padding: 10px 15px;
background: #f0f0f0;
border: 2px dashed #ccc;
border-radius: 5px;
cursor: pointer;
text-align: center;
}

/* Success Message Styling */
.success-message {
display: none;
background: #dff0d8;
color: #3c763d;
padding: 15px;
margin: 15px 0;
border-radius: 4px;
}
@keyframes modalFadeIn {
from {
    opacity: 0;
    transform: translateY(-50px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.modal-header {
padding: 25px;
background: var(--primary);
color: var(--white);
position: relative;
}

.modal-header h3 {
color: var(--white);
margin: 0;
}

.close-modal:hover {
transform: rotate(90deg);
}


/* Responsive Styles */
@media (max-width: 1200px) {
h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}
}

@media (max-width: 992px) {
section {
    padding: 70px 0;
}

.about-content {
    flex-direction: column;
}

.about-img {
    order: -1;
    margin-bottom: 40px;
    max-width: 600px;
}
}

@media (max-width: 768px) {
h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
}

.hero {
    min-height: 650px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.1rem;
}

.hero-btns {
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
}

nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    transition: all 0.5s ease;
}

nav ul.active {
    left: 0;
}

nav ul li {
    margin: 20px 0;
}

.mobile-menu-btn {
    display: block;
}

.contact-container {
    grid-template-columns: 1fr;
}
}

@media (max-width: 576px) {
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

section {
    padding: 60px 0;
}

.service-card, .therapist-card {
    max-width: 350px;
    margin: 0 auto;
}

.modal-content {
    margin: 30px auto;
}
    
}

/* Modal Overlay */
#therapist-modal.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    overflow-y: auto;
}

/* Modal Content */
#therapist-modal .modal-content {
    position: relative;
    background: white;
    margin: 2rem auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

/* Close Button */
#therapist-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#therapist-modal .close-modal:hover {
    background-color: #f0f0f0;
}

/* Form Styling */
#therapist-modal h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

#therapist-modal .success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: none;
}

#therapist-modal .form-group {
    margin-bottom: 1.2rem;
}

#therapist-modal .form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#therapist-modal .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.25);
}

/* File Upload Styling */
#therapist-modal .file-upload {
    margin: 1.5rem 0;
}

#therapist-modal .file-upload label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#therapist-modal .file-upload label:hover {
    background: #e9ecef;
    border-color: #007bff;
}

#therapist-modal #resume-upload {
    display: none;
}

/* Submit Button */
#therapist-modal .btn {
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#therapist-modal .btn:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 576px) {
    #therapist-modal .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    #therapist-modal h2 {
        font-size: 1.5rem;
    }
}

/* Alert Messages */
.alert-message {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease;
    transition: opacity 0.5s ease;
}

.alert-message i {
    font-size: 1.2rem;
}

.alert-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}