/* ==========================================================================
   LBS College Pratapgarh - Premium Custom Theme Stylesheet
   ========================================================================== */

:root {
    --primary-color: #0b5394;      /* LBS College Royal Blue */
    --secondary-color: #0d233a;    /* Dark Navy Blue for text/headings & stats */
    --accent-color: #ffc107;       /* Affiliation Badge Gold */
    --accent-hover: #e0a800;
    --text-color: #333333;         /* Body Text */
    --text-light: #666666;
    --bg-light: #f8f9fa;           /* Off-white background */
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    
    /* Poppins added as a primary font to support beautiful Hindi (Unicode) rendering */
    --font-title: 'Outfit', 'Poppins', sans-serif;
    --font-body: 'Poppins', 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* 1. Global Resets & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--secondary-color);
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

/* Containers */
.lbs-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 2. Header and Navigation */
.lbs-site-header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo Brand Styling */
.lbs-logo-link {
    display: block;
}

.lbs-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-logo-link img.custom-logo,
.lbs-logo-wrapper img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.custom-logo-link:hover img.custom-logo,
.lbs-logo-link:hover .lbs-logo-wrapper img {
    transform: scale(1.05);
}


.lbs-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.logo-sub {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    margin-top: 2px;
}

/* Navigation Links */
.lbs-navigation {
    display: flex;
}

.lbs-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lbs-menu li {
    position: relative;
    list-style: none;
}

.lbs-menu a {
    color: var(--secondary-color);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.lbs-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

.lbs-menu .current-menu-item > a::after,
.lbs-menu li:hover > a::after {
    width: 100%;
}

.lbs-menu a:hover {
    color: var(--primary-color);
}

/* Sub-menu Dropdown Styling (Desktop) */
.lbs-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    border-top: 3px solid var(--primary-color);
}

.lbs-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lbs-menu .sub-menu li {
    width: 100%;
    margin: 0;
    padding: 0;
}

.lbs-menu .sub-menu a {
    display: block;
    padding: 10px 20px !important;
    color: var(--secondary-color) !important;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    white-space: nowrap;
    border-bottom: none !important;
}

.lbs-menu .sub-menu a::after {
    display: none !important; /* Hide hover underline line */
}

.lbs-menu .sub-menu a:hover {
    background-color: rgba(11,83,148,0.05);
    color: var(--primary-color) !important;
    padding-left: 25px !important;
}

/* Caret indicator for dropdown menu items */
.lbs-menu .menu-item-has-children > a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
    order: 1;
}

.lbs-menu .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* Header Phone & Language Switch Action Buttons */
.lbs-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: var(--bg-white) !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.lbs-phone-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11,83,148,0.25);
}

.lbs-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary-color);
    background: rgba(11,83,148,0.06);
    padding: 10px 18px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.lbs-lang-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
}

.lbs-mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Buttons */
.lbs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lbs-btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: 2px solid var(--primary-color);
}

.lbs-btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

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

.lbs-btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* 3. Hero Section (Banner) */
.lbs-block-hero {
    position: relative;
    background-color: var(--bg-white);
    padding: 60px 0 110px 0; /* Extra bottom padding to let stats overlap */
    overflow: hidden;
}

.lbs-block-hero .lbs-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.lbs-hero-content {
    z-index: 2;
    padding-right: 20px;
}

.lbs-hero-tag {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lbs-hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.lbs-hero-title span {
    color: var(--secondary-color);
}

.lbs-hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 500px;
}

.lbs-hero-actions {
    display: flex;
    gap: 15px;
}

/* The curved campus image */
.lbs-hero-image-wrapper {
    position: relative;
    height: 480px;
    width: 110%;
    margin-left: -5%;
    z-index: 1;
}

.lbs-hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    clip-path: ellipse(90% 100% at 90% 50%); /* Beautiful curved shape */
    border-left: 5px solid rgba(255,255,255,0.2);
}

/* 4. Stats/Features Info Bar */
.lbs-block-stats {
    position: relative;
    margin-top: -80px; /* Overlap with hero */
    z-index: 10;
    padding-bottom: 50px;
}

.lbs-stats-row {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.lbs-stat-col {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    color: var(--bg-white);
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.lbs-stat-col:last-child {
    border-right: none;
}

.lbs-stat-icon {
    font-size: 28px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.lbs-stat-info h4 {
    color: var(--bg-white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.lbs-stat-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* 5. Courses Section */
.lbs-block-courses {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.lbs-section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.lbs-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    display: inline-block;
    position: relative;
    padding: 0 35px;
}

.lbs-section-header h2::before,
.lbs-section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25px;
    height: 2px;
    background-color: var(--accent-color);
}

.lbs-section-header h2::before {
    left: 0;
}

.lbs-section-header h2::after {
    right: 0;
}

.lbs-section-header p {
    font-size: 16px;
    color: var(--text-light);
    margin-top: 8px;
    font-weight: 500;
}

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

/* Course Card Styling */
.lbs-course-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lbs-course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0,0,0,0.06);
}

.lbs-course-header {
    flex-grow: 1;
}

.lbs-course-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.lbs-course-card:hover .lbs-course-badge {
    transform: scale(1.1) rotate(5deg);
}

.lbs-course-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.lbs-course-desc {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 15px;
}

.lbs-course-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 15px 0;
}

.lbs-course-footer {
    display: flex;
    align-items: center;
}

.lbs-course-elig {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: #f1f3f5;
    padding: 6px 12px;
    border-radius: 5px;
}

/* 6. Scrolling Notice Marquee */
.lbs-block-marquee {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-family: var(--font-body); /* Changed to use body font which has Poppins fallback */
    font-weight: 600;
    font-size: 15px;
    box-shadow: inset 0 -2px 5px rgba(0,0,0,0.05);
    z-index: 100;
}

.lbs-block-marquee marquee {
    cursor: pointer;
}

/* 7. Notice Board (News Box) Styling */
.lbs-block-news-box {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.lbs-news-box-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--primary-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.lbs-news-box-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.lbs-news-box-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    align-items: center;
}

.lbs-news-box-header h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lbs-news-box-header h3 i {
    color: var(--accent-color);
    animation: lbs-ring 2.5s ease infinite;
}

.lbs-news-box-content {
    padding: 30px 25px;
}

/* Notice Board scrolling container when there are many notices */
.lbs-notice-scroll-wrap {
    height: 320px;
    overflow: hidden;
    position: relative;
}

.lbs-notice-scroll-wrap marquee {
    height: 100%;
}

.lbs-news-box-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
}

/* Bell Megaphone Ring Animation */
@keyframes lbs-ring {
    0% { transform: rotate(0); }
    8% { transform: rotate(15deg); }
    16% { transform: rotate(-12deg); }
    24% { transform: rotate(10deg); }
    32% { transform: rotate(-6deg); }
    40% { transform: rotate(4deg); }
    48% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

/* 8. Textbox & Info Block */
.lbs-block-textbox {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.lbs-block-textbox h2 {
    font-size: 30px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.lbs-block-textbox h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.lbs-textbox-content {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.lbs-textbox-content p {
    margin-bottom: 15px;
}

/* 9. General Heading and Image block */
.lbs-block-heading {
    padding: 40px 0 20px 0;
}
.lbs-block-image {
    padding: 30px 0;
}

/* Slider (Dynamic Banner Slider) */
.lbs-block-slider {
    padding: 0;
    position: relative;
}
.lbs-slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}
.lbs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.lbs-slide.active {
    opacity: 1;
    visibility: visible;
}
.lbs-slide-content {
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}
.lbs-slide-content h2 {
    color: var(--bg-white);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.lbs-slide-content p {
    font-size: 18px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

.lbs-slider-prev,
.lbs-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 5;
}
.lbs-slider-prev:hover,
.lbs-slider-next:hover {
    background: var(--primary-color);
}
.lbs-slider-prev { left: 20px; }
.lbs-slider-next { right: 20px; }

/* 10. Footer Styling */
.lbs-site-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 20px 0;
    font-size: 14px;
}

.lbs-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.lbs-footer-col h3 {
    color: var(--bg-white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.lbs-footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}

.lbs-footer-about {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    color: var(--bg-white);
}

.footer-logo {
    margin-bottom: 20px;
}

.lbs-social-links {
    display: flex;
    gap: 12px;
}

.lbs-social-links a {
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.08);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

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

.lbs-footer-links li {
    margin-bottom: 12px;
    list-style: none;
}

.lbs-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lbs-footer-links a {
    color: rgba(255,255,255,0.7);
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.lbs-footer-links a::before {
    content: '\f054'; /* FontAwesome chevron-right */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 9px;
    margin-right: 8px;
    transition: var(--transition-smooth);
    display: inline-block;
}

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

.lbs-footer-links a:hover::before {
    transform: translateX(4px);
    color: var(--accent-color);
}

.lbs-footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: flex-start;
}

.lbs-footer-contact li i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 3px;
}

.lbs-footer-contact a {
    color: inherit;
}

.lbs-footer-contact a:hover {
    color: var(--bg-white);
}

.lbs-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
}

/* 11. Responsive Design Media Queries */
@media (max-width: 1024px) {
    .lbs-block-hero .lbs-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .lbs-hero-content {
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .lbs-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .lbs-hero-image-wrapper {
        width: 100%;
        margin-left: 0;
        height: 380px;
    }
    .lbs-hero-image {
        clip-path: none;
        border-radius: 20px;
    }
    .lbs-stats-row {
        flex-direction: column;
        gap: 25px;
        align-items: flex-start;
    }
    .lbs-stat-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
        width: 100%;
    }
    .lbs-stat-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .lbs-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 80px;
    }
    .lbs-logo-link {
        transform: scale(0.9);
    }
    .lbs-navigation {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        padding: 20px;
        border-top: 1px solid var(--border-color);
    }
    .lbs-navigation.active {
        display: block;
    }
    .lbs-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    /* Sub-menu on Mobile */
    .lbs-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 5px 0 5px 15px;
        background-color: transparent;
        min-width: auto;
        display: none; /* Controlled by JS toggle */
    }
    
    .lbs-menu .menu-item-has-children.submenu-open > a::before {
        transform: rotate(180deg);
    }
    
    .lbs-menu .sub-menu a {
        padding: 8px 10px !important;
        font-size: 14px;
        white-space: normal;
    }
    
    .lbs-menu .sub-menu a:hover {
        padding-left: 15px !important;
        background-color: transparent;
    }
    .lbs-mobile-nav-toggle {
        display: block;
    }
    .lbs-header-cta {
        display: none; /* Hide phone button in header on mobile */
    }
    .lbs-hero-title {
        font-size: 38px;
    }
    .lbs-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .lbs-btn {
        width: 100%;
        justify-content: center;
    }
    .lbs-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
    .lbs-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Course Card Wrapper Link Styling */
.lbs-course-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
