/* ============================================== */
/* GLOBAL VARIABLES & BASE STYLES */
/* ==================================
/* Prevent Horizontal Overflow / Extra Scroll Bar */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/*============ */
:root {
    --primary-color: #0f172a;
    --accent-color: #ff6b00;
    --accent-hover: #e05d00;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--primary-color);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

/* Helper Utility Classes */
.text-primary-custom { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-light-custom { background-color: var(--bg-light) !important; }
.bg-accent { background-color: var(--accent-color) !important; }
.fw-extrabold { font-weight: 800; }

/* Gradient Text Effect */
.text-gradient {
    background: linear-gradient(135deg, #ff6b00 0%, #ffa800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Headings */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.section-heading {
    font-weight: 700;
    color: var(--primary-color);
}

.heading-line {
    width: 60px;
    height: 3.5px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* ============================================== */
/* NAVBAR STYLING (Glassmorphism) */
/* ============================================== */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-weight: 800;
    color: #ffffff !important;
    font-size: 1.5rem;
}

.navbar-brand span:first-child {
    color: var(--accent-color);
}

.est-badge {
    font-size: 0.7rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.nav-link {
    color: #cbd5e1 !important;
    font-weight: 500;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Buttons Styling */
.btn-accent {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ============================================== */
/* HERO SECTION STYLING */
/* ============================================== */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding-top: 100px;
}

.hero-badge {
    background-color: rgba(255, 107, 0, 0.15);
    color: var(--accent-color);
    font-weight: 600;
    border: 1px solid var(--accent-color);
    border-radius: 30px;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
}

.text-muted-custom {
    color: #94a3b8 !important;
}

.hero-img-wrapper {
    position: relative;
}

.hero-img {
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

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



/* Glow Spheres in Hero Background */

.glow-sphere {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    max-width: 100%;
}

.sphere-1 { top: -30px; left: 0; }
.sphere-2 { bottom: -30px; right: 0; }


/* ============================================== */

img {
    max-width: 100%;
    height: auto;
}

/* CARDS & HOVER EFFECTS */
/* ============================================== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12) !important;
}

.img-wrapper {
    overflow: hidden;
}

.img-zoom {
    transition: transform 0.5s ease;
}

.card-hover:hover .img-zoom, 
.img-wrapper:hover .img-zoom {
    transform: scale(1.1);
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-box {
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.topper-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
}

.faculty-img {
    height: 260px;
    object-fit: cover;
}

.gallery-img {
    height: 220px;
    object-fit: cover;
}

/* Card Borders */
.border-bottom-accent { border-bottom: 4px solid var(--accent-color) !important; }
.border-bottom-primary { border-bottom: 4px solid var(--primary-color) !important; }
.border-start-accent { border-start: 4px solid var(--accent-color) !important; }
.border-start-primary { border-start: 4px solid var(--primary-color) !important; }

/* ============================================== */
 
 /* Animated Border Glow for Premium Touch */
.card-hover:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.2) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
}

/* Accordion Custom Styling */
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(255, 107, 0, 0.1);
    color: var(--accent-color);
    box-shadow: none;
}

.custom-accordion .accordion-button:focus {
    box-shadow: none;
}

 
/* FLOATING WHATSAPP BUTTON */
/* ============================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    z-index: 1000;
    font-size: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    color: #ffffff;
    transform: scale(1.1) rotate(10deg);
}

/* Fix WhatsApp button position on Mobile Screens */
@media (max-width: 767.98px) {
    .whatsapp-btn {
        bottom: 75px !important;
        /* स्टिकी बार के ऊपर दिखेगा */
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.6rem !important;
    }
    
    /* मोबाइल में फ़ुटर के नीचे थोड़ी जगह छोड़ें ताकि कंटेंट स्टिकी बार से न छिपे */
    body {
        padding-bottom: 60px;
    }
}

.social-icon {
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color) !important;
}

/* Back to Top Button Styling */
#backToTop {
    bottom: 30px;
    left: 25px; /* WhatsApp बटन दाईं ओर है, इसलिए इसे बाईं ओर रखा गया है */
    width: 48px;
    height: 48px;
    z-index: 999;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* Mobile Screen Adjustment */
@media (max-width: 767.98px) {
    #backToTop {
        bottom: 80px; /* मोबाइल स्टिकी बार से ऊपर रखने के लिए */
        left: 15px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}


/* Glassmorphism Testimonial Card */
.review-card-premium {
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.review-card-premium:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(255, 107, 0, 0.15) !important;
}
