.container {
    max-width: 1200px;      /* keeps content nicely centered */
    margin: 0 auto;         /* centers the container */
    padding: 40px 20px 80px;/* top, sides, bottom spacing */
}

/* --------------------------------------------------------------------------------
Global CSS Variables - makes it easy to maintain your color scheme and styles across the site 
---------------------------------------------------------------------------------------- */
:root {
    --dark-bg: #0A1A2F;       /* matches your navbar */
    --light-bg: #ffffff;
    --accent: #1C5481;        /* your gold/navy theme */
    --text-dark: #222;
    --text-light: #f5f5f5;
    --card-bg: #fafafa;
    --border-light: #e5e5e5;
    --transition: 0.3s ease;
}




/* ============================
   TOP BAR
   ============================ */
.top {
    background: #092b57; /* dark navy */
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 1.1rem;
    color: #ffffff;
}

/* Make phone + email gold */
.top span {
    color: #C4AB6B; /* gold */
    font-weight: 500;
}

.top i {
    color: #C4AB6B; /* gold icons */
}
/*Login/Sign Up Links*/
.top a {
    color: #C4AB6B; /* gold accent */
    font-weight: 500;
}

.top a:hover {
    color: #1C5481;
    text-decoration: none;
}

/* ============================
   MAIN NAVBAR
   ============================ */
/* Base navbar styling */
.navbar {
    background-color: #0A1A2F !important; /* midnight blue */
    border-bottom: 5px solid #C4AB6B;     /* gold underline */
    padding-top: 14px;
    padding-bottom: 14px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


.navbar-brand img {
    height: 60px;
    width: auto;
}
.navbar:hover {
    background-color: #092b57 !important; /* slightly lighter on hover */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* NAV LINKS */
.navbar-nav .nav-link {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #C4AB6B !important; /* gold hover */
}

/* ACTIVE PAGE */
.navbar-nav .active > .nav-link {
    color: #C4AB6B !important;
    font-weight: 700;
}

/* DROPDOWN MENU*/
.dropdown-menu {
    border-radius: 6px;
    border: 1px solid #1C5481;
    background: #ffffff;
    padding: 0;
}

.dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
    color: #0A3A52;
}

.dropdown-item:hover {
    background: #f0f6ff;
    color: #1C5481;
}


/* ============================
   MOBILE NAV
   ============================ */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: invert(1); /* white icon on dark blue */
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Default (inactive) pill */
.nav-pills .nav-link {
    color: #1c5481 !important;
    border: 1px solid #1c5481 !important;
}

/* Active pill */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #1c5481 !important;
    border-color: #1c5481 !important;
    color: #fff !important;
}

/* Hover state */
.nav-pills .nav-link:hover {
    background-color: #174568 !important;
    border-color: #174568 !important;
    color: #fff !important;
}

/* Override Bootstrap primary button */
.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited {
    background-color: #1c5481 !important;
    border-color: #1c5481 !important;
    color: #fff !important;
}

/* Hover state */
.btn-primary:hover {
    background-color: #174568 !important;
    border-color: #174568 !important;
    color: #fff !important;
}


/*sidebar list group overrides for user dashboard*/
/* Stronger selectors to override Bootstrap */
ul.list-group .list-group-item {
    background: #f8f9fa !important;
    border: none !important;
    padding: 12px 18px !important;
}

ul.list-group .list-group-item a {
    color: #333 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: block !important;
}

ul.list-group .list-group-item:hover {
    background: #e9ecef !important;
}

ul.list-group .list-group-item.active {
    background: #343a40 !important;
    color: #fff !important;
}

ul.list-group .list-group-item.active a {
    color: #fff !important;
}




/* ============================
   FOOTER MAIN AREA
   ============================ */
.footer {
    background: #092b57; /* deep navy */
    color: #ffffff;
    padding-top: 70px;
    padding-bottom: 40px;
}

.footer .heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #C4AB6B; /* gold headings */
    margin-bottom: 20px;
}

/* Useful Links */
.footer .useful-links li {
    list-style: none;
    margin-bottom: 10px;
}

.footer .useful-links li a {
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer .useful-links li a i {
    color: #C4AB6B; /* gold arrow */
    margin-right: 8px;
}

.footer .useful-links li a:hover {
    color: #C4AB6B;
}

/* Contact Items */
.footer .list-item {
    display: flex;
    margin-bottom: 12px;
}

.footer .list-item .left i {
    color: #C4AB6B;
    font-size: 1.1rem;
    margin-right: 10px;
}

.footer .list-item .right {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Social Icons */
.footer .social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding: 0;
}

.footer .social li {
    list-style: none;
}

.footer .social li a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1C5481; /* main blue */
    color: #ffffff;
    transition: 0.2s ease;
}

.footer .social li a:hover {
    background: #C4AB6B; /* gold hover */
    color: #08365E;
}

/* Newsletter */
.footer input.form-control {
    border-radius: 4px;
    border: none;
}

.footer .btn-primary {
    background: #C4AB6B;
    border: none;
    color: #08365E;
    font-weight: 600;
}

.footer .btn-primary:hover {
    background: #b89d5f;
}

/* ============================
   FOOTER BOTTOM
   ============================ */
.footer-bottom {
    background: #0a1a2f; /* main blue */
    padding: 15px 0;
    text-align: center;
    color: #ffffff;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

/* ============================
   SCROLL TO TOP BUTTON
   ============================ */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #C4AB6B;
    color: #08365E;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    z-index: 999;
}

.scroll-top:hover {
    background: #b89d5f;
}


/*for thumbnail images in courses page and edit course page*/
.photo {
    width: 250px;
    height: 150px;
    background: #f5f5f5; /* optional */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* no cropping */
}

/*style for success and cancel pages*/
.status-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.status-title {
    font-size: 32px;
    font-weight: 700;
    color: #092b57 !important;
    margin-bottom: 15px;
}

.status-message {
    font-size: 16px;
    color: #555 ;
    margin-bottom: 20px;
    line-height: 1.6;
}


/*page content area with min-height to push footer down*/
.page-content {
    min-height: calc(100vh - 500px); /* adjust 200px if needed */
}




/*styling for institutions page*/

/* --- GENERAL PAGE WRAPPER --- */
.institution-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
}

/* --- HERO SECTION --- */
.institution-hero {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe2d6 100%);
    padding: 60px 20px;
    border-radius: var(--radius);
    text-align: center;
        margin-bottom: 40px;

}

.institution-hero h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 15px;
}

.institution-hero p {
    font-size: 1.1rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}

/* --- FEATURE ROWS --- */
.institution-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.institution-image img {
    width: 280px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.institution-text {
    max-width: 600px;
}

.institution-text h3 {
    margin-top: 0;
    color: #003366;
    font-size: 1.5rem;
}

.institution-text p {
    color: #444;
    line-height: 1.6;
}

/* --- CTA SECTION --- */
.institution-cta {
    text-align: center;
    margin-top: 60px;
}

.institution-cta h3 {
    color: #003366;
    font-size: 1.8rem;
}

.institution-cta p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
}

.institution-cta a {
    display: inline-block;
    background: #003366;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
}




/* ABOUT - HERO */

.about-page {
    --about-navy: var(--navy);
    --about-peach: var(--peach);
    --about-beige: var(--accent);
    --about-bg-soft: rgba(8, 54, 94, 0.06);
    --about-radius: 8px;
    --about-transition: 0.25s ease;
}


.about-hero {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe2d6 100%);
    padding: 60px 20px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.about-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.about-hero-text h1 {
    font-size: 2.2rem;
    color: var(--about-navy);
    margin-bottom: 10px;
}

.about-hero-text p {
    font-size: 1.1rem;
    color: #333;
}

.about-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo {
    width: 130px;
    height: 190px;
    border-radius: 0;
    object-fit: cover;
    border: 4px solid var(--about-peach);
}
.about-hero-image {
    display: block;        /* stop side‑by‑side layout */
    text-align: center;    /* center image + name */
}

.about-hero-image img {
    display: block;        /* ensures the image sits on its own line */
    margin: 0 auto;
}

.about-name {
    margin-top: 12px;
    font-size: 1.4rem;
    font-weight: 600;
}



/* SECTIONS */

.about-section {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.about-section:nth-of-type(odd) {
    background: rgba(8, 54, 94, 0.03);
}

/* TWO COLUMN INTRO */
.about-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.about-column h2 {
    color: var(--about-navy);
    margin-bottom: 10px;
}

.about-column p {
    line-height: 1.7;
    color: #333;
}

/* ICON HEADERS */
.about-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.about-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--about-bg-soft);
    border: 1px solid rgba(8, 54, 94, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--about-navy);
    font-size: 1.2rem;
}

.about-section p {
    line-height: 1.7;
    color: #333;
}

/* FEATURES */
.about-features h2,
.about-section h2 {
    color: var(--about-navy);
    margin-bottom: 20px;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-feature-card {
 background: rgb(255, 241, 230, 0.5);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    text-align: left;
    transition: var(--transition);
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--about-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--navy);
}

/* MISSION BOX */
.about-mission-box {
   background: rgb(255, 243, 234, 0.7);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(8, 54, 94, 0.12);
}

.about-mission-box h2 {
    color: var(--about-navy);
    margin-bottom: 10px;
}

.about-mission-box p {
    max-width: 700px;
    margin: 0 auto;
}

/* TIMELINE */
.about-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.about-timeline-item {
    background: rgba(8, 54, 94, 0.03);
    border-radius: var(--radius);
    padding: 18px;
    border: 1px solid rgba(8, 54, 94, 0.08);
}

.about-timeline-year {
    display: inline-block;
    font-weight: bold;
    color: var(--about-navy);
    margin-bottom: 6px;
}

/* CTA */
.about-cta {
    text-align: center;
}

.about-cta h2 {
    color: var(--about-navy);
    margin-bottom: 10px;
}

.about-cta p {
    margin-bottom: 20px;
}

.about-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
   
}

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--about-navy);
    color: #fff;
}

.btn-primary:hover {
    background: #0a4477;
}

.btn-secondary {
  background: gold;
    color:#0a4477; 
}

.btn-secondary:hover {
    background: #0a4477;
    color: gold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-two-column {
        grid-template-columns: 1fr;
    }

    .about-section {
        padding: 30px 16px;
    }
}


/* COURSES - HERO */
.courses-hero {
     background: linear-gradient(135deg, #fff5f0 0%, #ffe2d6 100%);
    padding: 60px 20px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.courses-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.courses-hero-text h1 {
    font-size: 2.2rem;
    color: var(--about-navy);
    margin-bottom: 10px;
}

.courses-hero-image img {
    width: 125px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}



/*styling for my courses page*/


.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a2b6d;
    margin-bottom: 15px;
}

.course-item {
    border-radius: 10px;
    padding:20px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.course-item .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.section-block {
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.course-item .photo {
    text-align: center;      /* centers inline elements like <img> */
}

.course-item .photo img {
    display: block;          /* puts the image on its own line */
    margin: 0 auto;          /* centers the image */
}


.course-item {
    display: flex;
    flex-direction: column;   /* stack image + text vertically */
    align-items: center;      /* center everything horizontally */
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .courses-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .courses-two-column {
        grid-template-columns: 1fr;
    }
}

/* BUNDLES- HERO */

.bundles-hero {
     background: linear-gradient(135deg, #fff5f0 0%, #ffe2d6 100%);
    padding: 60px 20px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.bundles-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.bundles-hero-text h1 {
    font-size: 2.2rem;
    color: var(--about-navy);
    margin-bottom: 10px;
}

.bundles-hero-image img {
    width: 250px;      /* adjust size */
    height: auto;
    object-fit: cover;
    border-radius: 20px; /* optional rounding */
}

.bundle-card {
    text-align: center;        /* centers inline elements like <img> */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bundle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.bundle-thumb {
    display: block;            /* ensures image sits on its own line */
    margin: 0 auto 15px auto;  /* centers the image horizontally */
    border-radius: 6px;        /* optional: makes it look nicer */
}
.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.bundle-course-item {
    display: flex;
    align-items: center;   /* vertically centers the text with the thumbnail */
    gap: 10px;             /* clean spacing between thumbnail and text */
    line-height: 1.2;      /* tighter spacing for wrapped text */
    margin-bottom: 8px;    /* consistent spacing between list items */
}
.bundle-course-item img {
    width: 50px;          /* force consistent width */
    height: 50px;         /* force consistent height */
    object-fit: cover;    /* prevents distortion */
    flex-shrink: 0;       /* keeps image from squishing */
    border-radius: 6px;   /* optional: makes it look nicer */
}
.bundle-grid {
    padding-bottom: 60px;
}
.bundle-card {
    margin-bottom: 40px;
}

