/* --- General Styles --- */
:root {
    --primary-color: #2c5530; /* Deep forest green - represents growth, hope, and stability */
    --secondary-color: #d4af37; /* Warm gold - represents divine light and precious value */
    --text-color: #2d3436; /* Rich charcoal - professional and readable */
    --light-text-color: #636e72; /* Softer gray for secondary text */
    --white-color: #fefefe; /* Pure white with slight warmth */
    --gray-bg: #f8f9fa; /* Clean light background */
    --dark-bg: #1a2e1d; /* Deep forest for headers - spiritual depth */
    --hero-overlay-color: rgba(26, 46, 29, 0.7); /* Deeper overlay for better text contrast */
    --accent-light: #e8f5e8; /* Very light green for subtle highlights */
    --warm-gold: #b8860b; /* Darker gold for hover states */
    --hope-blue: #4a90a4; /* Calming blue for trust and peace */
    --gentle-shadow: rgba(44, 85, 48, 0.12); /* Soft shadow with primary color tint */
}

body {
    font-family: 'Lato', 'Georgia', serif; /* Added Georgia as fallback for warmth */
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.7; /* Increased for better readability and grace */
    background-color: var(--white-color);
    letter-spacing: 0.3px; /* Subtle letter spacing for elegance */
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75em;
    line-height: 1.4; /* Slightly tighter for headings */
    font-weight: 600; /* More substantial weight for importance */
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.8em; /* Slightly larger for more presence */
    text-align: center;
    margin-bottom: 0.6em;
    color: var(--primary-color); /* Brand color for section headers */
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text-color);
    margin-bottom: 2.5em;
    font-size: 1.2em;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px; /* Softer corners */
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px var(--gentle-shadow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #3d6b42);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3d6b42, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--gentle-shadow);
    color: var(--white-color);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--warm-gold));
    color: var(--white-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--warm-gold), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    color: var(--white-color);
}

.btn-link {
    background: none;
    color: var(--secondary-color);
    padding: 8px 0;
    font-weight: 500;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.3px;
}

.btn-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: var(--secondary-color);
    text-underline-offset: 4px;
    transform: none;
}

/* --- Header --- */
.main-header {
    background: linear-gradient(135deg, var(--dark-bg), #243327);
    color: var(--white-color);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(26, 46, 29, 0.3);
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo img {
    height: 65px;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--white-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--white-color));
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--secondary-color);
    transform: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 2em;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    color: var(--white-color);
    text-align: center;
    overflow: hidden;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(26, 46, 29, 0.8), 
        rgba(44, 85, 48, 0.6),
        rgba(212, 175, 55, 0.2));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.4em;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 2em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    font-weight: 300;
    line-height: 1.6;
}

/* --- Talk to Counsellor Section --- */
.talk-to-counsellor {
    background: linear-gradient(135deg, var(--accent-light), #f0f8f0);
    padding: 80px 0;
    position: relative;
}

.talk-to-counsellor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.talk-to-counsellor .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.counsellor-content {
    flex: 1;
    text-align: left;
}

.counsellor-content h2 {
    text-align: left;
    color: var(--primary-color);
}

.counsellor-content h2::after {
    left: 0;
    transform: none;
}

.counsellor-content p {
    margin-bottom: 2.5em;
    color: var(--light-text-color);
    font-size: 1.1em;
    line-height: 1.8;
}

.counsellor-image {
    flex: 1;
}

.counsellor-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(44, 85, 48, 0.2);
    transition: transform 0.3s ease;
}

.counsellor-image img:hover {
    transform: scale(1.02);
}

/* --- Quote Section --- */
.quote-section {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.95), 
        rgba(26, 46, 29, 0.95)),
        url('images/quote-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 3.5em;
    opacity: 0.6;
    position: absolute;
    color: var(--secondary-color);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.quote-icon.fa-quote-left {
    left: -20px;
    top: -10px;
}

.quote-icon.fa-quote-right {
    bottom: -10px;
    right: -20px;
}

.quote-text {
    font-size: 2.2em;
    font-style: italic;
    margin: 40px 0;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.quote-author {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.quote-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.quote-author p {
    font-size: 1.3em;
    font-weight: 500;
    margin: 0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

/* --- Articles Section --- */
.articles-section {
    padding: 80px 0;
    background: var(--white-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: var(--white-color);
    border: 1px solid rgba(44, 85, 48, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--gentle-shadow);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 85, 48, 0.2);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.article-card h3 {
    font-size: 1.5em;
    margin: 20px 20px 0 20px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.4;
}

.article-card p {
    color: var(--light-text-color);
    margin: 15px 20px 20px 20px;
    flex-grow: 1;
    line-height: 1.7;
}

.article-card .btn-link {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
    font-weight: 600;
}

.view-more-btn-container {
    text-align: center;
    margin-top: 50px;
}

/* --- Blog Section --- */
.blog-section {
    background: linear-gradient(135deg, var(--accent-light), #f0f8f0);
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-post {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--gentle-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-post:hover::before {
    transform: scaleX(1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(44, 85, 48, 0.2);
}

.blog-post img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover img {
    transform: scale(1.05);
}

.blog-post h3 {
    font-size: 1.4em;
    margin: 20px 20px 0 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-post p {
    color: var(--light-text-color);
    margin: 10px 20px 20px 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

/* --- Counsellors Section --- */
.counsellors-section {
    padding: 80px 0;
    background: var(--white-color);
}

.counsellors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    justify-items: center;
}

.counsellor-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.counsellor-card:hover {
    transform: translateY(-5px);
}

.counsellor-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    margin-bottom: 20px;
    box-shadow: 0 8px 25px var(--gentle-shadow);
    transition: all 0.3s ease;
}

.counsellor-card:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.counsellor-card h3 {
    font-size: 1.3em;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.counsellor-card p {
    color: var(--light-text-color);
    font-size: 1em;
    line-height: 1.5;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background: linear-gradient(135deg, var(--accent-light), #f0f8f0);
    padding: 80px 0;
}

.testimonial-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 50px;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--white-color), #fafbfa);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px var(--gentle-shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(44, 85, 48, 0.2);
}

.testimonial-item img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.testimonial-text h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-text p {
    color: var(--light-text-color);
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: justify;
    line-height: 1.7;
    font-style: italic;
}

/* --- Resources Section --- */
.resources-section {
    padding: 80px 0;
    background: var(--white-color);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-items: center;
}

.resource-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.resource-item img {
    width: 100%;
    max-width: 280px;
    height:  250px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid rgba(44, 85, 48, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px var(--gentle-shadow);
}

.resource-item:hover img {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.2);
}

.resource-item p {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1em;
}

/* --- Footer --- */
.main-footer {
    background: linear-gradient(135deg, var(--dark-bg), #243327);
    color: var(--white-color);
    padding: 80px 0 30px 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo-section,
.footer-links-section,
.footer-social-section {
    flex: 1;
    min-width: 280px;
}

.footer-logo-section .logo {
    margin-bottom: 25px;
}

.footer-logo-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05em;
}

.footer-links-section h3,
.footer-social-section h3 {
    margin-bottom: 30px;
    font-size: 1.4em;
    color: var(--secondary-color);
    font-weight: 600;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
}

.footer-links-section li {
    margin-bottom: 18px;
}

.footer-links-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 1.05em;
}

.footer-links-section a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
    transform: none;
}

.social-icons {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 25px;
}

.social-icons li a {
    font-size: 1.8em;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons li a:hover {
    color: var(--white-color);
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive Design --- */

/* Medium screens (tablets, smaller laptops) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8em;
    }

    .talk-to-counsellor .container {
        flex-direction: column;
        text-align: center;
    }

    .counsellor-content {
        margin-bottom: 40px;
    }

    .counsellor-content h2,
    .counsellor-content p {
        text-align: center;
    }

    .counsellor-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .quote-section {
        padding: 80px 0;
    }

    .quote-text {
        font-size: 1.8em;
    }

    .articles-grid,
    .blog-grid,
    .counsellors-grid,
    .testimonial-items,
    .resources-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Small screens (mobile phones) */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, var(--dark-bg), #243327);
        position: absolute;
        top: 85px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        padding: 15px 30px;
        display: block;
        border-radius: 8px;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .hero-section {
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .talk-to-counsellor .container {
        padding: 0 20px;
    }

    .counsellor-image img {
        max-width: 85%;
        margin: 0 auto;
    }

    .quote-section {
        padding: 60px 20px;
    }

    .quote-text {
        font-size: 1.5em;
    }

    .quote-author img {
        width: 55px;
        height: 55px;
    }

    .articles-grid,
    .blog-grid,
    .counsellors-grid,
    .testimonial-items,
    .resources-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .article-card,
    .blog-post,
    .testimonial-item {
        width: 100%;
    }

    .counsellor-card {
        width: 200px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }

    .footer-logo-section,
    .footer-links-section,
    .footer-social-section {
        text-align: center;
        min-width: auto;
    }

    .social-icons {
        justify-content: center;
    }

    h2 {
        font-size: 2.3em;
    }

    .section-subtitle {
        font-size: 1.1em;
        padding: 0 15px;
    }
}

/* Very small screens (older phones) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.9em;
    }

    .quote-text {
        font-size: 1.2em;
    }

    .testimonial-item {
        padding: 30px 20px;
    }

    h2 {
        font-size: 2em;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9em;
    }
}

/* --- Counselling Page Styles --- */
.counselling-hero-section {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.8), 
        rgba(26, 46, 29, 0.8)),
        url('images/Hope.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
}

.counselling-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 46, 29, 0.3) 100%);
}

.counselling-hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.counselling-hero-section p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.counselling-form-section {
    padding-bottom: 80px;
}

.counselling-form-section .container {
    background: linear-gradient(135deg, var(--white-color), #fafbfa);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--gentle-shadow);
    border: 1px solid rgba(44, 85, 48, 0.1);
    position: relative;
}

.counselling-form-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.counselling-form-section h2 {
    text-align: center;
    margin-bottom: 1.8em;
    color: var(--primary-color);
}

.counselling-form-section .section-subtitle {
    margin-bottom: 3em;
}

.form-row {
    display: flex;
    gap: 35px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
    display: block;
    font-size: 1.05em;
    letter-spacing: 0.3px;
}

.form-group label span {
    color: var(--secondary-color);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    padding: 15px 18px;
    border: 2px solid rgba(44, 85, 48, 0.2);
    border-radius: 10px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: rgba(248, 249, 250, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--white-color);
    transform: translateY(-1px);
}

.form-group textarea {
    min-height: 180px;
    resize: vertical;
    line-height: 1.6;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(248, 249, 250, 0.5);
    border: 2px solid rgba(44, 85, 48, 0.2);
    border-radius: 10px;
    padding: 15px 45px 15px 18px;
    font-size: 1em;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    color: var(--text-color);
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--white-color);
    transform: translateY(-1px);
}

.custom-select select:invalid {
    color: #aaa;
}

.custom-select option {
    color: var(--text-color);
    padding: 10px;
}

.custom-select .arrow-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.custom-select:hover .arrow-icon {
    transform: translateY(-50%) rotate(180deg);
}

.contact-preference-group .checkbox-option {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-preference-group .checkbox-option:hover {
    background: rgba(44, 85, 48, 0.05);
}

.contact-preference-group .checkbox-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-color);
    border-radius: 4px;
}

.contact-preference-group .checkbox-option label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--light-text-color);
    font-size: 1em;
}

.submit-button-container {
    text-align: center;
    margin-top: 40px;
}

/* Responsive adjustments for the form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 25px;
    }

    .counselling-hero-section {
        padding: 80px 0;
        height: 35vh;
    }

    .counselling-hero-section h1 {
        font-size: 2.8em;
    }

    .counselling-form-section .container {
        padding: 40px 25px;
    }

    .custom-select select {
        padding: 12px 40px 12px 15px;
    }
}

/* --- Testimonials Page Styles --- */
.testimonials-hero-section {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.8), 
        rgba(26, 46, 29, 0.8)),
        url('images/image4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.testimonials-hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.testimonials-hero-section p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.page-title-section {
    margin-bottom: 50px;
}

.section-title-heading {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 0.6em;
    color: var(--primary-color);
}

.section-title-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.testimonials-grid-section {
    padding-bottom: 80px;
}

.testimonial-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 50px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, var(--white-color), #fafbfa);
    border-radius: 20px;
    box-shadow: 0 15px 45px var(--gentle-shadow);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 85, 48, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(44, 85, 48, 0.2);
}

.testimonial-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-card:hover img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonial-content h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-content p {
    color: var(--light-text-color);
    font-size: 1.05em;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
    text-align: justify;
}

/* Responsive adjustments for testimonials page */
@media (max-width: 768px) {
    .testimonials-hero-section {
        padding: 80px 0;
        height: 35vh;
    }

    .testimonials-hero-section h1 {
        font-size: 2.8em;
    }

    .section-title-heading {
        font-size: 2.2em;
    }

    .testimonial-cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-card img {
        height: 220px;
    }

    .talk-to-counsellor .container {
        flex-direction: column;
        text-align: center;
    }

    .counsellor-content {
        margin-bottom: 40px;
    }

    .counsellor-content h2,
    .counsellor-content p {
        text-align: center;
    }
}

/* --- What Others Have to Say Page Styles --- */
.say-hero-section {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.8), 
        rgba(26, 46, 29, 0.8)),
        url('images/say-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.say-hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.say-hero-section p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.what-others-say-carousel-section {
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--accent-light), #f0f8f0);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-item {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    display: grid;
    opacity: 1;
}

.testimonial-card-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--white-color), #fafbfa);
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--gentle-shadow);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 85, 48, 0.1);
    position: relative;
}

.testimonial-card-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
}

.testimonial-card-alt:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(44, 85, 48, 0.25);
}

.testimonial-card-alt img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 30px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.testimonial-content-alt {
    padding: 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.testimonial-content-alt h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-content-alt p {
    color: var(--light-text-color);
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 700px;
    flex-grow: 1;
    line-height: 1.8;
    text-align: justify;
}

.testimonial-content-alt .btn-link {
    margin-top: auto;
}

.carousel-indicators {
    text-align: center;
    margin-top: 30px;
}

.carousel-indicators .indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: rgba(44, 85, 48, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-indicators .indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .say-hero-section {
        padding: 80px 0;
        height: 35vh;
    }

    .say-hero-section h1 {
        font-size: 2.8em;
    }

    .what-others-say-carousel-section {
        padding: 60px 20px;
    }

    .testimonial-card-alt img {
        width: 140px;
        height: 140px;
    }

    .testimonial-content-alt p {
        font-size: 1em;
    }
}

/* --- Testimonial Detail Page Styles --- */
.testimonial-detail-hero-section {
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.8), 
        rgba(26, 46, 29, 0.8)),
        url('images/testimonial-detail-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.testimonial-detail-hero-section h1 {
    font-size: 3.2em;
    margin-bottom: 0.4em;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.testimonial-detail-hero-section p {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.single-testimonial-detail-section {
    padding-bottom: 80px;
}

.testimonial-detail-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--white-color), #fafbfa);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--gentle-shadow);
    text-align: center;
    border: 1px solid rgba(44, 85, 48, 0.1);
    position: relative;
}

.testimonial-detail-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.testimonial-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-img-large {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 35px;
    border: 5px solid var(--secondary-color);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3);
}

.testimonial-text-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-text-details h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-text-details p {
    color: var(--light-text-color);
    font-size: 1.15em;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    text-align: justify;
}

.testimonial-blockquote {
    margin: 40px 0;
    padding: 30px 50px;
    background: linear-gradient(135deg, var(--accent-light), #f0f8f0);
    border-left: 6px solid var(--secondary-color);
    border-right: 6px solid var(--secondary-color);
    position: relative;
    font-style: italic;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.3em;
    max-width: 750px;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--gentle-shadow);
}

.testimonial-blockquote p {
    margin: 0;
    color: var(--primary-color);
    text-align: center;
    font-weight: 500;
    line-height: 1.7;
}

.testimonial-blockquote .quote-icon-left,
.testimonial-blockquote .quote-icon-right {
    font-size: 3em;
    color: var(--secondary-color);
    opacity: 0.8;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.testimonial-blockquote .quote-icon-left {
    left: 15px;
}

.testimonial-blockquote .quote-icon-right {
    right: 15px;
}

@media (max-width: 768px) {
    .testimonial-blockquote {
        padding: 25px 40px;
        font-size: 1.15em;
    }
    .testimonial-blockquote .quote-icon-left,
    .testimonial-blockquote .quote-icon-right {
        font-size: 2.2em;
    }
    .testimonial-blockquote .quote-icon-left {
        left: 8px;
    }
    .testimonial-blockquote .quote-icon-right {
        right: 8px;
    }
}

@media (max-width: 992px) {
    .testimonial-detail-hero-section {
        height: 35vh;
        padding: 80px 0;
    }
    .testimonial-detail-hero-section h1 {
        font-size: 2.8em;
    }
    .single-testimonial-detail-section {
        padding: 60px 20px;
    }
    .testimonial-detail-wrapper {
        padding: 40px 30px;
    }
    .testimonial-img-large {
        width: 180px;
        height: 180px;
    }
    .testimonial-text-details h3 {
        font-size: 1.8em;
    }
    .testimonial-text-details p {
        font-size: 1.05em;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .testimonial-detail-hero-section {
        height: 30vh;
    }
    .testimonial-detail-hero-section h1 {
        font-size: 2.2em;
    }
    .testimonial-img-large {
        width: 140px;
        height: 140px;
    }
    .testimonial-text-details h3 {
        font-size: 1.5em;
    }
    .testimonial-text-details p {
        font-size: 1em;
    }
}

/* Continue with remaining styles following the same enhanced pattern... */

.quote-section {
    padding: 20px;
    position: relative;
}

.quote-slideshow {
    position: relative;
    padding: 20px;
}

.quote-wrapper {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    padding: 25px;
}

.quote-wrapper.active {
    opacity: 1;
    transform: translateX(0);
    display: block;
    position: relative;
    padding: 0;
}

.quote-icon {
    color: rgba(212, 175, 55, 0.7);
    font-size: 2.2rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.quote-text {
    font-size: 2.2rem;
    line-height: 1.7;
    color: var(--white-color);
    font-style: italic;
    margin: 40px 0;
    font-weight: 300;
    letter-spacing: 0.8px;
    position: relative;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
}

.quote-text::before,
.quote-text::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 3.5rem;
    color: rgba(212, 175, 55, 0.7);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.quote-text::before {
    content: "\f10d";
    top: -20px;
    left: -50px;
}

.quote-text::after {
    content: "\f10e";
    bottom: -20px;
    right: -50px;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.quote-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.quote-author p {
    color: #f8f9fa;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
 /* .quote-author p {
            color: #f3f3f3;
            font-size: 1.1rem;
            font-weight: 500;
        } */
.quote-right {
            color: rgba(76, 175, 80, 0.6);
            font-size: 3rem;
            margin-top: 20px;
        }

.nav-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
        }

.nav-btn {
            background: rgba(76, 175, 80, 0.2);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: #2e7d32;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(76, 175, 80, 0.3);
        }

.nav-btn:hover {
            background: rgba(76, 175, 80, 0.4);
            transform: scale(1.1);
        }

.dots-container {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

.dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(76, 175, 80, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: #4caf50;
            transform: scale(1.2);
        }

        @media (max-width: 768px) {
            .quote-slideshow {
                padding: 10px;
            }
            
            .quote-text {
                font-size: 1.2rem;
            }
            
            .quote-text::before,
            .quote-text::after {
                font-size: 2rem;
            }
            
            .quote-text::before {
                left: -25px;
                top: -10px;
            }
            
            .quote-text::after {
                right: -25px;
                bottom: -10px;
            }
            
            .quote-icon, .quote-right {
                font-size: 2rem;
            }
        }