/* Changed the main Bootstrap color */

/* Primary font: League Spartan */
body {
  font-family: 'League Spartan', sans-serif !important;
}
.font-primary{
    font-family: 'League Spartan', sans-serif !important;
}
.color-primary{
    color: #072b4b !important;
}
.about-height{
    height: 220px;
}

.text-primary {
  font-family: 'League Spartan', sans-serif !important;
  color: #072b4b !important;
}
.text-secondary{
    color: #fdcf1a !important;
}

.bg-primary {
    color: #fff!important;
    font-family: 'League Spartan', sans-serif !important;
    background-color: #072b4b !important;
}
.btn{
    color: #fff!important;
    background-color: #072b4b!important;
}
.btn:hover{
    color: #fff!important;
}

.btn-primary {
    color: white!important;
  background-color: #072b4b !important;
  border-color: #072b4b !important;
}

.btn-primary:hover {
    color: #072b4b !important;
    background-color: #fdcf1a !important;
    border-color: #fdcf1a !important;
}
.nav-link-apply{
    color: white;
    padding-top: 0rem;
}

.nav-link-apply:hover{
    color: #fff!important;
}
.apply-size{
    font-size: large!important;
}

/* --- Carousel Dots Styling --- */
.header-carousel .owl-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fdcf1a;
  width: 30px;
  height: 30px;
  
}

.header-carousel .owl-dot span {
  width: 30px;
  height: 30px;
  margin: 5px;
  background:#fdcf1a ;
  border-radius: 50%;
  transition: all 0.4s ease;
  border: 2px solid #fdcf1a;
  box-shadow: 0 0 0 rgba(253, 207, 26, 0);
}

/* Active (and glowing) dot */
.header-carousel .owl-dot.active span {
  background: #fdcf1a; /* your school yellow */
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(253, 207, 26, 0.8);
}

/* Optional hover effect for desktop */
.header-carousel .owl-dot:hover span {
  background: #fdcf1a;
  opacity: 0.8;
}

.course-item img {
    height: 220px;
    object-fit: cover;
}

.carousel-control-prev, 
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(253, 207, 26, 0.9); 
    border-radius: 50%;
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

#academicsCarousel .carousel-control-prev,
#academicsCarousel .carousel-control-next {
    top: 50%; /* move down — adjust this value */
    transform: translateY(-50%);
}

.dropdown-item:active,.dropdown-item.active{
    background-color: #fdcf1a;
}

/* Masonry Gallery */
.masonry-gallery {
    column-count: 3;
    column-gap: 1.2rem;
}

.masonry-gallery img {
    width: 100%;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    display: block;
    break-inside: avoid;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: transform .3s ease, box-shadow .3s ease;
}

/* Hover effect */
.masonry-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 992px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .masonry-gallery {
        column-count: 1;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
   ============================================ */

/* Mobile First - Base Styles */
@media (max-width: 767.98px) {
    /* Typography */
    .display-3 {
        font-size: 2rem !important;
    }
    .display-5 {
        font-size: 1.75rem !important;
    }
    .display-6 {
        font-size: 1.5rem !important;
    }
    h1 {
        font-size: 1.75rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    h3 {
        font-size: 1.25rem !important;
    }
    h4 {
        font-size: 1.1rem !important;
    }
    .lead {
        font-size: 1rem !important;
    }
    
    /* Navbar Mobile Improvements */
    .navbar-brand span {
        font-size: 0.9rem !important;
    }
    .navbar-brand img {
        width: 45px !important;
    }
    .navbar-nav {
        padding: 1rem 0 !important;
    }
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
    .dropdown-menu {
        margin-top: 0.5rem !important;
        border-radius: 10px !important;
    }
    
    /* Header Section */
    .page-header {
        padding: 2rem 0 !important;
    }
    .page-header h1 {
        font-size: 1.75rem !important;
        margin-bottom: 1rem !important;
    }
    .page-header .lead {
        font-size: 0.95rem !important;
    }
    
    /* Cards */
    .card {
        margin-bottom: 1.5rem !important;
    }
    .card-body {
        padding: 1.5rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-height: 44px; /* Touch-friendly */
    }
    .btn-lg {
        padding: 1rem 2rem !important;
    }
    .btn-sm {
        padding: 0.5rem 1rem !important;
    }
    
    /* Forms */
    .form-control {
        font-size: 1rem !important; /* Prevents zoom on iOS */
        padding: 0.75rem 1rem !important;
        min-height: 44px; /* Touch-friendly */
    }
    .form-floating > label {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
    textarea.form-control {
        min-height: 120px !important;
    }
    
    /* Spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    .mt-5 {
        margin-top: 2rem !important;
    }
    
    /* Container Padding */
    .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Carousel Controls */
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px !important;
        height: 45px !important;
        left: 10px !important;
        right: 10px !important;
    }
    
    /* Gallery Images */
    .masonry-gallery img {
        margin-bottom: 1rem !important;
    }
    
    /* Video Cards */
    .video-card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Contact Page */
    .contact-info-card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Footer */
    .footer {
        padding-top: 2rem !important;
        text-align: center !important;
    }
    .footer .row > div {
        margin-bottom: 2rem !important;
    }
    
    /* Badge Sizes */
    .badge {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    /* Icon Sizes */
    .fa-3x {
        font-size: 2rem !important;
    }
    .fa-2x {
        font-size: 1.5rem !important;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.25rem !important;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    .display-5 {
        font-size: 2rem !important;
    }
    .navbar-nav {
        padding: 0.5rem 0 !important;
    }
    .card-body {
        padding: 2rem !important;
    }
}

/* Small Mobile (Extra Small) */
@media (max-width: 575.98px) {
    /* Extra small adjustments */
    .container-fluid {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .navbar-brand span {
        font-size: 0.8rem !important;
    }
    
    .btn {
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    .btn-group .btn {
        width: auto !important;
    }
    
    /* Stack columns on very small screens */
    .row.g-4 > [class*="col-"] {
        margin-bottom: 1rem !important;
    }
    
    /* Reduce decorative elements */
    .position-absolute[style*="radial-gradient"] {
        display: none !important;
    }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .page-header {
        padding: 1.5rem 0 !important;
    }
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link,
    .dropdown-item,
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects on touch devices */
    .card:hover {
        transform: none !important;
    }
    
    /* Ensure buttons are easily tappable */
    .btn {
        padding: 0.875rem 1.75rem !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

video {
    border-radius: 10px;
}

.video-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
