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

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

/* Global 80% scale: use zoom with transform fallback */
html { zoom: 0.8; }
@supports not (zoom: 1) {
    body {
        transform: scale(0.8);
        transform-origin: top left;
        /* Compensate for scaling to preserve layout width */
        width: 125%;
    }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.22), rgba(0,0,0,0.22)),
                linear-gradient(135deg, rgba(37,168,73,0.12), rgba(32,130,67,0.10));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(34,158,71,0.25);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.18), 0 1px 0 rgba(255,255,255,0.25) inset;
}

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

.nav-logo h2 {
    background: linear-gradient(135deg, #25a849, #208243);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.8rem;
}

/* Logo image and positioning */
.nav-logo { display: flex; align-items: center; gap: 10px; margin-left: -17%; }
.nav-logo-img { height: 48px; width: auto; object-fit: contain; display: block; }

/* When header overlaps green hero, force brand text to white for contrast */
.navbar.on-hero .nav-logo h2 { background: none; color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; }

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

.nav-menu a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #25a849;
}

/* Menu links turn white when navbar overlays green hero */
.navbar.on-hero .nav-menu a { color: #FFFFFF; }
.navbar.on-hero .nav-menu a:hover { color: rgba(255,255,255,0.85); }

.nav-cta {
    background: linear-gradient(135deg, #25a849, #208243);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 168, 73, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 0;
    padding-top: 0;
    background: linear-gradient(135deg, #25a849 0%, #208243 50%, #229e47 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: calc((100vh - 80px) * 0.998192);
    min-height: 600px;
}

/* Green bar below fixed header (same height as header) */
.top-green-bar {
    height: 80px;
    background: linear-gradient(135deg, #25a849 0%, #208243 100%);
}

/* Center Upcoming Batch content inside its container */
#batch .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center; /* centers both rows and columns */
    gap: 2.4rem;
}

#batch .contact-form {
    text-align: center;
    align-self: center;
    justify-self: center;
}

/* Increase Upcoming Batch container size by 20% */
#batch .container { max-width: 1800px; }
#batch .contact-form, #batch .contact-info { font-size: 1.2rem; }

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
    height: 100%;
}

/* Perfectly match hero image height */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: visible;
    padding-right: 20px;
    z-index: 3;
}

.hero-image img {
    width: auto;
    max-width: 110%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    display: block;
    box-shadow: none !important;
}

/* Desktop screens */
@media (min-width: 1200px) {
    .hero-image {
        right: calc(-50vw + 600px - 20px);
        width: calc(50% + 50vw - 600px + 20px);
        height: 100%;
    }
}

/* Tablets and smaller desktops */
@media (max-width: 1199px) {
    .hero-image {
        right: -20px;
        width: calc(50% + 20px);
        height: 100%;
    }
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .hero {
        height: auto;
        flex-direction: column;
    }

    .hero-container {
        grid-template-columns: 1fr;
        height: auto;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: auto;
        right: 0;
    }

    .hero-image img {
        height: auto;
        max-height: 400px;
    }

    .hero-title {
        font-size: 1.85rem; /* reduce further for mobile */
        line-height: 1.1;
        white-space: normal; /* allow wrapping on mobile */
        word-break: break-word;
    }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-description { font-size: 0.95rem; }

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

    .hero-content {
        margin-top: 12%;
        margin-left: 20%; /* move text to the right by 20% */
        margin-right: 0;
        width: 80%; /* constrain width so long lines wrap to ~2 lines */
        text-align: left;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Make hero buttons horizontally shorter on mobile */
    .btn-primary, .btn-secondary { padding: 0.45rem 0.8rem; /* shorter horizontally */ }
    /* Hide original hero and show centered mobile alt */
    .hero-content { display: none; }
    .hero-mobile-alt {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 18px 16px;
        gap: 10px;
        margin: 8px auto 0;
        width: 100%;
        max-width: 92%;
    }
    .hero-mobile-alt .hero-title { font-size: 1.95rem; line-height: 1.15; white-space: normal; }
    .hero-mobile-alt .hero-subtitle { font-size: 0.98rem; }
    .hero-mobile-alt .hero-description { font-size: 1.05rem; }
    .hero-mobile-alt .btn-primary, .hero-mobile-alt .btn-secondary { padding: 0.45rem 0.8rem; }
}

.hero-content {
    color: white;
    z-index: 4;
    text-align: left;
    margin-top: 24%;
    margin-left: -24%;
}

.hero-mobile-alt { display: none; }

@media (max-width: 768px) {
    /* Ensure mobile hero is visible despite later cascade */
    .hero-mobile-alt { display: flex !important; }
    .hero-content { display: none !important; }
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.032rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 4.3rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.29rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #25a849;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #25a849;
}

.btn-primary:visited, .btn-secondary:visited,
.btn-primary:hover, .btn-secondary:hover,
.btn-primary:focus, .btn-secondary:focus {
    text-decoration: none;
}

.hero-main-image {
    height: 100%;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    transform-origin: bottom right;
    opacity: 0;
    transform: scale(1.1) translateX(30%);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.hero-main-image.loaded {
    opacity: 1;
    transform-origin: bottom right;
    transform: scale(0.95) translateX(20%) scaleY(1.008);
}

.hero-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.character {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto;
}

.cape {
    position: absolute;
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50px;
    left: 25px;
    transform: rotate(-5deg);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

.body {
    position: absolute;
    width: 80px;
    height: 120px;
    background: #4b5563;
    border-radius: 20px;
    top: 100px;
    left: 60px;
}

.head {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fbbf24;
    border-radius: 50%;
    top: 60px;
    left: 70px;
}

.megaphone {
    position: absolute;
    width: 80px;
    height: 40px;
    background: #1f2937;
    border-radius: 10px;
    top: 120px;
    right: -30px;
    transform: rotate(-20deg);
}

/* Reveal animations */
.in-view { animation: fadeInUp 0.6s ease-out both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* SEO Section */
.seo-section {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-10px) scale(0.96); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25a849, #208243);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    padding: 5rem 0;
    background: #F5F5F5;
}

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

.skill-item {
    text-align: center;
  }
  
  .skill-percentage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.75rem;
    width: 156px;  /* increased by 30% from 120px */
    height: 156px; /* increased by 30% from 120px */
    margin-left: auto;
    margin-right: auto;
  }
  
  .skill-percentage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .skill-item h4 {
    color: #1f2937;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
  }
  

  
.skill-bar { width: 100%; height: 8px; background: #e5e7eb; border-radius: 10px; overflow: hidden; }
.skill-progress { height: 100%; background: linear-gradient(135deg, #25a849, #208243); border-radius: 10px; transition: width 2s ease; }

/* Stats Section */
.stats-section { padding: 3rem 0; background: linear-gradient(135deg, #25a849, #208243); color: white; }
/* Banner-like layout */
.stats-section .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 2rem 2rem; }
.stats-section .section-title { color: white; margin: 0; text-align: left; font-size: 2.625rem; font-weight: 700; line-height: 1.4; margin-left: -10%; }
.stats-section .stats-grid { display: flex; gap: 2rem; text-align: left; align-items: flex-start; margin-right: -10%; }
.stats-section .stat-item { display: flex; flex-direction: column; align-items: flex-start; }
.stats-section .stat-number { font-size: 2.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.stats-section .stat-label { font-size: 1.4rem; opacity: 0.9; }

/* Pricing Section */
.pricing-section { padding: 5rem 0; background: #f9fafb; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 700px; margin: 0 auto; }
.pricing-card { background: white; padding: 2rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); position: relative; transition: transform 0.3s ease; }
.pricing-card.featured { transform: scale(1.05); box-shadow: 0 20px 40px rgba(37, 168, 73, 0.2); }
.pricing-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #25a849, #208243); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.875rem; font-weight: 600; }
.pricing-header { text-align: center; margin-bottom: 2rem; }
.pricing-header h3 { font-size: 1.5rem; font-weight: 700; color: #1f2937; margin-bottom: 1rem; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; }
.currency { font-size: 1.5rem; color: #25a849; font-weight: 600; }
.amount { font-size: 3rem; font-weight: 900; color: #1f2937; }
.period { color: #6b7280; font-weight: 500; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { padding: 0.75rem 0; display: flex; align-items: center; gap: 0.75rem; color: #4b5563; }
.pricing-features i { color: #10b981; font-size: 1rem; }

/* Contact Section */
.contact-section { padding: 5rem 0; background: linear-gradient(135deg, #25a849, #208243); color: white; }
.contact-section .section-title { color: white; }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { background: rgba(255, 255, 255, 0.1); padding: 2rem; border-radius: 20px; backdrop-filter: blur(10px); }
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: rgba(255, 255, 255, 0.1); color: white; font-size: 1rem; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255, 255, 255, 0.7); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: white; background: rgba(255, 255, 255, 0.2); }
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-map { flex: 1; }
.map-placeholder { height: 250px; background: rgba(255, 255, 255, 0.1); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(10px); overflow: hidden; }
.map-placeholder iframe { width: 100%; height: 100%; border: 0; border-radius: 20px; display: block; }
.map-placeholder i { font-size: 3rem; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.8); }
.contact-details h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.contact-item i { width: 20px; color: rgba(255, 255, 255, 0.8); }

/* Blog Section */
.blog-section { padding: 5rem 0; background: #f9fafb; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.blog-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; }
.blog-card:hover { transform: translateY(-5px) scale(0.96); }
.blog-image { height: 200px; background: linear-gradient(135deg, #25a849, #208243); display: flex; align-items: center; justify-content: center; }
.blog-placeholder { color: white; text-align: center; }
.blog-placeholder i { font-size: 3rem; margin-bottom: 1rem; }
.blog-content { padding: 1.5rem; }
.blog-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: #1f2937; }
.blog-content p { color: #6b7280; margin-bottom: 1rem; line-height: 1.6; }
.blog-link { color: #25a849; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s ease; }
.blog-link:hover { gap: 1rem; }

/* Trust Section */
.trust-section { padding: 3rem 0; background: #F5F5F5; text-align: center; }
.trust-section h3 { font-size: 2rem; font-weight: 700; margin-bottom: 2rem; color: #1f2937; }
.brands-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.brand-item { padding: 1rem; font-weight: 600; color: #6b7280; border: 2px solid #e5e7eb; border-radius: 10px; transition: all 0.3s ease; }
.brand-item:hover { border-color: #25a849; color: #25a849; transform: translateY(-2px) scale(0.96); }

/* Footer */
.footer { background: #1f2937; color: white; padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3, .footer-section h4 { margin-bottom: 1rem; color: white; }
.footer-section h3 { font-size: 1.5rem; background: linear-gradient(135deg, #25a849, #208243); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a { color: #9ca3af; text-decoration: none; transition: color 0.3s ease; }
.footer-section a:hover { color: #25a849; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #374151; color: #9ca3af; }

/* Footer social icons */
.footer-social { margin-top: 0.5rem; display: flex; gap: 0.75rem; }
.footer-social .social { color: #9ca3af; font-size: 2.2rem; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #111827; transition: background 0.3s ease, color 0.3s ease; }
.footer-social .social:hover { color: white; background: linear-gradient(135deg, #25a849, #208243); }

/* Hide scrollbars globally */
html { -ms-overflow-style: none; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* Responsive */
@media (max-width: 768px) {
    /* Banner responsive adjustments */
    .stats-section .container { flex-direction: column; padding: 1.5rem; gap: 1.5rem; }
    .stats-section .section-title { font-size: 2.1rem; text-align: center; margin-left: 0; }
    .stats-section .stats-grid { width: 100%; gap: 1rem; justify-content: center; margin-right: 0; }
    .stats-section .stat-number { font-size: 1.75rem; }
    .stats-section .stat-label { font-size: 1.4rem; }
    .nav-menu { position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: white; width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 2rem 0; }
    .nav-menu.active { left: 0; }
    .hamburger { display: flex; }
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-title { font-size: 2.58rem; }
    .hero-illustration { width: 300px; height: 300px; }
    .contact-content { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .hero-warning { font-size: 0.9rem; }
    .section-title { font-size: 2rem; }
    .services-grid, .skills-grid, .stats-grid, .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.15rem; }
    .hero-cta { flex-direction: column; gap: 1rem; }
    .btn-primary, .btn-secondary { width: 100%; }
    .nav-cta { display: none; }
    .container { padding: 0 15px; }
    .service-card, .pricing-card, .blog-card { padding: 1.5rem; }
}

/* Simple always-rotating carousel */
.carousel {
    overflow: hidden;
    position: relative;
    margin: 0 -10%;
    width: calc(100% + 20%);
    max-width: none;
}
.carousel-track {
    display: flex;
    gap: 1.2rem;
    animation: scroll-x 30s linear infinite;
    will-change: transform;
    align-items: stretch;
}
.carousel-item { flex: 0 0 calc(100% / 6); display: flex; }
.carousel-item > .service-card, .carousel-item > .skill-item { width: 100%; height: 100%; }
.carousel .service-card { min-height: 360px; }
@keyframes scroll-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 1280px) {
  .carousel {
    width: calc(100% + 20%);
    margin-left: -10%;
    margin-right: -10%;
  }
}
@media (max-width: 1024px) {
  .carousel {
    width: calc(100% + 20%);
    margin-left: -10%;
    margin-right: -10%;
  }
  .carousel-item { flex-basis: 33.3333%; }
}
@media (max-width: 768px) { 
  .carousel-item { flex-basis: 50%; } 
  .carousel-track { gap: 1rem; }
  /* Enable manual scrolling on mobile */
  .carousel { 
    overflow-x: auto; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .carousel-track { 
    animation: none !important;
    scroll-snap-type: x mandatory;
  }
  .carousel-item {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) { 
  .carousel-item { flex-basis: 80%; }
  /* Enable manual scrolling on mobile */
  .carousel { 
    overflow-x: auto; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .carousel-track { 
    animation: none !important;
    scroll-snap-type: x mandatory;
  }
  .carousel-item {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

/* Make Get Started button green and position under carousel with right offset */
.skills-cta { text-align: right; margin-top: 1.25rem; }
.skills-cta .btn-primary { background: linear-gradient(135deg, #25a849, #208243); color: #ffffff; margin-right: 0; display: inline-block; }
@media (max-width: 768px) {
  .skills-cta { text-align: center; }
  .skills-cta .btn-primary { margin-right: 0; padding: 0.6rem 1.1rem; } /* narrower button on mobile */
}

/* Who Is This For? carousel sizing adjustments */
.skills-section .carousel-track { gap: 1.32rem; }
.skills-section .carousel-item { flex-basis: calc(100% / 5); }
.skills-section .skill-item {
    min-height: 260px; /* ~20% larger */
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.skills-section .skill-percentage { font-size: 3rem; }
.skills-section .skill-item h4 { text-align: center; }

/* Align Who Is This For? heading to the left with grid */
.skills-section .section-title { text-align: left; margin-left: 0; }


/* Ensure uniform heading/content alignment in Welcome carousel cards */
#about .service-card { display: flex; flex-direction: column; }
#about .service-card h3 { line-height: 1.2; min-height: calc(1.5rem * 1.2 * 2); display: flex; align-items: flex-start; }
#about .service-card p { min-height: 4.5rem; }
#about .service-tags { margin-top: auto; }
#about .carousel-track { gap: 1.2rem; align-items: stretch; }
#about .carousel-item {
    flex: 0 0 calc((100% / 6) * 1.16);
    display: flex;
}
#about .carousel-item .service-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}
#about .carousel-item .service-card p {
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}
@media (max-width: 1024px) {
  #about .carousel-item { flex-basis: calc(33.3333% * 1.16); }
}
@media (max-width: 768px) {
  #about .carousel-item { flex-basis: calc(50% * 1.16); }
}
@media (max-width: 480px) {
  #about .carousel-item { flex-basis: calc(80% * 1.16); }
}

/* Make Upcoming Batch form match map height */
#batch .contact-grid { align-items: stretch; }
#batch .contact-form-section { display: flex; flex-direction: column; justify-content: center; height: 500px; padding: 4%; box-sizing: border-box; }
@media (max-width: 768px) { #batch .contact-form-section { height: 300px; } }

/* Expand form to full width inside container */
#batch .contact-form { width: 100%; }

/* Mobile-specific fixes for Upcoming Batch ordering and overflow */
@media (max-width: 768px) {
  /* Stack sections: Upcoming Batch card first, then Ready form (DOM order already correct) */
  #batch .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  /* Reset desktop transforms/margins from inline overrides */
  #batch .contact-grid > .map-section > .contact-form-section,
  #batch .contact-grid > .contact-form-section {
    transform: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Ensure form content does not overflow container */
  #batch .contact-grid > .map-section > .contact-form-section { overflow: hidden; }
  #batch .contact-form-section#ready { overflow: visible; }
  #batch .contact-form-section#ready .contact-form {
    width: 100%;
  }
  /* Slightly reduce inner paddings to fit smaller screens */
  #batch .contact-grid > .map-section > .contact-form-section,
  #batch .contact-form-section#ready {
    padding: 1rem !important;
  }
  /* Normalize heading sizing/spacing on mobile */
  #batch .contact-form-section#ready h3 {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.5rem !important;
  }
}

/* Increase Ready container size to be fully visible like Upcoming Batch */
#batch .contact-form-section#ready { min-height: 500px; }
@media (max-width: 768px) {
  #batch .contact-form-section#ready { min-height: 450px; }
}
