/* --- Reset and Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Ensures main content pushes footer down */

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #002855;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.8em, 4.5vw, 2.8em);
}

h2 {
    font-size: clamp(1.5em, 4vw, 2.2em);
}

h3 {
    font-size: clamp(1.3em, 3.5vw, 1.8em);
}

h4 {
    font-size: clamp(1.1em, 3vw, 1.25em);
    color: #004080;
    font-weight: 600;
}

a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #003d82;
    outline: none;
    text-decoration: none;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

ul {
    list-style: none;
    padding-left: 0;
}

.center-header {
    text-align: center;
    margin-bottom: 1rem;
}

/* Applied via class */
.center-text {
    text-align: center;
}

address {
    font-style: normal;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #555;
}

.required-star {
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

.loading,
.error,
.info {
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    border-radius: 4px;
}

.loading {
    color: #0056b3;
    background-color: #e7f3ff;
    border: 1px solid #b3d7ff;
}

.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    font-weight: bold;
}

.info {
    color: #383d41;
    background-color: #e2e3e5;
    border: 1px solid #d6d8db;
}

.loading-inline {
    color: #666;
    font-style: italic;
}

.underline {
    text-decoration: underline;
}

.section-subtitle {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    margin-bottom: 2.5rem;
    margin-top: -0.5rem;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 40, 50, 0.95);
    /* Dark, slightly transparent */
    color: #f0f0f0;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    /* High z-index */
    display: flex;
    /* Use flex by default, 'hidden' class toggles */
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

/* Class to hide banner */
.cookie-banner.hidden {
    transform: translateY(100%);
    /* Slide down */
    opacity: 0;
    pointer-events: none;
    /* Prevent interaction when hidden */
}


.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

.cookie-banner-text {
    flex: 1 1 60%;
    /* Allow text to take more space */
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #eee;
    /* Lighter text */
}

.cookie-banner-text a.cookie-learn-more {
    color: #ffd700;
    /* Accent color for link */
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text a.cookie-learn-more:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    /* Keep buttons together initially */
    flex-shrink: 0;
    /* Prevent buttons shrinking too much */
}

.cookie-banner .cookie-button {
    padding: 8px 15px;
    /* Adjust button padding */
    font-size: 0.85em;
    /* Smaller font size */
    white-space: nowrap;
}

/* Specific styling for banner buttons */
.cookie-banner #cookie-accept-btn {
    background-color: #ffd700;
    /* Main button color */
    color: #002855;
}

.cookie-banner #cookie-accept-btn:hover {
    background-color: #e0bb00;
}

.cookie-banner #cookie-reject-btn {
    background-color: #555;
    /* Darker grey */
    color: #fff;
    border-color: #444;
}

.cookie-banner #cookie-reject-btn:hover {
    background-color: #777;
    border-color: #666;
    color: #fff;
}

/* Responsive adjustments for cookie banner */
@media (max-width: 767px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        /* Stretch items */
        text-align: center;
    }

    .cookie-banner-text {
        flex-basis: auto;
        /* Reset basis */
        margin-bottom: 15px;
        /* Space between text and buttons */
    }

    .cookie-banner-actions {
        justify-content: center;
        /* Center buttons */
        flex-wrap: wrap;
        /* Allow buttons to wrap */
    }

    .cookie-banner .cookie-button {
        flex-grow: 1;
        /* Allow buttons to take space */
        min-width: 150px;
        /* Ensure reasonable min width */
    }
}

/* --- Layout Components --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Header --- */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 55px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

nav ul#nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    white-space: nowrap;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #0056b3;
    background-color: #f0f0f0;
}

nav ul li a.active-page {
    color: #0056b3;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 5px;
    margin-left: 15px;
}

/* --- Header Gradient Option --- */
.header-gradient {
    background: linear-gradient(135deg, #002855 0%, #004080 100%);
    box-shadow: 0 4px 12px rgba(0, 40, 85, 0.15);
}

.header-gradient nav ul li a {
    color: #f0f0f0;
}

.header-gradient nav ul li a:hover,
.header-gradient nav ul li a:focus {
    color: #002855;
    background-color: rgba(255, 255, 255, 0.9);
}

.header-gradient nav ul li a.active-page {
    color: #ffd700;
    background-color: transparent;
}

.header-gradient .menu-toggle {
    color: #f0f0f0;
}

/* --- Marketing Stripes & Banners --- */
.marketing-stripe {
    background-color: #facc15;
    /* Tailwind yellow-400 */
    color: #000;
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    z-index: 50;
}

/* Lower z-index than header */
.marketing-stripe span {
    display: inline-block;
}

.marketing-stripe .pulse-icon {
    animation: pulse 1.5s infinite;
    margin: 0 5px;
}

/* Urgent Student Banner */
.urgent-banner {
    background-color: #e74c3c;
    /* Red */
    color: white;
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    font-size: 0.9em;
    position: sticky;
    top: 0;
    z-index: 1001;
    /* Ensures it's above a sticky header with z-index 1000 */
}

.urgent-banner .pulse-icon {
    display: inline-block;
    animation: pulse-urgent 1.5s infinite;
}

@keyframes pulse-urgent {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}


/* --- General Section Styling --- */
section {
    width: 100%;
    padding: 50px 0;
}

section:nth-of-type(even):not(.hero):not(.cta-section):not(.training-section):not(.contact-section):not(.map-section) {
    background-color: #fff;
}

/* White */
section:nth-of-type(odd):not(.hero):not(.cta-section):not(.training-section):not(.contact-section):not(.map-section) {
    background-color: #f8f9fa;
}

/* Light gray */

/* Explicit BG colors for specific sections */
.hero {
    background-color: #002855;
}

.cta-section {
    background-color: #002855;
}

.testimonials-section {
    background-color: #e9ecef;
}

.calendar-section {
    background-color: #fff;
    padding: 40px 0;
}

/* Student Page Sections */
.student-hero {
    /* Defined below */
}

.student-why-section {
    background-color: #fff;
}

.student-package-section {
    background-color: #f0f8ff;
}

.student-testimonials-section {
    background-color: #f4f4f4;
}

.student-guarantee-section {
    background-color: #fff;
}

.faq-section {
    background-color: #f8f9fa;
}

/* Vertically Stacked Card Sections (Training, Contact, Map) */
.training-section,
.contact-section,
.map-section {
    padding: 0;
    background-color: transparent;
    /* Section has no background, cards do */
}

.training-section .training-card,
.contact-section .contact-card,
.map-section .map-card {
    padding: 3rem 0;
    /* Vertical padding, horizontal is from container */
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 1px;
    /* Create tiny space for border visibility */
    border-radius: 0;
    /* Reset */
    box-shadow: none;
    /* Reset */
}

.training-section .training-card:first-of-type,
.contact-section .contact-card:first-of-type,
.map-section .map-card:first-of-type {
    border-top: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.training-section .training-card:last-of-type,
.contact-section .contact-card:last-of-type,
.map-section .map-card:last-of-type {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 0;
}

/* Handle the case where a card is the *only* one */
.training-section .training-card:first-of-type:last-of-type,
.contact-section .contact-card:first-of-type:last-of-type,
.map-section .map-card:first-of-type:last-of-type {
    border-radius: 8px;
}


/* Centered Heading Style */
h2.center-header,
h3.center-header {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

h2.center-header::after,
h3.center-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ffd700;
    margin: 0.75rem auto 0 auto;
}

/* Use class .center-header in HTML on the heading element */
.center-header+.section-subtitle {
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

/* --- Hero Section --- */
.hero {
    background-color: #002855;
    color: #fff;
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: #ffd700;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.15em;
    max-width: 750px;
    margin: 0 auto 25px;
    line-height: 1.7;
    opacity: 0.95;
    color: #e0e0e0;
}

.hero .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero .internal-links {
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.hero .button.small {
    padding: 8px 16px;
    font-size: 0.9em;
}

/* Student Hero Specifics */
.hero.student-hero {
    background: linear-gradient(rgba(0, 40, 85, 0.85), rgba(0, 64, 128, 0.85)), url('https://via.placeholder.com/1920x600/cccccc/969696?text=Student+Hero+Background') no-repeat center center/cover;
    padding: 60px 0;
    text-align: left;
}

.hero.student-hero .hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero.student-hero .hero-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.hero.student-hero h1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.hero.student-hero p.hero-description {
    max-width: none;
    margin: 0 0 20px 0;
    font-size: 1.1em;
    color: #eee;
}

.hero.student-hero .cta-buttons.hero-buttons {
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.student-badge {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Offer Box (Student Hero) */
.offer-box {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    padding: 25px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    flex: 1 1 35%;
    max-width: 400px;
    border: 1px solid #ddd;
    text-align: center;
}

.offer-box h3 {
    color: #002855;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3em;
}

.price-container {
    margin-bottom: 10px;
}

.current-price {
    font-size: 2.2em;
    font-weight: bold;
    color: #e74c3c;
    display: block;
}

.old-price {
    text-decoration: line-through;
    color: #7f8c8d;
    margin-left: 5px;
    font-size: 1.1em;
}

.discount-badge {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-top: 8px;
}

.student-note {
    font-size: 0.85em;
    color: #7f8c8d;
    margin-top: 10px;
    margin-bottom: 15px;
}

.offer-box .button.offer-button {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.countdown-timer {
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}

.countdown-timer p {
    margin-bottom: 0.5rem;
}

.timer-numbers {
    font-size: 1.3em;
    font-weight: bold;
    color: #e74c3c;
    display: block;
    margin-top: 5px;
}

/* --- Features Section --- */
.features-section .container {
    /* Uses default */
}

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

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 40, 85, 0.1);
    border-color: #b3d7ff;
}

.feature-card img {
    height: 70px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem auto;
    display: block;
}

.feature-card .feature-icon {
    font-size: 2.5em;
    color: #0056b3;
    margin-bottom: 1rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: 1.25em;
    color: #002855;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1em;
    color: #555;
    margin-bottom: 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* Allow p to grow */
.feature-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    flex-grow: 1;
    /* Make link wrapper grow */
}

.feature-card-link:hover h3 {
    color: #0056b3;
}

/* Student Why Section Specifics */
.student-why-section .feature-card {
    background-color: #f8f9fa;
}

/* --- Courses Section --- */
.courses-section .container {
    /* Uses default */
}

.course-cards {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 2.5rem;
}

.course-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 40, 85, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 40, 85, 0.15);
}

.course-card img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem auto;
    display: block;
}

.course-card h3 {
    font-size: 1.3em;
    color: #002855;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.course-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-card>a:first-of-type {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.course-card>a:first-of-type:hover h3 {
    color: #0056b3;
}

.course-card .button {
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

/* Student Course Package Section Specifics */
.student-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.student-course-card {
    background-color: #fff;
    text-align: left;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 64, 128, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.student-course-card:hover {
    transform: translateY(-3px);
}

.student-course-header {
    background-color: #004080;
    color: #fff;
    padding: 15px 20px;
}

.student-course-header h3 {
    color: #ffd700;
    margin: 0 0 5px 0;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.student-course-header p {
    color: #eee;
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
}

.student-course-content {
    padding: 20px;
    flex-grow: 1;
}

.student-course-content ul {
    padding-left: 0;
    list-style: none;
}

.student-course-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.student-course-content li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #27ae60;
    top: 3px;
}

/* Student Benefits Box */
.student-benefits-box {
    background-color: #e7f3ff;
    border: 1px solid #b3d7ff;
    padding: 25px;
    border-radius: 8px;
    margin-top: 2.5rem;
}

.student-benefits-box h3 {
    margin-top: 0;
    text-align: center;
    color: #002855;
    margin-bottom: 1.5rem;
    font-size: 1.3em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.student-benefits-list {
    list-style: none;
    padding-left: 0;
    column-count: 1;
    column-gap: 2rem;
}

.student-benefits-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1em;
    line-height: 1.4;
    break-inside: avoid;
}

.student-benefits-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #0056b3;
    top: 4px;
    font-size: 1.1em;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: #e9ecef;
    padding: 50px 0;
}

.testimonials-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5rem;
}

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 5px solid #0056b3;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3em;
    color: #0056b3;
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card p.testimonial-text {
    margin-bottom: 1rem;
    font-style: italic;
    color: #444;
    padding-left: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: #002855;
    text-align: right;
    font-size: 0.9em;
    padding-right: 1rem;
    margin-top: 1rem;
}

/* Student Testimonials Specifics */
.student-testimonial-card {
    border-left: 4px solid #f39c12;
}

.student-testimonial-card::before {
    display: none;
}

.student-testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #0056b3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    flex-shrink: 0;
    text-transform: uppercase;
}

.student-testimonial-header div:not(.testimonial-avatar) {
    flex-grow: 1;
}

/* Ensure name/title take space */
.student-testimonial-header h4 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
    font-weight: 700;
}

.student-testimonial-header p {
    margin: 0;
    font-size: 0.9em;
    color: #777;
}

.student-testimonial-card p.testimonial-text {
    padding-left: 0;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: #f39c12;
    margin-top: 1rem;
    text-align: right;
}

/* Align rating right */
.testimonial-rating i {
    margin-left: 3px;
}

/* Spacing between stars */

/* --- Guarantee & Dates Section (Student Page) --- */
.student-guarantee-section {
    background-color: #fff;
}

.student-guarantee-badge {
    background-color: #e7f3ff;
    border: 1px solid #b3d7ff;
    border-left: 5px solid #0056b3;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 2.5rem;
}

.guarantee-icon {
    font-size: 2.8em;
    color: #0056b3;
    flex-shrink: 0;
    line-height: 1;
    margin-right: 10px;
}

.student-guarantee-badge>div {
    flex: 1;
}

.student-guarantee-badge h3 {
    margin: 0 0 5px 0;
    color: #002855;
    font-size: 1.2em;
}

.student-guarantee-badge p {
    margin: 0;
    color: #444;
    font-size: 1em;
    line-height: 1.5;
}

.student-dates-section {
    margin-top: 2.5rem;
}

.student-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.student-date-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.student-date-card:hover {
    box-shadow: 0 4px 8px rgba(0, 64, 128, 0.1);
}

.date-location {
    font-weight: bold;
    color: #0056b3;
    margin-bottom: 8px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.date-info {
    margin: 6px 0;
    color: #555;
    font-size: 0.95em;
}

.date-info small {
    font-size: 0.9em;
    color: #777;
    display: block;
    margin-top: 8px;
    flex-grow: 1;
    /* Pushes button down */
}

.student-date-card .button {
    margin-top: 15px;
}

.button-cta-main {
    display: flex;
    /* Use flex for icon centering */
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px auto 20px auto;
    max-width: 400px;
    padding: 15px 25px;
    font-size: 1.15em;
}

.student-contact-info {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.95em;
    color: #555;
}

.student-contact-info a {
    color: #0056b3;
    font-weight: 600;
}

.student-contact-info a:hover {
    text-decoration: underline;
}

/* --- FAQ Section (Student Page) --- */
.faq-section {
    background-color: #f8f9fa;
}

.faq-container {
    max-width: 850px;
    margin: 2.5rem auto 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1em;
    color: #004080;
    font-weight: 600;
    line-height: 1.4;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #0056b3;
    font-size: 1.1em;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.faq-content p {
    margin: 0 0 15px 0;
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
}

.faq-content p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    background-color: #f9f9f9;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-content {
    max-height: 350px;
    /* Adjust if content is longer */
    padding-top: 15px;
    padding-bottom: 15px;
}


/* --- Styles for content WITHIN TRAINING cards --- */
.training-card .training-description {
    font-size: 1.05em;
    color: #444;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.training-card .learning-outcomes-header {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #004080;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    font-size: 1.4em;
    text-align: center;
    font-weight: 600;
}

.training-card .training-content {
    display: grid;
    gap: 1.5rem 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-bottom: 2.5rem;
}

.training-card .training-topic {
    background-color: #f9f9f9;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    border: 1px solid #eee;
}

.training-card .training-topic h4 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.1em;
}

.training-card .training-topic ul {
    padding-left: 0;
    list-style: none;
}

.training-card .training-topic li {
    margin-bottom: 0.4rem;
    font-size: 0.95em;
    position: relative;
    padding-left: 18px;
    color: #555;
}

.training-card .training-topic li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
    font-size: 1.1em;
    top: 1px;
}

.training-card .training-topic li a {
    font-weight: 600;
    text-decoration: underline;
}

.training-card .training-details-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #f0f8ff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #cfe2f3;
    margin-top: 1.5rem;
    align-items: flex-start;
}

.training-card .training-details,
.training-card .training-pricing {
    flex: 1;
    min-width: 250px;
}

.training-card .training-details p.detail-item {
    margin-bottom: 0.8rem;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 0.6em;
}

.training-card .training-details p.detail-item strong {
    color: #002855;
    margin-right: 0;
    flex-shrink: 0;
    min-width: 80px;
}

.training-card .training-details p.detail-item::before {
    font-family: "Arial", sans-serif;
    color: #0056b3;
    font-size: 1.2em;
    width: 20px;
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
}

.training-card .training-details p.next-training::before {
    content: '📅';
}

.training-card .training-details p.location::before {
    content: '📍';
}

.training-card .training-details p.duration::before {
    content: '⏱️';
}

.training-card .training-pricing>p {
    font-weight: bold;
    color: #002855;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}

.training-card .training-pricing .price-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.5rem;
}

.training-card .training-pricing .price-list li {
    margin-bottom: 0.3rem;
    font-size: 1em;
    color: #444;
}

.training-card .training-pricing .register-button {
    width: 100%;
    padding: 10px 20px;
    font-size: 1.05em;
}

/* --- Contact Page & Map Styles --- */
.contact-card .contact-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
}

.contact-card .contact-info p.detail-item {
    margin-bottom: 1rem;
    font-size: 1em;
    display: flex;
    align-items: flex-start;
    gap: 0.8em;
    color: #555;
}

.contact-card .contact-info p.detail-item strong {
    color: #002855;
    flex-shrink: 0;
    min-width: 80px;
    font-weight: 600;
}

.contact-card .contact-info p.detail-item a {
    color: #0056b3;
    word-break: break-word;
}

.contact-card .contact-info p.detail-item a:hover,
.contact-card .contact-info p.detail-item a:focus {
    color: #003d82;
    text-decoration: underline;
}

.contact-card .contact-info address {
    padding-left: calc(25px + 0.8em);
    margin-bottom: 1rem;
    margin-top: -0.5rem;
    line-height: 1.6;
}

.contact-card .contact-info p.detail-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0056b3;
    font-size: 1.1em;
    width: 25px;
    display: inline-block;
    text-align: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-card .contact-info p.email::before {
    content: '\f0e0';
}

.contact-card .contact-info p.phone::before {
    content: '\f095';
}

.contact-card .contact-info p.address::before {
    content: '\f3c5';
}

.contact-card .contact-info p.hours::before {
    content: '\f017';
}

/* Map Section Styles */
.map-card .map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-top: 1.5rem;
}

.map-card .map-container iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
}


/* --- Registration & Contact Form Base Styling --- */
.registration-form,
.contact-form {
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.registration-form .form-group,
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.registration-form label,
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #002855;
    font-weight: 600;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form input[type="number"],
.registration-form select,
.registration-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
    outline: none;
}

.registration-form input:invalid,
.registration-form select:invalid,
.registration-form textarea:invalid,
.contact-form input:invalid,
.contact-form textarea:invalid {
    border-color: #dc3545;
}

.registration-form input:invalid:focus,
.registration-form select:invalid:focus,
.registration-form textarea:invalid:focus,
.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.registration-form textarea,
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.registration-form .form-group.honeypot,
.contact-form .form-group.honeypot {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Radio/Checkbox Groups */
.registration-form .radio-group,
.contact-form .radio-group,
.registration-form .checkbox-group,
.contact-form .checkbox-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.registration-form .radio-option,
.contact-form .radio-option,
.registration-form .checkbox-option,
.contact-form .checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.registration-form input[type="radio"],
.contact-form input[type="radio"],
.registration-form input[type="checkbox"],
.contact-form input[type="checkbox"] {
    margin-right: 0.6rem;
    accent-color: #0056b3;
    cursor: pointer;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    transform: translateY(-1px);
}

.registration-form .radio-option label,
.contact-form .radio-option label,
.registration-form .checkbox-option label,
.contact-form .checkbox-option label {
    margin-bottom: 0;
    font-weight: normal;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

/* Specific checkbox group styling */
.registration-form .checkbox-group,
.contact-form .checkbox-group {
    align-items: flex-start;
    margin-top: 1rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #eee;
}

.registration-form .checkbox-group input[type="checkbox"],
.contact-form .checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
}

.registration-form .checkbox-group label,
.contact-form .checkbox-group label {
    font-size: 0.9em;
    color: #555;
}

.registration-form .checkbox-group label a,
.contact-form .checkbox-group label a {
    color: #0056b3;
    text-decoration: underline;
}

.registration-form .checkbox-group label a:hover,
.contact-form .checkbox-group label a:hover {
    color: #003d82;
}

.registration-form .checkbox-group.secondary-consent {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-top: 0.5rem;
}

.registration-form .checkbox-group.secondary-consent label {
    font-size: 0.85em;
    color: #666;
}

/* Course Radio Selection Container */
#courseRadioContainer {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #eee;
    padding: 15px 15px 5px 15px;
    /* Adjust padding */
    margin-bottom: 1.5rem;
    background-color: #fdfdfd;
    border-radius: 4px;
}

.radio-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.9em;
    /* Increased spacing */
    padding: 5px 0;
}

.course-radio {
    margin-right: 10px;
    accent-color: var(--course-color, #0056b3);
    width: 1.2em;
    height: 1.2em;
}

/* Slightly larger */
.radio-item label {
    color: var(--course-color, #333);
    cursor: pointer;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95em;
}

#courseRadioContainer .loading {
    font-style: italic;
    color: #666;
    padding: 1rem;
    text-align: center;
}

/* Conditional Form Fields Styling */
#studentIdField,
#companyFields {
    display: none;
    border-left: 3px solid #0056b3;
    padding-left: 15px;
    margin-left: 5px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    background-color: #f0f8ff;
    padding-top: 10px;
    padding-bottom: 1px;
    border-radius: 0 4px 4px 0;
}

#studentIdField>.form-group,
#companyFields>.form-group {
    margin-bottom: 1rem;
}

#studentIdField>.form-group:last-child,
#companyFields>.form-group:last-child {
    margin-bottom: 1rem;
}

/* Submit Button */
.registration-form .button[type="submit"],
.contact-form .button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1em;
    margin-top: 1.5rem;
}

/* Legal Text (Registration Page) */
.registration-card .legal-text {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.registration-card .legal-text p {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.registration-card .legal-text .warning-text {
    color: #c82333;
    font-weight: bold;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.8rem 1rem;
    border-radius: 4px;
}

.registration-card .legal-text .gdpr-text a {
    color: #555;
    text-decoration: underline;
}

.registration-card .legal-text .gdpr-text a:hover {
    color: #333;
}

/* --- Calendar Section --- */
#calendarContainer {
    margin-bottom: 2.5rem;
}

.calendar-navigation-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap;
}

.calendar-nav {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 48px;
    height: 48px;
    font-size: 1.8em;
    font-weight: bold;
    color: #0056b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease, color 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.calendar-nav:hover,
.calendar-nav:focus {
    background-color: #e0e0e0;
    color: #003d82;
    outline: none;
}

.calendar-nav:active {
    transform: scale(0.95);
}

.three-month-container {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: nowrap;
}

.calendar-month-container {
    flex: 1;
    min-width: 280px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    margin-bottom: 0;
}

.calendar-month-container h3 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.1em;
    color: #002855;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
    margin-top: 0;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th {
    background-color: #f2f2f2;
    color: #002855;
    padding: 8px 5px;
    font-weight: 600;
    font-size: 0.85em;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.calendar-table td {
    border: 1px solid #e9ecef;
    padding: 4px;
    text-align: center;
    vertical-align: top;
    position: relative;
    height: 55px;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
}

.calendar-table td span {
    display: inline-block;
    padding: 2px 3px;
    border-radius: 3px;
    z-index: 1;
    position: relative;
    font-size: 0.95em;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.calendar-table td.today span {
    background-color: #ffd700;
    color: #002855;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 5px;
}

.calendar-table td.has-course {
    cursor: pointer;
    background-size: 5px 5px;
}

.calendar-table td.has-course:hover {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 75%, transparent);
    background-size: 6px 6px;
}

.calendar-table td.empty-leading,
.calendar-table td.empty-trailing {
    background-color: #fdfdfd;
    cursor: default;
}

/* Course List (Below Calendar) */
.calendar-section #courseList {
    margin-top: 2.5em;
    padding-left: 0;
    list-style: none;
}

.calendar-section #courseList h2 {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5em;
    font-size: 1.5em;
    display: block;
    text-align: left;
    margin-bottom: 1.5rem;
}

.calendar-section #courseList h2::after {
    display: none;
}

/* Override general centered ::after */
.calendar-section .course-item {
    border: 1px solid #ddd;
    margin-bottom: 1em;
    border-radius: 4px;
    background-color: #fff;
    transition: box-shadow 0.2s ease, border-left-color 0.2s ease;
    padding: 1em;
    border-left: 5px solid var(--course-color, #ccc);
}

.calendar-section .course-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar-section .course-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6em;
    flex-wrap: wrap;
    gap: 10px;
}

.calendar-section .course-item-row:last-child {
    margin-bottom: 0;
}

.calendar-section .course-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-right: 1em;
    color: var(--course-color, #002855);
    flex-grow: 1;
}

.calendar-section .course-details-link {
    color: #0056b3;
    border: 1px solid #0056b3;
    background-color: #fff;
    white-space: nowrap;
    text-decoration: none;
    padding: 0.4em 0.9em;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.calendar-section .course-details-link:hover,
.calendar-section .course-details-link:focus {
    background-color: #e7f3ff;
    color: #003d82;
    outline: none;
}

.calendar-section .registration-link.button {
    font-size: 0.9em;
    padding: 0.5em 1em;
    flex-shrink: 0;
}

.calendar-section .course-date-range {
    color: #555;
    font-size: 0.9em;
    margin-right: 1em;
    white-space: nowrap;
}

.calendar-section #courseList .no-courses,
.calendar-section #courseList .loading,
.calendar-section #courseList .error {
    list-style: none;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 4px;
}


/* --- CTA Section --- */
.cta-section {
    background: #002855;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
}

.cta-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #ffd700;
    margin: 0.75rem auto 0 auto;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.75rem;
    font-size: 1.1em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.button {
    background-color: #ffd700;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #002855;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    padding: 12px 28px;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    font-size: 1em;
    line-height: 1.2;
}

.button:hover,
.button:focus {
    background-color: #e0bb00;
    color: #002855;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    outline: none;
}

.button:active {
    transform: translateY(0);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.button.secondary {
    background-color: #fff;
    color: #0056b3;
    border: 1px solid #0056b3;
}

.button.secondary:hover,
.button.secondary:focus {
    background-color: #e7f3ff;
    color: #003d82;
    border-color: #003d82;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 86, 179, 0.1);
}

.button.small {
    padding: 8px 16px;
    font-size: 0.9em;
}

.button:disabled {
    background-color: #ccc;
    border-color: #ccc;
    color: #666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.button.button-warning {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #fff;
}

.button.button-warning:hover,
.button.button-warning:focus {
    background-color: #e67e22;
    border-color: #d35400;
    color: #fff;
}

/* Special Offer Button (Main Page) */
.special-offer-container {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.special-offer-button {
    background-color: #facc15;
    color: #000;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    position: relative;
    text-align: center;
    animation: glow-grow 2s infinite alternate;
}

.special-offer-button:hover {
    background-color: #eab308;
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.special-offer-text {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.special-offer-discount {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes glow-grow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
    }

    100% {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(250, 204, 21, 0.8);
    }
}


/* --- Footer --- */
/* Basic Footer */
footer {
    background-color: #333;
    color: #bbb;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
}

footer .container p {
    margin-bottom: 0;
    font-size: 0.9em;
}

footer .container a {
    color: #ddd;
    text-decoration: underline;
}

footer .container a:hover,
footer a:focus {
    color: #fff;
}

/* Complex Footer */
.main-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 40px 0 20px 0;
    margin-top: auto;
    font-size: 0.95em;
}

.main-footer a {
    color: #bdc3c7;
    transition: color 0.2s ease;
}

.main-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-col-logo .footer-logo {
    max-width: 160px;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: #ecf0f1;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #34495e;
    padding-bottom: 8px;
    font-weight: 600;
}

.footer-col ul.footer-links {
    list-style: none;
    padding: 0;
}

.footer-col ul.footer-links li {
    margin-bottom: 8px;
}

.footer-col address {
    font-style: normal;
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-col address i {
    margin-right: 8px;
    width: 15px;
    text-align: center;
    color: #95a5a6;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9em;
    color: #95a5a6;
}

.social-media-icons {
    margin-top: 1rem;
}

.social-media-icons a {
    color: #bdc3c7;
    margin-right: 12px;
    font-size: 1.4em;
}

.social-media-icons a:hover {
    color: #fff;
}


/* --- Responsive Design --- */

/* Tablet Breakpoint */
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .student-why-section .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .course-cards {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .training-card .training-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card .contact-grid {
        grid-template-columns: 1fr 1.3fr;
        align-items: start;
    }

    .student-courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .student-benefits-list {
        column-count: 2;
    }

    .student-dates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-form .button[type="submit"],
    .contact-form .button[type="submit"] {
        width: auto;
        min-width: 180px;
        display: inline-block;
    }

    .training-pricing .register-button {
        width: auto;
        display: inline-block;
    }

    .three-month-container {
        flex-wrap: nowrap;
    }

    .main-footer .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }

    /* Adjust complex footer layout */
}

/* Small Desktop Breakpoint */
@media (min-width: 992px) {
    .container {
        width: 85%;
    }

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

    .student-why-section .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .training-card .training-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .registration-form .button[type="submit"],
    .contact-form .button[type="submit"] {
        /* Add custom alignment if needed */
    }

    .hero.student-hero .hero-content {
        flex-wrap: nowrap;
    }

    .hero.student-hero .offer-box {
        max-width: 380px;
    }
}

/* Large Desktop Breakpoint */
@media (min-width: 1200px) {
    .training-card .training-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .container {
        width: 80%;
        max-width: 1300px;
    }

    .main-footer .container {
        max-width: 1200px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 767px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Header Mobile */
    nav {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        flex-shrink: 0;
        margin-right: auto;
    }

    .logo img {
        max-height: 45px;
    }

    .menu-toggle {
        display: block;
        order: 1;
    }

    nav ul#nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        padding: 10px 0;
        order: 2;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        gap: 0;
        z-index: 999;
    }

    nav ul#nav-menu.active {
        display: flex;
    }

    nav ul#nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    nav ul#nav-menu li a {
        display: block;
        padding: 14px 15px;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
    }

    nav ul#nav-menu li:last-child a {
        border-bottom: none;
    }

    nav ul#nav-menu li a:hover,
    nav ul#nav-menu li a:focus {
        background-color: #f8f8f8;
    }

    /* Section Padding */
    section,
    .faq-section {
        padding: 40px 0;
    }

    .hero {
        padding: 30px 0;
    }

    .cta-section {
        padding: 40px 0;
    }

    .calendar-section {
        padding: 30px 0;
    }

    .training-section .training-card {
        padding: 2.5rem 0;
    }

    .contact-section .contact-card,
    .map-section .map-card {
        padding: 2.5rem 0;
    }

    /* Hero Mobile */
    .hero h1 {
        font-size: clamp(1.2em, 6vw, 1.2em);
    }

    .hero p {
        font-size: 1.05em;
    }

    .hero.student-hero {
        text-align: center;
    }

    .hero.student-hero .hero-text {
        text-align: center;
        flex-basis: 100%;
    }

    .hero.student-hero .hero-content {
        gap: 25px;
        flex-direction: column-reverse;
    }

    .hero.student-hero .cta-buttons.hero-buttons {
        justify-content: center;
    }

    .offer-box {
        max-width: none;
        width: 100%;
        flex-basis: auto;
    }

    /* Stack grids */
    .contact-grid,
    .features-grid,
    .course-cards,
    .testimonials-grid,
    .training-content,
    .student-courses-grid,
    .student-dates-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .student-benefits-list {
        column-count: 1;
    }

    .feature-card,
    .course-card,
    .testimonial-card,
    .student-course-card,
    .student-date-card {
        padding: 1.5rem;
        margin-bottom: 0;
    }

    .training-card .training-details-wrapper {
        flex-direction: column;
        gap: 1.5rem;
    }

    .training-card .training-details,
    .training-card .training-pricing {
        min-width: 100%;
    }

    .map-card .map-container {
        height: 350px;
    }

    .registration-form .button[type="submit"],
    .contact-form .button[type="submit"],
    .training-pricing .register-button {
        width: 100%;
    }

    .registration-form .radio-group,
    .registration-form .checkbox-group {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    /* Calendar Responsive */
    .calendar-navigation-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 1.5rem;
    }

    .calendar-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }

    .calendar-nav-prev {
        order: 1;
    }

    .three-month-container {
        order: 2;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .calendar-nav-next {
        order: 3;
    }

    .calendar-month-container {
        min-width: 90%;
        margin: 0 auto;
        flex-basis: auto;
    }

    .calendar-table td {
        height: 50px;
        padding: 3px;
        font-size: 0.85em;
    }

    .calendar-table th {
        font-size: 0.75em;
        padding: 6px 3px;
    }

    .calendar-section #courseList h2 {
        font-size: 1.3em;
    }

    .calendar-section .course-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .calendar-section .course-title {
        font-size: 1.05em;
        margin-bottom: 5px;
    }

    .calendar-section .course-date-range {
        margin-bottom: 10px;
    }

    .calendar-section .course-details-link,
    .calendar-section .registration-link.button {
        width: 100%;
        margin: 5px 0 0 0;
        padding: 10px 15px;
        font-size: 0.9em;
    }

    /* CTA Buttons Mobile */
    .cta-buttons .button {
        width: 100%;
    }

    .cta-buttons .button:not(:last-child) {
        margin-bottom: 0.75rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col h4 {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 10px;
        text-align: center;
        display: inline-block;
    }

    .footer-col address {
        text-align: center;
    }

    .social-media-icons {
        text-align: center;
    }

    /* FAQ Mobile */
    .faq-question h3 {
        font-size: 1em;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-item.active .faq-content {
        max-height: 450px;
    }
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.6em, 7vw, 2em);
    }

    h2 {
        font-size: clamp(1.3em, 6vw, 1.8em);
    }

    section {
        padding: 30px 0;
    }

    .hero {
        padding: 25px 0;
    }

    .feature-card,
    .course-card,
    .testimonial-card,
    .student-course-card,
    .student-date-card {
        padding: 1.2rem;
    }

    .registration-form input,
    .registration-form select,
    .registration-form textarea,
    .contact-form input,
    .contact-form textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .registration-form .button[type="submit"],
    .contact-form .button[type="submit"] {
        padding: 12px 18px;
        font-size: 1em;
    }

    .map-card .map-container {
        height: 300px;
    }

    .registration-card .legal-text p {
        font-size: 0.8em;
    }

    .main-footer {
        font-size: 0.9rem;
    }

    .offer-box {
        padding: 20px;
    }

    .current-price {
        font-size: 2em;
    }

    .button-cta-main {
        font-size: 1.1em;
        padding: 12px 20px;
    }

    .student-benefits-list {
        font-size: 0.95em;
    }

    .faq-question h3 {
        font-size: 0.95em;
    }
}

/* --- Animations --- */
/* Inherited from before: pulse, pulse-urgent, glow-grow */

/* Ensure all clickable elements have cursor pointer */
button,
a.button,
.menu-toggle,
.calendar-nav,
.calendar-table td.has-course,
.faq-question,
.feature-card-link,
.course-card>a:first-of-type,
input[type="radio"],
input[type="checkbox"] {
    cursor: pointer;
}

/* Style placeholders */
input::placeholder,
textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* --- Styles for Courses Section (Index Page 3+2 Layout) --- */

/* Base style (Mobile First - Single Column) */
.courses-section .container {
    /* Assumes container from base style.css */
}

.course-cards {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    /* Default single column for mobile */
    margin-top: 2.5rem;
    /* Assumes heading from base style.css */
    align-items: stretch;
    /* Make items stretch vertically */
}

.course-card {
    /* Use this generic class for all course cards */
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 40, 85, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Help stretching */
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 40, 85, 0.15);
}

.course-card img {
    height: 60px;
    width: auto;
    margin: 0 auto 1rem auto;
    display: block;
    object-fit: contain;
}

.course-card h3 {
    font-size: 1.3em;
    color: #002855;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.course-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.5;
}

/* Allow paragraph to grow */
.course-card>a:first-of-type {
    text-decoration: none;
    color: inherit;
    display: block;
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Link wrapper takes space */
.course-card>a:first-of-type:hover h3 {
    color: #0056b3;
}

.course-card .button {
    margin-top: auto;
    align-self: center;
    width: fit-content;
    flex-shrink: 0;
}

/* Button at bottom */


/* --- Responsive Layout for 3+2 Course Cards (Tablet+) --- */

@media (min-width: 768px) {
    .course-cards {
        /* Define a 6-column grid */
        grid-template-columns: repeat(6, 1fr);
        /* align-items: stretch; (already defined in base) */
    }

    /* Make each card span 2 grid columns by default */
    .course-card {
        grid-column: span 2;
    }

    /* Explicitly place the 4th card (added class in HTML) */
    .course-card.course-card-row2-item1 {
        grid-column-start: 2;
        /* Start at column 2 */
        grid-column-end: span 2;
        /* Occupy columns 2 & 3 */
        /* No need to set grid-row explicitly if flow is correct */
    }

    /* Explicitly place the 5th card (added class in HTML) */
    .course-card.course-card-row2-item2 {
        grid-column-start: 4;
        /* Start at column 4 */
        grid-column-end: span 2;
        /* Occupy columns 4 & 5 */
        /* No need to set grid-row explicitly if flow is correct */
    }

    /* This leaves columns 1 and 6 empty on the effective 'second row' */
}

@media (max-width: 767px) {

    /* Course cards default to 1 column (already defined in base) */
    .course-card {
        grid-column: span 1;
        /* Ensure they stack on mobile if base changes */
    }
}

/* --- Styles specific to certificates.html --- */

/* Ensure certificates section has standard section padding */
/* This might be inherited from the main style.css, but can be added here */
/* if main style.css doesn't style base sections consistently. */
/* .certificates-section { */
/*     padding: 50px 0; */
/*     background-color: #fff; */
/* Or appropriate alternating color */
/* } */

/* Ensure heading/paragraph centering if base styles don't cover it */
/* .certificates-section .center-header, */
/* .certificates-section .center-text, */
/* .certificates-section .section-subtitle { */
/* Assumed styles from main style.css */
/* } */


/* Certificates Grid Styling */
.certificates-grid {
    display: grid;
    /* Default: 1 column for mobile */
    grid-template-columns: 1fr;
    gap: 2rem;
    /* Spacing between items */
    margin-top: 2.5rem;
    /* Space below intro text */
    justify-items: center;
    /* Center items horizontally in grid cells */
    padding: 0 15px;
    /* Add some padding to prevent touching edges on mobile */
}

.certificate-item {
    text-align: center;
    max-width: 400px;
    /* Limit width of individual items on small screens */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style for the clickable image link */
.certificate-item a {
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    /* Make link container take up width */
}

.certificate-item a:hover,
.certificate-item a:focus {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    outline: 2px solid var(--primary-color, #0056b3);
    /* Add focus outline */
    outline-offset: 2px;
}

/* Style for the image itself */
.certificate-image {
    display: block;
    max-width: 100%;
    height: auto;
    background-color: #f0f0f0;
    /* Placeholder bg color */
}

.certificate-caption {
    font-size: 0.9em;
    color: #555;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* --- Responsive adjustments for certificates.html --- */

@media (min-width: 576px) {

    /* Small screens+ */
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        /* Limit width to center 2 columns nicely */
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        /* Remove padding if container handles it */
    }

    .certificate-item {
        max-width: 350px;
        /* Adjust max width if needed */
    }
}

@media (min-width: 992px) {

    /* Medium/Desktop screens */
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
        /* Allow full container width */
    }

    .certificate-item {
        max-width: 250px;
        /* Further adjust max width for 4 columns */
    }
}

/* --- Styles specific to polityka-prywatnosci.html --- */

/* Content Section Styling */
.policy-content-section {
    background-color: #fff;
    padding: 50px 0;
    border-top: 1px solid #eee;
    /* Optional */
    border-bottom: 1px solid #eee;
    /* Optional */
    margin: -1px 0;
    /* Adjust slightly if double borders appear */
}

.policy-content-section h2 {
    margin-top: 2em;
    margin-bottom: 1em;
    border-bottom: 2px solid #002855;
    padding-bottom: 0.3em;
    font-size: clamp(1.4em, 3vw, 1.8em);
    color: #002855;
}

.policy-content-section h2:first-of-type {
    margin-top: 0;
}

.policy-content-section p,
.policy-content-section li {
    margin-bottom: 1em;
    line-height: 1.7;
    color: #444;
}

.policy-content-section ul {
    list-style: disc;
    padding-left: 30px;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

.policy-content-section ul ul {
    /* Nested lists */
    list-style: circle;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    padding-left: 25px;
}

.policy-content-section ul ul li {
    margin-bottom: 0.5em;
}

.policy-content-section li strong {
    color: #002855;
    font-weight: 600;
}

/* Special list for contact details */
.policy-content-section .contact-list {
    list-style: none;
    padding-left: 0;
}

.policy-content-section .contact-list li {
    margin-bottom: 0.5em;
}

.policy-content-section .contact-list a {
    word-break: break-all;
}

/* Styling for the last updated date */
.policy-content-section .final-date {
    margin-top: 3em;
    font-style: italic;
    text-align: right;
    color: #666;
    font-size: 0.9em;
}

/* Removed the style for checkmarks as they are no longer in HTML */
/*
.policy-content-section ul li strong::before {
     content: "✅";
     margin-right: 0.5em;
 }
*/

/* Responsive */
@media (max-width: 767px) {
    .policy-content-section h2 {
        font-size: clamp(1.3em, 4vw, 1.6em);
    }

    .policy-content-section ul {
        padding-left: 20px;
    }

    .policy-content-section ul ul {
        padding-left: 20px;
    }
}

/* --- Styles specific to o-nas.html --- */

/* Make about section behave like training/contact/map */
.about-content-section {
    padding: 0;
    background-color: transparent;
}

/* Base style for about cards (like training cards) */

/* --- About Page Specifics --- */
.services-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 2.5rem;
}

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

.about-content-section .about-card {
    padding: 3rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 1px;
    border-radius: 0;
    box-shadow: none;
}

/* Radius/border overrides for stacked about cards */
.about-content-section .about-card:first-of-type {
    border-top: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.about-content-section .about-card:last-of-type {
    border-bottom: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-bottom: 0;
}

/* Case for only one card */
.about-content-section .about-card:first-of-type:last-of-type {
    border-radius: 8px;
}

/* Adjustments for headings inside about cards */
.about-content-section .about-card h2 {
    margin-top: 0;
    /* Assuming .center-header handles alignment and ::after */
}

/* Services Grid */
.about-content-section .services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* Mobile default */
    margin-top: 1.5rem;
}

.about-content-section .service-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #eee;
}

.about-content-section .service-item h3 {
    font-size: 1.15em;
    color: #002855;
    margin-bottom: 0.8rem;
    margin-top: 0;
}

.about-content-section .service-item ul {
    padding-left: 0;
    list-style: none;
}

.about-content-section .service-item li {
    margin-bottom: 0.5rem;
    font-size: 0.95em;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.about-content-section .service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0056b3;
    font-weight: bold;
    top: 1px;
}

.about-content-section .service-item li a {
    color: #0056b3;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.about-content-section .service-item li a:hover,
.about-content-section .service-item li a:focus {
    color: #003d82;
    text-decoration-thickness: 2px;
}

/* Why Us Card */
.about-content-section .about-card.why-us-card {
    background-color: #f0f8ff;
    border-left: 5px solid #0056b3;
    padding: 2rem 1.5rem;
    /* Adjust internal padding if needed */
}

.about-content-section .about-card.why-us-card .benefits-list {
    padding-left: 0;
    list-style: none;
    column-count: 1;
    /* Mobile default */
    margin-top: 1.5rem;
}

.about-content-section .about-card.why-us-card .benefits-list li {
    margin-bottom: 0.7rem;
    font-size: 1em;
    position: relative;
    padding-left: 25px;
    break-inside: avoid;
}

.about-content-section .about-card.why-us-card .benefits-list li::before {
    content: '⭐';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.9em;
}

.about-content-section .about-card.why-us-card .benefits-list strong {
    color: #002855;
}

/* Instructors Section */
.about-content-section .instructors-section-card h2 {
    margin-bottom: 2rem;
}

.about-content-section .instructors-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    /* Mobile default */
}

.about-content-section .instructor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
}

.about-content-section .instructor-card:hover {
    box-shadow: 0 4px 8px rgba(0, 40, 85, 0.1);
}

.about-content-section .instructor-photo {
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.about-content-section .instructor-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background-color: #ccc;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-content-section .instructor-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2em;
    color: #0056b3;
}

.about-content-section .instructor-info p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 0;
}


/* --- Blog Section --- */
.blog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #002855;
    font-size: 1.25em;
}

.blog-card .post-meta {
    color: #777;
    font-size: 0.85em;
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
}

.blog-card .post-meta i {
    margin-right: 5px;
    color: #0056b3;
}

.blog-card p {
    color: #555;
    flex-grow: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-card .read-more {
    margin-top: auto;
    align-self: flex-start;
    color: #0056b3;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.blog-card .read-more:hover {
    color: #003d82;
    text-decoration: underline;
}

.blog-card .read-more::after {
    content: '→';
    transition: transform 0.2s ease;
}

.blog-card .read-more:hover::after {
    transform: translateX(3px);
}

/* Blog Post Page Specifics */
.blog-post-section {
    padding: 50px 0;
    background-color: #fff;
}

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

.blog-post-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-content .post-meta {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    color: #666;
}

.blog-post-content h2 {
    font-size: 1.8em;
    margin-top: 2rem;
}

.blog-post-content h3 {
    font-size: 1.4em;
    margin-top: 1.5rem;
    color: #004080;
}

.highlight-box {
    background-color: #f0f8ff;
    border-left: 4px solid #0056b3;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}