/* Global Styles */
:root {
    --primary-color: #005a9c; /* thePHP.cc blue - updated to match academy */
    --secondary-color: #333333;
    --accent-color: #f89c0e; /* thePHP.cc orange - updated to match academy */
    --hover-cta: #d68a0b;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --black: #000000;
    --font-family: 'Open Sans', Arial, sans-serif;
}

/* Open Sans Font Family */
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('fonts/open-sans-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--white);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 20px;
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--secondary-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.hero-image {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 350px;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center 30%;
}

.Training-description-text {
    margin-top: 30px;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.Training-links {
    margin-top: 30px;
}

/* Other Sections Styling */

/* Other Trainings */
.other-Trainings {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.Training-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.Training-tile {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.Training-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.tile-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    text-align: left;
}

.Training-tile h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.Training-type {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

.Training-host {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    text-align: center;
}

.Training-description {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.tile-link-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto;
    text-decoration: none;
}

.tile-link-button:hover {
    background-color: var(--accent-color);
    color: var(--white) !important;
}

/* About Trainer */
.about-trainer {
    padding: 60px 0;
    background-color: var(--white);
    text-align: center;
}

.trainer-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.trainer-image {
    flex: 0 0 300px;
}

.trainer-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}

.trainer-bio {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.trainer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-right: 5px;
}

/* Get in Touch */
.get-in-touch {
    padding: 60px 0;
    background-color: var(--light-gray);
    text-align: center;
}

.key-message {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin: 25px 0;
    transition: background-color 0.3s ease;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--hover-cta);
    color: var(--white);
}

.note {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* More Trainings */
.more-trainings {
    padding: 0 0 60px;
    background-color: var(--white);
    text-align: center;
}

.more-trainings-message {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    flex: 2;
    font-size: 0.9rem;
    color: var(--medium-gray);
    text-align: center;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .Training-row {
        flex-direction: column;
    }

    .trainer-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-logo, .footer-copyright, .footer-links {
        flex: 0 0 100%;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}
