/* ==========================================
   1. GENERAL & BASE STYLES
   ========================================== */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}
a{
    color:#000;
}

/* ==========================================
   2. NAVBAR
   ========================================== */
.navbar {
    background: #000 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1.1rem 0;
    border-bottom: 1px solid #222;
}

.navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.navbar-logo, .navbar-logo-big {
    height: 60px;
    width: auto;
    display: block;
    max-height: 60px;
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 0.3rem;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none !important;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #ffd600 !important;
    background: none !important;
}

.navbar-toggler {
    border: 1px solid #ddd;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================
   3. HERO SLIDER
   ========================================== */
/* Slider Container */
.hero-slider-section {
    width: 100%;
    overflow: hidden;
    background-color: #f8f8f8; /* Background color agar image load na ho */
}

/* Image Container Jo Height Control Karega */
.hero-image-container {
    width: 100%; /* Desktop ke liye 70% height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Image Styling */
.main-hero-img {
    width: 100%;
    height: 100%;
    /* 'object-fit: fill' se image khich sakti hai, 
       'object-fit: cover' se side cut sakti hai,
       'object-fit: inherit' ya niche wali setting best hai */
    object-fit: cover; 
    object-position: center;
}

/* Arrow Styling (Optional: Inhe thoda bada aur visible banane ke liye) */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3); /* Arrows ke peeche halka circle */
    border-radius: 50%;
    background-size: 50%;
}

/* --- Responsive Heights --- */

/* Tablets (iPad/Large Phones) */
@media (max-width: 992px) {
    .hero-image-container {
        400; /* Height thodi kam */
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .hero-image-container {
        height: 300;
    }
    .main-hero-img {
        height: auto; 
        aspect-ratio: 21 / 9;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

/*.hero-slide {*/
/*    min-height: 620px;*/
/*    width: 100%;*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*    background-repeat: no-repeat;*/
/*    position: relative;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/


/*.hero-slide-1 { background-image: url('../images/HOME_Website.jpg'); }*/
/*.hero-slide-2 { background-image: url('../images/HOME_Website.jpg'); }*/

.hero-text {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.45);
    padding: 2rem 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}

.hero-text h1, .hero-text p {
    color: #fff;
    margin-bottom: 0.5rem;
}


/* ==========================================
   4. QUOTE SECTION
   ========================================== */
.quote-section {
    background-image: url('../images/mjy7-min.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20,20,20,0.7);
    z-index: 1;
}

.quote-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem 0;
}

.quote-title { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; }
.quote-subtitle { font-size: 1.3rem; font-weight: 400; }
.quote-subtitle .highlight { font-weight: 600; color: #ffd600; }
.quote-desc { font-size: 1.1rem; font-weight: 400; max-width: 700px; margin: 0 auto 2rem auto; }
.quote-main { font-size: 1.4rem; font-weight: 500; margin-bottom: 0.5rem; }
.quote-reality { font-size: 2.5rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -1px; }
.quote-author { font-size: 1.3rem; font-style: italic; color: #fff; margin-bottom: 1rem; }
.quote-wave-bg { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none; }

/* ==========================================
   5. PHILOSOPHY SECTION
   ========================================== */
.philosophy-section {background: #A3702A !important; color: #fff; overflow: hidden; padding: 40px 0;}
.philosophy-img { text-align: center;  position: relative;  display: inline-block;}
/* FADE EFFECT */
.philosophy-img::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px; /* fade height */
    
    background: linear-gradient(
        to bottom,
        rgba(163, 112, 42, 0) 0%,   /* transparent */
        #A3702A 100%               /* section color */
    );
}
.philosophy-img img { max-width: 100%; height: auto; object-fit: contain; }
.philosophy-content { padding-left: 20px; }
.philosophy-content .question-title { font-size: 2.2rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.philosophy-content .question-label { font-size: 1.2rem; font-weight: 500; color: #f5e6d6; line-height: 1.5; }
.philosophy-content .question-desc { font-size: 1rem; line-height: 1.7; color: #f9f9f9; }
.philosophy-content .question-desc.fw-bold { font-size: 1.1rem; margin-top: 15px; color: #fff; }

/* ==========================================
   6. COURSES SECTION
   ========================================== */
.courses-section { background: #fff; padding: 3rem 0; }
.courses-heading { margin-bottom: 2.5rem; }
.courses-highlight { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.highlight-line { width: 40px; height: 3px; background: #000; border-radius: 2px; }
.highlight-text { color: #000; font-weight: 700; font-size: 1.1rem; letter-spacing: 0.5px; }
.courses-title { font-size: 2rem; font-weight: 800; color: #181818; margin-bottom: 0.5rem; }
.courses-subtitle { color: #555; font-size: 1.1rem; }

.course-card {
    background: #000;
    padding: 1.2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover { transform: scale(1.01); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.course-img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 1.2rem; }
.course-title { color: #DEC48C; font-weight: 700; font-size: 1.4rem; }
.course-desc { color: #fff; font-size: 1.05rem; }

/* ==========================================
   7. PRODUCTS SECTION
   ========================================== */
.products-section { padding: 3rem 0 2.5rem 0; background: #fff; }
.products-main-heading { text-align: center; font-weight: 800; color: #000; font-size: 2.1rem; margin-bottom: 2.2rem; }

.product-card {
    background: #181818;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 6px 32px rgba(0,0,0,0.13); transform: translateY(-4px) scale(1.01); }
.product-img { width: 100%; height: 300px; object-fit: cover; margin-bottom: 1.2rem; }
.product-card h4 { color: #FFD600; font-weight: 700; font-size: 1.3rem; margin-bottom: 0.7rem; }
.product-card p { color: #fff; font-size: 1.05rem; text-align: center; margin-bottom: 1.2rem; }
.product-buy-btn {
    width: 60%;
    padding: 0.85rem 0;
    background: linear-gradient(90deg, #FF8100 0%, #DFAE00 100%);
    color: #181818;
    font-weight: 700;
    border: none;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: background 0.2s;
}
.product-buy-btn:hover { background: #DEC48C; }

.course-list li { padding: 6px 0; font-size: 16px; color:#fff; list-style: none; }
.course-list li span { color:#fff; }
.course-list span:last-child { font-weight: 600; }

/* ==========================================
   8. TESTIMONIALS SECTION
   ========================================== */
.testimonials-section-custom { background: #fff; padding: 3rem 0; border-radius: 0.5rem; }
.testimonial-scroll-wrapper { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.testimonial-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    background: #000;
    border-radius: 1.2rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.testimonial-scroll::-webkit-scrollbar { display: none; }

.testimonial-bubble {
    background: #DEC48C;
    color: #000;
    border-radius: 1rem;
    padding: 1.2rem;
    font-size: 1.08rem;
    font-style: italic;
    margin-bottom: 1.2rem;
    position: relative;
}
.testimonial-img { width: 70px; height: 70px; object-fit: cover; border-radius: 50%; border: 3px solid #DEC48C; margin-bottom: 0.5rem; }
.testimonial-name { font-weight: 700; color: #DEC48C; font-size: 1.15rem; }

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #DEC48C;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}
.testimonial-arrow.left { left: -22px; }
.testimonial-arrow.right { right: -22px; }
.testimonial-arrow.disabled { opacity: 0.4; pointer-events: none; }

/* ==========================================
   9. CONTACT SECTION
   ========================================== */
.contact-anukriti-wrapper { max-width: 650px; margin: 0 auto; padding: 2.5rem 1.2rem; text-align: center; }
.contact-anukriti-title { font-weight: 700; font-size: 2.2rem; color: #111; margin-bottom: 1rem; }
.contact-anukriti-subtitle { font-weight: 500; font-size: 1.15rem; color: #222; margin-bottom: 2rem; }

.contact-anukriti-flex { display: flex; gap: 3rem; justify-content: center; align-items: flex-start; max-width: 1100px; margin: 0 auto; padding: 3rem 1rem; }
.contact-anukriti-left, .contact-anukriti-right { width: 50%; }

.contact-anukriti-section { text-align: left; margin-bottom: 1.2rem; color: #222; font-size: 1.08rem; }
.contact-anukriti-form {
    background: #faf9f6;
    padding: 2.2rem 1.5rem;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    width: 100%;
    max-width: 340px;
}
.contact-anukriti-input {
    width: 100%;
    padding: 0.85rem;
    margin-bottom: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 0.7rem;
}
.contact-anukriti-btn {
    width: 100%;
    padding: 0.85rem;
    background: #DEC48C;
    font-weight: 700;
    border: none;
    border-radius: 0.7rem;
    cursor: pointer;
}

/* ==========================================
   10. FOOTER
   ========================================== */
.custom-footer { background: #dec48c; color: #fff; }
.footer-cta-bar { background: #DEC48C; padding: 0.5rem 0; min-height: 64px; display: flex; align-items: center; }
.footer-cta-text { font-size: 1.2rem; color: #000; }
/* CTA BUTTON FIX */
.footer-enroll-btn {
    background: #000;
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-enroll-btn:hover {
    background: #A3702A;
    color: #fff;
}

/* SOCIAL ICON SIMPLE (no external load) */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    /*background: #DEC48C;*/
    color: #000;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: bold;
    transition: 0.3s;
}


/* COPYRIGHT FIX */
.footer-copyright {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 12px 0;
    font-size: 0.9rem;
}

.footer-main { background: #000; padding: 2.5rem 0; }
.footer-school-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.footer-school-img { max-width: 100px; border-radius: 16px; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { color: #fff; text-decoration: none; transition: 0.2s; }
.footer-links a:hover { color: #ffd600; }

.footer-social-icon { display: inline-flex; margin-right: 0.5rem; }
.footer-social-icon img { 
    width: 24px; filter: invert(81%) sepia(24%) saturate(442%) hue-rotate(7deg) brightness(92%) contrast(89%); 
}
.footer-copyright { background: #000; color: #ccc; text-align: center; padding: 10px 0; font-size: 0.95rem; }


/* ==========================================
   11. MEDIA QUERIES (TABLET & MOBILE)
   ========================================== */
/* Tablet (2 cards) */



/* Tablet Devices (max-width: 991px) */
@media (max-width: 991.98px) {
    .navbar-nav { margin-top: 1rem; }
    .navbar-nav .nav-link { border-bottom: 1px solid #222; padding: 0.75rem 0 !important; }
    .navbar-logo-big { height: 44px; }
    
    .philosophy-content { padding-left: 0; text-align: center; }
    .philosophy-content .question-title { font-size: 1.8rem; }
    
    .testimonial-card { min-width: 320px; }
    .footer-main { padding: 1.5rem 0; }
    .contact-anukriti-flex { flex-direction: column; align-items: center; gap: 2rem; }
    .contact-anukriti-left, .contact-anukriti-right { width: 100%; text-align: center; }
    .contact-anukriti-form { max-width: 100%; }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767.98px) {
    /* Hero */
    /*.hero-slide { min-height: 35vh; }*/
    .hero-text h1 { font-size: 2rem; }

    /* Quote */
    .quote-section { min-height: auto; padding: 2rem 0; }
    .quote-reality { font-size: 1.8rem; }
    .quote-title { font-size: 1.2rem; }

    /* Philosophy */
    .philosophy-section { padding: 30px 0; }
    .philosophy-content .question-title { font-size: 1.5rem; }
        .philosophy-img::after {
        height: 150px; /* thoda zyada fade */
    }

    /* Courses & Products */
    .courses-title, .products-main-heading { font-size: 1.4rem; }
    .course-img, .product-img { height: 180px; }
    
    /* Testimonials */
    .testimonial-scroll-wrapper {
        padding: 0 10px; /* arrows ke liye space */
    }

    .testimonial-scroll {
        justify-content: start;
        gap: 10px; 
    }

    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        margin: 0 auto;
        
    }

    /*.testimonial-card { min-width: 85vw; }*/
    .testimonial-arrow.left { left: 5px; }
    .testimonial-arrow.right { right: 5px; }

    /* Contact */
    .contact-anukriti-title { font-size: 1.5rem; }
    .contact-anukriti-section { text-align: center; }

    /* Footer */
    .footer-cta-bar { flex-direction: column; padding: 1rem; text-align: center; }
    .footer-enroll-btn { width: 100%; margin-top: 10px; }
    
    /* Specific Question/Philosophy Fixes */
    .question-section-bg { text-align: center !important; }
    .testimonial-scroll-wrapper { padding: 0 0rem; }
}
/* Mobile (1 card) */
