/* Dr. Steven J. Ceresnie Psychology Practice - Original Beautiful Styles */

/* Scrollbar styling */
/* WebKit/Blink (Chrome, Safari, newer Edge) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #3498db;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #3498db #f1f1f1;
}

/* Edge/IE */
body {
    -ms-overflow-style: auto;
    scrollbar-face-color: #3498db;
    scrollbar-track-color: #f1f1f1;
    scrollbar-arrow-color: #2c3e50;
    scrollbar-shadow-color: #2980b9;
    scrollbar-darkshadow-color: #2c3e50;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', Arial, sans-serif;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: -webkit-linear-gradient(left, #3498db, #2c3e50);
    background: -moz-linear-gradient(left, #3498db, #2c3e50);
    background: -ms-linear-gradient(left, #3498db, #2c3e50);
    background: -o-linear-gradient(left, #3498db, #2c3e50);
    background: linear-gradient(to right, #3498db, #2c3e50);
    color: white;
    padding: 2rem 0;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    -o-box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.header-text {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    min-width: 300px;
}

.logo {
    max-width: 160px;
    margin-right: 2rem;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}

.credentials {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: #fff;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    -o-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.nav-list {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    list-style: none;
}

.nav-item {
    padding: 1rem 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #3498db;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c3e50;
    cursor: pointer;
}

.psychology-today-link {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    margin-left: 1rem;
}

.psychology-today-link:hover {
    background-color: #3498db;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    -o-box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.psychology-today-link i {
    margin-right: 5px;
}

/* Hero Section */
.hero {
    background: url('https://images.pexels.com/photos/3184360/pexels-photo-3184360.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover;
    height: 400px;
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.8rem 1.8rem;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #2980b9;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -o-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Main Content */
.main-content {
    background-color: white;
    padding: 3rem 0;
}

.section {
    margin-bottom: 3rem;
}

.section:last-child {
    margin-bottom: 0;
}

.services-grid {
    display: -webkit-grid;
    display: -moz-grid;
    display: -ms-grid;
    display: -o-grid;
    display: grid;
    -webkit-grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    -moz-grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    -ms-grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    -o-grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background-color: #f8f9fa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    padding: 1.5rem;
    -webkit-box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    -ms-box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    -o-box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    -webkit-transition: transform 0.3s, box-shadow 0.3s;
    -moz-transition: transform 0.3s, box-shadow 0.3s;
    -ms-transition: transform 0.3s, box-shadow 0.3s;
    -o-transition: transform 0.3s, box-shadow 0.3s;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    -o-box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #3498db;
}

/* About */
.about-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 2rem;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

.about-image {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -o-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
    flex: 2;
    min-width: 300px;
}

/* Contact */
.contact-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.map {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    min-width: 300px;
    height: 350px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    -o-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    margin-top: 1.5rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
    text-decoration: none;
}

.social-link:hover {
    color: #3498db;
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Floating Profile Button */
.floating-profile {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    width: 60px;
    height: 60px;
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -o-box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    cursor: pointer;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.floating-profile:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    -moz-box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    -ms-box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    -o-box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.floating-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-profile .tooltip {
    position: absolute;
    bottom: 70px;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 8px 12px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -o-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    -ms-transform: translateY(10px);
    -o-transform: translateY(10px);
    transform: translateY(10px);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.floating-profile:hover .tooltip {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.floating-profile .tooltip:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 25px;
    border-width: 8px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
}

/* Featured Profile Banner */
.featured-profile {
    background-color: #f1f8fe;
    padding: 1.5rem 0;
    margin-top: 2rem;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.featured-profile-content {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-text {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
    flex: 2;
    min-width: 280px;
}

.profile-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.profile-btn {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    -o-justify-content: flex-end;
    justify-content: flex-end;
    min-width: 200px;
}

.featured-btn {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 0.8rem 1.5rem;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    -webkit-box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    -o-box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.featured-btn:hover {
    background-color: #3498db;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    -ms-box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    -o-box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* Animation */
@-webkit-keyframes fadeIn {
    from { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); }
    to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
@-moz-keyframes fadeIn {
    from { opacity: 0; -moz-transform: translateY(20px); transform: translateY(20px); }
    to { opacity: 1; -moz-transform: translateY(0); transform: translateY(0); }
}
@-ms-keyframes fadeIn {
    from { opacity: 0; -ms-transform: translateY(20px); transform: translateY(20px); }
    to { opacity: 1; -ms-transform: translateY(0); transform: translateY(0); }
}
@-o-keyframes fadeIn {
    from { opacity: 0; -o-transform: translateY(20px); transform: translateY(20px); }
    to { opacity: 1; -o-transform: translateY(0); transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    -webkit-animation: fadeIn 1s ease-out;
    -moz-animation: fadeIn 1s ease-out;
    -ms-animation: fadeIn 1s ease-out;
    -o-animation: fadeIn 1s ease-out;
    animation: fadeIn 1s ease-out;
}

/* Highlight Animation */
@-webkit-keyframes highlight {
    0% { -webkit-transform: scale(1); transform: scale(1); }
    50% { -webkit-transform: scale(1.05); transform: scale(1.05); }
    100% { -webkit-transform: scale(1); transform: scale(1); }
}
@-moz-keyframes highlight {
    0% { -moz-transform: scale(1); transform: scale(1); }
    50% { -moz-transform: scale(1.05); transform: scale(1.05); }
    100% { -moz-transform: scale(1); transform: scale(1); }
}
@-ms-keyframes highlight {
    0% { -ms-transform: scale(1); transform: scale(1); }
    50% { -ms-transform: scale(1.05); transform: scale(1.05); }
    100% { -ms-transform: scale(1); transform: scale(1); }
}
@-o-keyframes highlight {
    0% { -o-transform: scale(1); transform: scale(1); }
    50% { -o-transform: scale(1.05); transform: scale(1.05); }
    100% { -o-transform: scale(1); transform: scale(1); }
}
@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.highlight-animation {
    -webkit-animation: highlight 1s ease-in-out infinite;
    -moz-animation: highlight 1s ease-in-out infinite;
    -ms-animation: highlight 1s ease-in-out infinite;
    -o-animation: highlight 1s ease-in-out infinite;
    animation: highlight 1s ease-in-out infinite;
}


/* ============================================
   Psychology Practice Header & Navigation
   (matches psychology-practice-* HTML classes)
   ============================================ */

.psychology-practice-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c3e50;
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
    -webkit-transition: top 0.3s;
    -moz-transition: top 0.3s;
    transition: top 0.3s;
    text-decoration: none;
}

.psychology-practice-skip-link:focus {
    top: 0;
}

.psychology-practice-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.psychology-practice-header {
    background: -webkit-linear-gradient(left, #3498db, #2c3e50);
    background: -moz-linear-gradient(left, #3498db, #2c3e50);
    background: linear-gradient(to right, #3498db, #2c3e50);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

.psychology-practice-nav {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.psychology-practice-logo-container {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.psychology-practice-logo-img {
    height: 50px;
    width: auto;
    display: block;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.psychology-practice-nav-links {
    display: -webkit-flex;
    display: flex;
    list-style: none;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.psychology-practice-nav-links li {
    list-style: none;
}

.psychology-practice-nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 12px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
}

.psychology-practice-nav-link:hover,
.psychology-practice-nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.psychology-practice-phone-link {
    background-color: rgba(255, 255, 255, 0.15);
    -webkit-border-radius: 20px;
    border-radius: 20px;
    padding: 8px 16px;
}

.psychology-practice-phone-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger button - hidden on desktop, shown on mobile */
.psychology-practice-mobile-menu-btn {
    display: none;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.psychology-practice-mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.psychology-practice-mobile-menu-btn span:not(.psychology-practice-sr-only) {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #fff;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

/* Mobile menu dropdown - hidden by default */
.psychology-practice-mobile-menu {
    display: none;
    background: linear-gradient(to right, #2c3e50, #34495e);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease, padding 0.3s ease;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.psychology-practice-mobile-menu.active {
    display: block;
    max-height: 500px;
    padding: 10px 0;
}

.psychology-practice-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.psychology-practice-mobile-menu li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.psychology-practice-mobile-menu li:last-child {
    border-bottom: none;
}

.psychology-practice-mobile-menu a {
    display: block;
    padding: 14px 24px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.psychology-practice-mobile-menu a:hover,
.psychology-practice-mobile-menu a:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Psychology Practice Footer Styles
   ============================================ */

.psychology-practice-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 0;
}

.psychology-practice-footer-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.psychology-practice-footer-section {
    -webkit-flex: 1;
    flex: 1;
    min-width: 220px;
}

.psychology-practice-footer-section h3 {
    color: #3498db;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.psychology-practice-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psychology-practice-footer-section ul li {
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.85);
}

.psychology-practice-footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.psychology-practice-footer-section a:hover {
    color: #3498db;
}

.psychology-practice-map-container {
    -webkit-border-radius: 8px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

.psychology-practice-map-container iframe {
    display: block;
    border: 0;
}

.psychology-practice-footer-bottom {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.psychology-practice-footer-bottom-content {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1rem;
}

.psychology-practice-copyright {
    font-size: 0.9rem;
    opacity: 0.85;
}

.psychology-practice-copyright a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.psychology-practice-copyright a:hover {
    color: #3498db;
}

.psychology-practice-footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.psychology-practice-footer-link:hover {
    color: #3498db;
}

.psychology-practice-pt-image {
    max-width: 100px;
    height: auto;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.psychology-practice-pt-image:hover {
    opacity: 0.85;
}

.psychology-practice-body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .psychology-today-link {
        display: none;
    }
    
    .hero {
        height: 350px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .featured-profile-content {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }
    
    .profile-btn {
        -webkit-justify-content: center;
        -moz-justify-content: center;
        -ms-justify-content: center;
        -o-justify-content: center;
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Psychology Practice mobile nav rules */
    .psychology-practice-nav-links {
        display: none !important;
    }
    
    .psychology-practice-mobile-menu-btn {
        display: -webkit-flex;
        display: flex;
    }
    
    .psychology-practice-footer-content {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    
    .psychology-practice-footer-section {
        min-width: 100%;
    }
    
    .psychology-practice-footer-bottom-content {
        -webkit-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }
    
    .psychology-practice-copyright {
        text-align: center;
    }
    
    html, body, .psychology-practice-body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Roboto:wght@300;400;500&display=swap');