body {
    font-family: 'Poppins', sans-serif;
}

.top-header {
    background-color: #EE1651;
    color: white;
    padding: 10px 0;
}

.top-header a {
    color: white;
    margin: 0 10px;
}

.top-header .social-icons a {
    font-size: 1.2em;
}

.navbar-brand img {
    height: 70px;
}

.navbar {
    background-color: white;
    border-bottom: 1px solid #ddd;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: bold;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #EE1651;
}

.hero-section {
    background-color: #f8f9fa;
    /* padding: 60px 0; */ /* REMOVED - This was the old padding causing space */
    text-align: center;
}

.footer {
    background-color: #333;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer a {
    color: #EE1651;
}

.how-to-apply-section {
    padding: 60px 0;
    background-color: #EE1651;
    color: white;
}

.how-to-apply-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-weight: 600;
}

.step-card {
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    height: 100%;
    color: white;
}

.step-card .icon {
    font-size: 3em;
    color: white;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.5em;
    color: white;
    margin-bottom: 15px;
    font-weight: 500;
}

.step-card p {
    font-size: 0.95em;
    color: white;
    opacity: 0.9;
}

.apply-now-btn {
    background-color: white;
    border-color: white;
    color: #EE1651;
    font-weight: 600;
    padding: 10px 25px;
    text-decoration: none; /* Ensure no underline from default <a> tag */
    display: inline-block; /* For proper padding */
    border-radius: 5px; /* Consistent button styling */
}

.apply-now-btn:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: #EE1651;
}

.apply-now-vertical-btn {
    background-color: #EE1651;
    color: white;
    padding: 15px 10px;
    text-decoration: none;
    border-radius: 0 5px 5px 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    line-height: 1;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    z-index: 1030;
}

.apply-now-vertical-btn:hover {
    background-color: #d41447;
    color: white;
}

.whatsapp-floating-btn {
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1030;
}

.whatsapp-floating-btn:hover {
    background-color: #1DAE52;
    color: white;
}

/* Mobile Header Adjustments */
@media (max-width: 767.98px) { 
    .top-header .email-info .email-text {
        display: none;
    }
    .top-header .social-icons .email-info,
    .top-header .social-icons a {
        margin: 0 4px;
    }
    .top-header .social-icons .email-info:first-child {
        margin-left: 0;
    }
    .top-header .container .row > [class*="col-"] {
        padding-left: 7px;
        padding-right: 7px;
    }
}

/* General Utility Classes (can be expanded) */
.text-primary-color {
    color: #EE1651 !important; /* Important to override Bootstrap if needed */
}

.bg-primary-color {
    background-color: #EE1651 !important;
}

.btn-custom-primary {
    background-color: #EE1651;
    border-color: #EE1651;
    color: white;
}

.btn-custom-primary:hover {
    background-color: #d41447;
    border-color: #d41447;
    color: white;
}

/* Footer specific styling */
.footer .fw-bold.text-uppercase {
    color: #EE1651 !important; /* Override Bootstrap if necessary */
}

.footer a.text-white:hover {
    color: #f0f0f0 !important; /* Lighter shade of white on hover */
    text-decoration: underline !important;
}

.footer .social-icons-footer a {
    color: white;
    margin: 0 8px;
    font-size: 1.3em;
}

.footer .social-icons-footer a:hover {
    color: #EE1651;
}

.footer .made-by-link {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

.footer .made-by-link:hover {
    color: #f0f0f0;
}

/* Hero Section Refinement */
.hero-section {
    background-size: cover; /* For background image if it were still a direct background */
    background-position: center center;
    color: white;
    /* padding: 100px 0; */ /* REMOVED - This was adding space above/below the carousel */
    position: relative;
    /* No direct padding needed here anymore, height is determined by carousel items */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text visibility */
    z-index: 1;
}

.hero-section .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Us Section (Example - can be expanded) */
.about-us-section {
    padding: 60px 0;
}

/* How to Apply Section - further refinements if needed after inline style removal */
.how-to-apply-section .step-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-to-apply-section .step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); /* Enhanced shadow on hover, if cards get background again */
}

/* Ensure dropdown menu items get the primary color on hover */
.dropdown-menu > li > a.dropdown-item:hover,
.dropdown-menu > li > a.dropdown-item:focus {
    background-color: #EE1651;
    color: white;
}

/* Navbar active link color */
.navbar-nav .nav-item.active .nav-link {
    color: #EE1651;
}

/* Standardized Course Page Hero Section */
.course-hero-section {
    background-color: #EE1651; /* Primary theme color */
    color: white;
    padding: 4rem 0; /* Ample padding, adjust as needed */
    text-align: center;
}

.course-hero-section h1 {
    font-weight: bold;
    font-size: 2.8rem; /* Prominent title */
    margin-bottom: 0.75rem;
}

.course-hero-section .lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Updated styles for leadership page headers with background images */
.hero-section-course {
    position: relative; /* For overlay positioning */
    background-size: cover;
    background-position: center center;
    padding: 4rem 0; /* Consistent padding */
    color: white; /* Default text color */
}

.hero-section-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(238, 22, 81, 1); /* Primary color overlay with 70% opacity */
    z-index: 1;
}

.hero-section-course .container {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

.hero-section-course h1 {
    font-weight: bold;
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
    color: white; /* Explicitly set for visibility over overlay */
}

.hero-section-course .lead {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    color: white; /* Explicitly set for visibility over overlay */
}

/* Old .page-header-background, .page-title-overlay, .page-subtitle-overlay can be removed if no longer used elsewhere */
.page-header-background {
    /* padding: 3rem 0; */ 
}
.page-title-overlay, 
.page-subtitle-overlay {
    /* color: white !important; */
}

/* Modernized Message Card Styles */
.message-card {
    border: none !important; /* Remove default card border, !important to override bootstrap */
    border-radius: 1rem; /* More rounded corners */
    overflow: hidden; /* Ensure content respects rounded corners */
    /* box-shadow will be applied via class e.g., shadow-lg */
}

.message-card .image-column {
    background-color: #f8f9fa; /* A light, neutral background */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content if text-center class is on this div */
    padding: 2rem 1.5rem; /* Generous padding */
}

.message-card .image-column img.rounded-circle { /* Target the image more specifically */
    border: 4px solid #EE1651; /* Primary color border for the image */
    padding: 4px; /* Space between image and border */
    background-color: white; /* Ensure area inside border is white if image is transparent */
    box-shadow: 0 0 15px rgba(0,0,0,0.1); /* Subtle shadow for the image itself */
    max-width: 200px; /* Retain max-width control */
    margin-left: auto;
    margin-right: auto;
}

.message-card .image-column .card-title {
    font-size: 1.3rem; /* Name of the person */
    font-weight: 600;
    color: #EE1651; /* Ensure primary color for name */
}

.message-card .image-column .text-muted.small { /* Target designation specifically */
    font-size: 0.95rem; /* Designation */
}

.message-card .message-content-column .card-body {
    padding: 2.5rem; /* More padding for message content */
}

.message-card .message-content-column .card-body h4.message-body-title { /* For the "A Message from..." subheading */
    font-weight: 600;
    color: #495057; /* A softer, secondary text color */
    font-size: 1.4rem;
    margin-bottom: 1.5rem; /* Space below this title */
}

.message-card .message-content-column .card-body p {
    line-height: 1.75;
    font-size: 1.05rem; /* Slightly larger for readability */
    color: #343a40; /* Darker text for better contrast */
    margin-bottom: 1.25rem; /* Spacing between paragraphs */
}

.message-card .message-content-column .card-body p:last-child {
    margin-bottom: 0; /* Remove margin from last paragraph if it's the signature */
}

.message-card .message-content-column .card-body p strong {
    color: #000; /* Ensure signature name is prominent */
}

/* Responsive adjustments for the message card */
@media (max-width: 767.98px) { /* md breakpoint and below */
    .message-card .image-column {
        padding: 1.5rem;
    }
    .message-card .image-column img.rounded-circle {
        max-width: 150px !important; /* Smaller image on mobile */
        margin-top: 0 !important; /* Remove my-4 specific margin if it was added inline */
        margin-bottom: 1rem !important; /* Adjust spacing for name/title */
    }
     .message-card .image-column .card-title {
        font-size: 1.15rem;
    }
    .message-card .image-column .text-muted.small {
        font-size: 0.9rem;
        margin-bottom: 0 !important; /* Remove mb-4 from inline if added */
    }
    .message-card .message-content-column .card-body {
        padding: 1.5rem;
    }
    .message-card .message-content-column .card-body h4.message-body-title {
        font-size: 1.2rem;
    }
     .message-card .message-content-column .card-body p {
        font-size: 1rem;
    }
}

/* Vision & Mission Page Specific Styles */
.vision-mission-page main {
    padding-top: 3rem; /* Add some space from the header */
    padding-bottom: 3rem;
}

.vision-mission-page .content-header {
    margin-bottom: 3rem; /* Space below the main "Vision & Mission" title */
}

.vision-mission-page .content-header h1 {
    font-weight: 700; /* Bolder main title */
    font-size: 2.5rem;
}

.vision-mission-page .section-block {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2.5rem;
}

.vision-mission-page .section-block h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #EE1651; /* Primary color for section titles */
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.vision-mission-page .section-block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #EE1651;
}

.vision-mission-page .section-block p,
.vision-mission-page .section-block ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057; /* Slightly softer text color for body */
}

.vision-mission-page .section-block ul {
    list-style: none;
    padding-left: 0;
}

.vision-mission-page .section-block ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.vision-mission-page .section-block ul li::before {
    content: '\f058'; /* FontAwesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Required for solid icons */
    color: #EE1651;
    position: absolute;
    left: 0;
    top: 5px; /* Adjust for vertical alignment */
    font-size: 1.2rem;
}

/* Ensure the body tag gets the class for scoping these styles if needed, or use a more specific parent */
body.vision-mission-page {
    background-color: #f4f7f6; /* Light background for the whole page if desired */
} 