html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean default font */
}
/* Logo */

.styled-image{
    height: 90px;
    width: 100px;

}

.section-title {
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

/* Custom styling for elevated cards */
.elevated-card {
    border: none;
    border-radius: .5rem !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.no-border {
    border: none !important;
    border-radius: .5rem !important;
    transition: transform 0.3s ease; /* Added slight transition for hover */
}

.no-border:hover {
     transform: translateY(-5px); /* Very subtle lift for "Why Choose Us" */
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important; /* Softened shadow */
}

/* The hover effect that lifts the program cards */
.elevated-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.elevated-card .card-img-top {
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
    object-fit: cover;
    height: 220px; /* Slightly taller images */
}

/* --- Banner Image Sizing --- */
.banner-img {
    height: 60vh; 
    min-height: 400px; 
    object-fit: cover; 
}

/* --- Centering the Caption --- */
.custom-banner-caption {
    position: absolute;
    z-index: 10;
    padding: 20px; /* Simplified padding */
    color: #fff;
    text-align: center;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    background: rgba(0, 0, 0, 0.5); /* Slightly darker for better contrast */
    left: 0;
    right: 0;
    width: 100%;
}

/* --- Font Sizes (Desktop) --- */
.custom-banner-caption h5 {
    font-size: 3.5rem; /* Increased size slightly */
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5); 
    margin-bottom: 1rem;
    line-height: 1.2;
}

.custom-banner-caption p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
    max-width: 800px; 
    margin-bottom: 2rem; /* Pushed button down slightly */
}

/* --- Gallery Images --- */
.gallery-img {
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    /* Tablet adjustments */
    .custom-banner-caption h5 {
        font-size: 2.5rem; 
    }
}

@media (max-width: 768px) {
    /* Mobile adjustments */
    .custom-banner-caption h5 {
        font-size: 2rem; 
    }
    
    .custom-banner-caption p {
        font-size: 1rem;
    }
    
    .banner-img {
        min-height: 450px; 
    }

    .section-title {
        font-size: 1.75rem; /* Slightly smaller titles on mobile */
    }
}

/* Form */
.btn-orange {
    background-color: #ff8c00;
    color: white !important;
    border-radius: 50px; /* Pill Shape */
    padding: 15px 50px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-orange:hover {
    background-color: #e67e00;
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}