@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik+Glitch&display=swap');
/* Base Styles */
:root {
    --primary-navy: #000099; 
    --primary-white: #FFFFFF; 
    --secondary-orange: #cd4009; 
    --secondary-gray: #F5F5F5; 
    --accent-gold: #FFC107; 
    --text-black: #000;
    --transition: all 0.3s ease;
}

/* Welcome Popup Styles */
.welcome-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.welcome-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background-color: var(--primary-white);
    border-radius: 10px;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
}

.popup-image {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.popup-image img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.popup-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.action-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.whatsapp-icon {
    background-color: var(--secondary-gray);
}

.call-icon {
    background-color: var(--secondary-gray);
}

.action-icon:hover {
    transform: scale(1.1);
}

/* Floating Contact Icons */
.floating-contact-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.floating-icon img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

.floating-icon:hover {
    transform: translateY(-5px);
}

body {
    font-family: 'Poppins', sans-serif;
    /* color: var(--primary-navy); */
    background-color: var(--primary-white);
    font-size: 18px;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    padding: 0px 0;
    margin: 0px 0;
    background-color: var(--primary-navy);
    border-bottom: none;
}

/* .navbar .container a h1 {
    font-size: 1.4rem;
} */
.navbar .container-fluid{
    margin: 0px 0;
    width: 100% !important;
}
.navbar-brand {
    display: flex;
}

.navbar-logo {
    width: 250px;
    height: 140px;
    /* border-radius: 50%;
    object-fit: cover; */
    /* border: 2px solid var(--accent-gold); */
}

/* .navbar-brand .college-logo {
    font-weight: 700;
    margin: 0;
    /* color: var(--accent-gold);
    font-size: 1.5rem; 
} */
.navbar .container ui{
   margin-left: 0;
    padding-left: 0;
}
.nav-link {
    font-weight: 600;
    margin: 0px;
    color: var(--primary-white) !important;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

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

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.faculty-link {
    font-weight: 700;
    color: var(--secondary-orange) !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FFC107' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu.show {
    display: block; 
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--secondary-gray);
    color: var(--accent-gold);
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 90vh;
    max-height: 700px;
    overflow: hidden;
}

.carousel-item {
    height: 90vh;
    max-height: 700px;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 74, 127, 0.3);
    opacity: 0.5;
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-white);
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    border: 2px solid var(--accent-gold);
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 25px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-navy);
    color: var(--primary-white);
    border-color: var(--primary-navy);
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--primary-white);
    opacity: 0.5;
}

.carousel-indicators button.active {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 74, 127, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 74, 127, 0.5);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.2rem;
    height: 1.2rem;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-navy);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    /* background-color: var(--secondary-orange); */
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Testimonials */
.testimonial-card {
    background-color: var(--secondary-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 2px solid var(--secondary-orange);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-navy);
}

/* Gallery */
.gallery-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 15px;
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
}

/* Image Modal */
.modal-content {
    background-color: var(--primary-white);
    border-radius: 10px;
    border: none;
}

.modal-header {
    border-bottom: none;
    padding: 10px;
}

.modal-body {
    padding: 0;
}

#modalImage {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0 0 10px 10px;
}

.btn-close {
    background-color: var(--primary-navy);
    color: var(--primary-white);
    opacity: 1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background-color: var(--accent-gold);
}

/* Courses */
.courses-header {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/sahara-college-main.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.course-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.course-header {
    padding: 20px;
    background-color: var(--primary-navy);
    color: var(--primary-white);
    position: relative;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.course-category {
    font-size: 0.9rem;
    opacity: 0.8;
}

.course-body {
    padding: 20px;
}

.course-description{
    color: var(--text-black);
    margin-bottom: 20px;
    text-align: inherit;
}

.course-description strong {
    font-weight: 700;
}

.course-description em {
    font-style: italic;
}

.course-description u {
    text-decoration: underline;
}

.course-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--accent-gold);
}

.detail-label {
    font-weight: 600;
}

.detail-value {
    color: var(--text-black);
}

.course-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.course-footer .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.9rem;
}
/* Buttons */
.btn {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-dark:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    border-color: var(--accent-gold);
}

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

.btn-outline-dark:hover {
    background-color: var(--secondary-orange);
    color: var(--primary-white);
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    padding: 60px 0 20px;
}

.footer-heading {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-white);
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--secondary-gray);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--secondary-gray);
    padding-top: 15px;
}

.footer-bottom p {
    color: var(--primary-white);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .navbar .container a h1 {
        font-size: 0.9rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-text {
        font-size: 1.1rem;
    }
    /* .navbar-logo {
        width: 60px;
        height: 60px;
    } */
}

@media (max-width: 1140px) {
    .nav-link {
        font-size: 0.8rem;
    }
     /* .navbar-logo {
        width: 40px;
        height: 40px;
    } */
}

@media (max-width: 1080px) {
    .nav-link {
        font-size: 1.6rem;
    }
    /* .navbar .container a h1 {
        font-size: 1rem;
    }
     .navbar-logo {
        width: 40px;
        height: 40px;
    } */
}

@media (max-width: 992px) {
    /* .navbar .container a h1 {
        font-size: 1.4rem;
    } */
    .navbar-logo {
    width: 225px;
    height: 160px;
}
    /* .navbar-logo {
        width: 60px;
        height: 60px;
    } */
    .hero-slider,
    .carousel-item {
        height: 80vh;
        max-height: 600px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-text {
        font-size: 1rem;
    }
    .nav-link {
        margin: 10px 0;
    }
    .course-card {
        margin-bottom: 30px;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
}

/* Desktop (hover only) */
@media (min-width: 992px) {
  .dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu.show {
    display: none !important;
  }
}

/* Mobile (tap with .show class) */
@media (max-width: 991.98px) {
  .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    background-color: var(--secondary-gray);
    box-shadow: none;
    border-radius: 0;
  }
  .dropdown-item {
    color: var(--primary-white) !important;
  }
  .dropdown-menu.show {
    display: block !important;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: none !important;
  }
}


@media (max-width: 900px) {
    .contact-details-footer p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .hero-slider,
    .carousel-item {
        height: 70vh;
        max-height: 500px;
    }
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .hero-text {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .btn-primary {
        padding: 8px 20px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .testimonial-card {
        margin-bottom: 20px;
    }
    .popup-image {
        max-height: 50vh;
    }
    .action-icon {
        width: 40px;
        height: 40px;
    }
    .action-icon img {
        width: 25px;
        height: 25px;
    }
    .courses-header {
        padding: 60px 0;
    }
    
    .course-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-slider,
    .carousel-item {
        height: 60vh;
        max-height: 400px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-text {
        font-size: 0.85rem;
    }
    /* .navbar-brand .college-logo {
        font-size: 1.3rem;
    }
    .navbar-logo {
        width: 50px;
        height: 50px;
    } */
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }
    .carousel-control-prev {
        left: 10px;
    }
    .carousel-control-next {
        right: 10px;
    }
    .popup-container {
        width: 95%;
        padding: 15px;
    }
    .floating-icon {
        width: 40px;
        height: 40px;
    }
    .floating-icon img {
        width: 20px;
        height: 20px;
    }
    .courses-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .course-card {
        margin-bottom: 20px;
    }
}
@media (max-width: 425px) {
    /* .navbar-brand .college-logo {
        font-size: 1rem;
    }
    .navbar-logo {
        width: 35px;
        height: 35px;
    } */
}
@media (max-width: 412px) {
    /* .navbar-brand .college-logo {
        font-size: 1rem;
    }
    .navbar-logo {
        width: 30px;
        height: 30px;
    } */
}
@media (max-width: 380px) {
    /* .navbar .container a h1 {
        font-size: 1rem;
    }
    .navbar-logo {
        width: 35px;
        height: 35px;
    } */
}