/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d6a5a;
    --primary-light: #3d8a7a;
    --primary-dark: #1d5a4a;
    --secondary-color: #f0f4f3;
    --accent-color: #d4a574;
    --text-dark: #1a2e29;
    --text-medium: #4a5d58;
    --text-light: #7a8a85;
    --white: #ffffff;
    --off-white: #fafbfb;
    --border-light: #e0e8e5;
    --shadow-sm: 0 2px 8px rgba(45, 106, 90, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 106, 90, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 106, 90, 0.12);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-medium);
    font-weight: 400;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

/* Section Labels */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    display: inline-block;
    color: var(--text-dark);
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 48px;
    margin-bottom: 16px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
}

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

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Navigation Active State */
.nav-links.mobile-active {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    display: flex !important;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-links.mobile-active.animate-open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: #f0f9f6;
}

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

.hero-bg-image {
    position: absolute;
    top: -10%;
    right: 0;
    height: 120%;
    width: auto;
    object-fit: cover;
    z-index: 1;
    filter: drop-shadow(-10px 10px 20px rgba(45, 106, 90, 0.15));
}

.hero-text-wrapper {
    max-width: 650px;
    padding: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 700px;
    margin-bottom: 28px;
    color: var(--text-dark);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    line-height: 1.2;
}

.hero .highlight {
    color: var(--primary-color);
    position: relative;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background-color: rgba(212, 165, 116, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 580px;
    margin-bottom: 40px;
    line-height: 1.75;
    color: var(--text-medium);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-buttons .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 120px 0;
}

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

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.image-placeholder.large {
    aspect-ratio: 3/4;
    max-width: 400px;
    margin: 0 auto;
}

.image-placeholder svg {
    width: 60%;
    height: auto;
}

.about-content h2 {
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}

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

.stat-number {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* Vision Section */
.vision {
    padding: 120px 0;
    background-color: var(--off-white);
}

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

.vision-header h2 {
    margin-bottom: 16px;
}

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

.vision-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.vision-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.vision-icon svg {
    width: 100%;
    height: 100%;
}

.vision-card h3 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.vision-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Courses Section */
.courses {
    padding: 120px 0;
}

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

.courses-header h2 {
    margin-bottom: 16px;
}

.courses-header p {
    font-size: 1.1rem;
}

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

.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}

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

.course-card.coming-soon {
    background-color: var(--off-white);
    border-style: dashed;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--text-light);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border-light);
}

.course-header h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.course-tagline {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.course-content {
    padding: 32px;
}

.course-content>p {
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.course-modules h4,
.course-topics h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.course-modules ul,
.course-topics ul {
    list-style: none;
}

.course-modules li,
.course-topics li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.course-modules li::before,
.course-topics li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.instructor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.instructor-avatar svg {
    width: 100%;
    height: 100%;
}

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

.instructor-info {
    display: flex;
    flex-direction: column;
}

.instructor-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.instructor-name {
    font-weight: 600;
    color: var(--text-dark);
    margin: 4px 0;
}

.instructor-credentials {
    font-size: 0.85rem;
    color: var(--text-light);
}

.course-footer {
    padding: 24px 32px 32px;
    border-top: 1px solid var(--border-light);
}

.course-pricing {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto 24px;
}

.price-option {
    padding: 20px 24px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-md);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.price-value {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-parcelado {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* Professor Section */
.professor {
    padding: 120px 0;
    background-color: var(--off-white);
}

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

.professor-content h2 {
    margin-bottom: 20px;
}

.professor-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.professor-credentials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 12px;
}

.credential svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.credential span {
    font-size: 0.95rem;
    color: var(--text-medium);
}

.professor-philosophy {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--primary-color);
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.professor-image {
    display: flex;
    justify-content: center;
}

.professor-photo {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
}

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

.testimonials-header h2 {
    margin-bottom: 16px;
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-profession {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Contact Section */
.contact {
    padding: 120px 0;
}

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

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info>p {
    margin-bottom: 32px;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-item span {
    color: var(--text-medium);
    font-size: 0.95rem;
}

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

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 90, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

/* Instagram Posts Section */
.instagram-posts {
    padding: 120px 0;
    background-color: var(--off-white);
}

.instagram-header {
    text-align: center;
    margin-bottom: 48px;
}

.instagram-header h2 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.instagram-header p {
    font-size: 1.05rem;
    color: var(--text-medium);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.instagram-card {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    transition: var(--transition);
}

.instagram-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.instagram-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(45, 106, 90, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.instagram-overlay svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

/* Elfsight Instagram Widget */
.elfsight-app-instagram-feed {
    margin-bottom: 40px;
}

.elfsight-app-instagram-feed .elfsight-instagram-feed-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-cta {
    text-align: center;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    padding: 80px 0 0;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social .social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social .social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links h4,
.footer-courses h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul,
.footer-courses ul {
    list-style: none;
}

.footer-links li,
.footer-courses li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-courses a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-courses a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 32px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-bg-image {
        right: -20%;
        opacity: 0.6;
    }

    .about-grid,
    .professor-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
        text-align: center;
    }

    .hero-bg-image {
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        opacity: 0.15;
        object-position: center;
    }

    .hero-text-wrapper {
        text-align: center;
        padding: 0;
        margin: 0;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .hero .highlight::after {
        display: none;
    }

    .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .about {
        padding: 80px 0;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .courses,
    .vision,
    .professor,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

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

    .course-footer {
        padding: 24px 24px 32px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .instagram-posts {
        padding: 80px 0;
    }

    .elfsight-app-instagram-feed {
        margin-bottom: 32px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 24px;
        right: 24px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

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

    .hero h1 {
        font-size: 1.75rem;
    }

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


    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .btn {
        padding: 12px 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .vision-card {
        padding: 32px 24px;
    }

    /* Fix Badge Overlap on Mobile */
    .course-card {
        display: flex;
        flex-direction: column;
    }

    .course-badge,
    .coming-soon-badge {
        position: relative;
        top: auto;
        right: auto;
        align-self: flex-start;
        margin: 20px 0 0 20px;
    }

    .course-header {
        padding-top: 16px;
    }


    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.hero-content,
.about-content,
.vision-card,
.course-card,
.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}