:root {
    --bg-color: #ffffff;
    --text-color: #0f172a;
    /* Slate 900 - Deep Blue-Grey */
    --text-light: #475569;
    /* Slate 600 */
    --accent-color: #2563eb;
    /* Royal Blue */
    --accent-hover: #1d4ed8;
    /* Darker Blue */
    --secondary-color: #facc15;
    /* Yellow */
    --border-color: #e2e8f0;
    --font-serif: 'Merriweather', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    background: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.navbar.scrolled {
    border-color: var(--border-color);
}

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

.logo img {
    height: 40px;
    width: auto;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background: var(--text-color);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.subtitle {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

.bio-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 24px;
    max-width: 650px;
    line-height: 1.8;
}

.newsletter-signup {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-label {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.hero-form {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.hero-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.spam-notice {
    font-size: 0.85rem;
    color: var(--text-light);
}

.hero-image .img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    background: #f3f4f6;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured In */
.featured-in {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.featured-in p {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: #9ca3af;
    font-weight: 700;
    font-size: 1.2rem;
}



/* Who We Help Section */
.who-we-help-section {
    background: #ffffff;
}

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

.help-card {
    padding: 32px;
    background: #f8fafc;
    /* Very light slate */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s;
}

.help-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.help-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

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

/* Services */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

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

.service-card {
    padding: 32px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Why Me Section */
.why-me-section {
    background: #f0f9ff;
}

.why-me-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}

.why-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.check-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.why-item p {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}



/* Impact Gallery */
.impact-section {
    background: #ffffff;
}

/* Impact Slider */
.impact-slider-container {
    position: relative;
    padding: 20px 0;
}

.impact-track-container {
    overflow: hidden;
    width: 100%;
}

.impact-track {
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.impact-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.impact-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.impact-slide:hover img {
    transform: scale(1.05);
}

.impact-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .impact-slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 768px) {
    .impact-slide {
        flex: 0 0 100%;
        height: 280px;
    }
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.link-arrow:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 0;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Success Stories Section */
.success-section {
    background: #f9fafb;
}

/* Testimonial Slider */
.testimonial-slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-track-container {
    overflow: hidden;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    /* 3 items, 2 gaps of 24px */
    min-width: 0;
    margin: 0;
}

.slider-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent-color);
}

@media (max-width: 1024px) {
    .testimonial-slide {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .testimonial-slide {
        min-width: 100%;
    }

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: -10px;
    }

    .next-btn {
        right: -10px;
    }
}

.story-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.story-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.story-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.story-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.7;
}

/* Parthshala Community Section */
.parthshala-section {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.parthshala-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.parthshala-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: transform 0.3s;
    height: 400px;
}

.parthshala-image:hover {
    transform: rotate(0) scale(1.02);
}

.parthshala-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.parthshala-text {
    text-align: left;
}

.parthshala-text p {
    color: var(--text-color);
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.parthshala-text .section-title {
    margin-bottom: 30px;
    text-align: left;
}

@media (max-width: 768px) {
    .parthshala-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .parthshala-image {
        max-width: 400px;
        margin: 0 auto;
        transform: rotate(0);
    }

    .parthshala-text,
    .parthshala-text .section-title {
        text-align: center;
    }
}

/* Newsletter Section */
.newsletter-section {
    background: #f0f9ff;
    /* Light Blue tint */
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.newsletter-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.inline-form {
    display: flex;
    gap: 12px;
}

.inline-form input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-quote {
    font-weight: bold !important;
    font-size: 16px !important;
    color: var(--text-color) !important;
    margin-bottom: 24px;
}

.contact-methods li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.contact-form-card {
    background: #f9fafb;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-form-card h3 {
    margin-bottom: 24px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.booking-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-sans);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col .social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-col .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    margin-bottom: 0;
    /* Override generic margin */
    font-size: 1.2rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    transform: translateY(-3px);
    color: white;
}

.footer-col .social-links a:hover .fa-linkedin {
    color: white;
}

/* Specific Hover Colors */
.footer-col .social-links a[aria-label="LinkedIn"]:hover {
    background: #0077b5;
}

.footer-col .social-links a[aria-label="Instagram"]:hover {
    background: #e1306c;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {

    .hero-container,
    .newsletter-content,
    .footer-container,
    .contact-wrapper,
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: background 0.3s, color 0.3s;
}

.service-card:hover .icon-wrapper {
    background: var(--accent-color);
    color: white;
}

/* Hero Visual Enhancements */
.hero {
    background: linear-gradient(135deg, #fffbeb 0%, #eff6ff 100%);
    /* Yellow-50 to Blue-50 */
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.blob-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: #fde047;
    /* Yellow-300 */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite;
}

.img-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 4px solid white;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}