/* style.css */

/* --- Variables (Customize these with Schoolola's brand colors) --- */
:root {
    --primary-color: #F44321; /* Example Blue - Schoolola to define */
    --secondary-color: #1C244B; /* Example Grey - Schoolola to define */
    --accent-color: #F44321; /* Example Yellow - Schoolola to define */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --font-family-sans-serif: 'Open Sans', sans-serif; /* Example - Choose a readable font */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans-serif);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* slightly bolder headings */
}

.navbar-brand span {
    color: var(--primary-color);
}

.nav-link.btn-primary { /* Navbar CTA button */
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--light-text-color) !important;
    font-weight: bold;
}

.nav-link.btn-primary:hover {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
}


/* --- Hero Section --- */
.hero-section {
    /* Schoolola to provide a high-quality background image or use a gradient */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    background-color: var(--primary-color); /* Fallback if image not loaded */
    padding: 100px 0;
    min-height: 70vh; /* Ensure it takes up a good portion of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section h1 {
    font-size: 2.5rem; /* Responsive font size for smaller screens */
}
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
}

.hero-section .lead {
    font-size: 1.25rem;
}

.cta-button { /* Primary CTA styling */
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-text-color); /* Dark text on light accent color */
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    color: var(--text-color);
    transform: translateY(-2px);
}

.cta-button-secondary { /* Secondary CTA (e.g., light button on dark background) */
    background-color: var(--light-text-color);
    border-color: var(--light-text-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button-secondary:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* --- Section Styling --- */
section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
    font-weight: 700;
    color: var(--primary-color);
}
.section-title-light { /* For dark backgrounds */
    color: var(--light-text-color);
    margin-bottom: 40px;
    font-weight: 700;
}

#intro img {
    max-width: 100%;
    height: auto;
}

/* --- Why Choose Us Cards --- */
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.benefit-card .fa-3x {
    color: var(--accent-color); /* Use accent color for icons */
}

/* --- Program Cards --- */
.program-card {
    background-color: #f8f9fa; /* Light background for program cards */
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.program-card .card-title {
    color: var(--primary-color);
}
.program-card ul {
    list-style: none;
    padding-left: 0;
}
.program-card ul li::before {
    content: "\f00c"; /* FontAwesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 10px;
}

/* --- Testimonials --- */
.testimonial {
    background-color: #fff;
}
.testimonial .blockquote-footer {
    color: #fff; /* Changed to white for visibility on dark background */
    background-color: #343a40; /* Added a dark background to the footer text for contrast */
    padding: 5px 10px; /* Added some padding for better appearance */
    display: inline-block; /* To make padding and background apply correctly */
}

/* --- Contact CTA Section --- */
#contact-cta {
    background-color: var(--primary-color); /* Use primary brand color */
}
#contact-cta a {
    color: var(--light-text-color);
}
#contact-cta a:hover {
    color: var(--accent-color);
}

/* --- Footer --- */
footer {
    background-color: #343a40; /* Dark footer */
}
footer a.text-white:hover {
    color: var(--accent-color) !important;
}
footer .fab {
    transition: color 0.3s ease;
}
footer .fab:hover {
    color: var(--accent-color);
}

/* --- Accessibility --- */
a:focus, button:focus {
    outline: 2px solid var(--accent-color); /* Visible focus indicator */
    outline-offset: 2px;
}

/* --- Utility Classes --- */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }


/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto; /* Adjust height for mobile */
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    #intro .col-md-6:last-child { /* Stack image below text on mobile */
        margin-top: 30px;
    }
}

/* Add this to your style.css */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
  transform: scale(1.05);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}
