.navbar {
    background-color: rgba(0, 29, 61, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 195, 0, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-item{
    margin-right: 2rem;
}

.navbar .nav-link {
    color: black !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.introduction {
    color:white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    text-align: center;
    padding-bottom: 10vh;
}

.introduction p {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.shader-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Poppins', sans-serif;
    transition: 0.3s;
}

.navbar .nav-link:hover {
    color: white !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.introduction button{
    background-color: #ffc300ff;
    color:black;
    border-radius: 5px;
    border: none;
    padding:8px;
}

.introduction span{
    color:#ffc300ff;
}

.hero-heading span.accent {
    color: var(--school-bus-yellow);
    text-shadow: 0 0 15px rgba(255, 195, 0, 0.4);
    font-weight: 900;
}

.hero-heading span.accent {
    color: var(--school-bus-yellow);
    text-shadow: 0 0 15px rgba(255, 195, 0, 0.4);
    font-weight: 900;
}

.introduction h1{
    font-size: clamp(2.5rem, 8vw, 5rem); 
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

:root {
  --ink-black: #000814ff;
  --school-bus-yellow: #ffc300ff;
  --gold: #ffd60aff;
}

.btn-primary {
    background-color: var(--school-bus-yellow) !important;
    color: var(--ink-black) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: none;
}

.btn-primary:hover {
    background-color: var(--gold) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 195, 0, 0.3);
}

.main-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

.carousel-caption {
    background: rgba(0, 29, 61, 0.85);
    border-left: 5px solid #FFC300;
    border-radius: 0 15px 15px 0;
    padding: 2rem;
    bottom: 10%;
    text-align: left;
    max-width: 80%;
    margin: 0 auto;
}

.carousel-caption h5 {
    color: #FFC300;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: clamp(1.2rem, 4vw, 2rem);
    margin-bottom: 10px;
}

.carousel-caption p {
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.carousel img{border-radius: 74% 26% 45% 55% / 35% 42% 58% 65% ;}

@media (max-width: 576px) {
    .carousel-caption {
        width: 90%;
        padding: 1rem;
        bottom: 5%;
    }
}

.services-heading {
    text-align: center;
    color: #FFC300 !important;
    font-weight: 800;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

.service-card {
    background-color: #001D3D !important;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.active-card {
    border: 2px solid #FFC300 !important;
}

.icon-container i {
    font-size: 4rem !important;
    color: #FFC300 !important;
    display: inline-block;
    margin-bottom: 20px;
}

.service-card h3 {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.work-process-white {
    background-color: #ffffff;
    padding: 100px 0;
    color: #001D3D;
}

.process-title-dark {
    text-align: center;
    color: #001D3D;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.waterfall-container {
    max-width: 900px;
    margin: 50px auto;
    position: relative;
}

.step-oval {
    background: #FFC300;
    color: #001D3D;
    width: 80px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.waterfall-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.step-text {
    margin-left: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 29, 61, 0.1);
}

.step-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #001D3D;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.step-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.step-text strong {
    color: #001D3D;
    border-bottom: 2px solid #FFC300;
}

.tech-stack-section {
    background-color: #000814 !important;
    padding: 100px 0;
    overflow: hidden;
    border-radius: 14% 86% 16% 84% / 69% 31% 69% 31% 
}

.tech-track {
    display: flex;
    width: calc(250px * 12);
    animation: scrollInfinite 30s linear infinite;
    will-change: transform;
}

@keyframes scrollInfinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

.tech-slide {
    width: 250px;
    padding: 0 15px;
    flex-shrink: 0;
}

.tech-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: border-color 0.3s ease, background 0.3s ease;
    transform: none !important;
}

.tech-box:hover {
    border-color: #FFC300;
    background: rgba(255, 255, 255, 0.07);
}

.tech-logo, .tech-logo-css {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
    transition: none !important;
}

.tech-logo-css {
    filter: brightness(0) saturate(100%) invert(35%) sepia(89%) saturate(1472%) hue-rotate(182deg) brightness(91%) contrast(89%);
}

.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.btn-message {
    background-color: #001D3D;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-message:hover {
    background-color: #FFC300;
    color: #001D3D;
    transform: translateY(-3px);
}

.cta-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 25px;
    border: 1px dashed #001D3D;
    max-width: 600px;
    margin: 0 auto;
}

.cta-container h3 {
    color: #001D3D;
    font-weight: 800;
}

.cta-choice {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.email-btn {
    background-color: #001D3D;
    color: white;
}

.cta-choice:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    color: white;
}

.footer-section {
    background-color: #001D3D;
    padding: 60px 50px 30px;
    color: white;
    border-top: 5px solid #FFC300;
    border-radius: 57% 43% 87% 13% / 28% 69% 31% 72% ; 
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.footer-logo span {
    color: #FFC300;
}

.copyright-text {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #FFC300;
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-icons { justify-content: flex-end; }
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #FFC300;
    color: #001D3D;
    transform: translateY(-5px);
}

.social-link i.bi-whatsapp:hover {
    color: #25D366;
}

.social-link i.bi-tiktok:hover {
    color: #ff0050;
    filter: drop-shadow(2px 0px 0px #00f2ea);
}

.social-link:hover {
    background: #FFC300;
    color: #001D3D;
    transform: translateY(-5px);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.navbar-brand span {
    color: #FFC300;
}

.custom_nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    margin: 0 10px;
    position: relative;
    transition: 0.3s;
}

.custom_nav .nav-link:hover {
    color: #FFC300 !important;
}

.custom_nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FFC300;
    transition: width 0.3s ease;
}

.custom_nav .nav-link:hover::after {
    width: 100%;
}








/* 1. Fix the Header/Introduction text size on mobile */
@media (max-width: 768px) {
    .introduction h1 {
        font-size: 2.5rem !important; /* Forces a larger size on phones */
        padding: 0 15px;
    }

    .introduction p {
        font-size: 1rem !important;
        padding: 0 20px;
    }

    /* 2. Fix the Navbar appearing small */
    .navbar-brand {
        font-size: 1.2rem !important;
    }

    .custom_nav {
        padding: 10px 0 !important;
    }

    /* 3. Stack the Contact buttons on mobile */
    .cta-container .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    .cta-choice {
        width: 100%;
        justify-content: center;
    }

    /* 4. Fix About Carousel Height for mobile */
    .carousel-item img {
        height: 350px !important; /* Shorter image for vertical screens */
    }

    .carousel-caption {
        width: 95%;
        padding: 1rem;
        border-radius: 10px;
        bottom: 5%;
    }
}

/* 5. Prevent "tiny" scaling on very small screens */
@media (max-width: 480px) {
    .introduction h1 {
        font-size: 2rem !important;
    }
}