/* ============================================
   SKILLZEN — Premium Landing Page Styles
   Bootstrap 5 + Custom CSS
============================================ */

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
    --accent: #1DD3B0;
    --accent-light: #48E5C2;
    --accent-dark: #0FA58B;
    --gradient-1: linear-gradient(135deg, #1DD3B0 0%, #48E5C2 100%);
    --gradient-2: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-bg: radial-gradient(circle at 15% 50%, rgba(29, 211, 176, 0.1), transparent 45%), radial-gradient(circle at 85% 30%, rgba(108, 92, 231, 0.12), transparent 45%), #05050f;
    --bg-primary: #05050f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    /* Increased from #a8a8bb for better visibility */
    --radius: 24px;
    --radius-sm: 14px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 8px 32px rgba(29, 211, 176, 0.25);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-bottom: 90px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ---------- Utility ---------- */
.text-accent {
    color: var(--accent-light) !important;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-accent {
    background: var(--gradient-1);
    color: var(--bg-primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-accent);
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(29, 211, 176, 0.5);
    color: var(--bg-primary);
}

.btn-accent:active {
    transform: translateY(0);
}

.text-muted {
    color: #94a3b8 !important;
    /* Brighter muted text */
}

.small {
    color: #cbd5e1 !important;
    /* Ensure small text is also visible */
}

.btn-outline-light {
    border-radius: 50px;
    font-weight: 600;
    border-width: 2px;
}

.section-padding {
    padding: 100px 0;
}

.section-dark {
    background: rgba(255, 255, 255, 0.02);
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-light);
    border: 1px solid var(--glass-border);
    background: var(--glass);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---------- Navbar ---------- */
#mainNav {
    padding: 12px 24px;
    transition: var(--transition);
    background: rgba(10, 10, 20, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: max-content;
    max-width: 95%;
    margin: 0 auto 24px auto;
    left: 0;
    right: 0;
    bottom: 0;
}

#mainNav.scrolled {
    background: rgba(10, 10, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 12px 24px;
}

.navbar-brand {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-2);
    border-radius: 8px;
    margin-right: 8px;
    font-size: 0.9rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff !important;
    background: var(--glass);
}

/* ---------- Hero ---------- */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(29, 211, 176, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(72, 229, 194, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.z-2 {
    z-index: 2;
}

.badge-glow {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 50px;
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(29, 211, 176, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(29, 211, 176, 0.4);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
}

/* Live Ticker */
.live-ticker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #00E676;
    border-radius: 50%;
    display: inline-block;
    animation: live-blink 1.5s ease-in-out infinite;
}

@keyframes live-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5);
    }

    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 8px rgba(0, 230, 118, 0);
    }
}

/* Hero Visual (Floating Cards) */
.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(29, 211, 176, 0.1);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(29, 211, 176, 0.2);
    animation: circle-float 6s ease-in-out infinite;
    backdrop-filter: blur(5px);
    z-index: -1;
}

.circle-text {
    font-family: 'Sora', sans-serif;
    font-size: 14rem;
    font-weight: 400;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.35;
    letter-spacing: -8px;
    filter: drop-shadow(0 0 40px rgba(29, 211, 176, 0.15));
}

@keyframes circle-float {

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

    50% {
        transform: scale(1.05) translateY(-15px);
    }
}

.floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    animation: card-float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.4rem;
    color: var(--accent-light);
}

.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 5%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 25%;
    left: 0%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 15%;
    right: 0%;
    animation-delay: 0.5s;
}

@keyframes card-float {

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

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

/* ---------- Stats Bar ---------- */
.stats-bar {
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.12) 0%, rgba(0, 206, 201, 0.08) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stat-item {
    padding: 10px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ---------- About ---------- */
.about-image-wrapper {
    position: relative;
}

.about-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: var(--radius);
    opacity: 0.15;
    top: 20px;
    left: 20px;
    z-index: 0;
}

.about-img {
    position: relative;
    z-index: 1;
}

.feature-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-mini i {
    font-size: 1.1rem;
}

/* ---------- Program Cards ---------- */
.program-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.program-card:hover::before {
    opacity: 1;
}

.program-icon {
    width: 56px;
    height: 56px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.program-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.program-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.program-duration,
.program-tag {
    font-size: 0.8rem;
    color: var(--accent-light);
    font-weight: 600;
}

.program-duration i,
.program-tag i {
    margin-right: 4px;
}

/* ---------- Internship ---------- */
.internship-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
}

.internship-card:hover {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.internship-icon {
    width: 52px;
    height: 52px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.internship-card h4 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.internship-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
}

.internship-detail:last-child {
    border-bottom: none;
}

.internship-detail>i {
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-top: 3px;
}

.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.included-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.included-list li:last-child {
    border-bottom: none;
}

.included-list li i {
    color: #00E676;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.testimonial-card .stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* ---------- Application Form ---------- */
.form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.form-info-panel {
    background: linear-gradient(135deg, #6C5CE7 0%, #2D1B69 100%);
    padding: 48px 36px;
    display: flex;
    align-items: center;
}

.form-info-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.form-info-panel p {
    font-size: 0.92rem;
    opacity: 0.85;
    line-height: 1.6;
}

.form-info-stats {
    margin-top: 28px;
}

.info-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.info-stat:last-child {
    border-bottom: none;
}

.info-stat i {
    font-size: 1.4rem;
    opacity: 0.8;
}

.info-stat strong {
    display: block;
    font-size: 1rem;
}

.info-stat span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.live-applicants {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    opacity: 0.8;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.form-panel {
    padding: 40px 36px;
}

/* Custom Form Controls */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.08) !important; /* Slightly more opaque */
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 14px 16px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.form-floating>label {
    color: #e2e8f0; /* Brighter resting label */
    font-size: 0.88rem;
    opacity: 0.8;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {
    color: var(--accent-light) !important;
    opacity: 1;
    font-weight: 600;
}

.form-select option {
    background: #1a1a3a;
    color: var(--text-primary);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border);
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-check-label {
    color: var(--text-secondary);
}

/* ---------- Success Modal ---------- */
.success-icon {
    font-size: 4rem;
    color: #00E676;
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.receipt-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-row span {
    color: var(--text-secondary);
}

/* ---------- Footer ---------- */
.footer-section {
    padding: 60px 0 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-links li {
    padding: 5px 0;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-links li {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}


/* ---------- Newsletter ---------- */
.newsletter-group {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.newsletter-group:focus-within {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    padding: 8px 16px;
    flex-grow: 1;
}

.newsletter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
============================================ */

/* Large tablets & small desktops */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

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

    .form-panel {
        padding: 30px 24px;
    }
}

/* Tablets */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section .btn-lg {
        font-size: 0.9rem;
        padding: 12px 24px !important;
    }

    .live-ticker {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .stats-bar {
        padding: 30px 0;
    }

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

    .section-title {
        font-size: 1.6rem;
    }

    .program-card,
    .internship-card,
    .testimonial-card {
        padding: 24px;
    }

    .form-panel {
        padding: 28px 20px;
    }
}

/* Phones */
@media (max-width: 575.98px) {
    .hero-section {
        text-align: center;
    }

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

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

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

    .live-ticker {
        font-size: 0.78rem;
    }

    .btn-accent.btn-lg,
    .btn-outline-light.btn-lg {
        width: 100%;
        text-align: center;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .about-shape {
        top: 10px;
        left: 10px;
    }

    .form-panel {
        padding: 24px 16px;
    }

    .form-floating>.form-control,
    .form-floating>.form-select {
        height: calc(3.5rem + 2px);
    }
}

/* Extra small phones */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }

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

/* ---------- Custom Accordion ---------- */
.custom-accordion .accordion-button {
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--accent-light) !important;
}

.custom-accordion .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.custom-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(0.6) sepia(1) saturate(3) hue-rotate(220deg);
}

.custom-accordion .accordion-body {
    padding: 0 0 20px 0;
    line-height: 1.8;
}

/* ---------- Helper Classes ---------- */
.hover-white:hover {
    color: #fff !important;
}

/* ---------- Utility Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}