/*
Theme Name: Ortho Training Landing Page
Theme URI: https://example.com/ortho-training
Author: Antigravity
Author URI: https://example.com
Description: A dedicated landing page theme for the orthodontic interception training.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: landing-page, one-column, custom-colors
Text Domain: ortho-landing
*/

/* Importing Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
    --primary: #005f73;
    --secondary: #0a9396;
    --accent: #ee9b00;
    --dark: #222;
    --light: #f1f5f9;
    --white: #ffffff;
    --text-muted: #666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

ul {
    list-style-position: inside;
    margin-top: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.eyebrow {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--accent);
    font-style: italic;
}

.subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary);
}

/* Objectives Section */
.objectives {
    padding: 5rem 0;
    background-color: var(--white);
}

.objectives h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--light);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background: var(--white);
    border-color: var(--secondary);
}

.card .number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    font-family: var(--font-heading);
    z-index: 0;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

/* Schedule Section */
.schedule {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.schedule h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* Aligned with time logic on mobile if needed, or center */
    width: 2px;
    background: var(--primary);
    opacity: 0.2;
}

@media (min-width: 768px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.event {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .event {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .event:nth-child(odd) {
        flex-direction: row-reverse;
    }
}

.event .time {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 1rem;
    z-index: 2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .event .time {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        margin-bottom: 0;
    }
}

.event .content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    margin-left: 40px;
    /* Space for timeline line */
    border-left: 4px solid var(--secondary);
}

@media (min-width: 768px) {
    .event .content {
        width: 45%;
        margin-left: 0;
    }

    .event:nth-child(odd) .content {
        border-right: 4px solid var(--secondary);
        border-left: none;
        text-align: right;
    }

    .event:nth-child(odd) .content ul {
        list-style-position: inside;
        display: inline-block;
        text-align: left;
    }
}

.break .content {
    background: #e0f2f1;
    border-color: var(--accent);
}

.break.lunch .content {
    background: #fff3e0;
}

.event h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.details {
    font-size: 0.95rem;
    margin-top: 1rem;
}

.details strong {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
}

/* Trainer Section */
.trainer-section {
    padding: 6rem 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.trainer-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

.trainer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    justify-content: center;
}

.trainer-image {
    flex: 0 0 350px;
    max-width: 100%;
}

.trainer-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trainer-info {
    flex: 1;
    min-width: 300px;
}

.trainer-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ae2012;
    /* A color from the image tone or compatible contrast */
}

.trainer-qualifications {
    list-style: none;
    margin-top: 1.5rem;
}

.trainer-qualifications li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 0.95rem;
    color: #444;
}

.trainer-qualifications li::before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

@media (max-width: 768px) {
    .trainer-content {
        flex-direction: column;
        text-align: center;
    }

    .trainer-qualifications li {
        text-align: left;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    text-align: center;
}

.contact-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.contact-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    display: inline-block;
}

.phone-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* Footer */
footer {
    background: #004c5c;
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 15px;
    }

    .event .time {
        margin-left: 0;
    }

    .event .content {
        width: calc(100% - 40px);
        margin-left: 40px;
    }
}