/* ========== COURSES PAGE CSS - FULLY RESPONSIVE - RED THEME ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    color: #2C3E50;
    overflow-x: hidden;
}

/* ========== FLOATING BUTTONS ========== */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-wa, .floating-call {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.floating-wa { background: #25D366; color: white; }
.floating-call { background: #007bff; color: white; }
.floating-wa i, .floating-call i { font-size: 24px; }

/* ========== NAVBAR ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0A2B3E;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.55rem;
    color: #C0392B;
    font-weight: 600;
}

.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    list-style: none;
}

.nav-links.show {
    display: flex;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #0A2B3E;
    padding: 10px 0;
    display: block;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #C0392B;
}

.hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    color: #0A2B3E;
}

/* ========== HERO SECTION ========== */
/* ========== HERO SECTION WITH BACKGROUND IMAGE & OVERLAY ========== */
.courses-hero {
    min-height: 400px;
    position: relative;
    background: url('../assests/courses_1.jfif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
}

/* Dark Overlay for better text readability */
.courses-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,43,62,0.85) 0%, rgba(10,43,62,0.65) 100%);
    z-index: 1;
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.courses-hero-content h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.courses-hero-content h1 span {
    color: #C0392B;
}

.courses-hero-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

.breadcrumb {
    margin-top: 15px;
    color: white;
}

.breadcrumb a {
    color: #C0392B;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 12px;
    margin: 0 8px;
}
/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== SECTION TAGS ========== */
.section-tag {
    color: #C0392B;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.6rem;
    margin: 10px 0 20px;
}

h2 span {
    color: #C0392B;
}

/* ========== COURSE DETAIL SECTION ========== */
.course-detail {
    padding: 50px 0;
}

.course-detail.alternate {
    background: #F8F9FA;
}

.course-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.course-wrapper.reverse {
    flex-direction: column;
}

.course-image {
    position: relative;
    flex: 1;
}

.course-image img {
    width: 100%;
    border-radius: 20px;
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #C0392B;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.course-info {
    flex: 1;
}

.course-duration {
    color: #C0392B;
    font-weight: 500;
    margin: 10px 0 15px;
}

.course-duration i {
    margin-right: 5px;
}

.course-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 20px;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.feature {
    background: #FDE8E6;
    padding: 6px 14px;
    border-radius: 25px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature i {
    color: #C0392B;
}

.btn-apply {
    background: #C0392B;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background: #A93226;
    transform: translateY(-3px);
}

/* ========== DETAILED TABS ========== */
.course-detailed {
    padding: 50px 0;
    background: #F8F9FA;
}

.tab-buttons-course {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn-course {
    padding: 10px 20px;
    background: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn-course:hover {
    background: #FDE8E6;
}

.tab-btn-course.active {
    background: #C0392B;
    color: white;
}

.tab-content-course {
    display: none;
}

.tab-content-course.active {
    display: block;
}

.tab-content-inner {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.tab-content-inner h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #0A2B3E;
}

.tab-content-inner ul {
    list-style: none;
}

.tab-content-inner li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.tab-content-inner li i {
    color: #C0392B;
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.structure-item {
    background: #FDE8E6;
    padding: 15px;
    border-radius: 12px;
}

.structure-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.structure-item p {
    font-size: 0.75rem;
    color: #666;
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.career-item {
    background: #FDE8E6;
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.career-item i {
    color: #C0392B;
    width: 25px;
}

/* ========== SCHOLARSHIP SECTION ========== */
.scholarship {
    padding: 50px 0;
}

.scholarship-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.scholarship-image img {
    width: 100%;
    border-radius: 20px;
}

.scholarship-content {
    flex: 1;
}

.scholarship-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.scholarship-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.scholarship-list i {
    color: #C0392B;
}

/* ========== PLACEMENT SECTION ========== */
.placement-support {
    padding: 50px 0;
    background: #F8F9FA;
}

.placement-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.placement-content {
    flex: 1;
}

.placement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.placement-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.placement-list i {
    color: #C0392B;
    width: 25px;
}

.placement-image img {
    width: 100%;
    border-radius: 20px;
}

/* ========== ADMISSION PROCESS ========== */
.admission-process {
    padding: 50px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    text-align: center;
    padding: 20px;
    background: #FDE8E6;
    border-radius: 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #C0392B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.75rem;
    color: #666;
}

.admission-cta {
    text-align: center;
}

.btn-admission-process {
    background: #C0392B;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-admission-process:hover {
    background: #A93226;
    transform: translateY(-3px);
}

/* ========== CAMPUS FACILITIES GALLERY ========== */
.campus-facilities-gallery {
    padding: 50px 0;
    background: #F8F9FA;
}

.facility-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.facility-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 180px;
}

.facility-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.facility-gallery-item:hover img {
    transform: scale(1.05);
}

.facility-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
}

.facility-gallery-overlay h4 {
    color: white;
    font-size: 0.8rem;
}

/* ========== CTA SECTION ========== */
.cta-section-courses {
    padding: 50px 0;
    background: linear-gradient(135deg, #0A2B3E, #1B4F72);
    color: white;
    text-align: center;
}

.cta-content-courses h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-content-courses p {
    margin-bottom: 25px;
}

.cta-buttons-courses {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary-courses, .cta-btn-secondary-courses {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn-primary-courses {
    background: #C0392B;
    color: white;
}

.cta-btn-primary-courses:hover {
    background: #A93226;
    transform: translateY(-3px);
}

.cta-btn-secondary-courses {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn-secondary-courses:hover {
    background: white;
    color: #0A2B3E;
}

/* ========== FOOTER ========== */
footer {
    background: #0A2B3E;
    color: white;
    padding: 50px 0 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 40px;
}

.footer-about {
    text-align: center;
}

.footer-logo {
    width: 60px;
    margin-bottom: 15px;
}

.footer-about h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #C0392B;
}

.footer-about p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #ccc;
}

.footer-social {
    margin-top: 15px;
}

.footer-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 5px;
    line-height: 35px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #C0392B;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4, .footer-newsletter h4 {
    color: #C0392B;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after, .footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #C0392B;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin: 12px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #C0392B;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #C0392B;
    font-size: 1.1rem;
    margin-top: 3px;
}

.contact-item p, .contact-item a {
    color: #ccc;
    font-size: 0.8rem;
    text-decoration: none;
    line-height: 1.4;
}

.contact-item a:hover {
    color: #C0392B;
}

.footer-newsletter p {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 0.8rem;
    outline: none;
}

.newsletter-form button {
    background: #C0392B;
    border: none;
    padding: 0 15px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #A93226;
}

.footer-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-hours i {
    color: #C0392B;
}

.footer-hours p {
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-left p {
    font-size: 0.7rem;
    color: #888;
}

.footer-bottom-right {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: #888;
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #C0392B;
}

/* ========== MODAL ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    width: 85%;
    max-width: 350px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
}

.close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: #C0392B;
}

.btn-primary-modal {
    background: #C0392B;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-modal:hover {
    background: #A93226;
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
    .hamburger { display: none; }
    
    .nav-links {
        display: flex !important;
        position: static;
        width: auto;
        flex-direction: row;
        padding: 0;
        gap: 25px;
        box-shadow: none;
    }
    
    .nav-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 15px 30px;
    }
    
    .logo-img {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h2 {
        font-size: 0.9rem;
    }
    
    .courses-hero-content h1 { font-size: 3rem; }
    
    .course-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .course-wrapper.reverse {
        flex-direction: row;
    }
    
    .structure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scholarship-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .placement-wrapper {
        flex-direction: row;
        align-items: center;
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .facility-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .facility-gallery-item {
        height: 220px;
    }
    
    .footer-main {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .footer-about {
        flex: 2;
        text-align: left;
    }
    
    .footer-links {
        flex: 1;
    }
    
    .footer-contact {
        flex: 2;
    }
    
    .footer-newsletter {
        flex: 2;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-bottom-right {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .structure-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .facility-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}