/* === RESET & BASE ================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    padding-top: 76px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

section,
footer,
.hero-section,
.products-section,
.strategy-section,
.solutions-section,
.why-section,
.contact-hero,
.modules-section,
.benefits-section,
.testimonial-section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* ================= GLOBAL SMOOTH SCROLL ================= */

html {
    scroll-behavior: smooth;
}

/* ================= PRELOADER ================= */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* DECENT PROFESSIONAL BACKGROUND */
    background: linear-gradient(135deg, #f4f8fc, #eaf2fb);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s;
}

/* main loader */

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* outer ring */

.loader-outter {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top: 4px solid #0d6efd;
    border-right: 4px solid #4db3ff;
    animation: rotate 2s linear infinite;
}

/* inner ring */

.loader-inner {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-bottom: 4px solid #00c6ff;
    border-left: 4px solid #0072ff;
    animation: rotateReverse 1.5s linear infinite;
}

/* heartbeat indicator */

.indicator svg {
    stroke: #0d6efd;
    stroke-width: 2;
    fill: none;
}

#front {
    stroke: #4db3ff;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: heartbeat 1.4s ease infinite;
}

/* glow */

.loader::after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, #4db3ff33, transparent);
    animation: pulseGlow 2s ease infinite;
}

/* animations */

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes heartbeat {
    0% {
        stroke-dashoffset: 48;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -48;
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}


/* ================= HEART BEAT ANIMATION ================= */

@keyframes heartBeat {

    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.05);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(1);
    }

}

/* Apply animation WITHOUT breaking alignment */

.products-title,
.strategy-title,
.solutions-title,
.why-heading,
.modules-heading,
.section-heading,
.testimonial-header h2 {
    animation: heartBeat 3s infinite ease-in-out;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* === STICKY NAVBAR ================================================= */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 76px;
}

/* Navbar adjustments for small screens */
@media (max-width: 991px) {
    body {
        padding-top: 62px;
    }
}

@media (max-width: 433px) {
    body {
        padding-top: 56px;
    }

    .navbar {
        padding: 8px 0;
    }

    .navbar-brand img {
        height: auto;
        max-height: 45px;
        width: auto;
        object-fit: contain;
    }
}


/* === BACK TO TOP BUTTON ============================================ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0d4e87;
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1020;
    transition: all 0.3s ease;
    font-size: 20px;
}

#backToTop:hover {
    background: #1e63a6;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* === START: Global & Navbar Styles ================================= */
.btn-book-demo {
    background: radial-gradient(circle at center, #51b0e7, #2C2D3F);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(13, 110, 253, 0.4), 0 0 12px rgba(13, 110, 253, 0.25);
}

.btn-book-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.6), 0 0 20px rgba(13, 110, 253, 0.4);
    background: radial-gradient(circle at center, #60c0f0, #3a3c55);
}

/* Mobile Book Demo button inside navbar */
.navbar .mobile-book-demo {
    display: none;
}

@media (max-width: 433px) {
    .navbar .d-lg-none.ms-auto.me-2 {
        display: none !important;
    }

    .navbar .mobile-book-demo {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    .navbar .mobile-book-demo .btn-book-demo {
        display: inline-block;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

.dropdown-menu {
    border-radius: 10px;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f0f7ff;
    color: #0d6efd;
    padding-left: 25px;
}

.navbar-nav .nav-item {
    margin: 0 4px;
}

.navbar-nav .nav-link {
    letter-spacing: 0.3px;
    font-size: 1rem;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(13, 110, 253, 0.08);
    color: #0d6efd !important;
}

.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: middle;
    border-top-color: #555;
}

@media (max-width: 991px) {
    .navbar-nav .nav-item {
        margin: 2px 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 20px !important;
    }

    .dropdown-menu {
        border: none;
        background-color: #f8f9fa;
        padding-left: 20px;
    }
}

@media (max-width: 342px) {

    body {
        padding-top: 70px;
    }

    .hero-section {
        margin-top: 10px;
    }

}

/* === END: Global & Navbar Styles =================================== */

/* === START: Hero Carousel & Cards ================================== */
.hero-section {
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: left;
}

.hero-content h1 {
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 650px;
    white-space: normal;
    line-height: 1.3;
}

.hero-content p {
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.6;
}

/* Custom navigation buttons (only visible above 993px) */
.custom-nav-carousel {
    display: flex;
    gap: 8px;
    pointer-events: auto;
    margin-right: 8px;
}

.custom-nav-carousel .carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-nav-carousel .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

/* Mobile carousel controls - placed under the buttons */
.mobile-carousel-controls {
    display: none;
    position: relative;
    z-index: 30;
    margin-top: 30px;
    justify-content: center;
    gap: 20px;
}

.mobile-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

/* persistent stack container — holds both buttons + cards */
.persistent-card-stack {
    position: absolute;
    bottom: 40px;
    right: 1%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 30;
    pointer-events: none;
}

/* custom navigation buttons (prev/next) placed left of first card */
.custom-nav-carousel {
    display: flex;
    gap: 8px;
    pointer-events: auto;
    margin-right: 8px;
}

.custom-nav-carousel .carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-nav-carousel .carousel-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: scale(1.08);
}

/* cards container */
.cards-container {
    display: flex;
    gap: 12px;
    pointer-events: auto;
}

.card-item {
    width: 155px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    pointer-events: auto;
    color: white;
}

.card-item img {
    width: 100%;
    height: 95px;
    object-fit: cover;
    display: block;
}

.card-item .card-body {
    padding: 8px;
}

.card-item .card-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.card-item .card-meta {
    font-size: 0.65rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* Fix for medium screens (993px to 1170px) - prevent card overlap with content */
@media (min-width: 993px) and (max-width: 1170px) {
    .persistent-card-stack {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: 90%;
        max-width: 900px;
        justify-content: center;
        flex-wrap: wrap;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(8px);
        padding: 8px 16px;
        border-radius: 50px;
        gap: 10px;
    }

    .custom-nav-carousel {
        margin-right: 4px;
    }

    .card-item {
        width: 120px;
    }

    .card-item img {
        height: 70px;
    }

    .hero-content {
        padding-bottom: 140px;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
        max-width: 90%;
    }
}

/* Fix for even smaller screens (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .hero-content {
        max-width: 80%;
    }

    .hero-content h1 {
        font-size: 26px;
    }
}

/* Hero section adjustments for very small screens */
@media (max-width: 433px) {
    .hero-section {
        height: 550px;
        padding-top: 20px;
    }

    .hero-content {
        padding-top: 30px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .hero-content .btn-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .hero-content .btn-group .btn {
        width: 200px;
        margin: 0 !important;
        padding: 10px 20px;
        font-size: 14px;
    }

    .mobile-carousel-controls {
        margin-top: 25px;
    }

    .mobile-carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Responsive: hide the entire button group AND cards below 993px, show mobile controls */
@media (max-width: 992px) {
    .persistent-card-stack {
        display: none !important;
    }

    .mobile-carousel-controls {
        display: flex !important;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-content .btn-group {
        margin-bottom: 20px;
    }
}

/* Above 993px, hide mobile controls */
@media (min-width: 993px) {
    .mobile-carousel-controls {
        display: none !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .hero-section {
        height: 500px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }
}

/* === END: Hero Carousel & Cards ==================================== */

/* ================= BASE ================= */

body {
    font-family: 'Inter', sans-serif;
    background: #f8f9fc;
    margin: 0;
}

.products-section {
    padding: 70px 0 30px 0;
}

.products-title {
    text-align: center;
    font-weight: 700;
    color: #9b59d0;
    margin-bottom: 25px;
    animation: heartbeat 1.5s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(155, 89, 208, 0.4);
}

/* ================= WRAPPER ================= */

.products-wrapper {
    position: relative;
}


.connection-bg {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.93);
    transform-origin: center bottom;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    pointer-events: none;
}

/* ================= LAYOUT ================= */

.products-left,
.products-right {
    display: flex;
    flex-direction: column;
    gap: 55px;
    z-index: 2;
}

.products-left {
    align-items: flex-end;
    transform: translateX(-45px);
}

.products-right {
    align-items: flex-start;
    transform: translateX(45px);
}

.product-item {
    display: flex;
    align-items: center;
}

/* ---------- IMAGE BASE + SHINE (SKY BLUE) ---------- */
.product-item img {
    max-width: 260px;
    transition: transform 0.4s ease, filter 0.3s ease, box-shadow 0.3s ease;
    border-radius: 24px;
    will-change: transform, filter;
    filter: brightness(1) contrast(1);
}

.product-item img:hover {
    transform: translateY(-6px) scale(1.05);
    filter: drop-shadow(0px 8px 15px rgba(0, 0, 0, 0.15)) brightness(1.12) contrast(1.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(135, 206, 250, 0.9),
        0 0 60px rgba(100, 148, 237, 0.4);
}


.product-item img:active {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.15) contrast(1.08);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7),
        0 0 35px rgba(173, 216, 230, 1.0),
        0 0 70px rgba(70, 130, 200, 0.6);
    transition: transform 0.1s ease, filter 0.1s ease;
}

.products-left .product-item:last-child,
.products-right .product-item:last-child {
    margin-top: -8px;
}

.center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transform: translateY(12px);
}

.main-logo {
    max-width: 280px;
    transition: .4s ease;
}

.main-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(135, 206, 250, 0.8));
}

/* ================= RESPONSIVE ================= */

@media(max-width:992px) {

    .connection-bg {
        display: none;
    }

    .products-left,
    .products-right {
        align-items: center;
        transform: none;
        margin-bottom: 30px;
        gap: 40px;

    }

    .product-item img {
        max-width: 220px;
    }

    .main-logo {
        max-width: 240px;
        margin: 30px 0;
    }
}

@media(max-width:576px) {
    .product-item img {
        max-width: 180px;
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.1);
    }

    40% {
        transform: scale(1);
    }

    60% {
        transform: scale(1.1);
    }

    80% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* === START: Strategy & Vision Section ============================== */
.strategy-section {
    padding: 60px 0;
    background: #f4f6fb;
}

.strategy-title {
    font-weight: 700;
    color: #9b59d0;
    margin-bottom: 40px;
}

.strategy-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.strategy-left {
    max-width: 520px;
}

.power-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

.power-title span {
    color: #1e63a6;
    border-bottom: 3px solid #1e63a6;
}

.strategy-text {
    line-height: 1.7;
    text-align: justify;
}

.strategy-right {
    flex: 1;
    text-align: right;
}

.harvis-image {
    width: 100%;
    max-width: 750px;
}

@media (max-width: 992px) {
    .strategy-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .strategy-right {
        text-align: center;
    }

    .harvis-image {
        max-width: 90%;
    }
}

/* === END: Strategy & Vision Section ================================ */

/* === START: Our Solutions Section ================================== */
.solutions-section {
    padding: 15px 0;
    background: #f6f7fb;
}

.solutions-title {
    text-align: center;
    color: #a96bd6;
    font-weight: 700;
    margin-bottom: 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-card {
    position: relative;
    background: url("Image/design.png") center/100% 100% no-repeat;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 340px;
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    border-radius: 20px;
}

.solution-card:hover {
    transform: scale(1.035);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: transform 0.6s ease;
}

.solution-card:hover img {
    transform: scale(1.08);
}

.solution-content {
    padding: 15px 18px;
    text-align: center;
    flex-grow: 1;
}

.solution-content h4 {
    color: #1e63a6;
    margin-bottom: 10px;
    font-weight: 600;
}

.solution-content p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

.solution-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.15));
    transform: skewX(-20deg);
    transition: 0.8s;
}

.solution-card:hover::after {
    left: 150%;
}

@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .solution-card {
        min-height: 320px;
    }

    .solution-content p {
        max-width: 100%;
        font-size: 13px;
    }
}

@media (max-width: 784px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .solution-card {
        min-height: auto;
    }
}

/* === END: Our Solutions Section ==================================== */

/* === START: Why Choose Us Section ================================== */
.why-section {
    padding: 65px 0;
    background: #f4f4f4;
}

.why-heading {
    text-align: center;
    color: #a96bd6;
    font-weight: 700;
    margin-bottom: 50px;
}

.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.stat-card {
    position: relative;
    width: calc(20% - 16px);
    min-width: 200px;
    flex: 1 1 200px;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.stat-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 0.5s ease;
}

.stat-card:hover img {
    transform: scale(1.05);
}

.stat-card.up {
    transform: translateY(-30px);
}

.stat-card.down {
    transform: translateY(30px);
}

.stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    transform: skewX(-20deg);
    transition: 0.8s;
}

.stat-card:hover::after {
    left: 150%;
}

.stat-label {
    position: absolute;
    left: 0;
    right: 0;
    padding: 16px;
    color: white;
    font-weight: 700;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
    z-index: 2;
}

.stat-label.blue {
    background: #0d4e87;
    top: 0;
}

.stat-label.purple {
    background: #a96bd6;
}

.stat-label.bottom {
    bottom: 0;
}

@media (max-width: 1200px) {

    .stat-card.up,
    .stat-card.down {
        transform: none;
    }
}

@media (max-width: 969px) {
    .stat-card {
        min-width: 220px;
        flex: 1 1 220px;
    }

    .stat-card img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .stat-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .stats-wrapper {
        gap: 20px;
    }

    .stat-card img {
        height: 240px;
    }
}

.why-bottom {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 160px;
    margin-top: 70px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-box {
    background: #0d4e87;
    color: white;
    padding: 32px;
    border-radius: 14px;
    width: 320px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(13, 78, 135, 0.2);
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(13, 78, 135, 0.4);
}

.feature-box h4 {
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-box p {
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.6;
}

.why-image {
    display: flex;
    justify-content: center;
}

.why-image img {
    width: 560px;
    height: 700px;
    object-fit: cover;
    border-radius: 22px;
    transition: all 0.5s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.why-image img:hover {
    transform: scale(1.04);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1300px) {
    .why-bottom {
        column-gap: 80px;
    }
}

@media (max-width: 1100px) {
    .why-bottom {
        grid-template-columns: 1fr;
        column-gap: 0;
        margin-top: 40px;
    }

    .why-features {
        align-items: center;
        margin-bottom: 30px;
    }

    .why-image img {
        width: 100%;
        height: auto;
        max-width: 560px;
        margin-top: 20px;
    }
}

/* === END: Why Choose Us Section ==================================== */

/* === START: Contact Hero Section =================================== */
.contact-hero {
    padding: 50px 0;
    background: url("Image/work.jpg") center/cover no-repeat;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(13, 78, 135, 0.85), rgba(13, 78, 135, 0.6));
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
}

.hero-left {
    max-width: 620px;
}

.hero-left h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-sub {
    margin-bottom: 20px;
    font-size: 18px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-primary {
    background: white;
    color: #0d4e87;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
}

.hero-buttons .btn-outline {
    padding: 14px 30px;
    border-radius: 12px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    background: transparent;
    cursor: pointer;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: #0d4e87;
}

.hero-form {
    background: #ffffff;
    color: #333;
    padding: 45px;
    border-radius: 24px;
    width: 520px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    position: relative;
}

.hero-form:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35), 0 0 40px rgba(255, 255, 255, 0.6);
}

.form-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
}

.rating {
    text-align: right;
    font-size: 14px;
    color: #ff9900;
}

.rating p {
    color: #333;
    font-size: 12px;
    margin: 0;
}

.hero-form h3 {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-form label {
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
    margin-top: 15px;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: #f1f3f6;
    font-size: 14px;
    transition: all 0.3s ease;
}

.hero-form input:focus,
.hero-form textarea:focus {
    outline: none;
    background: #ffffff;
    box-shadow: 0 0 0 2px #0d4e87;
}

.hero-form textarea {
    height: 110px;
    resize: none;
}

.submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #0d4e87, #3d88c1);
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.2));
    transform: skewX(-20deg);
    transition: 0.8s;
}

.submit-btn:hover::after {
    left: 150%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero-form {
        width: 100%;
        max-width: 520px;
    }
}

@media (max-width: 576px) {
    .hero-left h1 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-form {
        padding: 30px;
    }
}

/* === END: Contact Hero Section ===================================== */

/* === START: Modules Section ======================================== */
.modules-section {
    padding: 70px 0;
    background: #f4f4f4;
}

.modules-heading {
    text-align: center;
    color: #a96bd6;
    font-weight: 700;
    margin-bottom: 40px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.module-card {
    background: url("Image/arrow1.png") no-repeat center;
    background-size: 100% 100%;
    border-radius: 30px;
    overflow: hidden;
    padding-bottom: 45px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.module-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
}

.module-content {
    padding: 25px;
}

.module-content h4 {
    text-align: center;
    color: #1e63a6;
    margin-bottom: 15px;
    font-weight: 600;
}

.module-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
    transform: skewX(-20deg);
    transition: 0.8s;
}

.module-card:hover::before {
    left: 150%;
}

@media (max-width: 992px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* === END: Modules Section ========================================== */

/* === START: Benefits Section ======================================= */
.benefits-section {
    padding: 30px 0;
    background: #f6f7fb;
}

.section-heading {
    text-align: center;
    color: #a96bd6;
    font-weight: 700;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-card {
    display: flex;
    gap: 20px;
    background: #efefef;
    padding: 30px;
    border-radius: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.icon-box {
    width: 65px;
    height: 65px;
    background: #0d4e87;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.benefit-card h4 {
    color: #1e63a6;
    font-weight: 600;
    margin-bottom: 6px;
}

.benefit-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.benefit-card div:last-child {
    max-width: 420px;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* === END: Benefits Section ========================================= */

/* === START: Testimonial Section ==================================== */
/* === START: Testimonial Section ==================================== */
.testimonial-section {
    padding: 40px 0;
    background: #ffffff;
}

.testimonial-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.testimonial-header h2 {
    color: #a96bd6;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.testimonial-header a {
    position: absolute;
    right: 0;
    color: #1e63a6;
    font-weight: 500;
    text-decoration: none;
}

/* Mobile responsive fix for testimonial header */
@media (max-width: 768px) {
    .testimonial-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .testimonial-header a {
        position: static;
        margin-top: 10px;
    }
}

@media (max-width: 450px) {
    .testimonial-header {
        margin-bottom: 50px;
    }

    .testimonial-header h2 {
        font-size: 24px;
        width: 100%;
    }

    .testimonial-header a {
        display: inline-block;
        padding: 5px 15px;
        background: rgba(30, 99, 166, 0.1);
        border-radius: 20px;
        font-size: 14px;
    }
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.testimonial-card {
    background: #ffffff;
    border: 2px solid #1e63a6;
    border-radius: 25px;
    padding: 80px 25px 35px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.avatar-circle {
    width: 95px;
    height: 95px;
    background: #0d4e87;
    border-radius: 50%;
    position: absolute;
    top: -47px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #ffffff;
    z-index: 2;
}

.avatar-circle::after {
    content: "";
    position: absolute;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    border: 2px solid #1e63a6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.avatar-circle img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card p {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
    min-height: 80px;
    line-height: 1.6;
    max-width: 230px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.testimonial-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
}

.stars {
    color: #f4b400;
    font-size: 18px;
}

@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* === END: Testimonial Section ====================================== */

/* === START: Footer Section ========================================= */
.footer-section {
    background: #0d4e87;
    color: #fff;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(77, 179, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(77, 179, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-top {
    padding-bottom: 30px;
    position: relative;
}

.footer-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(77, 179, 255, 0.3), transparent);
}

.footer-col h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: #4db3ff;
    transition: width 0.4s ease;
}

.footer-col:hover h5::after {
    width: 60px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #d6e6f7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.footer-col ul li a::before {
    content: '▹';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4db3ff;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 20px !important;
    text-shadow: 0 0 8px rgba(77, 179, 255, 0.5);
}

.footer-col ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    margin-right: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    border-color: #4db3ff;
    box-shadow: 0 8px 20px rgba(77, 179, 255, 0.4);
}

.social-icons a:nth-child(1):hover {
    background: #3b5998;
}

.social-icons a:nth-child(2):hover {
    background: #db4a39;
}

.social-icons a:nth-child(3):hover {
    background: #1da1f2;
}

.social-icons a:nth-child(4):hover {
    background: #1ab7ea;
}

.social-icons a:nth-child(5):hover {
    background: #bd081c;
}

.social-icons a::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: rotate(25deg);
    transition: 0.6s;
}

.social-icons a:hover::before {
    top: 100%;
    left: 100%;
}

.footer-col p {
    position: relative;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.footer-col p:hover {
    border-left-color: #4db3ff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.footer-col p strong {
    color: #4db3ff;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 5px;
    position: relative;
}

.footer-col p strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4db3ff;
    transition: width 0.3s ease;
}

.footer-col p:hover strong::after {
    width: 100%;
}

.footer-bottom {
    background: #2f80c3;
    padding: 15px 0;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4db3ff, transparent);
    animation: bottomGlow 8s linear infinite;
}

@keyframes bottomGlow {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: underline;
    position: relative;
    padding: 2px 0;
    transition: all 0.3s ease;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-bottom a:hover::after {
    width: 100%;
}

.footer-bottom a:hover {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-col {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-col h5::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul li a {
        text-align: center;
        display: block;
    }

    .footer-col ul li a::before {
        display: none;
    }

    .footer-col ul li a:hover {
        padding-left: 0 !important;
        transform: scale(1.05);
    }

    .social-icons {
        justify-content: center;
        display: flex;
    }

    .footer-col p {
        text-align: center;
        border-left: none;
        border-bottom: 2px solid transparent;
    }

    .footer-col p:hover {
        border-left-color: transparent;
        border-bottom-color: #4db3ff;
        transform: translateY(-5px);
    }
}

a:focus {
    outline: 2px solid #4db3ff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    .footer-section *,
    .footer-section::before,
    .footer-section::after {
        animation: none !important;
        transition: none !important;
    }

    .footer-bottom::before {
        animation: none !important;
    }
}

/* === END: Footer Section =========================================== */