/* ===== GLOBAL STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ===== SPLASH SCREEN ===== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000 url('img.jpg') center center no-repeat;
    background-size: cover;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#splash-content {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    max-width: 80%;
}

body.loaded #splash-screen {
    opacity: 0;
    pointer-events: none;
}

/* ===== LAYOUT STRUCTURE ===== */
#main-content {
    display: none;
}

body.loaded #main-content {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: #1a1a2e;
    color: white;
    padding: 1.5rem 0;
    position: relative;
}

.logo-img {
    height: 100px;
    width: auto;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-text span {
    font-size: 1.4rem;
    color: #ccc;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 0.5rem;
}

nav {
    background-color: #16213e;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li {
    margin: 0 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
    background-color: #0f3460;
    transform: translateY(-2px);
}

/* ===== MAIN CONTENT ===== */
.content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
}

h2 {
    border-bottom: 2px solid #0f3460;
    padding-bottom: 0.5rem;
}

/* ===== SUCCESS PAGE ===== */
.success-container {
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease;
}

.checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 2;
    stroke: #4CAF50;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.success-message h1 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 1rem;
}

.btn-return {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background-color: #0f3460;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-return:hover {
    background-color: #16213e;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* ===== FORM STYLES ===== */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #1a1a2e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0f3460;
    outline: none;
    box-shadow: 0 0 0 2px rgba(15, 52, 96, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #0f3460;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #16213e;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
    display: block;
}

/* ===== VALIDATION STYLES ===== */
.invalid {
    border-color: #dc3545 !important;
}

.invalid:focus {
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
    position: absolute;
    bottom: -1.25rem;
}

.validation-btn {
    background-color: #0f3460;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.validation-btn:hover {
    background-color: #16213e;
}

.id-container {
    display: flex;
    align-items: center;
}

.id-container input {
    flex: 1;
}

.validation-status {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.validation-status.valid {
    color: #28a745;
}

.validation-status.invalid {
    color: #dc3545;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    bottom: 30px;
}

.toast.success {
    background-color: #28a745;
}

.toast.error {
    background-color: #dc3545;
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a2e;
    color: white;
    padding: 2rem 0 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    background-color: #0f3460;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a:hover {
    background-color: #16213e;
    transform: translateY(-2px);
}

.contact-info p {
    margin: 0.5rem 0;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: inherit;
}

.newsletter-form button {
    background-color: #0f3460;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #16213e;
}

.footer-bottom {
    background-color: #0f0f1f;
    text-align: center;
    padding: 1.5rem;
    margin-top: 1rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom .tagline {
    font-style: italic;
    color: #ccc;
}

/* ===== ANIMATIONS ===== */
@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .logo-img {
        position: static;
        transform: none;
        height: 70px;
        margin-bottom: 0.5rem;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .brand-container {
        text-align: center;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-text span {
        font-size: 1.2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    nav li {
        margin: 0;
    }

    .content {
        padding: 0 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-section {
        min-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 0.5rem;
    }

    .newsletter-form button {
        border-radius: 4px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 1.5rem;
    }

    .success-container {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .checkmark {
        width: 80px;
        height: 80px;
    }
}
/* ===== NEWS & RESOURCES SECTION ===== */
.news-section {
    padding: 3rem 1rem;
    background-color: #fff;
}

.news-section h2 {
    text-align: center;
    color: #1a1a2e;
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #0f3460;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.news-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}

.news-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 1.2rem;
    flex: 0 0 320px;
    scroll-snap-align: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.news-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0f3460;
}

.news-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.7rem;
}

.news-card p {
    font-size: 0.95rem;
    color: #333;
}

.news-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: #0f3460;
    font-weight: bold;
    text-decoration: none;
}

.news-link:hover {
    text-decoration: underline;
}
/* ===== TCM STATS SECTION ===== */
.tcm-stats {
    background: linear-gradient(to right, #0f3460, #16213e);
    color: white;
    padding: 4rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.stats-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #fdd835;
    font-weight: bold;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-box {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #fdd835;
    margin-bottom: 1rem;
}

.stat-text {
    font-size: 1rem;
    line-height: 1.4;
}
.news-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.news-carousel-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.news-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
}

.news-card {
    flex: 0 0 30%;
    min-width: 30%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    transition: transform 0.3s ease;
}

.news-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0f3460;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0 0.8rem;
    cursor: pointer;
    z-index: 1;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: #16213e;
}

.carousel-arrow.left {
    left: 0;
}

.carousel-arrow.right {
    right: 0;
}

@media (max-width: 768px) {
    .news-card {
        flex: 0 0 80%;
        min-width: 80%;
    }
}
.horizontal-flex-container {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.horizontal-column {
    flex: 1;
    min-width: 300px;
}

.horizontal-column h2,
.horizontal-column h3,
.horizontal-column h4 {
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.horizontal-column p,
.horizontal-column ul {
    margin-bottom: 1rem;
}

.horizontal-column ul {
    padding-left: 1.2rem;
    list-style: disc;
}
/* === Responsive TCM Gallery Slider === */
.tcm-gallery-slider {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    background-color: #f9f9f9;
}

.slider-track {
    display: flex;
    gap: 15px;
    animation: slide 40s linear infinite;
    width: max-content;
}

.slider-track img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .slider-track {
        animation: none;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slider-track img {
        max-width: 90%;
        scroll-snap-align: center;
    }
}