/* General Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --spacing: 2rem;
}

body {
    font-family: 'Lora', serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .about-frame-title, .rates-title, .faq-question {
    font-family: 'Playfair Display', serif;
}

/* Navigation */
.navbar {
    background: transparent !important;
    padding-top: 2rem;
    padding-bottom: 0;
    box-shadow: none !important;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar .navbar-nav .nav-link {
    font-family: 'Lora', serif;
    color: #fff !important;
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link:focus {
    color: #E7F0FA !important;
}

.navbar .nav-appointment, .frosted-nav .nav-appointment {
    color: #fff !important;
    background: transparent;
    border: 1.5px solid #E7F0FA;
    border-radius: 6px;
    font-weight: 500;
    margin-left: 0.5rem;
    padding: 0.4rem 1.8rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.navbar .nav-appointment:hover, .navbar .nav-appointment:focus,
.frosted-nav .nav-appointment:hover, .frosted-nav .nav-appointment:focus {
    background: #E7F0FA;
    color: #2c3e50 !important;
    border-color: #E7F0FA;
}

.navbar-toggler {
    border: none;
    background: rgba(255,255,255,0.7);
    border-radius: 6px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44,62,80,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1050;
        background: transparent !important;
        padding-top: 1rem;
    }
    body {
        padding-top: 0;
    }
    .navbar-collapse {
        background: transparent !important;
        border-radius: 0 0 12px 12px;
        padding: 1rem 0;
    }
    .offcanvas.frosted-nav {
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    .navbar .navbar-nav .nav-link {
        color: #fff !important;
    }
    .navbar .nav-appointment {
        color: #2c3e50 !important;
        background: #E7F0FA;
        border: 2px solid #E7F0FA;
    }
}

.hero-nav a, .nav-appointment {
    font-size: 1.5rem;
    line-height: 1.5;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1.2rem;
}

.nav-appointment {
    color: #2c3e50;
    font-weight: 600;
    border: 2px solid #E7F0FA;
    border-radius: 6px;
    background: transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav-appointment:hover, .nav-appointment:focus {
    background: #E7F0FA;
    color: #34495e;
    border-color: #E7F0FA;
    text-decoration: none;
}

@media (max-width: 991px) {
    .nav-appointment {
        margin: 0;
        text-align: center;
        justify-content: center;
    }
}

/* Hero Section with Background Image and Overlayed Logo/Nav */
.hero-image-bg {
    background: url('landingpage.avif') center center/cover no-repeat;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    top: 40px;
    left: 40px;
    width: 350px;
    max-width: 40vw;
    z-index: 2;
}

.hero-nav {
    top: 50px;
    right: 60px;
    z-index: 2;
    display: flex;
    gap: 2rem;
}
.hero-nav a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.5;
    vertical-align: middle;
}
.hero-nav a:hover {
    color: #e0e0e0;
}

.hero-welcome {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.welcome-svg {
    overflow: visible;
}

.welcome-animated {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    fill: #ffffff;
    stroke: #ffffff;
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .welcome-animated {
        font-size: 3rem;
    }
}

@media (max-width: 900px) {
    .hero-logo {
        width: 200px;
        left: 20px;
        top: 20px;
    }
    .hero-nav {
        right: 20px;
        top: 30px;
        gap: 1.2rem;
    }
    .hero-welcome h1 {
        font-size: 8vw;
    }
}

@media (max-width: 600px) {
    .hero-logo {
        width: 200px;
        left: 10px;
        top: 10px;
    }
    .hero-nav {
        right: 10px;
        top: 15px;
        gap: 0.7rem;
    }
    .hero-welcome h1 {
        font-size: 12vw;
    }
}

/* Service Cards */
.service-card {
    background: #e7f0fa;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.service-card h3 {
    color: #2D3748;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-preview {
    color: #4A5568;
    font-size: 0.8125rem;
    margin-bottom: 0;
    display: inline;
}

.read-more-link, .read-less-link {
    color: #b48a5a;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    display: inline-block;
    margin-top: 1rem;
}

.service-full-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1.2s cubic-bezier(0.86, 0, 0.07, 1), opacity 1s cubic-bezier(0.86, 0, 0.07, 1), padding 1.2s cubic-bezier(0.86, 0, 0.07, 1);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.875rem;
}
.service-full-text.open {
    max-height: 2000px;
    opacity: 1;
    margin-bottom: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (max-width: 900px) {
    .service-card h3 {
        font-size: 1rem;
    }
    .service-card {
        padding: 1.2rem;
    }
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

#appointment-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem auto;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    max-width: 800px;
    transition: all 0.3s ease-in-out;
}

#form-container {
    transition: all 0.3s ease-in-out;
}

#appointment-form iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.9);
    margin: 0.5rem 0;
    width: 100%;
    height: 500px;
}

.thank-you-message {
    text-align: center;
    color: #2c3e50;
    font-size: 1.2rem;
    padding: 3rem 2rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
}

.thank-you-message.show {
    opacity: 1;
    transform: translateY(0);
}

.thank-you-message p {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.6;
}

#error-message {
    margin-top: 1rem;
    border-radius: 8px;
    font-family: 'Lora', serif;
}

#submit-btn {
    min-width: 150px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

@media (max-width: 768px) {
    #appointment-form iframe {
        height: 600px;
    }
    
    .thank-you-message {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}

/* Contact Form Styles */
.contact-form {
    padding: 1rem 0;
}

.form-label {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-family: 'Lora', serif;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
}

.form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
    outline: none;
    background-color: #fff;
}

.form-control::placeholder {
    color: #999;
    font-style: italic;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--light-bg);
    padding: 4rem 0 2rem;
}

footer h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Preview and Full Text Styles */
.preview-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.full-text {
    display: none;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.accordion-button:not(.collapsed) + .accordion-collapse .full-text {
    display: block;
}

.accordion-button {
    position: relative;
    padding-right: 3rem;
}

.accordion-button::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: rotate(0deg);
}

/* About Frame Section Styles */
.about-frame-section {
    background: #f8f9fa;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.about-frame-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
    max-width: 1200px;
}
.about-frame-title {
    font-size: 2.1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}
.about-frame-credentials {
    color: #8d6e46;
    font-weight: 700;
    font-size: 1.1rem;
}
.about-frame-licensure {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.about-frame-telehealth {
    color: #444;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}
.about-frame-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    border: 4px solid #fff;
}
@media (max-width: 767px) {
    .about-frame-img {
        width: 120px;
        height: 120px;
    }
    .about-frame-box {
        padding: 1.2rem 0.5rem;
    }
    .about-frame-title {
        font-size: 1.3rem;
    }
}

/* Service Images Layout for Services Section */
.service-images-col {
    min-height: 420px;
}
.service-image-wrapper {
    min-height: 420px;
    width: 80%;
    max-width: 420px;
}
.service-img-main {
    border-radius: 0 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10) !important;
    position: absolute !important;
    top: -120px !important;
    left: 15% !important;
    width: 105% !important;
    z-index: 2 !important;
}
.service-img-secondary {
    border-radius: 0 !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10) !important;
    position: absolute !important;
    bottom: -70px !important;
    left: 0 !important;
    width: 90% !important;
    height: 300px !important;
    z-index: 1 !important;
    object-fit: cover !important;
}
@media (max-width: 991px) {
    .service-image-wrapper {
        min-height: 260px;
        max-width: 300px;
    }
    .service-img-main {
        width: 80%;
        left: 20%;
    }
    .service-img-secondary {
        width: 65%;
    }
}
@media (max-width: 767px) {
    .service-images-col {
        min-height: 220px;
    }
    .service-image-wrapper {
        min-height: 180px;
        max-width: 180px;
    }
    .service-img-main {
        width: 80%;
        left: 20%;
    }
    .service-img-secondary {
        width: 65%;
    }
}

.service-img-grid {
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    object-fit: cover;
    margin: 2rem 0;
    width: 100%;
    max-width: none;
    height: 340px;
}

@media (max-width: 991px) {
    .service-img-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 1.2rem 0;
        height: 220px;
    }
}
@media (max-width: 767px) {
    .rates-img {
        margin-bottom: 2rem;
    }
    .rates-section .col-md-6 {
        margin-bottom: 2rem;
    }
    .service-img-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem 0;
        height: 140px;
    }
}

.rates-section {
    background: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 420px;
}
.rates-img {
    width: 100%;
    max-width: 600px;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    height: 100%;
}
.rates-title {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}
.rates-list {
    font-size: 1.3rem;
    color: #666;
    padding-left: 1.2rem;
    margin-bottom: 0;
}
.rates-list li {
    margin-bottom: 1rem;
    font-weight: 300;
}
.rates-list li em {
    font-style: italic;
    color: #888;
}
@media (max-width: 991px) {
    .rates-img {
        max-width: 100%;
        height: auto;
    }
    .rates-title {
        font-size: 1.5rem;
    }
    .rates-list {
        font-size: 1rem;
    }
}

.faq-section {
    background: #f8f9fa;
}
.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}
.faq-answer {
    color: #444;
    font-size: 1rem;
    margin-bottom: 0;
}
.faq-list {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 2rem 2rem 1rem 2rem;
    max-width: 1200px;
}
@media (max-width: 767px) {
    .faq-list {
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }
}

.contact-frame {
    background: rgba(255,255,255,0.40);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    backdrop-filter: blur(2px);
}

.frosted-nav {
    background: rgba(34, 40, 49, 0.0) !important;
    backdrop-filter: none;
    box-shadow: none;
}
.frosted-nav .offcanvas-title {
    color: #fff;
    font-weight: 600;
}
.frosted-nav .nav-link, .frosted-nav .nav-appointment {
    color: #fff !important;
}
.frosted-nav .nav-appointment {
    background: transparent;
    border: 1.5px solid #E7F0FA;
    border-radius: 6px;
    font-weight: 500;
    margin-left: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.4rem 1.2rem;
    width: 100%;
    text-align: center;
}
.frosted-nav .nav-appointment:hover, .frosted-nav .nav-appointment:focus {
    background: #E7F0FA;
    color: #2c3e50 !important;
    border-color: #E7F0FA;
}

@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

.welcome-svg {
    width: 100%;
    height: 120px;
    display: block;
    margin: 0 auto;
}
.welcome-animated {
    font-family: 'Pacifico', cursive;
    font-size: 5rem;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: welcome-draw 4s cubic-bezier(0.77,0,0.18,1) forwards;
}
@keyframes welcome-draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Fallback for browsers that don't support SVG text animation */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Back to Top Button */
.back-to-top {
    color: #fff !important;
    font-size: 2rem;
    font-weight: 700;
    padding: 0.5rem !important;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    z-index: 1050;
    box-shadow: 0 4px 24px 0 rgba(0, 123, 255, 0.18), 0 2px 8px rgba(0,0,0,0.10);
    border: 1.5px solid rgba(0,0,0,0.08);
}

.back-to-top i {
    color: #007bff;
    filter: drop-shadow(0 0 2px #fff);
}

@media (max-width: 991.98px) {
  .back-to-top {
    display: none !important;
  }
}

.back-to-top:hover {
    background: rgba(0, 123, 255, 0.18);
    box-shadow: 0 6px 32px 0 rgba(0, 123, 255, 0.28), 0 2px 8px rgba(0,0,0,0.12);
    transform: translateY(-2px) scale(1.08);
}

.back-to-top:active {
    transform: translateY(0) scale(1);
}

.contact-frame p {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-frame .address {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.contact-frame .question-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.alert-success {
    background-color: #E7F0FA !important;
    border-color: #E7F0FA !important;
    color: #2c3e50 !important;
    font-family: 'Lora', serif;
    font-weight: 500;
    padding: 1.2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.alert-success:hover {
    background-color: #d8e6f5 !important;
    border-color: #d8e6f5 !important;
}

.welcome-text {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.5s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .welcome-text {
        font-size: 2.5rem;
    }
}

.welcome-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

@media (max-width: 768px) {
    .welcome-subtext {
        font-size: 1.1rem;
    }
} 