.scrolled {
    background-color: #FEDFCF!important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}



.scrolled .nav-link {
    color: #063259 !important;
    font-size: 15pt;
}


.scrolled .btn-primary {
  background-color: #063259;
    border: none;
    color: #FEDFCF;
    font-size: 15pt;
     
}

.navbtn:focus {
    border: none;

}


html body {
    overflow-x: hidden;
    background-color: #FCEEEB;
    font-size: 14pt;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
    
}



#mainNavbar {
    transition: all 0.3s ease-in-out;
}

.whowe{
    background-color:#FCEBE3 ;

    width: 100%;
    max-height: max-content;
}

.chosus{
    background-color: #FCEBE3;
    width: 100%;
    max-height: max-content;
}

.serve{
    background-color: #FCEBE3;
    width: 100%;
    max-height: max-content;
}
.text-warning{
    color: #063259 !important ;
}
.section-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: #063259;
    text-align: center;
    position: relative;
    text-shadow:  0 5px 5px rgba(0, 0, 0, 0.5);
}

.text-muted{
     color: #063259;
     font-weight: 500;
    
}

.btn-primary1{
     background: linear-gradient(135deg, #EE3823, #102A46);
    color:#FEDFCF  ;
    font-size: 13pt;
}

.btn-primary1:hover{
     background: linear-gradient(135deg, #102A46, #EE3823);
    color: #FEDFCF;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    transform: translateX(-50%);
    border-radius: 3px;
}

.team-card {
    background: #fff;
    border: 1px solid #086dd849;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    height: 350px;
    perspective: 1000px;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.team-card:hover {
    transform: rotateX(2deg) rotateY(2deg) translateZ(10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
    border-color: #007bff;
}

.team-img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover .team-img {
    transform: scale(0.9) translateY(-5px);
    box-shadow: 0 12px 20px rgba(10, 10, 10, 0.3);
}

.team-info {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.social-links {
    position: absolute;
    top: 50%;
    left: -50px;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 10;
}

.team-card:hover .social-links {
    left: 10px;
    pointer-events: auto;
}

.social-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50px;
    background: #fff;
    border-radius: 25px;
    z-index: -1;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007bff;
    color: #fff;
    transform: scale(1.2);
}

.about-img {
    width: 100%;
    object-fit: contain;
    object-position: top;
    animation: float-spin 10s ease-in-out infinite;
}

@keyframes float-spin {

    0%,
    100% {
        transform: translate(0, 0) scale(1) rotate(0);
    }

    20% {
        transform: translate(5%, -5%) scale(1.05) rotate(3deg);
    }

    40% {
        transform: translate(-5%, 5%) scale(1.1) rotate(-3deg);
    }

    60% {
        transform: translate(5%, 5%) scale(1.05) rotate(2deg);
    }

    80% {
        transform: translate(-5%, -5%) scale(1.1) rotate(-2deg);
    }
}

.progress-bar {
    width: 0;
    transition: width 2s ease-in-out;
    background-color: #063259 !important;
}

.text-dark{
    color: #063259 !important;
}

.text-white{
    color: #c9d3e0 !important;
    font-weight: 400;
}

.animated-img {
    transition: transform 2s ease-in-out;
    animation: floatZoom 6s infinite alternate ease-in-out;
}

@keyframes floatZoom {

    0%,
    100% {
        transform: translateY(0) scale(1) rotate(0);
    }

    25% {
        transform: translateY(-10px) scale(1.05) rotate(-2deg);
    }

    50% {
        transform: translateY(5px) scale(1.1) rotate(1deg);
    }

    75% {
        transform: translateY(-5px) scale(1.05) rotate(-1deg);
    }
}

footer {
    background-color: #102A46;
    color: #9DABBF;
}

footer a:hover {
    color: #1cc88a !important;
}

footer .btn-primary {
    background: linear-gradient(135deg, #EE3823, #102A46);
    border: none;
    transition: 0.3s;
}

footer .btn-primary:hover {
    background: linear-gradient(135deg, #102A46, #EE3823);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

footer .email {
    background-color: transparent;
    color: white;
}

footer .email:focus {
    background-color: transparent;
    color: white;
    box-shadow: none;
}

footer .email::placeholder {
    color: white;
}

footer .link {
    position: relative;
    width: max-content;
}

footer .link::after {
    content: "";
    width: 40px;
    height: 5px;
    position: absolute;
    left: 100%;
    top: 100%;
     background: linear-gradient(135deg, #102A46, #EE3823);
}
footer i {
    background-image: linear-gradient(135deg, #6D84A5, #1F52A4);
    -webkit-background-clip: text; 
    color: transparent; 
}

.order {
    background-color: #FEDFCF;
    box-shadow: inset 0 -9px 9px rgba(0, 0, 0, 0.5);
}


.grid-container {
    --grid: 10rem;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    perspective: 100rem;
    transform-style: preserve-3d;
    animation: rotate 100s linear infinite;
}

.grid-container .plane {
    --dir: 1;
    width: 300%;
    height: 150%;
    min-height: 70rem;
    position: absolute;
    bottom: 0;
    transform-style: preserve-3d;
    transform-origin: bottom center;
    transform: translateX(-50%) rotateX(85deg);
}

.grid-container .plane:last-child {
    --dir: -1;
    top: 0;
    bottom: auto;
    transform-origin: top center;
    transform: translateX(-50%) rotateX(-85deg);
}

.grid-container .plane:last-child>*::after {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 1) var(--grid), rgba(0, 0, 0, 0));
}

.grid-container .plane>* {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.grid-container .plane>*::before,
.grid-container .plane>*::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.grid-container .plane>*::before {
    background-image:
        repeating-linear-gradient(to left, green, green 4px, transparent 4px, transparent var(--grid)),
        repeating-linear-gradient(to bottom, green, green 4px, transparent 4px, transparent var(--grid));
    animation: move 1s linear infinite;
}

.grid-container .plane>*::after {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) var(--grid), rgba(0, 0, 0, 0));
    transform: translateZ(1px);
    z-index: 1;
}

.glow {
    filter: blur(1rem);
    mix-blend-mode: plus-lighter;
    z-index: 1;
}

@keyframes move {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(calc(var(--grid) * var(--dir)));
    }
}

@keyframes blink {

    0%,
    50% {
        visibility: visible;
    }

    51%,
    100% {
        visibility: hidden;
    }
}

.service-card,
.project-card,
.blog-card {
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
     box-shadow: 0 10px 7px rgba(0, 0, 0, 0.3);
     margin-bottom: 15px;
}

.service-card:hover,
.project-card:hover {
    box-shadow: 0 9px 9px rgba(0, 0, 0, 0.5);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-img-wrapper,
.project-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    
}

.service-img,
.project-img,
.blog-card img {
    width: 100%;
    min-height: 250px;
    max-height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card img {
    min-height: 350px;
    max-height: 450px;
}

.service-card:hover .service-img,
.project-card:hover .project-img,
.blog-card:hover img {
    transform: scale(1.1);
}

.img-overlay,
.overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(38, 38, 38, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
}

.service-card:hover .img-overlay,
.project-card:hover .overlay {
    top: 0;
    opacity: 1;
}

.card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    color: #063259;
    background: #FEDFCF;
    transition: transform 0.4s ease;
    box-shadow: inset 0 -9px 9px rgba(0, 0, 0, 0.5);
    
}

.card-title{
    text-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-card:hover .card-body,
.service-card:hover .card-body {
    transform: translateX(100%);
}

.btn-gradient,
.btn-overlay,
.blog-card .btn-primary {
    background: linear-gradient(45deg, #063259, #FB5E10);
    color: #fff !important;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    transition: 0.3s;
    border: none;
}

.btn-gradient:hover,
.btn-overlay:hover,
.blog-card .btn-primary:hover {
    background: linear-gradient(45deg, #FB5E10, #063259);
    transform: scale(1.05);
    border: none;
}

.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card .card-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.blog-card .text-muted {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.swiper-pagination-bullet {
    background: #6a11cb;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: #2575fc;
    opacity: 1;
}

.about-us-section p {
    letter-spacing: 0.5px;
}

.text-gradient {
    background: linear-gradient(90deg, #063259, #22917E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .about-us-section h1 {
        font-size: 2.5rem;
    }
}

.stat-card {
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #063259;
    background-color:#FEDFCF ;
}


.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
}

.stat-icon {
    font-size: 26pt;
    
}

.stat-title {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: inherit;
}


@media (min-width: 768px) {
    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 40pt;
    }
}



#quantumCanvas {
    display: block;
    background-color: #063259;
    width: 100vw;
    height: 400px;
}

.swiper1 {
    position: relative;
    z-index: 1;
}

.swiper-slide1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    color: #fff;
    height: 400px;
}

.slide-content1 {
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 2;
    width: 100vw;
}

.slide-content1 img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.slide-text1 {
    max-width: 500px;
    flex: 1;
}

.slide-text1 h4 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.slide-text1 p {
    font-size: 18px;
    color: #ddd;
}

@media (max-width: 1440px) {
    .slide-content1 {
        flex-direction: row;
        text-align: center;
        align-items: center;
        justify-content: center;

    }

    .slide-content1 img {
        width: 40%;
        height: 320px;
        margin-bottom: 10px;
    }

    .slide-text1 h4 {
        font-size: 65px;
    }

    .slide-text1 p {
        font-size: 30px;
    }

    #quantumCanvas {
        height: 450px;
    }

    .swiper-slide1 {
        height: 450px;
        padding: 30px;
    }
}

@media (max-width: 1024px) {
    .slide-content1 {
        flex-direction: row;
        text-align: center;
    }

    .slide-content1 img {
        width: 40%;
        height: 250px;
        margin-bottom: 10px;
    }

    .slide-text1 h4 {
        font-size: 25px;
    }

    .slide-text1 p {
        font-size: 18px;
    }

    #quantumCanvas {
        height: 350px;
    }

    .swiper-slide1 {
        height: 350px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .slide-content1 img {
        width: 40%;
        height: 180px;
    }

    .slide-text1 h4 {
        font-size: 30px;
    }

    .slide-text1 p {
        font-size: 18px;
    }

    #quantumCanvas {
        height: 250px;
    }

    .swiper-slide1 {
        height: 250px;
        padding: 20px;


    }



}

@media (max-width: 425px) {
    .slide-content1 {
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap: 10px;

    }


    .slide-content1 img {
        width: 70%;
        height: 140px;
    }

    .slide-text1 h4 {
        font-size: 15px;
    }

    .slide-text1 p {
        font-size: 10px;
    }

    #quantumCanvas {
        height: 250px;
    }

    .swiper-slide1 {
        height: 250px;
        padding: 5px;
    }

    .team-card{
        height: 370px;
    }

    .team-img{
        
        height: 250px;
    }
}