/* Main Stylesheet */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Mobile responsive navbar brand */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
        letter-spacing: 0.2px;
    }
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.1);
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 60px);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%), url('../images/index-header.png') center/cover no-repeat;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1200" height="800" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.8s ease 0.2s both;
}

.hero-section .btn {
    margin-bottom: 0.5rem;
    animation: slideInUp 0.8s ease 0.4s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #fff;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #222;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.about-section img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
    height: 500px;
}

.about-section img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Videos Section */
.videos-section {
    padding: 5rem 0;
}

.videos-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #222;
}

.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}

.video-container {
    background-color: #000;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-card .card-title {
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}

.video-card .card-text {
    flex-grow: 1;
    font-size: 0.95rem;
}

.video-card .btn {
    width: fit-content;
}

/* Statistics Section */
.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #fff;
}

.contact-info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    transition: color 0.3s ease;
}

.contact-info-card:hover i {
    color: var(--primary-color) !important;
}

.contact-form {
    animation: fadeIn 0.8s ease;
}

.form-control-lg {
    border-radius: 10px;
    border: 2px solid #ddd;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.contact-form textarea.form-control-lg {
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.4s ease;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #222;
}

.accordion-button {
    font-weight: 600;
    color: #222;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.accordion-item {
    border: 2px solid #ddd;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.accordion-body {
    line-height: 1.8;
    color: #555;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1rem;
}

footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

footer p {
    line-height: 1.8;
    font-size: 0.95rem;
}

footer a {
    transition: color 0.3s ease;
}

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

footer hr {
    background-color: #333;
    border: none;
    height: 1px;
    margin: 2rem 0;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b58cc;
    border-color: #0b58cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-light:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Badge Styles */
.badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 56px);
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
    }

    .about-section h2,
    .videos-section h2,
    .faq-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .about-section img {
        height: auto;
        max-height: 400px;
    }

    .video-card {
        margin-bottom: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .lead {
        font-size: 1rem;
    }

    .contact-info-card {
        margin-bottom: 1.5rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .d-flex.gap-3 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .about-section {
        padding: 3rem 0;
    }

    .videos-section,
    .stats-section,
    .faq-section,
    .contact-section {
        padding: 3rem 0;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    footer .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .cta-section {
        display: none;
    }

    body {
        background-color: white;
    }
}
