:root {
    --primary-color: #0f3b5c;
    /* deep professional blue */
    --secondary-color: #1e6f5c;
    /* teal accent */
    --accent-color: #f4d03f;
    /* gold for highlights */
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --danger-color: #e67e22;
    --success-color: #2c9a6e;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Header & Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand span {
    color: var(--secondary-color);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    color: var(--primary-color) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 59, 92, 0.85), rgba(30, 111, 92, 0.9)), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center 30%;
    color: white;
    padding: 8rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Search / Consultation Form */
.search-container {
    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    border-radius: 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(30, 111, 92, 0.25);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 40px;
}

.btn-primary:hover {
    background-color: #0e5a4b;
    border-color: #0e5a4b;
}

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 40px;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: 40px;
}

.btn-accent:hover {
    background-color: #e2b93b;
    color: #0f3b5c;
}

.section-title {
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background-color: var(--secondary-color);
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Program Cards */
.package-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.package-img {
    height: 210px;
    object-fit: cover;
    width: 100%;
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--danger-color);
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
}

.package-price {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Testimonials */
.testimonial-card {
    border-left: 5px solid var(--secondary-color);
    padding: 1.8rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Custom styles for testimonial carousel */
.testimonial-carousel-container {
    padding: 0 40px;
    margin: 0 -12px;
}

.testimonialSwiper {
    overflow: hidden;
    padding: 10px 0 20px;
}

.swiper-slide {
    height: auto;
    padding: 0 12px;
}

/* Navigation button styling */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-carousel-container {
        padding: 0 30px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}

/* Offers Carousel (Scholarship Alerts) */
.offer-slide {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    padding: 3rem;
    color: white;
    min-height: 360px;
    display: flex;
    align-items: center;
}

.offer-slide-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
}

.offer-slide-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
}

.offer-slide-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 4rem;
}

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Admin Dashboard (demo) */
.admin-sidebar {
    background-color: var(--primary-color);
    color: white;
    min-height: 100%;
    border-radius: 16px;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.7rem 1.2rem;
    border-radius: 40px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--secondary-color);
    color: white !important;
}

.dashboard-card {
    border-radius: 20px;
    padding: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.dashboard-card.primary {
    background: linear-gradient(135deg, #0f3b5c, #1e6f5c);
}

.dashboard-card.success {
    background: linear-gradient(135deg, #2c9a6e, #1e6f5c);
}

.dashboard-card.warning {
    background: linear-gradient(135deg, #f4d03f, #e2b93b);
    color: #2c3e2f;
}

.dashboard-card.danger {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-section {
        padding: 6rem 0 4rem;
        min-height: auto;
    }
}

.fade-in {
    animation: fadeIn 0.7s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}