@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --primary-brown: #800000;
    --hover-brown: #36261A;
    --bg-cream: #F8F5F0;
    --text-dark: #2C221E;
    --border-color: #E5E0D8;
    --accent-light: #D7CCC8;
}

*{
    scrollbar-width: none;
}
body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Top Info Bar */
.top-bar {
    background-color: var(--primary-brown);
    color: var(--accent-light);
    font-size: 13px;
    padding: 10px 0;
}

.top-bar i {
    color: var(--accent-light);
}

/* Navbar Styling & Alignment */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}


/* Navbar Logo Styling */
/*.navbar-logo {*/
    /* height: 42px; /* Aap apne zaroorat ke hisaab se height kam ya zyada kar sakte hain */
/*    width: auto;*/
/*    object-fit: contain;*/
/*}*/

.brand-title {
    font-family: 'Algerian', 'Times New Roman', serif;
    color: var(--primary-brown);
    font-size: 1.4rem;    
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.1;
    display: block;
}

.brand-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    letter-spacing: 1.2px;
    color: var(--primary-brown);
    font-weight: 600;
    display: block;
    text-transform: uppercase;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    position: relative; /* Pseudo-element ke positioning ke liye zaroori hai */
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    padding: 8px 12px !important;
}

/* Animated line effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 12px;
    right: 12px;
    background-color: var(--primary-brown);
    transition: width 0.3s ease-in-out;
    margin: 0 auto;
}

.navbar-nav .nav-link:hover::after {
    width: calc(100% - 24px);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-brown) !important;
}

/* Hover aur Active dono par underline expand hogi */
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 24px); /* Text ki width ke mutabiq expand hoga */
}

/* Hover aur Active dono par color change aur bold effect rahega */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-brown) !important;
    font-weight: 900; /* Active tab ko thoda bold karne ke liye */
}
.btn-book-seat {
    background-color: var(--primary-brown);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-book-seat:hover {
    background-color: var(--hover-brown);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Desktop True Center Alignment for Nav Links */
@media (min-width: 992px) {
    .navbar {
        min-height: 75px;
    }
    .navbar-collapse {
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        pointer-events: none;
    }
    .navbar-nav {
        pointer-events: auto;
        margin: 0 auto;
        display: inline-flex;
        gap: 12px;
    }
}

/* Hero Section Styling Improvements */
.hero-section {
    position: relative;
    background: url('../images/library-bg.png') no-repeat center center;
    background-size: cover;
    padding: 90px 0;
    color: #ffffff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background: linear-gradient(135deg, rgba(75, 0, 0, 0.94) 0%, rgba(50, 0, 0, 0.88) 100%);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-badge {
    background-color: rgba(140, 109, 83, 0.35) !important;
    border: 1px solid var(--secondary-brown);
    color: #F8F5F0 !important;
    font-weight: 500;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Algerian', 'Cinzel', serif;
    color: #ffffff;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-section p {
    color: #D6CEC3 !important;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Modern Button Styles */
.hero-btn-primary {
    background-color: #8C6D53;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(140, 109, 83, 0.3);
}

.hero-btn-primary:hover {
    background-color: #A38267;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 109, 83, 0.4);
}

.hero-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 11px 26px;
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.hero-btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary-brown);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Stats Counter Box Design */
.hero-stat-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    transition: transform 0.2s ease;
}

.hero-stat-box:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.09);
}

/* Right Side Image Card */
.hero-image-card {
    background: #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-card-overlay {
    background: linear-gradient(to top, rgba(30, 22, 18, 0.95), rgba(30, 22, 18, 0.4));
    backdrop-filter: blur(2px);
}

/* About Section Styles */
.section-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--secondary-brown);
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'Algerian', 'Cinzel', serif;
    color: var(--primary-brown);
    font-size: 2.1rem;
    line-height: 1.2;
}

.about-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.2s ease;
}

.about-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 53, 37, 0.06);
}

/* Custom Section Divider Line */
.section-divider {
    border: 0;
    height: 2px;
    background-color: #D1C4B5;
    width: 85%;
    margin: 10px auto;
    opacity: 0.8;
    transform: scaleX(0);
    animation: expandLine 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

/* Facilities Section Styles */

.facility-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 24px;
    transition: all 0.25s ease;
    height: 100%;
    text-align: left;
    box-shadow: 0 4px 12px rgba(74, 53, 37, 0.03);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(74, 53, 37, 0.08);
    border-color: var(--secondary-brown);
}

.facility-icon-box {
    width: 50px;
    height: 50px;
    background-color: #F4EFE6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-brown);
    font-size: 22px;
    margin-bottom: 20px;
}

/* Rules & Regulations Section Styles */
.rule-card {
    background: #f3efef;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 12px rgba(74, 53, 37, 0.03);
}

.rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(74, 53, 37, 0.07);
    border-color: var(--secondary-brown);
}

.rule-number {
    background-color: #F4EFE6;
    color: var(--primary-brown);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    font-family: 'Algerian', 'Cinzel', serif;
}

/* Student Reviews Section Styles */
.review-card {
    border: 1px solid var(--border-color) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(74, 53, 37, 0.08) !important;
}

.review-avatar {
    width: 42px;
    height: 42px;
    background-color: var(--primary-brown);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

/* Contact & Inquiry Section Styles */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 8px;
    background-color: #FAFAFA;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-brown);
    box-shadow: 0 0 0 3px rgba(74, 53, 37, 0.1);
    background-color: #ffffff;
}

.form-label {
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* Map Section */
.map-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    line-height: 0;
}

/* Footer Section */
.footer-section {
    background-color: var(--primary-brown);
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Floating Social Action Buttons */
.floating-social-icons {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* WhatsApp Brand Color */
.whatsapp-btn {
    background-color: #25D366;
}

/* Instagram Gradient Brand Color */
.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}


