/* ===================================
   Focus-Meaning Custom Styles
   ================================== */

:root {
    --accent-primary: #FFC107;
    --accent-secondary: #FFD54F;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #212529;
    --text-dark: #212529;
    --text-gray: #495057;
    --text-light: #6c757d;
    --border-color: #dee2e6;
}

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

body {
    font-family: "PT Sans", sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===================================
   Typography
   ================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.lead {
    font-size: 1.15rem;
}

/* ===================================
   Spacing Utilities
   ================================== */

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* ===================================
   Header & Navigation
   ================================== */

.header-nav {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    padding: 1rem 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
    text-decoration: none;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-primary);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   Buttons
   ================================== */

.btn-accent {
    background-color: var(--accent-primary);
    border: none;
    color: var(--text-dark);
    font-weight: 700;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-secondary);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-outline-accent {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background-color: transparent;
    font-weight: 700;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    border-color: var(--accent-primary);
}

/* ===================================
   Hero Section
   ================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 0;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 100px;
    }
    
    .hero-content {
        padding: 2rem !important;
    }
}

/* ===================================
   Page Hero (Secondary Pages)
   ================================== */

.page-hero {
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.page-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }
}

/* ===================================
   Section Dividers
   ================================== */

.section-divider {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.divider-line {
    width: 80%;
    max-width: 600px;
    height: 2px;
    background-color: var(--border-color);
}

.divider-line:first-child {
    background-color: var(--accent-primary);
}

/* ===================================
   Block Title with Background
   ================================== */

.block-title-bg {
    display: inline-block;
    background-color: var(--bg-light);
    padding: 1rem 2rem;
    border-left: 4px solid var(--accent-primary);
}

.block-title-bg h2 {
    margin: 0;
}

.section-dark .block-title-bg {
    background-color: rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-secondary);
}

/* ===================================
   Section Backgrounds
   ================================== */

.section-alt {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.section-dark p,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
    color: var(--bg-white);
}

.section-with-pattern {
    position: relative;
    background-color: var(--bg-white);
}

.section-with-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* ===================================
   Accent Elements
   ================================== */

.text-accent {
    color: var(--accent-primary) !important;
}

.accent-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-primary);
    padding: 1.5rem;
}

.decorative-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: -1;
}

.decorative-line-vertical {
    position: absolute;
    left: -20px;
    top: 20%;
    width: 4px;
    height: 60%;
    background-color: var(--accent-primary);
    z-index: -1;
}

/* ===================================
   Principle Items
   ================================== */

.principle-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.principle-item .material-icons-outlined {
    font-size: 28px;
    flex-shrink: 0;
}

.principle-item p {
    margin: 0;
    padding-top: 4px;
}

/* ===================================
   Direction Cards
   ================================== */

.direction-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.direction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-primary);
    transition: height 0.3s ease;
}

.direction-card:hover::before {
    height: 100%;
}

.direction-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.direction-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.direction-icon .material-icons-outlined {
    font-size: 32px;
    color: var(--accent-primary);
}

/* ===================================
   Stat Cards
   ================================== */

.stat-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.stat-label {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* ===================================
   Course Cards
   ================================== */

.course-example-card {
    background-color: var(--bg-light);
    padding: 2rem;
    height: 100%;
    position: relative;
    border-top: 4px solid var(--accent-primary);
}

.course-line-accent {
    position: absolute;
    top: 0;
    left: 2rem;
    width: 60px;
    height: 4px;
    background-color: var(--accent-secondary);
}

.course-direction {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 700;
}

.course-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: var(--accent-primary);
}

.course-card h3 {
    margin-bottom: 1rem;
}

.course-meta {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.course-benefits {
    list-style: none;
    padding: 0;
}

.course-benefits li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.course-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 700;
}

/* ===================================
   For Whom Cards
   ================================== */

.for-whom-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.for-whom-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
}

.for-whom-card h3 {
    color: var(--accent-secondary);
}

.for-whom-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   News Cards
   ================================== */

.news-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

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

.news-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-primary);
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-meta-item .material-icons-outlined {
    font-size: 18px;
}

/* ===================================
   Article Page
   ================================== */

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

.article-content img {
    width: 100%;
    height: auto;
    margin: 2rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* ===================================
   Mentor Cards
   ================================== */

.mentor-card {
    text-align: center;
    background-color: var(--bg-light);
    padding: 2rem;
}

.mentor-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-primary);
}

.mentor-role {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ===================================
   Contact Section
   ================================== */

.contact-info-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-left: 4px solid var(--accent-primary);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item .material-icons-outlined {
    color: var(--accent-primary);
    font-size: 24px;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.contact-item-content p {
    margin: 0;
    color: var(--text-gray);
}

/* ===================================
   Form Styles
   ================================== */

.form-control {
    border: 2px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: none;
}

.form-label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid + .form-error {
    display: block;
}

/* ===================================
   Map Container
   ================================== */

.map-container {
    width: 100%;
    height: 450px;
    border: 2px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* ===================================
   Thank You Page
   ================================== */

.thankyou-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--bg-white);
    border: 2px solid var(--accent-primary);
    padding: 3rem;
}

.thankyou-icon {
    font-size: 80px;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
}

/* ===================================
   Footer
   ================================== */

.footer-dark {
    background-color: var(--bg-dark);
    color: var(--bg-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contacts {
    list-style: none;
}

.footer-contacts li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contacts .material-icons-outlined {
    font-size: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contacts span {
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Cookie Popup
   ================================== */

.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--bg-white);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

/* ===================================
   Service Pages
   ================================== */

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.25rem;
}

.service-content ul {
    margin-bottom: 1.5rem;
}

.service-content ul li {
    margin-bottom: 0.75rem;
}

/* ===================================
   Responsive Adjustments
   ================================== */

@media (max-width: 992px) {
    .block-title-bg {
        padding: 0.75rem 1.5rem;
    }
    
    .block-title-bg h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }
    
    .direction-card {
        padding: 1.5rem;
    }
    
    .course-card {
        padding: 1.5rem;
    }
    
    .mentor-photo {
        width: 150px;
        height: 150px;
    }
}
