
/* Base Styles */
:root {
    --primary: #6F3073;
    --primary-light: #9D5BA0;
    --primary-lighter: #E2CCE4;
    --primary-dark: #4E205C;
    --accent: #F8D56C;
    --text: #3D3D3D;
    --text-light: #767676;
    --white: #FFFFFF;
    --off-white: #F8F6FB;
    --shadow: rgba(111, 48, 115, 0.15);
}




#our-journey{
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.7;
}


#our-journey h1, #our-journey h2, #our-journey h3, #our-journey h4, #our-journey h5 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary);
}

#our-journey h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

#our-journey h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

#our-journey h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

#our-journey p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 400;
} 
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Content Header */
.content-header {
    background: linear-gradient(120deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.content-header h1 {
    color: var(--white) !important;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.content-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Journey Section */
.journey {
    position: relative;
    background-color: var(--white);
}

.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.section-heading.center::after {
    left: 50%;
    transform: translateX(-50%);
}

.journey-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.journey-content p {
    margin-bottom: 1.5rem;
}

.journey-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow);
}

.journey-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.journey-img:hover img {
    transform: scale(1.05);
}

.journey-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--primary);
    border-left: 5px solid var(--primary);
    z-index: -1;
}

.journey-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 5px solid var(--accent);
    border-right: 5px solid var(--accent);
    z-index: -1;
}

/* Modalities Section */
.modalities {
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.modalities::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--primary-lighter);
    border-radius: 50%;
    transform: translate(150px, -150px);
    opacity: 0.5;
    z-index: 0;
}

.modalities-container {
    position: relative;
    z-index: 1;
}

.modalities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.modality-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    flex: 1 1 calc(33.333% - 30px);
    min-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modality-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.modality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.modality-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.modality-desc {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Consultation Section */
.consultation {
    background-color: var(--primary);
    color: var(--white);
}

.consultation2{
    background-color: var(--off-white) !important;
    color: var(--text) !important;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consultation h2 {
    color: var(--text);
}
.consultation2 h2 {
    color: var(--text) !important;
}

.consultation-text {
    margin-bottom: 2rem;
}

.about-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.about-btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

/* Team Section */
.team {
    background-color: var(--white);
    position: relative;
}

.team::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: var(--primary-lighter);
    border-radius: 50%;
    transform: translate(-150px, 150px);
    opacity: 0.5;
    z-index: 0;
}

.team-heading {
    text-align: center;
    margin-bottom: 70px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

.team-member {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    transition: all 0.3s ease;
    background-color: var(--white);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px var(--shadow);
}

.team-photo {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.05);
}

.team-details {
    padding: 30px;
    position: relative;
}

.team-name {
    font-size: 2rem;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 20px;
    display: block;
    font-size: 1.1rem;
}

.team-bio {
    margin-bottom: 25px;
}

.read-more-btn {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.read-more-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modal for Bio and Story */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: var(--primary-lighter);
}

.story-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.story-content p {
    margin-bottom: 15px;
}

/* Scroll Animation */
.scroll-observer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-observer.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .journey-img {
        order: -1;
    }
    
    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .about-btn {
        padding: 12px 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .about-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}
