/* --- General & Typography --- */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #8e0303; /* मरून कलर */
    color: #ffffff; /* सबै टेक्स्टलाई सेतो बनाउन */
}

h1, h2, h3, h4 {
    color: #ffffff; /* हेडिङ कलरलाई सेतो बनाउन */
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Header & Navigation --- */
header {
    background-color: #8e0303; /* मरून रेड */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover {
    color: #f1f1f1;
}

/* --- Mobile Menu (Hidden by default) --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

/* --- Media Query for Mobile responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background-color: #8e0303;
        flex-direction: column;
        padding: 20px 0;
        border-top: 1px solid #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        padding: 15px 25px;
        border-bottom: 1px solid #ffffff;
        text-align: center;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex;
    }
}


/* --- Banner Section --- */
.banner-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
    height: 60vh;
}

.banner-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.banner-section p {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .banner-section {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner1.jpg') no-repeat center center;
        background-size: cover;
        background-position: center top;
        height: 40vh;
       
    }

  

    .banner-section p {
        font-size: 1rem;
    }
}

/* --- Section Grid & Cards (for Courses and News) --- */
.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #f0efef;;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.card img {
    width: 80%;
    height: 200px;
    -fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.course-price {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* --- News Section Specifics --- */
.news-section {
    background-color: #6f0909;
    padding: 80px 0;
}

.news-section .card {
    background-color: #ffffff;
    color: #343a40;
}

.news-section .card h3 {
    color: #34495e;
}

.news-section .card .published-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* --- Course Info Card (Admission Page) --- */
.course-info-card {
    background-color: #f1f1f1;
    color: #dad5d5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #ddd;
}

.course-info-card h4 {
    color: #ffffff;
    font-weight: 600;
}

.course-info-card p {
    color: #fdfcfc;
    margin-bottom: 5px;
}

/* --- Footer Style --- */
/* --- Footer Style --- */
.footer {
    background-color: rgb(126, 9, 9);
    color: #a10404;
    padding: 60px 0 20px;
    font-size: 1rem;
    line-height: 1.8;
}





.footer-col h4::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #9e0b0b;
    margin: 10px 0 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #3498db;
}

.footer-col .social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #2c3e50;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: #3498db;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 40px;
}

/* --- CEO Section in Footer --- */
.footer-ceo {
    text-align: center;
}

.footer-ceo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #3498db;
    object-fit: cover;
    margin-bottom: 10px;
}

.footer-ceo h5 {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #ecf0f1;
}

.footer-ceo p {
    margin: 0;
    font-size: 0.9rem;
    color: #bdc3c7;
}
.footer {
    background-color: #881111;
    color: #ecf0f1;
    padding: 60px 0;
    font-family: Arial, sans-serif;
}
/* --- Collaboration Section --- */
.collaboration-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.collaboration-section .section-title {
    color: #34495e; /* Light background को लागि टाइटल कलर */
}

.collaboration-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.collaboration-text {
    flex: 1;
}

.collaboration-text h3 {
    color:#ff0000;
    font-size: 2rem;
    margin-bottom: 15px;
}

.collaboration-text p {
    color: #ff0000;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.collaboration-images {
    flex-shrink: 0;
    text-align: center;
}

.collaboration-images .tiedup-image {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.collaboration-images .eleusal-logo {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Mobile Responsive for Collaboration Section --- */
@media (max-width: 768px) {
    .collaboration-content {
        flex-direction: column;
        text-align: center;
    }
    
    .collaboration-images .tiedup-image,
    .collaboration-images .eleusal-logo {
        width: 100%;
        max-width: 300px;
    }
}

/* --- ELE USAL Section --- */
.eleusal-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.eleusal-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.eleusal-logo-container {
    flex-shrink: 0;
    width: 300px;
    background-color: #a70000; /* Maroon color */
    color: #fff;
    padding: 30px 15px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.eleusal-logo-container img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.logo-text-vertical {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: 0 0;
    width: auto;
    white-space: nowrap;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo-text-vertical span {
    display: block;
}

.eleusal-info {
    flex: 1;
    color: #333; /* Darker text color for contrast */
}

.eleusal-info h2 {
    color: #34495e;
    font-size: 2.5rem;
    margin-top: 0;
}

.eleusal-info h4 {
    color: #34495e;
    font-weight: 600;
    margin-top: 30px;
}

.eleusal-info p,
.eleusal-info ul {
    color: #555;
    font-size: 1rem;
}

.eleusal-info ul {
    list-style: none;
    padding-left: 0;
}

.eleusal-info ul li::before {
    content: '✓';
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.eleusal-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 20px;
}

.stat-item {
    border: 2px solid #a70000; /* Maroon border */
    border-radius: 10px;
    padding: 20px;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #a70000;
}

.stat-text {
    font-size: 1.1rem;
    color: #333;
}

/* Mobile Responsive for ELE USAL Section */
@media (max-width: 992px) {
    .eleusal-content {
        flex-direction: column;
        text-align: center;
    }
    
    .eleusal-logo-container {
        width: 100%;
        margin-bottom: 20px;
    }

    .eleusal-logo-container .logo-text-vertical {
        display: none;
    }
}

@media (max-width: 576px) {
    .eleusal-stats {
        flex-direction: column;
    }
}

/* --- Admission Form Page --- */
.container.mt-5.mb-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.col-lg-8 {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1.text-center.mb-4 {
    color: #34495e;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Alert messages */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-info a {
    color: #0c5460;
    font-weight: bold;
    text-decoration: underline;
}

/* Course Info Card */
.course-info-card {
    background-color: #e9f5ff;
    border: 1px solid #b3d7ff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #333;
}

.course-info-card h4 {
    color: #004085;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.course-info-card p {
    color: #555;
    margin-bottom: 0.25rem;
}

.course-info-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a713b;
    margin-top: 15px;
}

/* Form Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: .5rem;
    font-weight: bold;
    color: #34495e;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.btn-primary {
    display: inline-block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}


/* --- Mobile Menu (Hidden by default) --- */
.menu-toggle {
    display: none; /* Desktop मा लुकाउने */
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 4px 0;
    transition: all 0.3s ease-in-out;
}

/* --- Responsive Layout for Mobile --- */
@media (max-width: 768px) {
    /* Header & Navigation */
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-links {
        position: absolute;
        top: 80px; /* हेडरको उचाइअनुसार मिलाउनुहोस् */
        left: 0;
        width: 100%;
        background-color: #8e0303;
        flex-direction: column;
        padding: 20px 0;
        border-top: 1px solid #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%); /* सुरुमा मेनु लुकाउने */
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.is-open {
        transform: translateY(0); /* मेनु देखाउने */
    }

    .nav-links a {
        padding: 15px 25px;
        border-bottom: 1px solid #ffffff;
        text-align: center;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex; /* मोबाइलमा देखाउने */
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.is-active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}