/* NextGenZ Tech - Editorial Magazine Design System (Vermilion Theme) */

:root {
    /* Color Tokens (OKLCH mapping) */
    --paper-light: #FAF9F5; /* Warm off-white */
    --ink-light: #272727; /* Near-black */
    --paper-dark: #272727;
    --ink-dark: #FAF9F5;
    
    --primary: #FF4D00; /* Vermilion */
    --primary-light: #FF4D00;
    
    --border-light: rgba(39, 39, 39, 0.12);
    --border-dark: rgba(250, 249, 245, 0.12);
    
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--paper-light);
    color: var(--ink-light);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--paper-light);
}
::-webkit-scrollbar-thumb {
    background: var(--ink-light);
    border: 3px solid var(--paper-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Alternating Theme System */
.bg-light {
    background-color: var(--paper-light);
    color: var(--ink-light);
    --border: var(--border-light);
    --card-bg: rgba(0, 0, 0, 0.02);
    --btn-neutral-bg: var(--paper-light);
    --btn-neutral-border: var(--ink-light);
    --btn-neutral-text: var(--ink-light);
    --shadow-color: var(--ink-light);
}

.bg-dark {
    background-color: var(--paper-dark);
    color: var(--ink-dark);
    --border: var(--border-dark);
    --card-bg: rgba(255, 255, 255, 0.03);
    --btn-neutral-bg: var(--paper-dark);
    --btn-neutral-border: var(--ink-dark);
    --btn-neutral-text: var(--ink-dark);
    --shadow-color: var(--ink-dark);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
}

/* Section Header Labels */
.section-label {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

/* Headlines */
.editorial-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.015em;
    font-size: clamp(2.5rem, 8.5vw, 6.5rem);
    margin-bottom: 24px;
}

.section h2.editorial-title {
    margin-bottom: 40px;
    text-align: left;
}

/* Underline decoration */
.underline-vermilion {
    position: relative;
    display: inline-block;
}

.underline-vermilion::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 6px;
    background-color: var(--primary);
}

/* Section Spacing */
.section {
    padding: 120px 8%;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    line-height: 1.6;
}

/* Sticky Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    background: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

body.bg-dark-active header {
    background: rgba(39, 39, 39, 0.85);
    border-bottom: 1px solid var(--border-dark);
}
body.bg-dark-active header .logo h2 {
    color: var(--ink-dark);
}
body.bg-dark-active header .nav-links a {
    color: var(--ink-dark);
}
body.bg-dark-active header .hamburger span {
    background-color: var(--ink-dark);
}

.navbar {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: contain;
}

.logo h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--ink-light);
}

.logo h2 span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

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

/* MSME logo subtitle */
.logo-msme {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1px;
}

body.bg-dark-active .logo-msme {
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ink-light);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Blinking Status Dot */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-light);
    letter-spacing: 0.1em;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-block;
    animation: blinkDot 1.1s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 8% 100px;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--paper-light);
    color: var(--ink-light);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 700px;
    color: rgba(39, 39, 39, 0.8);
}

/* Ticker Banner Section */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--ink-light);
    color: var(--paper-light);
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.ticker {
    display: inline-flex;
    white-space: nowrap;
    animation: tickerMove 25s linear infinite;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
}

.ticker-item span {
    color: var(--primary);
}

@keyframes tickerMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Brutalist Card Style */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 36px 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 8px 8px 0 var(--primary);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

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

.feature-card {
    align-items: flex-start;
    text-align: left;
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 24px;
}

/* Domain Cards */
.domain-card {
    cursor: pointer;
    min-height: 160px;
}

.active-domain {
    border-color: var(--primary) !important;
    box-shadow: 8px 8px 0 var(--primary) !important;
    background-color: rgba(255, 77, 0, 0.05) !important;
}

/* Buttons Styles */
.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn:not(.secondary) {
    background-color: var(--primary);
    color: #FAF9F5; /* Warm White */
}

.btn:not(.secondary):hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--shadow-color);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--btn-neutral-border);
    color: var(--btn-neutral-text);
}

.btn.secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

/* Statistics Section (gap-px trick) */
.stats-section {
    padding: 0;
    background-color: var(--ink-light);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--border);
    gap: 1px;
}

.stat-card {
    background-color: var(--paper-dark);
    color: var(--ink-dark);
    padding: 60px 40px;
    text-align: center;
    border-radius: 0;
    border: none;
}

.stat-card:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.stat-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6.5vw, 6rem);
    line-height: 0.9;
    color: var(--primary);
    margin-bottom: 16px;
}

.stat-card p {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}



/* Testimonials Accordion / Carousel slider */
.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    gap: 30px;
}

.testimonial-card {
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: var(--primary);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    min-height: 90px;
}

.student-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FAF9F5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.student-info span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
}

/* Carousel navigation and dots styling */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ink-light);
    background: transparent;
    color: var(--ink-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

body.bg-dark-active .carousel-btn,
.bg-dark .carousel-btn {
    border-color: var(--ink-dark);
    color: var(--ink-dark);
}

.carousel-btn:hover {
    background-color: var(--primary);
    color: var(--paper);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--ink-light);
}

.bg-dark .carousel-btn:hover {
    box-shadow: 4px 4px 0 var(--ink-dark);
}

.carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--ink-light);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-dark .dot {
    border-color: var(--ink-dark);
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* Forms styling */
.glass-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 48px;
}

.form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form input:not([type="checkbox"]):not([type="radio"]),
.form select,
.form textarea {
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    color: inherit;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0);
}

/* Fix autofill overriding backgrounds in dark sections & modals */
.bg-dark .form input:-webkit-autofill,
.bg-dark .form input:-webkit-autofill:hover, 
.bg-dark .form input:-webkit-autofill:focus, 
.bg-dark .form input:-webkit-autofill:active,
.modal-overlay .form input:-webkit-autofill,
.modal-overlay .form input:-webkit-autofill:hover,
.modal-overlay .form input:-webkit-autofill:focus,
.modal-overlay .form input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #FAF9F5 !important;
}

/* Fix autofill overriding backgrounds in light sections */
.bg-light .form input:-webkit-autofill,
.bg-light .form input:-webkit-autofill:hover, 
.bg-light .form input:-webkit-autofill:focus, 
.bg-light .form input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #272727 !important;
}

.form input:not([type="checkbox"]):not([type="radio"]):hover,
.form select:hover,
.form textarea:hover {
    border-color: var(--primary);
    background-color: rgba(255, 77, 0, 0.02);
}

.form input:not([type="checkbox"]):not([type="radio"]):focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 6px 6px 0 var(--primary);
    transform: translateY(-2px);
    background-color: rgba(255, 77, 0, 0.04);
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4D00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.form select {
    color-scheme: light;
}

.form select option {
    background-color: var(--paper-light);
    color: var(--ink-light);
}

.bg-dark .form select {
    color-scheme: dark;
}

.bg-dark .form select option {
    background-color: var(--paper-dark);
    color: var(--ink-dark);
}

.form textarea {
    min-height: 120px;
    resize: vertical;
}

.form button[type="submit"] {
    width: 100%;
    padding: 18px;
    background-color: var(--primary);
    border: none;
    border-radius: 0.5rem;
    color: #FAF9F5;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form button[type="submit"]:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 0 var(--shadow-color);
}

/* Plan card layout inside form */
.plan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 16px 0 24px;
}

.plan-card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    border-color: var(--primary);
}

.plan-card.active-plan {
    border-color: var(--primary) !important;
    box-shadow: 6px 6px 0 var(--primary) !important;
    background-color: rgba(255, 77, 0, 0.05) !important;
}

.plan-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.plan-card .price {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1;
}

.plan-card ul {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.plan-card li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-card li i {
    color: var(--primary);
}

.recommended-badge {
    position: absolute;
    top: 8px;
    right: -32px;
    background: var(--primary);
    color: #FAF9F5;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-transform: uppercase;
}

/* File Upload styling */
.file-upload-container {
    width: 100%;
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-container:hover {
    border-color: var(--primary);
}

.file-upload-container.dragover {
    border-color: var(--primary);
    background: rgba(255, 77, 0, 0.04);
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.upload-area i {
    font-size: 2.5rem;
    color: var(--primary);
}

.upload-area p {
    font-size: 0.95rem;
    font-weight: 600;
}

.upload-area span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 77, 0, 0.05);
    border: 1px solid var(--primary);
    border-radius: 0.25rem;
    padding: 12px 16px;
}

.file-preview i {
    font-size: 1.4rem;
    color: var(--primary);
}

.file-preview span {
    font-size: 0.9rem;
    font-weight: 600;
}

.file-preview .remove-file {
    margin-left: auto;
    cursor: pointer;
    color: var(--text-muted);
}

.file-preview .remove-file:hover {
    color: var(--primary);
}

.upload-progress-container {
    width: 100%;
    height: 4px;
    background: var(--border);
    margin-top: 12px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 0;
}

/* FAQ Accordion layout */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.95rem;
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
    border-radius: 30px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
}

.faq-question .icon {
    font-size: 0.95rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.35s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* About Section text */
.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Contact layout */
/* ========================================================================= */
/*                   PREMIUM CONTACT SECTION (REPLACES FOOTER)               */
/* ========================================================================= */
.contact-premium {
    padding: 120px 8% !important;
    background: #FFFFFF !important;
    color: #111111;
}

.contact-premium-container {
    max-width: 1280px;
    margin: 0 auto;
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 80px;
    margin-bottom: 64px;
}

.contact-left .contact-subtitle {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-card {
    background: #FFFFFF;
    border-radius: 18px;
    border: 1px solid #EAEAEA;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: #FF5A1F;
    box-shadow: 0 16px 48px rgba(255, 90, 31, 0.15);
}

.card-icon {
    font-size: 24px;
    color: #FF5A1F;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.card-content p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
    word-break: break-word;
}

.social-links-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-links-inline a {
    color: #666666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.social-links-inline a:hover {
    color: #FF5A1F;
}

/* Founder Card */
.founder-card-premium {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    border: 1px solid #ECECEC;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(0,0,0,0.12);
}

.founder-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.founder-card-premium:hover .founder-avatar {
    transform: scale(1.03);
}

.founder-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #FF5A1F;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 8px;
}

.founder-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: #111111;
}

.founder-subtitle {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.4;
}

.founder-description {
    font-size: 0.95rem;
    color: #444444;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 32px;
}

.founder-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.founder-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #FF5A1F;
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #999999;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: #EAEAEA;
}

.founder-team-names {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    margin-top: 32px;
    margin-bottom: 24px;
}

.founder-team-member {
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-team-label {
    white-space: nowrap;
    font-family: var(--font-mono);
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.founder-team-person {
    white-space: nowrap;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #111111;
    font-weight: 400;
}

.founder-quote {
    font-size: 0.9rem;
    color: #999999;
    margin: 0;
}

/* Bottom Row */
.contact-divider {
    border: none;
    border-top: 1px solid #EAEAEA;
    margin-bottom: 32px;
}

.contact-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-bottom-row p, .bottom-links a {
    font-size: 0.85rem;
    color: #999999;
    margin: 0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bottom-links {
    display: flex;
    gap: 24px;
}

.bottom-links a:hover {
    color: #FF5A1F;
}

/* Staggered Animations */
.contact-premium.revealed .contact-card {
    animation: fadeUpSpring 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}
.contact-premium.revealed .contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-premium.revealed .contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-premium.revealed .contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-premium.revealed .contact-card:nth-child(4) { animation-delay: 0.4s; }

.contact-premium.revealed .founder-avatar {
    animation: fadeScaleIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.1s;
    opacity: 0;
    transform: scale(0.8);
}

.contact-premium.revealed .founder-label,
.contact-premium.revealed .founder-name,
.contact-premium.revealed .founder-subtitle,
.contact-premium.revealed .founder-description,
.contact-premium.revealed .founder-quote {
    animation: fadeUpSpring 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.contact-premium.revealed .founder-stat:nth-child(1) {
    animation: fadeUpSpring 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}
.contact-premium.revealed .founder-stat:nth-child(3) {
    animation: fadeUpSpring 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.contact-premium.revealed .founder-team-names {
    animation: fadeUpSpring 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

@keyframes fadeUpSpring {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeScaleIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid-premium {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-left .contact-subtitle {
        max-width: 100%;
    }
    .founder-avatar {
        width: 150px;
        height: 150px;
    }
    .founder-team-label {
        font-size: 16px;
    }
    .founder-team-person {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .contact-premium {
        padding: 80px 5% !important;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .founder-card-premium {
        padding: 24px;
    }
    .founder-avatar {
        width: 120px;
        height: 120px;
    }
    
    .founder-team-names {
        flex-direction: column;
        gap: 24px;
    }
    .founder-team-member {
        width: 100%;
    }
    .founder-team-person {
        white-space: normal;
    }

    .contact-bottom-row {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .bottom-links {
        justify-content: center;
    }
    
    /* Responsive form fields */
    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .form-grid-2 *, .form-grid-3 * {
        grid-column: span 1 !important;
    }
}

/* Privacy Modal overlay and modal content */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(39, 39, 39, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    width: 90%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    background-color: var(--paper-light);
    color: var(--ink-light);
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
}

body.bg-dark-active .modal-content {
    background-color: var(--paper-dark);
    color: var(--ink-dark);
    border-color: var(--border-dark);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin: 20px 0 10px;
}

.modal-body h4 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 14px 0 6px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 12px;
}

.modal-body li {
    margin-bottom: 4px;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.privacy-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
}

.privacy-checkbox-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modal-actions .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: 8px;
}

.btn-disabled {
    opacity: 0.4;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Animations Trigger */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Notification toast */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 20px 30px;
    background: var(--paper-dark);
    color: var(--ink-dark);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    box-shadow: 8px 8px 0 var(--primary);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.notification.show {
    transform: translateX(0);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .section {
        padding: 90px 6%;
    }
    
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 80px);
        background: var(--paper-light);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }
    
    body.bg-dark-active .nav-links {
        background: var(--paper-dark);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .hero {
        padding-top: 140px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-col:first-child {
        grid-column: span 2;
    }
    
    /* Responsive form fields on tablet/mobile */
    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .form-grid-2 *, .form-grid-3 * {
        grid-column: span 1 !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 4%;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 20px;
    }
    .hero {
        padding: 120px 20px 60px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .plan-cards {
        grid-template-columns: 1fr;
    }
    .glass-form {
        padding: 24px;
    }
    .faq-question {
        padding: 20px 24px;
        font-size: 0.95rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col:first-child {
        grid-column: span 1;
    }
    .modal-content {
        padding: 24px;
    }
}
/* Custom Modals (Privacy & Terms) */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 250ms ease, visibility 250ms ease;
}

.custom-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-modal-content {
    background: #ffffff;
    width: 850px;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    position: relative;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 250ms ease, transform 250ms ease;
}

.custom-modal-overlay.show .custom-modal-content {
    opacity: 1;
    transform: scale(1);
}

.custom-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.custom-modal-close:hover {
    color: var(--primary);
}

.custom-modal-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 8px;
    margin-top: 0;
}

.custom-modal-header .modal-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.custom-modal-body h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-color);
    margin-top: 24px;
    margin-bottom: 12px;
}

.custom-modal-body h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 700;
}

.custom-modal-body p, .custom-modal-body ul {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
}

.custom-modal-body ul {
    padding-left: 24px;
}

.custom-modal-body li {
    margin-bottom: 8px;
}

.modal-important {
    background: #FFF5F1;
    padding: 16px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

/* Checkbox container in form */
.terms-checkbox-container {
    margin-top: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.terms-checkbox-container input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.terms-checkbox-container label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color);
    cursor: pointer;
}

.policy-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.policy-link:hover {
    color: var(--primary);
}

.policy-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.policy-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 1024px) {
    .custom-modal-content {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .custom-modal-content {
        width: 95%;
        padding: 18px;
    }
    .custom-modal-header h2 {
        font-size: 1.8rem;
    }
}

/* Star Rating */
.star-rating i {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted); /* Inactive grey */
    transition: color 0.2s ease, transform 0.2s ease;
    margin-right: 4px;
}
.star-rating i.active,
.star-rating i.hover {
    color: #F5A623; /* Active yellow */
}
.star-rating i:hover {
    transform: scale(1.1);
}

/* Theme Swap Specific Overrides */

/* Section 05: Student Feedback (now bg-light) */
#testimonials.bg-light .testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 24px;
    border-radius: 12px;
}
#testimonials.bg-light .stars {
    color: #F5A623;
}

/* Section 06: Submit Review (now bg-dark) */
#leave-review.bg-dark .form input::placeholder,
#leave-review.bg-dark .form textarea::placeholder {
    color: #888888;
    opacity: 1;
}

/* Section 07: Apply Now (now bg-light) */
#apply.bg-light .glass-form {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
#apply.bg-light .form input,
#apply.bg-light .form select,
#apply.bg-light .form textarea {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.15);
    color: #111111;
}
#apply.bg-light .form input::placeholder,
#apply.bg-light .form textarea::placeholder {
    color: #666666;
    opacity: 0.8;
}
