/* 
   Pathrise Educare - Modern Redesign 
   Theme: Dark Mode with Glassmorphism & Neon Accents
*/

:root {
    /* Colors */
    --bg-color: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-blue: #3a7bd5;
    --accent-cyan: #00d2ff;
    --accent-yellow: #ffc107;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-spacing: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

canvas#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(58, 123, 213, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.magnetic {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    margin-left: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: white;
    box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    /* Simplifies background */
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 15px 30px rgba(58, 123, 213, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.05);
}

.btn-block {
    width: 100%;
}

/* Call Now - Sticky/Fixed */
.call-now-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-yellow);
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    animation: bounce 2s infinite;
}

.call-now-fixed:hover {
    transform: scale(1.05);
    background: #ffdb4d;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* Same as call button initially */
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    /* Below call button if overlapping, but we'll move it */
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
    right: 200px;
    /* Move to left of call button when visible */
}

.back-to-top:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-icon {
    color: var(--accent-blue);
    margin-right: 10px;
    font-size: 1.8rem;
}

.logo-text .accent {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent-blue);
    padding: 8px 18px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: 0.3s;
}

.nav-cta:hover {
    background: var(--accent-cyan);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    /* Increased from 80px to push content down */
    background-size: cover;
    background-position: center;
    /* transition: background-image 0.5s ease; */
    overflow: hidden;
    /* Ensure slider doesn't overflow */
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.1);
    /* Subtle zoom effect */
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 5s ease;
}

/* Overlay for Hero Background Image readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.7));
    z-index: 1;
    /* Ensure overlay is above slider */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    /* Ensure content is above overlay */
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-subtitle {
    color: var(--accent-yellow);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    width: fit-content;
}

.hero-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 1.2rem;
}

.hero-contact-text {
    display: flex;
    flex-direction: column;
}

.hero-contact-label {
    font-size: 0.8em;
    color: var(--text-secondary);
}

.hero-contact-number {
    font-weight: 700;
    color: white;
    font-size: 1.1em;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.2) 0%, rgba(5, 5, 5, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: pulse 4s infinite ease-in-out;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--glass-shadow);
    color: white;
}

/* Optional: Add background image to cards if needed, current design relies on icons/text */
.hero-card {
    position: absolute;
    width: 250px;
    z-index: 2;
}

.hero-card:nth-child(2) {
    top: 20%;
    right: 10%;
    transform: rotate(5deg);
}

.hero-card:nth-child(3) {
    bottom: 20%;
    left: 10%;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(58, 123, 213, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.hero-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hero-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
    z-index: 2;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

/* Services Section */
.services {
    padding: var(--section-spacing) 0;
    background: radial-gradient(circle at 10% 20%, rgba(58, 123, 213, 0.05) 0%, transparent 20%);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Style for images inside service cards if we update HTML to use them */
.service-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.service-card:hover .service-img {
    opacity: 1;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(58, 123, 213, 0.3);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(58, 123, 213, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    /* Fix: Prevent glow from blocking clicks */
    z-index: 1;
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #151515;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: 0.3s ease;
    position: relative;
    /* Fix: specific stacking context */
    z-index: 2;
    /* Fix: Above glow */
}

.service-card:hover .service-icon {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 10px 20px rgba(58, 123, 213, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.learn-more {
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    /* Fix: Ensure clickable */
    z-index: 5;
    /* Fix: High z-index */
}

.learn-more i {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Popular Courses Section */
.courses {
    padding: var(--section-spacing) 0;
    background: #080808;
}

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

.course-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* For overlay text */
    height: 300px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.course-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover img {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.course-tag {
    background: var(--accent-blue);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: inline-block;
}

.course-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.course-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}


/* About Section */
.about {
    padding: var(--section-spacing) 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image-wrapper {
    flex: 1;
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    /* Removed filter for new colorful images */
    transition: 0.3s;
}

.about-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.5;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: var(--accent-cyan);
    color: #000;
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.4);
    z-index: 3;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

.about-content {
    flex: 1;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
}

.stat-number::after {
    content: '+';
    color: var(--accent-blue);
}

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

/* Contact Section */
.contact {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-link:hover .icon-box {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s ease;
}

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

.details .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.details .value {
    font-size: 1.1rem;
    font-weight: 500;
}

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

.social-btn {
    width: 45px;
    height: 45px;
    background: #151515;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.social-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    flex: 1;
}

.glass-form {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    resize: none;
}

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

.bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.form-group input:focus~.bottom-border,
.form-group textarea:focus~.bottom-border {
    width: 100%;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020202;
    margin-top: 80px;
}

.footer-container {
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

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

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-image-wrapper,
    .about-content {
        width: 100%;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info,
    .contact-form-wrapper {
        width: 100%;
    }

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

    /* Hero Section - Moved to 992px to prevent overlap on tablets */
    .hero {
        padding-top: 100px;
        text-align: center;
        justify-content: center;
    }

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

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        width: 100%;
    }

    .hero-contact {
        margin: 30px auto 0;
        border-top: none;
        padding-top: 0;
        flex-direction: column;
        gap: 10px;
    }

    .hero-contact a {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
        width: 100%;
        margin-top: 20px;
        /* Ensure it doesn't overlap */
        display: flex;
        justify-content: center;
    }

    /* Adjust specific elements inside hero-visual for tablet/mobile */
    .glowing-orb {
        width: 250px;
        height: 250px;
    }

    .hero-card {
        position: relative;
        /* Change from absolute to relative to stack or flow better */
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 10px;
        width: 200px;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-toggle {
        display: block;
        z-index: 1001;
        /* Ensure above active nav-links */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width on mobile */
        height: 100vh;
        background: #050505;
        /* Solid background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
        /* Space for logo/toggle */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        margin: 15px 0;
    }

    .nav-cta {
        margin: 20px 0 0;
        font-size: 1.2rem;
        padding: 12px 30px;
    }

    .hamburger {
        width: 30px;
        height: 3px;
        background: white;
        position: relative;
        transition: 0.3s;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: white;
        transition: 0.3s;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }

    /* Hamburger Animation when Active */
    .nav-toggle.toggle .hamburger {
        background: transparent;
    }

    .nav-toggle.toggle .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.toggle .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* Hero Adjustments for smaller screens */
    .hero-title {
        font-size: 2.5rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        display: none;
        /* Hide visual on very small screens if needed, or keep stacked */
    }

    /* Services & Courses */
    .services-grid,
    .courses-grid {
        grid-template-columns: 1fr;
        /* Single column */
    }

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

    /* Contact Form Mobile Fixes */
    .glass-form {
        padding: 25px;
    }

    .contact-form-wrapper button {
        width: 100%;
        margin-top: 10px;
    }

    /* Footer */
    .footer-container {
        padding: 0 20px;
    }
}

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

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

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .nav-links .nav-link {
        font-size: 1.2rem;
    }

    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -30px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
}

/* Keyframes for bounce */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}