/* =========================================
   VARIABLES & SETUP
========================================= */
:root {
    /* Colors */
    --c-primary: #0056b3;
    --c-primary-hover: #004494;
    --c-primary-light: #e6f0fa;
    --c-secondary: #f8f9fa;
    
    --c-text-dark: #212529;
    --c-text-body: #495057;
    --c-text-muted: #6c757d;
    
    --c-bg-light: #f8f9fa;
    --c-bg-white: #ffffff;
    --c-bg-dark: #212529;
    
    --c-border: #e9ecef;
    --c-border-dark: #343a40;
    
    /* Typography */
    --f-heading: 'Poppins', sans-serif;
    --f-body: 'Inter', sans-serif;
    
    /* UI */
    --t-base: 0.3s ease;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --radius: 0.5rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--f-body);
    color: var(--c-text-body);
    background-color: var(--c-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    color: var(--c-text-dark);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--c-primary);
    transition: var(--t-base);
}
a:hover { color: var(--c-primary-hover); }

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-medium { max-width: 900px; }

.section { padding: 5rem 0; }
.bg-light { background-color: var(--c-bg-light); }
.bg-white { background-color: var(--c-bg-white); }
.bg-dark { background-color: var(--c-bg-dark); }
.bg-blue { background-color: var(--c-primary); }
.bg-light-blue { background-color: var(--c-primary-light); }

.text-blue { color: var(--c-primary); }
.text-white { color: #fff; }
.text-muted { color: var(--c-text-muted); }
.text-danger { color: #dc3545; }
.text-center { text-align: center; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.p-4 { padding: 1.5rem; }
.pb-0 { padding-bottom: 0 !important; }
.w-100 { width: 100%; }

.border-light { border: 1px solid var(--c-border); }
.border-y { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.border-0 { border: 0 !important; }

.font-weight-600 { font-weight: 600; }
.font-size-sm { font-size: 0.875rem; }

.rounded-image { border-radius: var(--radius); }
.rounded-top { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.sub-heading {
    display: inline-block;
    color: var(--c-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-desc { font-size: 1.1rem; max-width: 700px; }

/* Grid Layouts */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.align-center { align-items: center; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 3rem; }
.d-flex { display: flex; }
.justify-content-center { justify-content: center; }

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: var(--f-heading);
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--t-base);
}
.btn-primary {
    background-color: var(--c-primary);
    color: var(--c-bg-white);
    border-color: var(--c-primary);
}
.btn-primary:hover {
    background-color: var(--c-primary-hover);
    border-color: var(--c-primary-hover);
    color: var(--c-bg-white);
}
.btn-outline-primary {
    background-color: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}
.btn-outline-primary:hover {
    background-color: var(--c-primary);
    color: var(--c-bg-white);
}

/* =========================================
   TOP BAR & NAVIGATION
========================================= */
.top-bar {
    background-color: var(--c-bg-dark);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
}
.top-bar-info span, .top-bar-contact span {
    margin-right: 1.5rem;
}
.top-bar i { margin-right: 0.3rem; color: #a1a1aa; }

.navbar {
    background: var(--c-bg-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--c-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-icon {
    width: 32px; height: 32px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}
.logo-text { font-family: var(--f-heading); font-size: 1.25rem; color: var(--c-text-dark); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-item { color: var(--c-text-dark); font-weight: 500; font-size: 0.95rem; }
.nav-item:hover { color: var(--c-primary); }

.mobile-toggle {
    display: none;
    background: none; border: none; font-size: 1.5rem; color: var(--c-text-dark); cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--c-bg-white); box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001; transition: var(--t-base); display: flex; align-items: center; justify-content: center;
}
.mobile-menu.active { right: 0; }
.mobile-menu-inner { display: flex; flex-direction: column; width: 100%; padding: 2rem; }
.close-mobile { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.mobile-nav-item { padding: 1rem 0; border-bottom: 1px solid var(--c-border); font-weight: 500; color: var(--c-text-dark); }
.mobile-nav-item:hover { color: var(--c-primary); padding-left: 5px; }

/* =========================================
   HERO
========================================= */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }

.badge-blue {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--c-primary-light);
    color: var(--c-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-title { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero-desc { font-size: 1.15rem; margin-bottom: 2rem; max-width: 550px; }

.hero-details {
    display: flex; gap: 2rem; margin-bottom: 2.5rem;
    padding: 1.5rem; background: var(--c-bg-white);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--c-border);
}
.detail-box { display: flex; align-items: flex-start; gap: 1rem; }
.detail-box i { font-size: 1.5rem; margin-top: 0.2rem; }
.detail-box strong { display: block; color: var(--c-text-dark); }
.detail-box span { font-size: 0.9rem; }

.hero-actions { display: flex; gap: 1rem; }

.hero-image { position: relative; }
.hero-image img { width: 100%; height: auto; object-fit: cover; }
.floating-card {
    position: absolute; bottom: -20px; left: -20px;
    background: #fff; padding: 1.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow); display: flex; gap: 1rem; align-items: center;
}
.floating-card .card-icon {
    width: 50px; height: 50px; background: var(--c-primary-light); color: var(--c-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.floating-card h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.floating-card p { font-size: 0.85rem; color: var(--c-text-muted); margin: 0; }

/* =========================================
   ABOUT (Who Should Attend)
========================================= */
.check-list li {
    display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem;
}
.check-list i { font-size: 1.25rem; margin-top: 0.2rem; }
.check-list h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.check-list p { font-size: 0.95rem; margin: 0; }

/* =========================================
   OBJECTIVES
========================================= */
.objective-card {
    background: var(--c-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    transition: var(--t-base);
    text-align: center;
}
.objective-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--c-primary-light); }
.obj-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}
.objective-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }

/* =========================================
   TRAINERS
========================================= */
.trainers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 800px; margin: 0 auto; }
.trainer-card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--t-base);
}
.trainer-card:hover { box-shadow: var(--shadow); }
.trainer-img-wrap { width: 100%; height: 280px; overflow: hidden; background: #e2e8f0; }
.trainer-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.trainer-info { padding: 1.5rem; text-align: left; }
.trainer-info h3 { margin-bottom: 0.2rem; font-size: 1.3rem; }
.trainer-role { font-weight: 500; font-size: 0.9rem; margin-bottom: 1rem; }
.trainer-bio { font-size: 0.95rem; }
.trainer-socials a { color: var(--c-text-muted); margin-right: 0.8rem; font-size: 1.1rem; }
.trainer-socials a:hover { color: var(--c-primary); }

/* =========================================
   SCHEDULE TAB SYSTEM
========================================= */
.tab-btn {
    background: var(--c-bg-white);
    border: 1px solid var(--c-border);
    color: var(--c-text-body);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--f-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--t-base);
}
.tab-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.tab-btn:hover:not(.active) { background: var(--c-primary-light); }

.schedule-content { display: none; animation: fadeIn 0.5s ease; }
.schedule-content.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.schedule-list {
    background: var(--c-bg-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2rem;
}
.schedule-item {
    display: flex; gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--c-border);
}
.schedule-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }

.time-block {
    min-width: 100px; padding: 0.5rem; text-align: center;
    border-radius: 4px; font-weight: 600; font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center; height: fit-content;
}
.content-block h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

/* =========================================
   FAQ & STEPS
========================================= */
.accordion-item {
    background: var(--c-bg-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}
.accordion-header {
    padding: 1.25rem 1.5rem;
    font-family: var(--f-heading); font-weight: 500; color: var(--c-text-dark);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; user-select: none;
}
.accordion-header .icon { transition: transform 0.3s ease; }
.accordion-body {
    padding: 0 1.5rem;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-header { color: var(--c-primary); }
.accordion-item.active .accordion-header .icon { transform: rotate(180deg); }
.accordion-item.active .accordion-body { padding-bottom: 1.25rem; max-height: 500px; }

/* Steps */
.step-item {
    display: flex; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--c-border); margin-bottom: 1.5rem;
}
.step-num {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-heading);
}
.step-content h4 { font-size: 1.05rem; margin-bottom: 0.2rem; }

/* =========================================
   FORM
========================================= */
.form-group label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--c-text-dark); }
.form-control, .form-select {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid #ced4da; border-radius: 4px;
    font-family: var(--f-body); font-size: 0.95rem; color: var(--c-text-body);
    transition: var(--t-base);
}
.form-control:focus, .form-select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 .2rem rgba(0,86,179,.25); }
textarea { resize: vertical; }

/* =========================================
   FOOTER
========================================= */
.footer { padding: 4rem 0 2rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; }
.brand-col .logo-text { color: #fff; }
.text-light-gray { color: #adb5bd; }
.footer-col h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: #adb5bd; }
.footer-col a:hover { color: #fff; padding-left: 5px; }

.contact-ul li { display: flex; gap: 0.8rem; align-items: flex-start; color: #adb5bd; }
.contact-ul i { margin-top: 0.3rem; color: #fff; }

.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%;
    color: #fff; margin-right: 0.5rem;
}
.social-links a:hover { background: var(--c-primary); }

.border-top-dark { border-top: 1px solid #343a40; }

/* =========================================
   MEDIA QUERIES
========================================= */
@media (max-width: 991px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero-grid, .grid-2-cols, .grid-3-cols, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 3rem 0; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-details { flex-direction: column; gap: 1rem; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .floating-card { bottom: 20px; left: 20px; right: 20px; justify-content: center; }
    .trainers-grid { grid-template-columns: 1fr; max-width: 400px; }
    .schedule-item { flex-direction: column; gap: 0.5rem; }
    .time-block { width: fit-content; text-align: left; }
}

@media (max-width: 576px) {
    .top-bar { display: none; }
    .hero-title { font-size: 2.5rem; }
    .schedule-tabs { flex-direction: column; }
    .registration-form-box { padding: 1.5rem !important; }
}
