/* TheraDesk.ai Home Page Styles */

:root {
    --primary-color: #467dc8;
    --secondary-color: #467dc8;
    --dark-text: #1a1a1a;
    --light-text: #6b7280;
    --accent-blue: #467dc8;
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    color: var(--dark-text);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section with Full-Width Background */
.hero-section-bg {
    position: relative;
    height: 545px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.20);
    z-index: 1;
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 4rem 0;
}

.hero-title {
    font-family: helvetica, sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-optical-sizing: auto;
    font-size: 40px;
    font-size-adjust: none;
    font-stretch: 100%;
    font-style: normal;
    font-weight: 600;
    color: white;
    line-height: 1.4em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: white;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Hero 2 Section */
.hero2-section {
    position: relative;
    height: 140px;
    overflow: hidden;
    width: 100%;
}

.hero2-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero2-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.20);
    z-index: 1;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary-custom:hover {
    background: #3a6aad;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(70, 125, 200, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    background: transparent;
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(70, 125, 200, 0.3);
}

/* Grow Your Practice Section */
.grow-section {
    padding: 6rem 0;
    background: #f9fafb;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--accent-blue);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.features-container .row {
    justify-content: center;
}

.feature-column {
    width: 470px;
    max-width: 100%;
    padding: 0;
    margin: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-box {
    background: #e6f4ff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 470px;
    height: 280px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.12);
}

.feature-icon-column {
    flex-shrink: 0;
    padding-top: 0.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-description {
    color: var(--light-text);
    line-height: 1.7;
    font-size: 1rem;
    overflow: hidden;
    flex-grow: 1;
}

/* Feature Images */
.feature-image-container {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 250px;
    width: 470px;
}

.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-image-container:hover .feature-image {
    transform: scale(1.05);
}

/* Staggered column effect */
@media (min-width: 992px) {
    .column-staggered {
        padding-top: 140px;
    }
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.animation-delay-100 { transition-delay: 0.1s; }
.animation-delay-200 { transition-delay: 0.2s; }
.animation-delay-300 { transition-delay: 0.3s; }
.animation-delay-400 { transition-delay: 0.4s; }
.animation-delay-500 { transition-delay: 0.5s; }
.animation-delay-600 { transition-delay: 0.6s; }

/* Features Section (Merged grow + features) */
.features-section {
    padding-top: 6rem;
    background: #f9fafb;
}

/* AI Features Wrapper - Blue Background */
.ai-features-wrapper {
    background: #e6f4ff;
    margin: 0 -100vw;
    padding: 1rem 100vw;
    margin-top: 3rem;
}

.features-section .container {
    max-width: 1280px;
}

.features-section .section-title {
    color: var(--dark-text);
}

.features-section .section-subtitle {
    color: var(--light-text);
    max-width: 900px;
}

.feature-card {
    background: transparent;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
}

.feature-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    text-align: center;
}

.feature-card-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-card-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card-list li {
    color: var(--light-text);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.feature-card-list li:before {
    content: "•";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
}

/* Security Section (Section 4) */
.security-section {
    padding: 6rem 0 3rem 0;
    background: white;
}

.security-section .container {
    max-width: 1280px;
}

.security-section .section-title {
    color: var(--dark-text);
}

.security-section .section-subtitle {
    color: var(--light-text);
    max-width: 900px;
}

.security-card {
    background: transparent;
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
}

.security-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-card-icon svg {
    width: 100%;
    height: 100%;
}

.security-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    text-align: center;
}

.security-card-description {
    color: var(--light-text);
    line-height: 1.6;
}

/* Parallax Section (Section 5) */
.parallax-section {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.parallax-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/section5.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transition: transform 0.5s ease-out;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle,
    .section-subtitle {
        font-size: 1.1rem;
    }

    .column-staggered {
        margin-top: 0;
        padding-top: 0;
    }

    .feature-column {
        width: 100%;
        max-width: 470px;
        margin: 0 auto;
        align-items: center;
    }

    .feature-box {
        width: 100%;
        max-width: 470px;
        height: auto;
        min-height: 280px;
        margin-bottom: 1.5rem;
        flex-direction: row;
    }

    .feature-image-container {
        width: 100%;
        max-width: 470px;
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .feature-title {
        font-size: 1.3rem;
    }

    .hero-section-bg {
        height: 450px;
    }

    .hero-content-overlay {
        padding: 2rem 0;
    }

    .hero-content-overlay .col-lg-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    .features-section .row > div {
        max-width: 500px;
        margin: 0 auto 2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section-bg {
        height: 400px;
    }

    .feature-box {
        padding: 1.5rem;
        gap: 1rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-description {
        font-size: 0.95rem;
    }
}
