:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #38bdf8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
    background: var(--primary-dark);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Typography Helpers */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
}

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

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

.nav-links a:not(.btn) {
    color: var(--text-main);
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 150px;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/images/hero.png');
    background-size: cover;
    background-position: center 20%;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    pointer-events: none;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-card i {
    color: #fbbf24;
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
}

.section-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

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

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.features-list i {
    color: var(--primary);
}

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

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

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

.info-card h3 {
    margin-bottom: 12px;
}

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

/* Program Overview */
.program-overview {
    padding: var(--section-padding);
}

.overview-banner {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 60px;
    border-radius: 30px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.overview-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.overview-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.overview-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.program-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.program-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

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

.course-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.course-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image-wrapper img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: 700;
    gap: 8px;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.course-body h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.course-list {
    margin-top: auto;
    padding-top: 20px;
    list-style: none;
    border-top: 1px solid #f1f5f9;
}

.course-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.course-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.course-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-list li {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-list li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

/* Why Choose Us */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-item {
    text-align: center;
}

.why-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(10deg);
}

.why-item h3 {
    margin-bottom: 12px;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Community Preview */
.community-preview {
    padding: var(--section-padding);
    background: #f8fafc;
}

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

.community-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.community-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.community-info {
    padding: 20px;
    text-align: center;
}

.community-card h4 {
    margin-bottom: 5px;
}

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

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.avatar-icon {
    width: 50px;
    height: 50px;
    background: #e2e8f0;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-info strong {
    display: block;
    color: var(--secondary);
}

.student-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(37, 99, 235, 0.05);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

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

.price-tag {
    margin: 40px 0;
}

.currency {
    font-size: 2rem;
    vertical-align: top;
    font-weight: 700;
}

.amount {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.pricing-features {
    margin: 30px 0 40px;
    text-align: left;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
        margin-top: 20px;
    }
}

/* Student Portal */
.student-portal {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.portal-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.portal-lookup {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.portal-lookup input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: border-color 0.3s ease;
}

.portal-lookup input:focus {
    border-color: var(--primary);
}

.portal-result {
    text-align: left;
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    animation: fadeIn 0.5s ease;
}

.portal-result h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 700;
    color: var(--secondary);
}

.result-value {
    color: var(--text-muted);
}

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

@media (max-width: 600px) {
    .portal-lookup {
        flex-direction: column;
    }
}

.deposit-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Contact / Enrollment */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: var(--secondary);
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-content p {
    opacity: 0.7;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu logic needed in JS */
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .course-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    .pricing-card {
        padding: 40px 20px;
    }
    .amount {
        font-size: 4rem;
    }
}

/* Modal System */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    padding: 40px;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--secondary);
}

.modal-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Student Grid */
.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.student-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.student-item:hover {
    transform: translateY(-5px);
}

.student-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary);
}

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

.student-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.student-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.view-profile {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem !important;
}

/* Student Profile Modal Specifics */
.student-profile .profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--bg-light);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.profile-info h2 {
    margin-bottom: 5px !important;
}

.profile-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

#p-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    white-space: pre-line;
}

.profile-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
}

.profile-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.p-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.p-contact-item i {
    color: var(--primary);
    width: 18px;
}

/* Syllabus Styles */
.syllabus-modal .modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.syllabus-modal .modal-header i {
    color: var(--primary);
}

.syllabus-section {
    margin-bottom: 30px;
}

.syllabus-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.syllabus-section ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.syllabus-section li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.syllabus-section li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
}

/* Clickable Cards */
.clickable {
    cursor: pointer;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-overlay span {
    color: var(--white);
    font-weight: 700;
    border: 2px solid var(--white);
    padding: 8px 16px;
    border-radius: 8px;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

/* Community Hub Link */
.nav-classroom {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.nav-classroom i {
    width: 18px;
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-btns {
        flex-direction: column;
    }
    .about-cards {
        grid-template-columns: 1fr;
    }
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #FFF;
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Success Modal Styles */
.success-modal {
    text-align: center;
    padding: 50px 40px !important;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.id-display-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 16px;
    margin: 30px 0;
    border: 2px dashed var(--primary-light);
}

.id-display-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.id-display-card h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 10px 0;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
}

.next-steps {
    text-align: left;
    margin-bottom: 30px;
}

.next-steps h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.next-steps ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.next-steps i {
    color: var(--primary);
    width: 18px;
}

/* Portal Result Styling */
.portal-result {
    margin-top: 30px;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-weight: 600;
    color: var(--text-muted);
}

.result-value {
    font-weight: 500;
    color: var(--secondary);
}

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

/* --- Classroom & Community Hub Styles --- */
.classroom-container {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    height: 100vh;
    background: #0f172a; /* Dark base for glassmorphism */
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-light);
    font-family: 'Outfit', sans-serif;
}

.channels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.channel-item {
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    font-weight: 500;
}

.channel-item.active {
    background: var(--gradient-primary);
    opacity: 1;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.channel-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
}

/* Chat Area */
.chat-area {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    position: relative;
}

.chat-header {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.chat-header h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.messages {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    scroll-behavior: smooth;
}

.message {
    display: flex;
    gap: 16px;
    max-width: 85%;
    animation: fadeIn 0.4s ease-out;
}

.msg-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.msg-content {
    background: #f1f5f9;
    padding: 16px 20px;
    border-radius: 4px 20px 20px 20px;
    position: relative;
}

.msg-user {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: block;
    color: var(--primary);
}

.msg-text {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.chat-input {
    padding: 24px 40px;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
}

.chat-input input {
    flex: 1;
    padding: 14px 24px;
    border: 2px solid #f1f5f9;
    border-radius: 14px;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.chat-input input:focus {
    border-color: var(--primary-light);
}

/* Right Panel */
.right-panel {
    padding: 30px;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.panel-section {
    margin-bottom: 40px;
}

.panel-section h3 {
    font-size: 0.85rem;
    margin-bottom: 24px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.back-link {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

@media (max-width: 1024px) {
    .classroom-container {
        grid-template-columns: 1fr;
    }
    .sidebar, .right-panel {
        display: none;
    }
}
