/* ============================================
   CUTE & VIBRANT STYLES FOR SUMMER PROJECT
   ============================================ */

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

:root {
    /* Pastel Color Palette */
    --primary-bg: #E8F4F8;
    --secondary-bg: #F0F9FF;
    --accent-yellow: #FFD93D;
    --accent-orange: #FF8C42;
    --accent-pink: #FF6B9D;
    --accent-green: #6BCB77;
    --accent-blue: #4D96FF;
    --accent-purple: #9B59B6;
    --text-dark: #2C3E50;
    --text-light: #546E7A;
    --white: #FFFFFF;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffd89b 100%);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #FFFFFF;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.nav-links a.active {
    background: rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* ============================================
   HERO SECTION (HOMEPAGE)
   ============================================ */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffd89b 100%);
    background-size: 400% 400%;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge-school,
.badge-grade {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: float 3s ease-in-out infinite;
}

.badge-school {
    animation-delay: 0s;
}

.badge-grade {
    animation-delay: 0.5s;
}

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

.avatar-placeholder {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

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

.hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    color: #FFFFFF;
    opacity: 1;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

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

/* ============================================
   ABOUT ME SECTION
   ============================================ */
.about-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-hobbies { border-top: 5px solid var(--accent-pink); }
.card-goal { border-top: 5px solid var(--accent-orange); }
.card-subject { border-top: 5px solid var(--accent-green); }

.card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* ============================================
   SCHOOL PAGE STYLES
   ============================================ */
.school-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.school-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    z-index: 0;
}

.school-hero > * {
    position: relative;
    z-index: 1;
}

.school-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.school-hero-subtitle {
    font-size: 1.2rem;
    color: #2C3E50;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.school-info-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.school-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.school-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.school-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.school-card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.school-card-text {
    color: var(--text-light);
    font-size: 1rem;
}

.school-name-card { border-left: 5px solid var(--accent-blue); }
.school-facilities-card { border-left: 5px solid var(--accent-green); }

/* ============================================
   TIMETABLE SECTION
   ============================================ */
.timetable-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.search-container {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    border: 2px solid var(--accent-blue);
    border-radius: 25px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    border: none;
    border-radius: 20px;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    transform: scale(1.05);
    background: var(--accent-blue);
    color: var(--white);
}

.filter-btn.active {
    background: var(--accent-purple);
    color: var(--white);
    font-weight: 600;
}

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

.period-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.period-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.period-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.period-teacher {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period-subject {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: 0;
}

.contact-hero > * {
    position: relative;
    z-index: 1;
}

.contact-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.contact-hero-subtitle {
    font-size: 1.2rem;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.contact-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.contact-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--accent-blue);
    font-weight: 600;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: var(--accent-green);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-blue);
    transform: scale(1.05);
}

.copy-icon {
    font-size: 1rem;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */
.contact-form-section {
    max-width: 600px;
    margin: 3rem auto;
    padding: 0 2rem;
}

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

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

.form-label {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.2);
}

.form-textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffd89b 100%);
    color: #FFFFFF;
    font-family: 'Fredoka', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.footer-heart {
    color: #FF6B9D;
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title,
    .school-hero-title,
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .cards-container,
    .school-cards-container,
    .contact-cards-container {
        grid-template-columns: 1fr;
    }

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

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

/* ============================================
   HOBBIES PAGE STYLES
   ============================================ */
.hobbies-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-orange) 100%);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.hobbies-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: 0;
}

.hobbies-hero > * {
    position: relative;
    z-index: 1;
}

.hobbies-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hobbies-avatar {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.hobbies-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.hobbies-hero-subtitle {
    font-size: 1.2rem;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.hobbies-about-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.hobbies-content-wrapper {
    text-align: center;
}

.hobbies-text-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-pink);
}

.hobbies-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.hobbies-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.art-gallery-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.art-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.art-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.art-placeholder {
    font-size: 4rem;
    margin-bottom: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    border-radius: 16px;
}

.art-1 { background: linear-gradient(135deg, #FF6B9D 0%, #FFD93D 100%); }
.art-2 { background: linear-gradient(135deg, #6BCB77 0%, #4D96FF 100%); }
.art-3 { background: linear-gradient(135deg, #9B59B6 0%, #FF6B9D 100%); }
.art-4 { background: linear-gradient(135deg, #FFD93D 0%, #FF8C42 100%); }
.art-5 { background: linear-gradient(135deg, #4D96FF 0%, #6BCB77 100%); }
.art-6 { background: linear-gradient(135deg, #FF8C42 0%, #9B59B6 100%); }

.art-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.art-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

.tips-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.tip-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid var(--accent-yellow);
}

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

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tip-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tip-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.back-button-section {
    text-align: center;
    margin: 2rem auto;
    padding: 0 2rem;
}

.back-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .cards-container,
    .school-cards-container,
    .contact-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .periods-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .gallery-grid,
    .fields-grid,
    .branches-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .facts-container {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffd89b 100%);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

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

    .nav-links a {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
        background: rgba(0, 0, 0, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background: rgba(0, 0, 0, 0.4);
        transform: translateX(-5px);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .nav-links a.active {
        background: rgba(0, 0, 0, 0.5);
        border-color: rgba(255, 255, 255, 0.7);
        font-weight: 600;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title,
    .school-hero-title,
    .contact-hero-title,
    .hobbies-hero-title,
    .goal-hero-title,
    .science-hero-title {
        font-size: 1.8rem;
    }

    .cards-container,
    .school-cards-container,
    .contact-cards-container {
        grid-template-columns: 1fr;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .tips-container,
    .steps-container,
    .experiments-container {
        grid-template-columns: 1fr;
    }

    .fields-grid,
    .branches-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .facts-container {
        grid-template-columns: 1fr;
    }

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

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.7rem 1.5rem;
    }

    .hero,
    .school-hero,
    .contact-hero,
    .hobbies-hero,
    .goal-hero,
    .science-hero {
        margin: 1rem;
        padding: 2rem 1rem;
    }

    .hero-title,
    .school-hero-title,
    .contact-hero-title,
    .hobbies-hero-title,
    .goal-hero-title,
    .science-hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle,
    .school-hero-subtitle,
    .contact-hero-subtitle,
    .hobbies-hero-subtitle,
    .goal-hero-subtitle,
    .science-hero-subtitle {
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }

    .contact-number-wrapper {
        flex-direction: column;
    }

    .hobbies-text-card,
    .goal-text-card,
    .science-text-card {
        padding: 1.5rem;
    }

    .hobbies-intro,
    .goal-intro,
    .science-intro {
        font-size: 1.1rem;
    }

    .art-placeholder {
        font-size: 3rem;
        padding: 1.5rem;
    }

    .info-card,
    .school-card,
    .contact-card,
    .period-card,
    .art-card,
    .field-card,
    .branch-card,
    .fact-card,
    .step-card,
    .tip-card,
    .experiment-card {
        padding: 1.5rem;
    }

    .card-icon,
    .school-card-icon,
    .contact-card-icon,
    .period-emoji,
    .art-placeholder,
    .field-icon,
    .branch-icon,
    .tip-icon,
    .experiment-icon {
        font-size: 2.5rem;
    }

    .card-title,
    .school-card-title,
    .contact-card-title,
    .period-teacher,
    .art-title,
    .field-title,
    .branch-title,
    .fact-title,
    .step-title,
    .tip-title,
    .experiment-title {
        font-size: 1.1rem;
    }

    .card-text,
    .school-card-text,
    .period-subject,
    .art-description,
    .field-description,
    .branch-description,
    .fact-text,
    .step-text,
    .tip-text,
    .experiment-text {
        font-size: 0.9rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .search-input {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .copy-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
    }

    .submit-btn,
    .back-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .inspiration-card,
    .quote-card {
        padding: 2rem 1.5rem;
    }

    .inspiration-quote,
    .quote-text {
        font-size: 1.1rem;
    }
}

/* ============================================
   GOAL PAGE STYLES
   ============================================ */
.goal-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.goal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    z-index: 0;
}

.goal-hero > * {
    position: relative;
    z-index: 1;
}

.goal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.goal-avatar {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.goal-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.goal-hero-subtitle {
    font-size: 1.2rem;
    color: #2C3E50;
    opacity: 1;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.goal-about-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.goal-content-wrapper {
    text-align: center;
}

.goal-text-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-orange);
}

.goal-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.goal-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.goal-motivation {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 500;
}

.engineering-fields-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.field-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 5px solid var(--accent-blue);
}

.field-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.field-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.field-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.field-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.steps-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border-left: 5px solid var(--accent-green);
}

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

.step-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.step-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.inspiration-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.inspiration-card {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.inspiration-quote {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.inspiration-author {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

.inspiration-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   SCIENCE PAGE STYLES
   ============================================ */
.science-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    margin: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.science-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: 0;
}

.science-hero > * {
    position: relative;
    z-index: 1;
}

.science-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.science-avatar {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce 2s infinite;
}

.science-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
}

.science-hero-subtitle {
    font-size: 1.2rem;
    color: #FFFFFF;
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.science-about-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.science-content-wrapper {
    text-align: center;
}

.science-text-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--accent-green);
}

.science-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.science-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.science-excitement {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 500;
}

.science-branches-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.branch-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-top: 5px solid var(--accent-green);
}

.branch-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
}

.branch-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.branch-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branch-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.facts-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-blue);
}

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

.fact-number {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.fact-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fact-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.experiments-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.experiments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
}

.experiment-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 5px solid var(--accent-purple);
}

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

.experiment-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.experiment-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.experiment-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.quote-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.quote-card {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.quote-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

.quote-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}
