:root {
    --maroon: #800000;
    --peach: #FFDAB9;
    --royal-blue: #4169E1;
    --dark: #121212;
    --light: #f5f5f7;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --neon-blue: #00f7ff;
    --neon-pink: #ff00ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Glass effect */
.glass-effect {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
header {
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 18, 18, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--royal-blue), var(--maroon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--maroon), var(--royal-blue));
    box-shadow: 0 8px 32px rgba(128, 0, 0, 0.4);
    position: relative;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-icon i {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 1.8rem;
    color: var(--peach);
}

.logo span {
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--maroon), var(--royal-blue));
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--maroon), var(--royal-blue));
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.btn-outline:hover {
    color: var(--dark);
    border-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--maroon), var(--royal-blue));
    color: var(--light);
    box-shadow: 0 8px 24px rgba(65, 105, 225, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(65, 105, 225, 0.5);
    transform: translateY(-5px);
}

/* Hero Section */
.hero {
    padding: 8rem 5% 6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.1) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    max-width: 900px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light), var(--royal-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    color: var(--royal-blue);
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
}

section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--royal-blue), var(--peach));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(to right, var(--maroon), var(--royal-blue));
    border-radius: 5px;
}

.section-title p {
    color: #b0b0b0;
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.2rem;
}

/* Profile Section */
.profile-section {
    display: flex;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    margin: 4rem 0;
}

.profile-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    max-width: 450px;
}

.profile-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.profile-content {
    flex: 2;
}

.profile-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--royal-blue), var(--light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-container {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.teaching-method {
    padding: 4rem;
    border-radius: 20px;
    border-left: 6px solid var(--royal-blue);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    transition: 0.4s;
    text-align: center;
    border-top: 5px solid var(--royal-blue);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(65, 105, 225, 0.1), transparent);
    transition: height 0.4s ease;
    z-index: -1;
}

.feature-card:hover::after {
    height: 100%;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--royal-blue), var(--maroon));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    padding: 2.5rem;
    position: relative;
    border-left: 4px solid var(--royal-blue);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--maroon), var(--royal-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--peach);
}

.testimonial-rating {
    color: gold;
    margin: 0.5rem 0;
}

.testimonial-rating i {
    margin-right: 3px;
}

/* Review Form Section */
.review-form-section {
    position: relative;
    overflow: hidden;
}

.review-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
}

.review-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(128, 0, 0, 0.1) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.form-header p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.review-form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.review-form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--peach);
}

.review-form-group input,
.review-form-group textarea,
.review-form-group select {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 30, 0.7);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.review-form-group input:focus,
.review-form-group textarea:focus,
.review-form-group select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.3);
}

.review-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.rating-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.rating-star {
    font-size: 2.5rem;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.rating-star::before {
    content: '\f005';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.rating-star.active,
.rating-star:hover {
    color: gold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
    transform: scale(1.2);
}

.rating-value {
    display: none;
}

.review-form-row {
    display: flex;
    gap: 1.5rem;
}

.review-form-row .review-form-group {
    flex: 1;
}

.submit-review-btn {
    width: 100%;
    padding: 1.3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1rem;
    box-shadow: 0 5px 25px rgba(0, 247, 255, 0.4);
}

.submit-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.submit-review-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 247, 255, 0.6);
}

.submit-review-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: rgba(0, 247, 255, 0.2);
}

.grid-horizontal {
    width: 100%;
    height: 1px;
    left: 0;
    animation: gridMove 30s linear infinite;
}

.grid-vertical {
    height: 100%;
    width: 1px;
    top: 0;
    animation: gridMove 25s linear infinite reverse;
}

@keyframes gridMove {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-100%) translateX(-100%);
    }
}

.neon-border {
    position: absolute;
    pointer-events: none;
    border-radius: 16px;
    box-shadow: 0 0 15px var(--neon-blue),
        0 0 30px rgba(0, 247, 255, 0.3),
        inset 0 0 15px rgba(0, 247, 255, 0.2);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 15px var(--neon-blue),
            0 0 30px rgba(0, 247, 255, 0.3),
            inset 0 0 15px rgba(0, 247, 255, 0.2);
    }

    100% {
        opacity: 0.9;
        box-shadow: 0 0 25px var(--neon-blue),
            0 0 50px rgba(0, 247, 255, 0.5),
            inset 0 0 25px rgba(0, 247, 255, 0.3);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: particleMove 15s linear infinite;
    opacity: 0.5;
}

@keyframes particleMove {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.confirmation {
    display: none;
    text-align: center;
    padding: 3rem;
}

.confirmation i {
    font-size: 5rem;
    color: var(--neon-blue);
    margin-bottom: 2rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

.confirmation h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.confirmation p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #e0e0e0;
}

.back-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--neon-blue);
}

.back-btn:hover {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.4);
}

/* Signup Form */
.signup-form {
    background: rgba(30, 30, 40, 0.95);
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 30, 0.8);
    color: var(--light);
    font-size: 1rem;
}

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

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.modal-content {
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    position: relative;
}

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

.close-modal:hover {
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--royal-blue), var(--peach));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    padding: 6rem 5% 3rem;
    margin-top: 6rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--royal-blue), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background: linear-gradient(to right, var(--maroon), var(--royal-blue));
    border-radius: 3px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--royal-blue);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass);
    color: var(--light);
    transition: 0.4s;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--maroon), var(--royal-blue));
    color: var(--light);
    transform: translateY(-5px);
    border-color: transparent;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
}

/* Alerts */
.alert {
    padding: 15px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.alert-error {
    background: #ff6b6b;
    color: white;
}

.alert-success {
    background: #4CAF50;
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .profile-section {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.3rem;
    }

    nav ul {
        display: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .review-form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-header h2 {
        font-size: 2.2rem;
    }

    .rating-star {
        font-size: 2rem;
    }
}

/* Additional utility classes */
.class-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--royal-blue);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(65, 105, 225, 0.3);
}

.review-item {
    border-left: 4px solid var(--neon-blue);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateX(5px);
}

.error {
    color: #ff6b6b;
    font-weight: 500;
}