@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #05070A;
    --surface-color: #12151C;
    --primary-color: #FF9F00;
    --secondary-color: #00D26A;
    --festive-red: #E63946;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --nav-bg: rgba(5, 7, 10, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glow-color: rgba(255, 159, 0, 0.5);
}

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

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

/* Snowfall Animation */
.snowflake {
    position: fixed;
    top: -20px;
    color: white;
    user-select: none;
    pointer-events: none;
    z-index: 9999;
    animation: fall linear forwards;
}

.logo-snow {
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(255, 159, 0, 0.5));
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(360deg);
    }
}

/* New Year Decorations */
.festive-icon {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

.christmas-tree {
    position: absolute;
    font-size: 8rem;
    bottom: -20px;
    right: -20px;
    filter: drop-shadow(0 0 20px rgba(0, 210, 106, 0.3));
    z-index: 2;
}

.gift-box {
    position: absolute;
    font-size: 3rem;
    bottom: 20px;
    left: -10px;
    animation: wiggle 3s infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links a {
    margin: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
}

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

/* Hero */
.hero {
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-visual-container {
    position: relative;
    padding: 40px;
}

.hero-svg {
    width: 100%;
    filter: blur(40px);
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: radial-gradient(circle at bottom left, #0f172a 0%, var(--bg-color) 70%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-features li {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Modern Courses Section */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.course-item {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 159, 0, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.course-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 159, 0, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.course-item:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.course-item:hover .card-icon {
    background: var(--primary-color);
    color: #000;
    transform: rotate(-5deg) scale(1.1);
}

.card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
}

.course-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.course-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.meta-item span {
    color: #fff;
}

.btn-enroll-modern {
    width: 100%;
    padding: 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-enroll-modern:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* Category Specific Colors */
.course-item[data-cat="tech"]:hover {
    border-color: #00D26A;
}

.course-item[data-cat="tech"]:hover .card-icon {
    background: #00D26A;
}

.course-item[data-cat="design"]:hover {
    border-color: #E63946;
}

.course-item[data-cat="design"]:hover .card-icon {
    background: #E63946;
}

.course-item[data-cat="lang"]:hover {
    border-color: #4CC9F0;
}

.course-item[data-cat="lang"]:hover .card-icon {
    background: #4CC9F0;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.course-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 159, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-info h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.course-duration {
    background-color: #1a1e26;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--secondary-color);
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.course-specs {
    display: flex;
    list-style: none;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.course-specs li::before {
    content: '•';
    margin-right: 8px;
    color: var(--primary-color);
}

.btn-enroll-alt {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-enroll-alt:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--surface-color);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

@keyframes rotate-glow {
    100% {
        transform: rotate(360deg);
    }
}

.form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form .form-select {
    width: 100%;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 159, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 159, 0, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.btn-primary.w-full {
    position: relative;
    overflow: hidden;
}

.btn-primary.w-full:hover {
    background-color: #ffb700;
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

/* Success Animation */
@keyframes success-pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message {
    text-align: center;
    padding: 40px;
    animation: success-pop 0.5s ease-out forwards;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Global Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    position: relative;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    text-decoration: none;
    color: #000;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.w-full {
    width: 100%;
}

/* Contact Section Enhancements */
.contact {
    position: relative;
    background: radial-gradient(circle at top right, #1a2a44 0%, var(--bg-color) 70%);
    overflow: hidden;
}

.snow-drift {
    display: none;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 80px 60px !important;
    border-radius: 40px !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    margin: 50px 0;
}

.form-ornament {
    position: absolute;
    font-size: 2rem;
    opacity: 0.5;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}

.ornament-left {
    top: 30px;
    left: 30px;
}

.ornament-right {
    bottom: 30px;
    right: 30px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

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

/* Footer Enhancements */
.footer {
    position: relative;
    background: #020408 !important;
    padding: 80px 0 40px !important;
    color: var(--text-primary);
    overflow: hidden;
    border-top: none !important;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-snow {
    display: none;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-slogan {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icons a:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: rgba(255, 159, 0, 0.1);
    color: var(--primary-color);
}

.footer-contact h4,
.footer-hours h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: #fff;
}

.footer-contact p,
.footer-hours p {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
}

.footer-lights {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 210, 106, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .course-header {
        flex-direction: column;
    }

    .course-duration {
        margin-top: 15px;
    }

    .course-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
/* Timer Section */
.timer-section {
    padding: 60px 0 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 210, 106, 0.1) 0%, transparent 70%);
}

.timer-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 106, 0.3);
    display: inline-block;
    box-shadow: 0 0 30px rgba(0, 210, 106, 0.1);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block span {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 20px rgba(0, 210, 106, 0.5);
    font-variant-numeric: tabular-nums;
}

.time-block label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Loader */
.loader-container {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1 / -1;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Responsive & Mobile Menu --- */

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

.nav-mobile-cta {
    display: none;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(5, 7, 10, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 100px;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

  
/* 
    .nav-links a::before {
        color: white;
    }

      .nav-links a::after {
      
    } */

    .nav-links a {
        margin: 16px 0;
        font-size: 1.5rem;
        color: white;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        justify-content: center;
    }


    .desktop-btn {
        display: none;
    }

    .nav-mobile-cta {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr; 
    }

    .course-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .course-duration {
        margin-top: 15px;
        display: inline-block;
    }

    .course-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .contact-form-wrapper {
        padding: 40px 20px !important;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    .countdown {
        gap: 15px;
    }
    .time-block span {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }

    .about-section {
        padding: 60px 0;
    }

    .stat-item .stat-num {
        font-size: 2.5rem !important;
    }
    
    .footer-content {
        gap: 40px;
    }
}
