/* Base Styles */
:root {
    --font-heading: 'Bernoru', 'Arial', sans-serif;
    --font-body: 'Garet', 'Arial', sans-serif;
    --primary-color: #266850;
    --primary-light: #3a8d6d;
    --secondary-color: #FCD819;
    --light-bg: #FEF8EA;
    --dark-bg: #1a1a1a;
    --text-dark: #0B0B0B;
    --text-light: #FFFFFF;
    --text-gray: #666666;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

body {
   font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
      padding-top: 90px;
}

h1, h2, h3, h4, h5, h6 {
   font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
   font-family: var(--font-heading);
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-light {
    background: var(--text-light);
    color: var(--primary-color);
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.section-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.text-white {
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 7px 0;
    /* this padding has been updated from 15px 0 to 7px 0 to adjust the header size on scroll */
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.logo-text h1 span {
    color: var(--primary-color);
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    font-family: var(--font-heading);
}

.nav-links a {
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
/* .hero-section {
    position: relative;
    height: 100vh; */
     /* text height  of home pae will be set from here*/
    /* min-height: 800px; */
    /* overflow: hidden;
} */


.hero-section {
    position: relative;
    /* height: 100vh; */
   height: 82vh;          /* wider & taller */
    max-height: 700px;     /* prevents over-stretch on big screens */
    min-height: 440px;     /* prevents collapse */
    overflow: hidden;
    isolation: isolate; /* prevents z-index bleed */
      /* min-height: calc(100vh - var(--header-height)); */
    /* margin-top: var(--header-height); */
}

/* .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
} */

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.5)
    );
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
    padding-top: 80px;
}

.sanskrit-text {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-content h1 {
    font-size: 4rem;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.stats-container {
    display: flex;
    gap: 50px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Featured Section */
.featured-section {
    padding: 120px 0;
}

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

.featured-image {
    position: relative;
}

.image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rounded-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: var(--text-light);
    transform: translateY(100%);
    transition: var(--transition);
}

.image-container:hover .image-overlay {
    transform: translateY(0);
}

.featured-text h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--light-bg);
    padding: 15px;
    border-radius: 50%;
}

/* Initiatives Section */
.initiatives-section {
    padding: 100px 0;
}

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

.initiative-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.initiative-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.initiative-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.initiative-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-link:hover {
    gap: 15px;
}

/* Themes Section */
.themes-section {
    padding: 100px 0;
}

.themes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.theme-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.theme-card:hover {
    transform: translateY(-10px);
}

.theme-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.theme-icon {
    background: var(--light-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.theme-items {
    list-style: none;
}

.theme-items li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-items li:last-child {
    border-bottom: none;
}

.theme-items li i {
    color: var(--primary-color);
}

/* Journey Map Section */
.journey-map-section {
    padding: 100px 0;
}

.journey-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.journey-stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.map-container {
    position: relative;
    height: 400px;
}

.world-map {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.route-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M25,50 Q50,30 75,50' stroke='%23266850' stroke-width='3' fill='none' stroke-dasharray='10,5'/%3E%3C/svg%3E");
}

.route-point {
    position: absolute;
    transform: translate(-50%, -50%);
}

.point-dot {
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--text-light);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.point-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

.route-point:hover .point-label {
    opacity: 1;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 250px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 104, 80, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--text-light);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--text-light);
    color: var(--primary-color);
    border-radius: 50%;
    margin-top: 15px;
    transition: var(--transition);
}

.view-btn:hover {
    transform: scale(1.1);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
}

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

.testimonial-card {
    background: var(--text-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #aaa;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3, .footer-col h4, .footer-col h5 {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--primary-color);
}

.footer-description {
    margin: 20px 0;
    line-height: 1.8;
}

/* Footer links inside <p> (Quick Links & Our Initiatives) */
.footer-col p a {
    color: #aaa; /* same as Contact Us text */
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col p a:hover {
    color: var(--text-light); /* same hover feel as footer */
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter form {
    display: flex;
    margin-top: 15px;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Open Sans', sans-serif;
}

.newsletter button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.registration {
    margin-top: 5px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .stats-container {
        gap: 30px;
    }
}


@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .initiatives-grid,
    .themes-container,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 992px) {
    .col-lg-6, .col-lg-8, .col-lg-4 {
        width: 100%;
    }
}

.text-lg-end {
    text-align: right;
}

@media (max-width: 992px) {
    .text-lg-end {
        text-align: center;
    }
}
/* 

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--text-light);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .sanskrit-text {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--text-light);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
        z-index: 1100;

  
        transform: translateX(-100%);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateX(0);
        pointer-events: auto;
    }

    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1200;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }
} */

@media (max-width: 768px) {
    /* Show hamburger */
   .parallax-bg {
        background-attachment: scroll;
    }
    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1200;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        pointer-events: auto;
    }

    /* Mobile nav menu */
    .nav-links {
        position: fixed;
        top: 80px; /* below header */
        left: 0;
        width: 100%;
        background: var(--text-light);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 1100;

        /* hide safely */
        transform: translateX(-100%);
        pointer-events: none;
        transition: transform 0.3s ease;
    }

    /* When menu is open */
    .nav-links.active {
        transform: translateX(0);
        pointer-events: auto;
    }

     body {
        padding-top: 70px;
    }
    /* Prevent background scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }

    /* Other responsive adjustments (unchanged behavior) */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .sanskrit-text {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .journey-stats {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input,
    .newsletter button {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    /* image height + spacing to adjust the test that we have written will be handle from here you can */
    /* .hero-overlay {
         padding-top: 120px;         
        min-height: auto;
        align-items: flex-start;
    } */

}



/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Utility Classes */
.mt-5 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }

/* Row and Column Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6, .col-lg-8, .col-lg-4 {
    padding: 0 15px;
}

.col-lg-6 { width: 50%; }
.col-lg-8 { width: 66.666%; }
.col-lg-4 { width: 33.333%; }

