/* ===== ROOT VARIABLES ===== */
:root {
    --primary-color: #e63946;
    --primary-dark: #d62828;
    --primary-light: #ff6b7a;
    --secondary-color: #1d3557;
    --secondary-light: #457b9d;
    --accent-color: #f77f00;
    --accent-light: #fcbf49;
    --text-dark: #212529;
    --text-light: #6c757d;
    --text-lighter: #adb5bd;
    --bg-light: #f8f9fa;
    --bg-lighter: #e9ecef;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --success-color: #2a9d8f;
    --warning-color: #f4a261;
    --info-color: #457b9d;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.2);
    --shadow-colored: 0 8px 24px rgba(230, 57, 70, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    --gradient-primary: linear-gradient(135deg, #e63946 0%, #f77f00 100%);
    --gradient-secondary: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    --gradient-success: linear-gradient(135deg, #2a9d8f 0%, #06d6a0 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(29, 53, 87, 0.9) 0%, rgba(230, 57, 70, 0.8) 100%);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

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

.logo i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

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

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

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

.nav a {
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav a:hover::before {
    width: 60%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.08);
}

.nav a.active::before {
    width: 60%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
}

.hamburger:hover {
    background-color: rgba(230, 57, 70, 0.08);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.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);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

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

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-colored);
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: var(--gradient-overlay);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 127, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(69, 123, 157, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

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

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="%23ffffff" d="M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,58.7C960,64,1056,64,1152,58.7C1248,53,1344,43,1392,37.3L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ANIMATIONS ===== */
.animate-fade-in {
    animation: fadeIn 0.8s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 0.8s ease-in 0.6s backwards;
}

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

/* ===== SECTION STYLES ===== */
.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3.5rem;
    color: var(--secondary-color);
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    margin: 1.5rem auto 0;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
}

/* ===== GOAL SECTION ===== */
.goal-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.goal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.3), transparent);
}

.goal-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.goal-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(230, 57, 70, 0.1);
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.goal-card:hover::before {
    transform: scaleX(1);
}

.goal-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(230, 57, 70, 0.3);
}

.goal-card i {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.goal-card:nth-child(2) i {
    animation-delay: 0.2s;
}

.goal-card:nth-child(3) i {
    animation-delay: 0.4s;
}

.goal-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.goal-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 100px 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.course-card:hover::before {
    opacity: 0.03;
}

.course-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(230, 57, 70, 0.3);
}

.course-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.02) 0%, rgba(247, 127, 0, 0.02) 100%);
}

.course-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-colored);
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

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

.course-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.75rem;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.course-card:hover .course-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

.course-icon i {
    font-size: 2.75rem;
    color: white;
}

.course-card h3 {
    font-size: 1.65rem;
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    text-align: center;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 1.75rem;
    text-align: center;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.course-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.course-features i {
    color: var(--success-color);
    margin-right: 12px;
    font-size: 1.1rem;
    min-width: 20px;
}

.btn-course {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-colored);
    overflow: hidden;
}

.btn-course::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-course:hover::before {
    left: 100%;
}

.btn-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: 80px 0;
}

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

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.location-map iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-secondary);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.75rem;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

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

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer-col ul li i {
    color: var(--accent-light);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
    border-color: transparent;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.25rem;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow-colored);
}

.app-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.footer-bottom i {
    color: var(--accent-light);
    animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    transform: translate(-50%, -50%);
    animation: whatsappRipple 2s infinite;
}

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

@keyframes whatsappRipple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    position: relative;
    z-index: 1;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-overlay);
    color: white;
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 127, 0, 0.2) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 80"><path fill="%23ffffff" d="M0,32L48,37.3C96,43,192,53,288,58.7C384,64,480,64,576,58.7C672,53,768,43,864,42.7C960,43,1056,53,1152,53.3C1248,53,1344,43,1392,37.3L1440,32L1440,80L1392,80C1344,80,1248,80,1152,80C1056,80,960,80,864,80C768,80,672,80,576,80C480,80,384,80,288,80C192,80,96,80,48,80L0,80Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.page-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: white;
    font-weight: 800;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.2);
}

.student-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

/* ===== FORM STYLES ===== */
.form-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-point {
    display: flex;
    gap: 1rem;
}

.info-point i {
    font-size: 1.5rem;
    color: var(--success-color);
    margin-top: 5px;
}

.info-point h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-box h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-box p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-box i {
    color: var(--primary-color);
    margin-right: 10px;
}

.form-container {
    position: relative;
}

.registration-form,
.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.registration-form h3,
.enquiry-form h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--bg-white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
    background-color: white;
}

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

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

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-group {
    margin-top: 1rem;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.error-message {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.success-message {
    text-align: center;
    padding: 3rem;
}

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-message h4 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* ===== ENQUIRY PAGE SPECIFIC STYLES ===== */
.enquiry-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.enquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.enquiry-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.method-details p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.timing {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.whatsapp-link,
.view-map-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.faq-box {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-box h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.faq-box ul {
    list-style: none;
    margin-bottom: 1rem;
}

.faq-box li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.faq-box li:last-child {
    border-bottom: none;
}

.faq-box i {
    color: var(--primary-color);
    margin-right: 10px;
}

.faq-note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.enquiry-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.map-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.map-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* ===== STUDENT CORNER STYLES ===== */
.student-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.quick-access-section {
    padding: 40px 0;
    background-color: var(--bg-light);
    margin-bottom: -40px;
}

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

.quick-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-card:hover::before {
    transform: scaleX(1);
}

.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(230, 57, 70, 0.2);
}

.quick-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-colored);
    transition: var(--transition);
}

.quick-card:hover .quick-icon {
    transform: scale(1.1) rotate(360deg);
}

.quick-icon i {
    font-size: 1.75rem;
    color: white;
}

.quick-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.quick-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.quick-link {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.quick-link::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.quick-link:hover::after {
    margin-left: 10px;
}

.student-facilities-section {
    padding: 80px 0;
}

.facility-block {
    margin-bottom: 4rem;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.facility-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.facility-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

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

.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.material-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(230, 57, 70, 0.1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.material-card:hover::before {
    opacity: 1;
}

.material-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.material-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

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

.material-icon.chemistry {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.3);
}

.material-icon.math {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
}

.material-icon.biology {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    box-shadow: 0 8px 24px rgba(67, 233, 123, 0.3);
}

.material-icon i {
    font-size: 2.25rem;
    color: white;
}

.material-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.material-card p {
    position: relative;
    z-index: 1;
}

.material-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.material-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.material-stats i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-material {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-colored);
}

.btn-material::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-material:hover::before {
    left: 100%;
}

.btn-material:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
}

.attendance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.attendance-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.attendance-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.attendance-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.attendance-stat {
    text-align: center;
}

.stat-circle {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke: var(--primary-color);
}

.percentage {
    fill: var(--secondary-color);
    font-family: sans-serif;
    font-size: 0.5em;
    font-weight: bold;
}

.attendance-details {
    width: 100%;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-label {
    color: var(--text-light);
}

.detail-value {
    font-weight: bold;
    color: var(--secondary-color);
}

.schedule-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.schedule-content {
    display: none;
}

.schedule-content.active {
    display: block;
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exam-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    align-items: center;
    transition: var(--transition);
}

.exam-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.exam-date {
    text-align: center;
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.date-month {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.exam-details {
    flex: 1;
}

.exam-details h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.exam-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.exam-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

.badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge.upcoming {
    background: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
}

.timetable-wrapper,
.results-wrapper {
    text-align: center;
    padding: 3rem;
}

.info-text {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.announcement-item {
    display: flex;
    gap: 1.75rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.announcement-item.important {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.05) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-left-color: var(--warning-color);
}

.announcement-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
    background: white;
}

.announcement-item.important:hover {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.08) 0%, rgba(230, 57, 70, 0.08) 100%);
}

.announcement-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(247, 127, 0, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.announcement-item:hover .announcement-icon {
    transform: scale(1.1) rotate(10deg);
}

.announcement-icon i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcement-item.important .announcement-icon {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.2), rgba(230, 57, 70, 0.2));
}

.announcement-item.important .announcement-icon i {
    background: linear-gradient(135deg, #f4a261, #e63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.announcement-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.15rem;
}

.announcement-content p {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.announcement-time {
    font-size: 0.875rem;
    color: var(--text-lighter);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.announcement-time i {
    margin-right: 3px;
}

.app-download-block {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
}

.app-download-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.app-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.app-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    color: white;
}

.feature i {
    color: var(--success-color);
    margin-right: 10px;
}

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

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    color: var(--text-dark);
    border-radius: 8px;
    transition: var(--transition);
}

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

.store-btn i {
    font-size: 2rem;
}

.store-btn span {
    display: block;
    font-size: 0.7rem;
}

.store-btn strong {
    display: block;
    font-size: 1rem;
}

.app-mockup {
    text-align: center;
}

.app-mockup i {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .header .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav.active {
        max-height: 300px;
    }

    .nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    .nav ul li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav a {
        display: block;
        padding: 1rem 20px;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .enquiry-wrapper {
        grid-template-columns: 1fr;
    }

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

    .app-download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-features {
        grid-template-columns: 1fr;
    }

    .app-mockup {
        display: none;
    }
}

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

    .hero p {
        font-size: 1rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .quick-access-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-grid {
        grid-template-columns: 1fr;
    }

    .schedule-tabs {
        flex-direction: column;
    }

    .exam-item {
        flex-direction: column;
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .facility-block {
        padding: 1.5rem;
    }

    .quick-access-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper,
    .enquiry-form-container {
        padding: 1.5rem;
    }
}
