/* CSS Variables */
:root {
    --primary-color: #0F2C4C;
    /* Deep Navy Blue */
    --secondary-color: #D32F2F;
    /* Alert Red */
    --accent-color: #4CAF50;
    /* Safety Green/Blueish */
    --warning-color: #FFC107;
    /* Bright Warning */
    --action-orange: #FF5722;
    /* Call to action */
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.center {
    text-align: center;
}

.text-primary {
    color: var(--secondary-color);
}

.text-danger {
    color: var(--secondary-color);
}

.text-highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.badge-warning {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: rgba(255, 193, 7, 0.2);
    color: #F57F17;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

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

.btn-secondary:hover {
    background-color: #0a1e36;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-cta {
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 30px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #FDFBFB 0%, #EBEDEE 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: rgba(15, 44, 76, 0.03);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(211, 47, 47, 0.1);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-actions {
    margin-bottom: 40px;
}

.scarcity-text {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-top: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-item i {
    color: var(--secondary-color);
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    position: relative;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    bottom: 30px;
    left: -30px;
}

.card-1 i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    text-align: center;
}

.quiz-container {
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-mascot {
    display: block;
    margin: 30px auto 0;
    width: 200px;
    position: relative;
    right: auto;
    bottom: auto;
    box-shadow: none;
    animation: float 4s ease-in-out infinite;
    background: transparent;
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.quiz-btn {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.quiz-btn:hover {
    border-color: var(--primary-color);
    background: rgba(15, 44, 76, 0.05);
}

.quiz-result {
    text-align: center;
}

.quiz-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--action-orange);
    margin: 20px 0;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.news-section::before {
    content: "";
    background-image: url('assets/news_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.news-header h2 {
    color: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.news-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.news-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.news-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.news-tag-alert {
    background: var(--secondary-color);
}

.news-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background: var(--white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.skill-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
    transition: var(--transition);
    text-align: center;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 44, 76, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(15, 44, 76, 0.05);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.skill-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
}

.skill-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: #F2F5F8;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.check-list {
    margin: 30px 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent-color);
    background: rgba(76, 175, 80, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

/* Program Section */
.program-section {
    padding: 100px 0;
    background: var(--white);
}

.accordion {
    max-width: 800px;
    margin: 50px auto 0;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-item:hover {
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 20px 30px;
    background: var(--white);
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #fafafa;
}

.day-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 20px;
}

.topic {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    flex-grow: 1;
}

.arrow {
    transition: transform 0.3s;
    color: var(--text-muted);
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fafafa;
}

.content-inner {
    padding: 20px 30px;
    color: var(--text-muted);
}

.content-inner ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.content-inner ul li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-sm);
}

.gallery-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Certificate Section */

.certificate-section {
    background: #FFF8E1;
    /* Gold tint */
    padding: 80px 0;
    text-align: center;
}

.certificate-container {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.cert-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F57F17;
    /* Gold Dark */
}

.cert-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}


/* Social Section */
.social-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.social-preview {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.insta-img {
    max-width: 300px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Footer */
#footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contacts h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contacts p {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-200%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-container,
    .about-container,
    .certificate-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .floating-card {
        display: none;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-contacts p {
        justify-content: center;
    }
}