/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

:root {
    --primary-blue: #1a2b4a;
    /* Dark Blue */
    --accent-gold: #f9c846;
    /* Gold/Yellow */
    --light-gray: #f4f4f4;
    --text-dark: #333;
    --text-white: #fff;
    --accent-red: #e63946;
    /* Theme Red */
}

ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    margin: 0 0 15px 0;
    font-weight: 700;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: #e0b030;
}

.btn-secondary {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    width: auto;
    /* Changed from 100% to auto */
    display: inline-block;
    /* Changed from block */
    min-width: 150px;
    text-align: center;
    margin-top: 15px;
}

.btn-primary-small {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    padding: 10px 20px;
    /* Matched to btn-red */
    font-size: 0.95rem;
    /* Matched to btn-red */
    border-radius: 5px;
    /* Matched to btn-red */
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary-small:hover {
    background-color: #e0b030;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-red {
    background-color: var(--accent-red);
    color: white;
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-red:hover {
    background-color: #c92a36;
    transform: translateY(-2px);
}



/* Header */
.main-header {
    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 0;
    /* Removed padding to let nav take full height if needed */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    /* Reduced vertical padding */
    max-width: 1400px;
    /* Increased width to fit more items */
    margin: 0 auto;
    margin: 0 auto;
    width: 100%;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.logo-text {
    font-size: 0.75rem;
    color: #fff;
    line-height: 1.2;
    margin-top: 5px;
    font-weight: 600;
    white-space: nowrap;
}

.footer-logo {
    max-height: 80px;
    width: auto;
    display: block;
    /* Ensure it behaves well with sibling text */
    margin-bottom: 5px;
}

.branding-col .logo-text {
    color: #ccc;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-align: left;
    /* Footer aligns left usually */
    display: block;
}

.footer-logo {
    max-height: 80px;
    width: auto;
}

/* Nav & Dropdowns */
.main-nav ul {
    display: flex;
    gap: 10px;
    /* Reduced gap from 20px */
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
    padding: 10px 0;
}

.main-nav a {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.85rem;
    /* Slightly smaller font */
    display: block;
    padding: 5px 8px;
    /* Reduced horizontal padding */
    white-space: nowrap;
    /* Prevent text wrapping inside links */
}

.main-nav a:hover {
    color: var(--accent-gold);
}

.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 240px;
    /* Slightly wider for long course names */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-top: 3px solid var(--accent-gold);
    border-radius: 0 0 4px 4px;
}

.main-nav .dropdown li {
    padding: 0;
    border-bottom: 1px solid #eee;
}

.main-nav .dropdown li:last-child {
    border-bottom: none;
}

.main-nav .dropdown a {
    color: var(--primary-blue);
    padding: 10px 15px;
    font-size: 0.85rem;
    transition: background 0.2s;
    white-space: normal;
    /* Allow wrapping in dropdowns if needed */
}

.main-nav .dropdown a:hover {
    background-color: #f4f4f4;
    color: var(--primary-blue);
}

/* Show dropdown on hover */
.main-nav li:hover .dropdown {
    display: block;
}

.main-nav i.fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

.main-nav li:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(26, 43, 74, 0.9), rgba(26, 43, 74, 0.9));
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 100px 0;
    text-align: left;
}

/* Fallback if no image */
.hero-section {
    background-color: var(--primary-blue);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--accent-gold);
    display: block;
}

.hero-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Stats Bar */
.stats-bar {
    background-color: #0f1c33;
    color: var(--text-white);
    padding: 20px 0;
    border-bottom: 4px solid var(--accent-gold);
    /* Added yellow line */
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* Steps Section */
.steps-section {
    background-color: #f4f6f9;
    padding: 60px 0;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-card p {
    flex-grow: 1;
    /* Pushes button to bottom */
    margin-bottom: 20px;
}

.step-card .btn-secondary {
    width: auto;
    align-self: flex-start;
    margin-top: auto;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    background: var(--accent-gold);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-card h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Info Grid Section */
.info-grid-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    text-align: center;
}

.info-card i {
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-card .subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.info-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.section-title-left {
    color: #e63946;
    /* Matching "EXPERT TRAINING" red */
    font-size: 1.8rem;
    text-transform: uppercase;
}

.about-content img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.about-content caption {
    font-style: italic;
    color: var(--primary-blue);
    text-align: center;
    display: block;
}

.about-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.podcast-feature {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.podcast-feature img {
    border-radius: 5px;
}

.podcast-cta {
    background: var(--accent-gold);
    padding: 15px;
    text-align: center;
    border-radius: 5px;
}

/* Courses Section */
.courses-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-details h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.course-details p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.course-details .btn-primary-small {
    align-self: flex-start;
    margin-top: auto;
}

.view-all-courses {
    text-align: center;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    background-color: #8b0000;
    /* Dark Red background from image */
    color: white;
}

.products-section .section-title {
    color: white;
    text-align: left;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-col {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-col img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    flex-grow: 1;
    /* Helps balance height */
}

.product-col p {
    margin-bottom: 20px;
}

.product-col .btn-secondary {
    margin-top: auto;
    /* Pushes to bottom */
}

.product-col img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

/* Tailored CTA */
.tailored-cta {
    background-color: black;
    color: var(--accent-gold);
    text-align: center;
    padding: 60px 0;
}

.tailored-cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tailored-cta h3 {
    color: white;
    margin-bottom: 30px;
}

/* Footer style */
.main-footer {
    background-color: #1a2b4a;
    /* Dark footer bg */
    color: #ccc;
    padding: 60px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.contact-col i {
    color: var(--accent-gold);
    margin-right: 10px;
    width: 20px;
}

.branding-col p {
    margin: 20px 0;
}

.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: #ccc;
    margin: 0 10px;
}

/* About Page Specific Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(rgba(26, 43, 74, 0.9), rgba(26, 43, 74, 0.9));
    /* Use same bg or different */

    background-color: var(--primary-blue);
    color: var(--text-white);
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--accent-gold);
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: #fff;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-content h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mission-content h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.mission-content p {
    margin-bottom: 15px;
    color: #555;
}

.mission-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Core Values */
.values-section {
    padding: 80px 0;
    background-color: #f4f6f9;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: #fff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #eee;
    padding-bottom: 20px;
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 15px 0 5px;
    color: var(--primary-blue);
}

.team-member .role {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-member .bio {
    padding: 0 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.location-details h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.location-details ul {
    list-style: none;
    margin-top: 30px;
}

.location-details ul li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.location-details ul li i {
    color: var(--accent-gold);
    width: 25px;
}

.clients-list h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.client-logos img {
    background: white;
    padding: 10px;
    border-radius: 4px;
    height: 60px;
    width: auto;
}

@media (max-width: 768px) {

    .mission-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* All Courses Page Styles */
.courses-list-section {
    padding: 80px 0;
    background-color: #fff;
}

/* Match E-Learning styling for Standard courses (Gold Theme) */
.courses-list-section .course-card {
    border-top: 4px solid var(--accent-gold);
}

.elearning-section {
    padding: 80px 0;
    background-color: #f4f6f9;
}

.elearning-section .section-title {
    margin-bottom: 40px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.elearning-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-red);
    margin: 10px auto 0;
    border-radius: 2px;
}

.elearning-section .course-card {
    border-top: 4px solid var(--accent-red);
}

.elearning-section .course-details h3 {
    color: var(--primary-blue);
}

.elearning-section .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.courses-list-section .course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}