:root {
    --primary-color: #004a99;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

/* Navbar */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar-brand img {
    height: 70px;
    transition: var(--transition);
}

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 12px;
    position: relative;
    padding: 5px 0 !important;
}

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

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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.carousel-item {
    height: 85vh;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.1);
    transform: scale(1.05);
    transition: transform 10s ease;
}

.carousel-item.active img {
    transform: scale(1);
}

.carousel-caption {
    bottom: 25%;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.6rem;
    max-width: 700px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.btn-custom {
    padding: 14px 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.btn-primary-custom:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 15px;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    position: relative;
    margin-top: -50px;
    z-index: 20;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* Section Global */
.section-padding {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
}

.section-title span {
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 20px;
}

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

.section-title.text-start h2::after {
    left: 0;
    transform: none;
}

/* Course Cards */
.course-card {
    background: var(--white);
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Facility Cards */
.facility-card {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.facility-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.facility-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.facility-card:hover .facility-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.course-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.course-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.course-body {
    padding: 30px;
    flex-grow: 1;
}

/* Objectives */
.objective-item {
    display: flex;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.objective-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateX(10px);
}

.objective-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.objective-item:hover .objective-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background: #0a192f;
    padding: 80px 0 30px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 15px;
}
p{
    color:#a8b2d1;
}
footer h4::after {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-links a {
    color: #a8b2d1;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 8px;
}

.contact-widget i {
    color: var(--secondary-color);
    margin-right: 15px;
}

@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .stats-section { margin-top: 0; border-radius: 0; }
}
