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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/*  NAVBAR  */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

.nav-container {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.logo h1 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.65rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/*  HOME SECTION  */
.home-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.home-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Background 2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.home-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.home-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.typing-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: #fff;
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

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

.home-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.8;
}

.home-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    text-align: center;
}

.scroll-arrow {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 25px;
    position: relative;
    margin: 0 auto;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
}

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

/* ABOUT SECTION  */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/*  TEACHER CARD */
.teacher-showcase {
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.teacher-showcase {
    animation: slideUpInSection 0.8s ease forwards;
}

.teacher-card-modern {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpIn 0.8s ease forwards;
}

.teacher-card-modern:hover {
    transform: translateY(-10px);
}

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

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

.teacher-card-modern:hover {
    transform: translateY(-10px);
}

.teacher-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -50px;
    right: -50px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    top: 50px;
    right: 100px;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: 150px;
    right: 50px;
}

.teacher-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 4px solid;
    border-color: #667eea #764ba2 #f093fb #667eea;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.teacher-avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    position: relative;
}

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

.teacher-avatar i {
    position: absolute;
    z-index: 1;
}

.teacher-avatar:has(img) i {
    display: none;
}

.avatar-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.teacher-info {
    text-align: center;
}

.teacher-label {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.teacher-info h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.teacher-subject {
    font-size: 1.1rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.teacher-quote-box {
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 2rem;
    color: #667eea;
    opacity: 0.3;
}

.teacher-quote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    padding-left: 2rem;
}

.teacher-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* STUDENTS GRID*/
.students-showcase {
    margin-top: 5rem;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.students-showcase {
    animation: slideUpInSection 0.8s ease forwards;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.showcase-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.students-grid-creative {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.student-card-creative {
    position: relative;
    background: #fff;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    animation: popInUp 0.6s ease forwards;
}

.student-card-creative:nth-child(1) { animation-delay: 0s; }
.student-card-creative:nth-child(2) { animation-delay: 0.1s; }
.student-card-creative:nth-child(3) { animation-delay: 0.2s; }
.student-card-creative:nth-child(4) { animation-delay: 0.3s; }
.student-card-creative:nth-child(n+5) { animation-delay: 0.4s; }

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

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-style-1 {
    border: 2px solid #667eea;
}

.card-style-1 .card-glow {
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
}

.card-style-2 {
    border: 2px solid #764ba2;
}

.card-style-2 .card-glow {
    background: radial-gradient(circle at center, rgba(118, 75, 162, 0.2) 0%, transparent 70%);
}

.card-style-3 {
    border: 2px solid #f093fb;
}

.card-style-3 .card-glow {
    background: radial-gradient(circle at center, rgba(240, 147, 251, 0.2) 0%, transparent 70%);
}

.student-card-creative:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.student-card-creative:hover .card-glow {
    opacity: 1;
}

.student-avatar-creative {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.student-avatar-creative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.student-avatar-creative i {
    position: relative;
    z-index: 1;
}

.student-avatar-creative:has(img) i {
    display: none;
}

.card-style-1 .student-avatar-creative {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-style-2 .student-avatar-creative {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
}

.card-style-3 .student-avatar-creative {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}



.avatar-number {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2c3e50;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    z-index: 2;
}

.student-info-creative h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.student-role {
    display: inline-block;
    font-size: 0.85rem;
    color: #666;
    padding: 0.2rem 0.8rem;
    background: #f5f7fa;
    border-radius: 15px;
}

/*  MEMORIES SECTION  */
.memories-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.memories-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.memories-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memories-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.memories-section .container {
    position: relative;
    z-index: 1;
}

.photo-scroll-container {
    margin: 4rem 0;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.photo-scroll {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: slide 30s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.photo-item {
    flex-shrink: 0;
    width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

/*  CONTACT SECTION  */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.contact-icon {
    font-size: 2.5rem;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-details a:hover {
    color: #764ba2;
    transform: translateX(5px);
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

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

.submit-box {
    margin-top: 2rem;
    text-align: center;
}

.submit-box .btn-primary {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.submit-box .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: #667eea;
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom i {
    color: #e74c3c;
}

/* BUTTON CONTAINER */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    width: 100%;
}

/* Button */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px; 
    height: 65px; 
    border-radius: 15px; 
    border: 2px solid #fff; 
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease-in;
    z-index: 1;
    cursor: pointer;
    background: transparent;
}

button::before,
button::after {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 100%;
    transform: skew(15deg);
    transition: all 0.5s;
    overflow: hidden;
    z-index: -1;
}

button::before {
    left: -10px;
    background: #667eea;
}

button::after {
    right: -10px;
    background: #764ba2;
}

button:hover::before,
button:hover::after {
    width: 58%;
}

button:hover span {
    color: #fff;
    transition: 0.3s;
    transform: scale(1.05);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(3, 4, 94, 0.3);
}

button span {
    color: #fff;
    font-size: 20px; 
    font-weight: 600;
    transition: all 0.3s ease-in;
    display: inline-block;
}

/* Responsive */
@media screen and (max-width: 768px) {
    button {
        width: 200px;
        height: 60px;
    }
    
    button span {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    button {
        width: 180px;
        height: 55px;
    }
    
    button span {
        font-size: 16px;
    }
}

/*  RESPONSIVE DESIGN  */
@media screen and (max-width: 1024px) {
    .students-grid-creative {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1.2rem;
    }
}

@media screen and (max-width: 991px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        width: calc(100% - 40px);
        top: 15px;
        border-radius: 30px;
    }

    .nav-container {
        padding: 0.75rem 1.5rem;
        flex-wrap: wrap;
    }

    .nav-menu {
        position: absolute;
        left: 0;
        top: 100%;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        gap: 0.5rem;
        border-radius: 0 0 30px 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        margin-top: 15px;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .typing-text {
        font-size: 2.5rem;
        min-height: 80px;
    }

    .home-subtitle {
        font-size: 1.1rem;
    }

    .students-grid-creative {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .teacher-card-modern {
        padding: 2rem;
    }

    .teacher-avatar-wrapper {
        width: 120px;
        height: 120px;
    }

    .teacher-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .avatar-ring {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }

    .teacher-info h3 {
        font-size: 1.5rem;
    }

    .student-avatar-creative {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .avatar-number {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

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

    .contact-icon {
        margin-bottom: 1rem;
        font-size: 2rem;
        min-width: 50px;
        height: 50px;
    }

    .contact-form {
        padding: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        width: calc(100% - 20px);
        top: 10px;
        border-radius: 25px;
    }

    .typing-text {
        font-size: 1.8rem;
        min-height: 60px;
    }

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

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .students-grid-creative {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .photo-item {
        width: 250px;
    }

    .photo-item img {
        height: 200px;
    }

    .teacher-card-modern {
        padding: 1.5rem;
    }

    .teacher-avatar-wrapper {
        width: 100px;
        height: 100px;
    }

    .teacher-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .teacher-info h3 {
        font-size: 1.3rem;
    }

    .showcase-title {
        font-size: 1.5rem;
    }

    .student-card-creative {
        padding: 1rem;
    }

    .student-avatar-creative {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .student-info-creative h4 {
        font-size: 1rem;
    }

    .avatar-number {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-item {
        padding: 1.2rem;
    }

    .contact-icon {
        font-size: 1.8rem;
        min-width: 45px;
        height: 45px;
    }

    .contact-form {
        padding: 1.5rem;
        border-radius: 20px;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 10px 15px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-box {
        margin-top: 1.5rem;
    }

    .submit-box .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
