:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --dark-color: #292F36;
    --light-color: #F7FFF7;
    --accent-color: #FFE66D;
    --text-color: #333;
    --text-light: #777;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e05555;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #3dbeb6;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
}

main {
    margin-top: 100px; /* IMPORTANT: Replace 80px with the actual computed height of your header */
    padding-top: 30px; /* Optional: Add some extra padding to prevent flash messages from touching the bottom of the header */
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

/* Enlarge logo on desktop */
@media (min-width: 768px) {
    .logo img {
        height: 80px; /* Larger size for desktop */
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Programs Section */
.programs-highlight {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 20px;
}

.program-duration {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.program-focus {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.program-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.testimonial p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(41, 47, 54, 0.8), rgba(41, 47, 54, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: #bbb;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 0;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
    margin-top: 30px;
    color: var(--primary-color);
}

.team-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-member .bio {
    color: var(--text-light);
    font-size: 0.9rem;
}

.approach-section {
    padding: 80px 0;
    background-color: white;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.approach-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.approach-card:hover {
    background-color: var(--primary-color);
    color: white;
}

.approach-card:hover h3,
.approach-card:hover p {
    color: white;
}

.approach-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.approach-card:hover .approach-icon {
    color: white;
}

/* Programs Page Styles */
.programs-section {
    padding: 60px 0;
}

.programs-filter {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
}

.program-areas {
    padding: 80px 0;
    background-color: white;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.area-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

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

.area-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.area-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.area-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Contact Page Styles */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-primary);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.contact-info {
    background-color: var(--dark-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
}

.contact-info h2 {
    margin-bottom: 30px;
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.office-hours {
    margin-top: 40px;
}

.office-hours h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.office-hours p {
    color: #bbb;
    font-size: 0.9rem;
}

.map-section {
    padding: 0 0 60px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Auth Pages Styles */
.auth-section {
    padding: 100px 0;
    background-color: #f5f5f5;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.auth-card {
    background-color: white;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.auth-card p {
    margin-bottom: 30px;
    color: var(--text-light);
}

.btn-block {
    width: 100%;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me input {
    margin-right: 10px;
}

.auth-footer {
    margin-top: 30px;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Dashboard Styles */
.dashboard-header {
    background-color: var(--primary-color);
    color: white;
    padding: 100px 0 60px;
    margin-top: 70px;
}

.dashboard-header h1 {
    margin-bottom: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.dashboard-sidebar {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    align-self: start;
}

.user-profile {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.user-profile p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.dashboard-nav ul {
    list-style: none;
}

.dashboard-nav li {
    margin-bottom: 10px;
}

.dashboard-nav a {
    display: block;
    padding: 10px;
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.dashboard-nav a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

.dashboard-nav a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-nav li.active a {
    background-color: var(--primary-color);
    color: white;
}

.dashboard-content {
    display: grid;
    gap: 30px;
}

.dashboard-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.dashboard-card h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.applications-list {
    display: grid;
    gap: 15px;
}

.application-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.application-info h4 {
    margin-bottom: 5px;
}

.application-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.status-pending {
    color: #ffc107;
    font-weight: 500;
}

.status-approved {
    color: #28a745;
    font-weight: 500;
}

.programs-list {
    display: grid;
    gap: 20px;
}

.program-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
}

.program-image {
    border-radius: 4px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.program-details h4 {
    margin-bottom: 10px;
}

.program-details p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.program-details p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.quick-actions .actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.action-card:hover {
    background-color: var(--primary-color);
    color: white;
}

.action-card i {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.action-card:hover i {
    color: white;
}

.action-card span {
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .program-item {
        grid-template-columns: 1fr;
    }
    
    .program-image {
        height: 200px;
    }
    
    .program-image img {
        height: 200px;
    }
}