/* Smooth scrolling fallback */
html {
    scroll-behavior: smooth;
}

/* Reveal animation base */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

    /* When visible */
    .reveal.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Header */
.header-modern {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Menu */
.nav-modern {
    color: #333 !important;
    font-weight: 500;
    position: relative;
}

    .nav-modern::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: #0d6efd;
        left: 0;
        bottom: -4px;
        transition: 0.3s;
    }

    .nav-modern:hover::after {
        width: 100%;
    }

/* Icons */
.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    margin-left: -10px;
    transition: 0.3s;
}

    .icon-circle:hover {
        background: #0d6efd;
        color: #fff;
    }

/* Button */
.btn-modern {
    border-radius: 25px;
    padding: 8px 18px;
}

/* Sections */
.hero-section {
    height: 90vh;
    /*    padding-top: 100px;*/
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: #fff;
}

.section {
    padding: 0px 0;
}

.navbar-inner {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    padding: 5px;
}
/* Logo wrapper controls size */

/* Prevent navbar expansion */
.header-modern .navbar {
    height: 72px;
    padding: 0;
}

/* Brand container */
.navbar-brand {
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0;
}

.logo-wrapper {
    height: 90px;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    /* Image scales inside wrapper */
    .logo-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }




/* Search container */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

/* Search button */
.search-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

    .search-btn:hover {
        background: #0d6efd;
        color: #fff;
    }

/* Search input (hidden by default) */
.search-input {
    width: 0;
    opacity: 0;
    margin-left: 0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 12px;
    outline: none;
    transition: all 0.35s ease;
}

/* Expanded state */
.search-box.active .search-input {
    width: 180px;
    opacity: 1;
    margin-left: 8px;
}

#getstart-btn {
    background-color: #17A6E0;
    border-color: #17A6E0;
}

    #getstart-btn:hover {
        background-color: #274394;
    }




/* Body spacing */
body {
    padding-top: 72px;
}

.custom-justify {
    text-align: justify !important;
}
/*=====================*/

/*content style */

/*hero section style  */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: background-image 1.2s ease-in-out;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(3, 25, 63, 0.85), rgba(3, 25, 63, 0.55) );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-glow {
    background-color: #274394;
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
    transition: 0.3s;
}

    .btn-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 35px rgba(0, 242, 255, 0.9);
    }

#hero-view-btn {
    background-color: #274394;
    color: white;
}

    #hero-view-btn:hover {
        background-color: #274394;
        color: white;
    }

#hero-submit-btn {
    background-color: #17A6E0;
    border-color: #17A6E0;
    border: none;
}

    #hero-submit-btn:hover {
        background-color: #274394;
    }





/* Quote Card */
.quote-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

    .quote-card h4 {
        margin-bottom: 20px;
        font-weight: 600;
    }

    .quote-card input,
    .quote-card textarea {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ddd;
        margin-bottom: 18px;
        padding: 8px 5px;
        outline: none;
    }

        .quote-card input:focus,
        .quote-card textarea:focus {
            border-color: #0d6efd;
        }





/*About us section style */
.about-section {
    padding: 90px 0;
    background: #ffffff;
}

/* Mission / Vision cards */
.about-card {
    background: #faf7ff;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}

    .about-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.about-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.about-card p {
    font-size: 14px;
    color: #6c757d;
}

/* Stats */
.about-stats h3 {
    font-size: 34px;
    font-weight: 700;
    color: #4f8cff;
    margin-bottom: 5px;
}

.about-stats p {
    font-size: 14px;
    color: #6c757d;
}





/*our team section  style */

.team-section {
    background: #fff;
    overflow: hidden;
}

.team-slider-wrapper {
    position: relative;
    overflow: hidden;
    /*overflow-x: scroll; 
    overflow-y: hidden;*/
    /* Hide scrollbar */
    /*scrollbar-width: none; 
    -ms-overflow-style: none;*/
}

.team-slider {
    display: flex;
    gap: 30px;
    padding: 10px;
    will-change: transform;
    /*    animation: teamScroll 30s linear infinite;*/
}

.team-card {
    min-width: 320px;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

/* Avatar */
.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f2f2;
}

    .team-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Stars */
.team-stars {
    color: #f4b400;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Text */
.team-text {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.team-role {
    font-size: 12px;
    color: #adb5bd;
}

/* Animation */
@keyframes teamScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
/*pause when user hover */
.team-card:hover ~ .team-slider,
.team-slider:hover {
    animation-play-state: paused;
}

/*.team-slider-wrapper::-webkit-scrollbar {
    display: none; 
}*/







/*service section */
.services-section {
    padding: 80px 0;
    background: #fff;
}

/* Modern Card */
.service-card.modern {
    background: linear-gradient(180deg, #ffffff, #fafbff);
    border-radius: 22px;
    padding: 45px 30px;
    text-align: left;
    height: 100%;
    border: 1px solid #eef1f6;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    /* Hover Glow Effect */
    .service-card.modern::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top, rgba(13,110,253,0.15), transparent 60%);
        opacity: 0;
        transition: 0.35s;
    }

    .service-card.modern:hover::before {
        opacity: 1;
    }

    .service-card.modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    }

/* Icon */
.service-icon.modern {
    width: 130px;
    height: 130px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .service-icon.modern img {
        width: 300px;
        height: 150PX;
        border-radius: 20px;
    }

/* Text */
.service-card.modern h5 {
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card.modern p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.7;
}
/* Hide extra services */
.services-grid .extra {
    display: none;
}

/* Expanded */
.services-grid.expanded .extra {
    display: block;
}

.service-icon .service-icon-image {
    height: 80px;
    border-radius: 20px;
}



.timeline {
    position: relative;
    margin-left: 30px;
}

    .timeline::before {
        content: "";
        position: absolute;
        left: 25px;
        top: 0;
        width: 3px;
        height: 100%;
        background-color: #0d6efd;
    }

.timeline-year {
    min-width: 70px;
    font-weight: 600;
    color: #0d6efd;
    position: relative;
}

    .timeline-year::before {
        content: "";
        position: absolute;
        left: 40px;
        top: 5px;
        width: 14px;
        height: 14px;
        background-color: #0d6efd;
        border-radius: 50%;
    }
.card {
    width:100%;
}
    /*portfolio section style */

    .portfolio-section {
    padding: 30px 0;
    background: #f9fafb;
}

/* Card */
.portfolio-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

    .portfolio-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* Hover animation */
    .portfolio-card:hover img {
        transform: scale(1.1);
    }

    .portfolio-card:hover {
        transform: translateY(-8px);
    }

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13,110,253,0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Text */
.portfolio-overlay h5 {
    font-weight: 600;
    margin-bottom: 6px;
}

.portfolio-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Button */
.portfolio-overlay .btn {
    border-radius: 20px;
    font-weight: 500;
}

/* Hide extra projects */
.extra-project {
    display: none;
}

/* When expanded */
.portfolio-grid.expanded .extra-project {
    display: block;
    animation: fadeUp 0.6s ease;
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* View all button */
.view-all-btn {
    background: none;
    border: none;
    color: #0d6efd;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .view-all-btn:hover {
        letter-spacing: 0.5px;
    }








/*Contact Section style */
.contact-section {
    padding: 0px 0;
    background: #fff;
}

/* Form */
.contact-form .form-control {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding-left: 0;
    box-shadow: none;
}

    .contact-form .form-control:focus {
        border-color: #0d6efd;
        box-shadow: none;
    }

/* Button */
.contact-btn {
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: 500;
}

/* Map */
.map-box {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

    .map-box iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }







/*footer style */
/* Footer */
.footer-modern {
    background: #1c1c1c;
    color: #ccc;
    font-size: 14px;
}

/* Logo */
.footer-logo {
    color: #00e5ff;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Text */
.footer-text {
    line-height: 1.6;
    color: #aaa;
}

/* Titles */
.footer-title {
    color: #fff;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        color: #aaa;
        text-decoration: none;
        transition: 0.3s;
    }

        .footer-links a:hover {
            color: #00e5ff;
        }

/* Social icons */
.footer-social a {
    width: 38px;
    height: 38px;
    background: #2a2a2a;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 8px;
    transition: 0.3s;
}

    .footer-social a:hover {
        background: #00e5ff;
        color: #000;
    }

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    padding: 15px 0;
    color: #777;
    font-size: 13px;
}


/* LG and below */
@media (max-width: 991.98px) {

    .navbar-collapse {
        text-align: center;
        background-color: white;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        font-size: 1rem;
    }

    .header-right {
        flex-direction: column;
        margin-top: 15px;
        margin-bottom: 8px;
        gap: 12px;
    }

    .search-box.active .search-input {
        width: 160px;
    }

    .logo-wrapper {
        width: 130px;
        height: 65px;
    }




    /*    footer */
    .footer-modern {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }

        .footer-social a {
            margin: 0 6px;
        }

    .footer-text {
        max-width: 500px;
        margin: 0 auto;
    }

    /*    Journey Timeline*/
    .timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Hide side columns */
    .timeline-line {
        grid-row: 1 / -1;
        position: relative;
        align-items: center;
    }

        .timeline-line::before {
            left: 50%;
            transform: translateX(-50%);
        }

        .timeline-line .dot {
            margin: 30px 0;
        }

    .timeline-item {
        justify-content: center !important;
        transform: none !important;
    }

    .timeline-card {
        max-width: 90%;
    }
}

/* Mobile */
@media (max-width: 575.98px) {

    .logo-wrapper {
        width: 110px;
        height: 55px;
    }

    .btn-modern {
        padding: 7px 14px;
        font-size: 0.9rem;
    }

    .icon-circle,
    .search-btn {
        width: 34px;
        height: 34px;
    }

    .search-box.active .search-input {
        width: 130px;
    }

    #search-btn {
        display: none;
    }

    #account-btn {
        display: none;
    }


    /*    footer */
    .footer-modern {
        padding: 30px 15px;
        font-size: 13px;
    }

    .footer-title {
        margin-top: 20px;
        font-size: 15px;
    }

    .footer-links li {
        margin-bottom: 6px;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 12px 0;
    }


    /*    Journey Timeline*/
    .journey-section {
        padding-bottom: 60px;
    }

    .timeline-card {
        padding: 20px;
    }

        .timeline-card .year {
            font-size: 20px;
        }

        .timeline-card p {
            font-size: 13px;
        }

    .timeline-line .dot {
        width: 12px;
        height: 12px;
    }
   .hero-section {
        position: relative;
        height: auto;
        display: flex;
        align-items: center;
        background-size: cover;
        background-position: center;
        transition: background-image 1.2s ease-in-out;
    }
    .p-10 {
        padding: 10px;
    }
}
