/***************|| RESET ***********************/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 90%;
}

/* Responsive typography */
@media (max-width: 1200px) {
    html {
        font-size: 88%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 85%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 82%;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 80%;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 78%;
    }
}

/***************|| ROOT ***********************/
:root {
    /* PROJECT SECTION */
    --dur: all 550ms ease-in-out;
    --dur-a: all 650ms ease-in-out;
    --dur-b: all 750ms ease-in-out;

    /* COMMON COLOR */
    --FIRST-COLOR: #faa619ff;
    /* --SECOND-COLOR: #0c81c1; */
    --SECOND-COLOR: #04adefff;
    --THIRD-COLOR: #ed125aff;
    --HEADER-STICKY: #083661;
    --LIGHT-WHITE: #d7dfee;
    --DARK-BLACK: black;
    --WHITE: #ffffff;
}

/***************|| COMMON TAG ***********************/
section {
    padding: 100px 50px;
    opacity: 0;
    transform: translate3d(0px, 200px, 0px);
    transition: all 700ms ease-out;
}

section.in-view {
    opacity: 1;
    transform: translate3d(0px, 0px, 0px);
}

@media all and (max-width: 1200px) {
    section {
        padding: 80px 40px;
    }
}

@media all and (max-width: 992px) {
    section {
        padding: 70px 35px;
    }
}

@media all and (max-width: 768px) {
    section {
        padding: 60px 25px;
    }
}

@media all and (max-width: 576px) {
    section {
        padding: 50px 20px;
    }
}

@media all and (max-width: 400px) {
    section {
        padding: 40px 15px;
    }
}

body {
    overflow-x: hidden;
}

/***************|| NAV-BAR ***********************/

header {
    z-index: 800;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    transition: 0.5s ease;
}

header.sticky {
    z-index: 800;
    padding: 5px 80px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
}

/* Responsive header */
@media (max-width: 1200px) {
    header {
        padding: 25px 40px;
    }

    header.sticky {
        padding: 5px 60px;
    }

    .logo img {
        height: 55px;
    }
}

@media (max-width: 992px) {
    header {
        padding: 20px 30px;
    }

    header.sticky {
        padding: 5px 40px;
    }

    .logo img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 45px;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 40px;
    }
}

.nav-button {
    z-index: 20;
}

.nav-button a {
    text-decoration: none;
    color: white;
    background: var(--FIRST-COLOR);
    border: 1px solid transparent;
    margin-left: 10px;
    padding: 8px 20px;
    line-height: 1.4;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.55s ease;
}

.nav-button a:hover {
    background: var(--HEADER-STICKY);
    font-size: 15px;
    color: #fff;
    border: 1px solid white;
    transform: translateX(8px);
}

.menu-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-bar ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.menu-bar ul li {
    margin: 0 20px;
    position: relative;
}

.menu-bar ul li a {
    font-weight: 550;
    font-size: 16px;
    color: var(--WHITE);
    text-decoration: none;
    transition: all 0.3s;
}

header.sticky .menu-bar ul li a {
    color: #083661;
}

header.sticky .menu-bar ul li a:hover {
    color: #04adef;
    /* font-size: 17px; */
}

.menu-bar ul li a:hover {
    color: #04adef;
    /* font-size: 17px; */
}

/*|| Starting of designing hamburger menu */
.menu-button {
    background-color: transparent;
    border: none;
    width: 35px;
    /* Reduced width */
    height: 35px;
    /* Reduced height */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    background-color: var(--LIGHT-WHITE);
    width: 30px;
    /* Reduced width */
    height: 3px;
    /* Reduced height */
    border-radius: 5px;
    position: absolute;
    transition: all 0.5s;
}

header.sticky .menu-icon,
header.sticky .menu-icon::before,
header.sticky .menu-icon::after {
    background-color: black;
    width: 30px;
    /* Reduced width */
    height: 3px;
    /* Reduced height */
    border-radius: 5px;
    position: absolute;
    transition: all 0.5s;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
}

.menu-icon::before {
    transform: translate(-15px, -8px);
    /* Adjusted position */
}

.menu-icon::after {
    transform: translate(-15px, 8px);
    /* Adjusted position */
}

header.active .menu-icon {
    background-color: transparent;
    transform: rotate(720deg);
}

header.active .menu-icon::before {
    transform: translateX(-15px) rotate(45deg);
    /* Adjusted position */
}

header.active .menu-icon::after {
    transform: translateX(-15px) rotate(-45deg);
    /* Adjusted position */
}

header.active nav {
    display: block;
}

header .menu-bar .caret-icon {
    color: var(--LIGHT-WHITE);
}

header.sticky .menu-bar .caret-icon {
    color: var(--HEADER-STICKY);
}

/*|| ENDING OF HAMBURGER MENU */

@media (min-width: 1071px) {

    /* Dropdown menu style */
    .dropdown-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(-10px);
    }

    .menu-bar ul li:hover .dropdown-menu {
        display: block;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: var(--LIGHT-WHITE);
        white-space: nowrap;
        width: fit-content;
        animation: dropdownFadeIn 0.3s forwards;
    }

    .menu-bar ul li:hover .dropdown-menu ul {
        display: block;
        margin: 0px 0px;
    }

    .menu-bar ul li:hover .dropdown-menu ul li {
        width: fit-content;
        padding: 10px 0px;
        margin-left: 0;
    }

    .menu-bar ul li:hover .dropdown-menu ul li a {
        color: #000;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .menu-bar ul li:hover .dropdown-menu ul li a:hover {
        color: var(--SECOND-COLOR);
    }

    .dropdown-menu-1 {
        display: none;
        border-radius: 10px;
    }

    .dropdown-menu ul li:hover .dropdown-menu-1 {
        display: block;
        position: absolute;
        left: 120px;
        top: 0;
        background-color: var(--LIGHT-WHITE);
        animation: dropdownFadeIn 0.3s forwards;
    }

    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile Responsive styles */
@media (max-width: 1070px) {
    .caret-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .services-link {
        flex-grow: 1;
    }

    .caret-icon {
        margin-left: auto;
        margin-right: 20px;
        cursor: pointer;
    }

    header {
        padding: 10px 20px;
        background-color: var(--HEADER-STICKY);
    }

    .menu-bar {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .responsive-menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .responsive-menu .logo {
        flex-grow: 1;
    }

    header.sticky {
        z-index: 800;
        padding: 0px 20px;
        background: rgba(255, 255, 255, 1);
        color: #fafafa;
    }

    header.sticky .menu-toggle {
        color: #000000;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        color: var(--WHITE);
        font-size: 24px;
    }

    .menu-bar ul {
        margin-top: 30px;
        flex-direction: column;
        width: 100%;
        display: none;
        align-items: flex-start;
        justify-content: none;
    }

    .menu-bar ul.active {
        display: flex;
        height: 100vh;
        overflow-y: auto;
        padding-bottom: 100px;
    }

    .menu-bar ul li {
        margin: 5px 0;
        width: 100%;
    }

    .menu-bar ul li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        width: 100%;
        padding: 0px;
        padding-top: 15px;
        padding-right: 20px;
    }

    .nav-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .nav-button a {
        width: 100%;
        padding: 15px;
    }

    /* Dropdown menu style */
    .dropdown-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease, transform 0.3s ease;
        transform: translateY(-10px);
    }

    .menu-bar ul li.active .dropdown-menu {
        display: block;
        position: static;
        background-color: transparent;
        border: none;
        animation: dropdownFadeIn 0.3s forwards;
    }

    .menu-bar ul li.active .dropdown-menu ul {
        display: block;
        margin: 5px 0px;
    }

    .menu-bar ul li.active .dropdown-menu ul li {
        padding: 5px 0px;
    }

    .menu-bar ul li.active .dropdown-menu ul li a {
        color: var(--WHITE);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    header.sticky .menu-bar ul li.active .dropdown-menu ul li a {
        color: var(--HEADER-STICKY);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .menu-bar ul li.active .dropdown-menu ul li a:hover {
        color: var(--SECOND-COLOR);
        font-size: 15px;
    }

    header.sticky .menu-bar ul li.active .dropdown-menu ul li a:hover {
        color: var(--SECOND-COLOR);
        font-size: 15px;
    }

    .dropdown-menu-1 {
        display: none;
        border-radius: 0px;
        border: none;
    }

    .dropdown-menu ul li.active .dropdown-menu-1 {
        display: block;
        position: static;
        background-color: inherit;
    }

    @keyframes dropdownFadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/*! Hide menu button on larger screens */
@media (min-width: 1071px) {
    .menu-toggle {
        display: none;
    }
}

/***************|| BANNER ***********************/
#zero {
    color: var(--LIGHT-WHITE);
    font-weight: bold;
}

#one {
    color: var(--FIRST-COLOR);
}

#two {
    color: var(--SECOND-COLOR);
}

#three {
    color: var(--THIRD-COLOR);
}

.banner {
    padding: 100px 50px;
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: #252525;
}

.banner:before {
    z-index: 2;
    content: "";
    position: absolute;
    /* background: rgba(3, 96, 251, 0.1); */
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.banner .content {
    z-index: 10;
    color: var(--WHITE);
    width: 70%;
    margin-top: 50px;
}

.banner .content h1 {
    color: var(--LIGHT-WHITE);
    font-size: 4em;
    font-weight: 900;
    line-height: 75px;
    margin-bottom: 40px;
}

.banner .content h1 span {
    font-size: 1.2em;
    font-weight: 500;
    /* color: #6e74f6; */
    color: var(--SECOND-COLOR);
}

.banner .content p {
    margin-bottom: 65px;
}

.banner .media-icons,
.hero-section .media-icons {
    z-index: 10;
    position: fixed;
    right: 25px;
    margin-right: -30px;
    display: flex;
    flex-direction: column;
    transition: 0.5s ease;
    /* background-color: #cfcfcf; */
    background-color: rgba(223, 226, 231, 1);
    padding: 5px;
    /* Simplified padding */
    border-radius: 25px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3),
        /* Bottom-right shadow */
        inset 0px 4px 6px rgba(255, 255, 255, 0.5);
    /* Inner shadow for 3D effect */
}

.media-icons .fa-facebook-f {
    color: #1877f2;
    /* Facebook brand color */
}

.media-icons .fa-skype {
    color: #00aff0;
    /* Skype brand color */
}

.media-icons .fa-square-whatsapp {
    color: #25d366;
    /* WhatsApp brand color */
}

.banner .media-icons i,
.hero-section .media-icons i {
    padding-left: 30px;
    padding-right: 25px;
}

.banner .media-icons a,
.hero-section .media-icons a {
    color: var(--WHITE);
    font-size: 1.6em;
    transition: 0.3s ease;
    padding-right: 10px;
    padding-left: 10px;
}

.banner .media-icons a:not(:last-child),
.hero-section .media-icons a:not(:last-child) {
    margin-bottom: 20px;
}

.banner .media-icons a:hover,
.hero-section .media-icons a:hover {
    transform: scale(1.5);
    color: var(--SECOND-COLOR);
}

.video-slider {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button {
    z-index: 20;
}

.button a {
    text-decoration: none;
    display: inline-block;
    color: var(--WHITE);
    background: var(--SECOND-COLOR);
    border: 1px solid transparent;
    padding: 12px 30px;
    line-height: 1.4;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    transition: all 0.55s ease;
}

.button a:hover {
    background: var(--WHITE);
    color: black;
    border: 1px solid var(--WHITE);
    transform: translateX(8px);
}

.mfp-hide {
    display: none !important;
}

/* Responsive iframe styling for Magnific Popup */
.mfp-iframe-holder .mfp-content {
    max-width: 90%;
}

.mfp-iframe-holder .mfp-content iframe {
    max-width: 100%;
    max-height: 80vh;
}

/* Responsive video wrapper */
#video {
    position: relative;
    width: 100%;
    max-width: 900px;
}

#video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

@media (max-width: 992px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 95%;
    }

    #video iframe {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .mfp-iframe-holder .mfp-content {
        max-width: 100%;
        width: 100%;
    }

    #video iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    #video iframe {
        height: 280px;
    }

    .mfp-content {
        vertical-align: middle;
    }
}

@media (max-width: 400px) {
    #video iframe {
        height: 220px;
    }
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
    .banner .content h1 {
        font-size: 3.5em;
    }

    .banner .content p {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .banner .content h1 {
        font-size: 2.5em;
        font-weight: 900;
        line-height: 55px;
        margin-bottom: 30px;
    }

    .banner .content h1 span {
        font-size: 1em;
        font-weight: 500;
    }

    .banner .content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .button a {
        padding: 10px 25px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .banner {
        height: 70vh;
    }

    .banner .content h1 {
        font-size: 2em;
        line-height: 40px;
        margin-bottom: 20px;
    }

    .banner .content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .button {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .button a {
        padding: 10px 20px;
        font-size: 13px;
        margin-left: 0 !important;
    }

    /* Show social media icons on mobile but adjust positioning */
    .banner .media-icons,
    .hero-section .media-icons {
        right: 10px;
        margin-right: 0;
        padding: 8px 5px;
    }

    .banner .media-icons a,
    .hero-section .media-icons a {
        font-size: 1.3em;
        padding: 8px;
    }

    .banner .media-icons i,
    .hero-section .media-icons i {
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner .media-icons a:not(:last-child),
    .hero-section .media-icons a:not(:last-child) {
        margin-bottom: 15px;
    }
}

@media (max-width: 400px) {
    .banner .content h1 {
        font-size: 1.5em;
        line-height: 35px;
    }

    .banner .content p {
        font-size: 13px;
    }

    /* Further adjust social icons for very small screens */
    .banner .media-icons,
    .hero-section .media-icons {
        right: 5px;
        padding: 5px 3px;
    }

    .banner .media-icons a,
    .hero-section .media-icons a {
        font-size: 1.1em;
        padding: 6px;
    }

    .banner .media-icons i,
    .hero-section .media-icons i {
        padding-left: 10px;
        padding-right: 10px;
    }

    .banner .media-icons a:not(:last-child),
    .hero-section .media-icons a:not(:last-child) {
        margin-bottom: 12px;
    }
}

/***************|| CLIENT LOGOS ***********************/

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
    .logos {
        padding: 40px 0;
    }

    .logos-slide img {
        height: 40px;
        margin: 0 30px;
    }

    .logos-slide {
        animation: 35s slide infinite linear;
    }
}

@media (max-width: 900px) {
    .logos {
        padding: 30px 0;
    }

    .logos-slide img {
        height: 35px;
        margin: 0 25px;
    }

    .logos-slide {
        animation: 30s slide infinite linear;
    }
}

@media (max-width: 600px) {
    .logos {
        padding: 20px 0;
    }

    .logos-slide img {
        height: 30px;
        margin: 0 20px;
    }

    .logos-slide {
        animation: 15s slide infinite linear;
    }
}

/***************|| CLIENT REVIEWS ***********************/

.wrapper {
    position: relative;
}

.carousel-inner {
    background: #f8f9fb;
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 5px 20px rgba(95, 204, 252, 0.5);
}

.content p {
    font-size: 18px;
    color: #333;
    font-family: "Roboto", sans-serif;
}

.highlight {
    color: #04adef;
    font-weight: bold;
}

.content h5 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #2b2626;
}

.position {
    color: #888;
    font-weight: normal;
}

.carousel-indicators button {
    background-color: rgb(95, 204, 252) !important;
}

.carousel-control-prev,
.carousel-control-next {
    color: #2b2626;
    background: transparent;
}

.carousel-indicators .active {
    background-color: #5ecdfc !important;
}

/* Responsive styles for reviews */
@media (max-width: 992px) {
    .carousel-inner {
        padding: 30px;
    }

    .content p {
        font-size: 16px;
    }

    .content h5 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .carousel-inner {
        padding: 25px;
    }

    .content p {
        font-size: 15px;
    }

    .content h5 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .carousel-inner {
        padding: 20px;
    }

    .content p {
        font-size: 14px;
    }

    .content h5 {
        font-size: 15px;
    }
}

/***************|| NUMBER COUNTER ***********************/
.number-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box-blue {
    background-color: #89d4f1;
    color: #083661;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(25% - 20px);
    /* 4 boxes per row */
    box-sizing: border-box;
}

.box-dark {
    background-color: #0a1738;
    color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(20% - 20px);
    /* 50% of blue box width */
    box-sizing: border-box;
}

.box-blue,
.box-dark {
    height: auto;
    /* Ensure height is automatically adjusted based on content */
}

.number h1 {
    font-weight: 800;
    font-size: 2rem;
}

.number p {
    font-size: 1rem;
    margin-top: 10px;
}

i {
    margin-bottom: 10px;
}

.mx-2 {
    margin-left: 10px;
    margin-right: 10px;
}

.num_bg {
    background: #f8f9fb;
}

.tech_bg {
    background: #eaebee;
}

/* Responsive styles */
@media (max-width: 992px) {

    .box-blue,
    .box-dark {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .number-container {
        gap: 10px;
    }

    .box-blue,
    .box-dark {
        width: calc(50% - 20px);
        padding: 15px 10px;
        margin-top: 10px;
    }

    .number h1 {
        font-size: 1.8rem;
    }

    .number p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {

    .box-blue,
    .box-dark {
        width: calc(50% - 20px);
        padding: 12px 8px;
    }

    .number h1 {
        font-size: 1.5rem;
    }

    .number p {
        font-size: 0.85rem;
    }

    .mx-2 {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 400px) {

    .box-blue,
    .box-dark {
        width: calc(50% - 16px);
    }

    .number h1 {
        font-size: 1.3rem;
    }

    .number p {
        font-size: 0.8rem;
    }

    .mx-2 {
        margin-left: 4px;
        margin-right: 4px;
    }
}

/***************|| OUR SERVICES ***********************/
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 50px 20px; */
}

.services-title {
    text-align: center;
    /* Centers the h2 element within the container */
    margin: 0px 0px -30px 0px;
}

.services-container h1 {
    /* text-align: center; */
    align-content: center;
    font-size: 32px;
    /* color: var(--HEADER-STICKY); */
    font-weight: 880;
    position: relative;
    /* Required for positioning the pseudo-elements */
    display: inline-block;
    /* Ensures the width of h2 is only as wide as the text */
}

.services-container h1:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 4px;
    width: 100%;
    /* Matches the width of the h2 text */
    border-radius: 8px;
    background-color: rgba(2, 31, 82, 0.5);
}

.services-container h1 span {
    position: absolute;
    top: 100%;
    left: 0;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: var(--HEADER-STICKY);
    animation: anim 5s linear infinite;
}

@keyframes anim {
    95% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        left: 97%;
    }
}

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    gap: 20px;
    /* Space between the boxes */
}

.card {
    background: #f8f9fb !important;
    padding: 20px;
    text-align: center;
    color: var(--FIRST-COLOR);
    transition: transform 0.5s, background 0.5s;

    border-radius: 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.card a {
    text-decoration: none;
    /* Removes underline from anchor tags inside cards */
    color: inherit;
    /* Ensures the text color inside the card remains the same */
    display: block;
    /* Makes the entire card clickable */
}

.card:hover {
    transform: translateY(-10px);
    /* background: var(--LIGHT-WHITE) !important; */
    background: rgba(8, 172, 239, 0.2) !important;
    color: #ededed !important;
}

.icon {
    margin-bottom: 20px;
    color: var(--FIRST-COLOR);
}

.title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--HEADER-STICKY);
    font-weight: 550;
}

.card p {
    font-size: 16px;
    /* color: var(--SECOND-COLOR); */
    margin-bottom: 0;
}

/* Mobile responsiveness */
@media (max-width: 1200px) {
    .services {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns */
    }
}

@media (max-width: 900px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
    }
}

@media (max-width: 600px) {
    .services {
        grid-template-columns: 1fr;
        /* 1 column */
    }
}

/***************|| TECH WE LOVE ***********************/
@keyframes slide-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes slide-right {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.tech-logos {
    margin: 0 0 -50px 0;
}

.logo-container {
    overflow: hidden;
    padding: 60px 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
}

.logo-container:before,
.logo-container:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
}

.logo-container:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logo-container:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logo-slide {
    display: inline-block;
    animation: 35s slide-left infinite linear;
}

.logo-slide img {
    height: 50px;
    margin: 0 40px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .logo-container {
        padding: 30px 0;
    }

    .logo-slide img {
        height: 40px;
        margin: 0 20px;
    }

    .logo-slide {
        animation: 25s slide-left infinite linear;
    }

    .logo-container:before {
        left: 0;
        background: transparent;
    }

    .logo-container:after {
        right: 0;
        background: transparent;
    }
}

@media (max-width: 480px) {
    .logo-slide img {
        height: 30px;
        margin: 0 15px;
    }

    .logo-slide {
        animation: 20s slide-left infinite linear;
    }

    .logo-container:before {
        left: 0;
        background: transparent;
    }

    .logo-container:after {
        right: 0;
        background: transparent;
    }
}

/***************|| PROJECT SECTION ***********************/

.project_align {
    margin: -50px 0px -50px 0px;
}

.grid-container {
    width: 90%;
    max-width: 1280px;
    margin: 0px auto;
}

.grid-inner {
    background-color: rgba(2, 31, 82, 0.5);
    color: #3a3a3a;
    font-weight: bolder;
}

.dynamic-layout {
    position: relative;
    z-index: 1;
    -moz-columns: 240px 3;
    columns: 240px 3;
    -moz-column-gap: 15px;
    column-gap: 15px;
}

.dynamic-layout.grid-container {
    padding-top: 6rem;
}

.grid-element {
    position: relative;
    display: inline-block;
    margin: 1rem;
    max-width: 100%;
    overflow: hidden;
    border-radius: 15px;
    -webkit-transition: var(--dur);
    -moz-transition: var(--dur);
    -ms-transition: var(--dur);
    -o-transition: var(--dur);
    transition: var(--dur);
}

.box-content {
    border: 0px solid #e6e6e6;
    background-color: white;
    box-shadow: 0px -1px 2px rgba(58, 58, 58, 0.1),
        1px 1px 2px rgba(58, 58, 58, 0.1);
    position: relative;
    z-index: 10;
}

.box-thumbnail {
    display: block;
    max-width: 100%;
    height: auto;
    clip-path: circle(100% at 50% 50%);
    -webkit-transition: var(--dur);
    -moz-transition: var(--dur);
    -ms-transition: var(--dur);
    -o-transition: var(--dur);
    transition: var(--dur);
}

.grid-element:hover .box-thumbnail {
    clip-path: circle(100% at 50% 50%);
    /* Keep the image fully visible */
    opacity: 0.5;
    /* Slightly fade the image instead of completely disappearing */
}

.circle-bg {
    background: #04adef;
    opacity: 0;
    max-width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -webkit-transition: var(--dur-a);
    -moz-transition: var(--dur-a);
    -ms-transition: var(--dur-a);
    -o-transition: var(--dur-a);
    transition: var(--dur-a);
    clip-path: circle(100% at 50% 50%);
}

.circle-bg:hover {
    opacity: 1;
}

.circle-overlay {
    background: #083661;
    -webkit-transition: var(--dur-b);
    -moz-transition: var(--dur-b);
    -ms-transition: var(--dur-b);
    -o-transition: var(--dur-b);
    transition: var(--dur-b);
    clip-path: circle(100% at 50% 50%);
}

.grid-element:hover .circle-bg {
    clip-path: circle(0% at 75% 60%);
}

.grid-element:hover .circle-overlay {
    clip-path: circle(0% at 35% 20%);
}

.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    color: white;
    /* Ensure text is visible over the image */
}

.grid-element:hover .text-content {
    opacity: 1;
}

/* Responsive styles for projects */
@media (max-width: 992px) {
    .dynamic-layout {
        -moz-columns: 240px 2;
        columns: 240px 2;
    }

    .project_align {
        margin: -30px 0px -30px 0px;
    }
}

@media (max-width: 768px) {
    .dynamic-layout {
        -moz-columns: 200px 2;
        columns: 200px 2;
        -moz-column-gap: 10px;
        column-gap: 10px;
    }

    .dynamic-layout.grid-container {
        padding-top: 4rem;
        width: 95%;
    }

    .grid-element {
        margin: 0.5rem;
    }
}

@media (max-width: 576px) {
    .dynamic-layout {
        -moz-columns: 1;
        columns: 1;
    }

    .dynamic-layout.grid-container {
        padding-top: 3rem;
    }

    .grid-element {
        margin: 0.5rem 0;
    }

    .text-content {
        font-size: 14px;
    }
}

/***************|| BLOG CARDS ***********************/

.blog {
    margin: -100px 0px -100px 0px;
    /* padding-top: 60px;
    padding-bottom: 60px; */
}

.blog .blog-item {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(95, 204, 252, 0.5);
    /* Subtle shadow for depth */
    transition: transform 0.3s ease-in-out;
}

.blog .blog-item:hover {
    transform: translateY(-10px);
    /* Lift effect on hover */
}

.blog .blog-item h5 {
    color: #333;
    /* Dark text color */
    font-weight: bold;
    margin-bottom: 10px;
}

.blog .blog-item p {
    color: #666;
    /* Medium grey text color */
    margin-bottom: 10px;
}

.blog .blog-item a.h5 {
    color: #376f86;
    text-decoration: none;
    font-size: 1rem;
}

.blog .blog-item a.h4:hover {
    color: #0056b3;
    /* Darker blue on hover */
}

.blog .btn {
    background-color: #04adef;
    /* Blue button */
    border: none;
    font-size: 1rem;
}

.blog .btn:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
}

.project-img {
    overflow: hidden;
    border-radius: 10px;
    /* Rounded corners for images */
}

.project-img img {
    transition: transform 0.3s ease;
}

.project-img img:hover {
    transform: scale(1.05);
    /* Zoom effect on hover */
}

.blog-plus-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: none;
}

.project-img:hover .blog-plus-icon {
    display: block;
    /* Show the plus icon on hover */
}

.blog .text-primary {
    color: #376f86 !important;
    /* Consistent primary color */
}

.blog .display-4 {
    color: #333;
    font-weight: bold;
    margin-bottom: 40px;
}

/* Responsive styles for blog section */
@media (max-width: 992px) {
    .blog {
        margin: -80px 0px -80px 0px;
    }

    .blog .display-4 {
        font-size: 2.5rem;
    }

    .container-fluid.blog .container {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .blog {
        margin: -60px 0px -60px 0px;
    }

    .blog .display-4 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .blog .blog-item {
        margin-bottom: 20px;
    }

    .container-fluid.blog .container {
        padding: 50px 20px;
    }

    .blog .text-center.mx-auto {
        max-width: 100% !important;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .blog {
        margin: -40px 0px -40px 0px;
    }

    .blog .display-4 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .blog .text-primary {
        font-size: 16px;
    }

    .blog .btn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }

    .container-fluid.blog .container {
        padding: 40px 15px;
    }
}

/***************|| SERVICES PAGE ***********************/
/* Hero Section */
.hero-section {
    padding: 100px 50px;
    position: relative;
    width: 100%;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.442), rgba(27, 32, 48, 0.976));
    z-index: 2;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    /* Ensures the image covers the entire background */
    z-index: 1;
}

.hero-content {
    z-index: 10;
    color: #fff;
    width: 70%;
    margin-top: 100px;
    position: relative;
    /* Ensure content is positioned relative to the section */
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #fefdfd;
}

.email-form {
    display: inline-flex;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.9); */
    background: #e4dfdf;

    border-radius: 10px;
    width: 400px;
    /* padding: 5px; */
    margin-top: -20px;
}

.email-form input[type="email"] {
    border: none;
    padding: 12px 20px;
    border-radius: 10px 0 0 10px;
    outline: none;
    font-size: 1em;
    flex-grow: 1;
    background: #f4f0f0;
}

.email-form button {
    background-color: #04adef;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 0 10px 10px 0;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.email-form button:hover {
    background-color: #083661;
}

@media all and (max-width: 1000px) {

    /* Hero Section */
    .hero-section {
        padding: 50px 25px;
        position: relative;
        width: 100%;
        height: 70vh;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #ffffff;
    }

    .all-blogs {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .email-form {
        display: inline-flex;
        align-items: center;
        /* background: rgba(255, 255, 255, 0.9); */
        background: #e4dfdf;

        border-radius: 10px;
        width: 50%;
        /* padding: 5px; */
        margin-top: -20px;
    }

    .email-form input[type="email"] {
        border: none;
        padding: 12px 20px;
        border-radius: 10px 0 0 10px;
        outline: none;
        font-size: 1em;
        flex-grow: 1;
        background: #f4f0f0;
    }

    .email-form button {
        background-color: #04adef;
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 0 10px 10px 0;
        font-size: 1em;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .email-form button:hover {
        background-color: #083661;
    }
}

/***************|| FOOTER ***********************/

footer {
    margin-top: 0px;
    background-color: #222c3b;
    padding-bottom: 1rem;
    font-weight: 400;
}

.foot-style {
    padding-top: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    color: #f4f0f0;
}

.footer-li {
    list-style: none;
    padding-top: 0.8rem;
}

.footer-li li {
    padding-top: 0.5rem;
}

.footer-li a {
    text-decoration: none;
    color: #d4d1d1;
    font-size: 12px;
}

.footer-li a:hover {
    color: #04adef;
    font-size: 13px;
}

.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 30px;
    position: relative;
    top: 0;
    width: 100%;
    margin-bottom: -5px;
}

.footer-wave-path {
    fill: #f8f9fb;
}

.copyright {
    margin-top: 10px;
    color: #8e9497;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.copyright-text {
    padding-top: 15px;
}

.line {
    width: 80%;
    height: 3px;
    margin-bottom: 5px;
    background: linear-gradient(to right,
            transparent,
            /* Start with transparent on the left */
            rgba(219, 216, 216, 0.7) 50%,
            /* High contrast black in the center */
            transparent);
    /* End with transparent on the right */
}

.social-icon {
    font-size: 25px;
}

.social-icon a {
    color: #fff;
    padding-right: 10px;
    text-decoration: none;
}

.social-icon a:hover {
    color: #04adef;
}

@media (max-width: 768px) {
    footer .foot-style {
        padding-left: 3rem;
    }

    .foot-style div {
        padding-top: 2rem;
    }

    .foot-style>div:nth-child(2) {
        order: 3;
        width: 100%;
    }

    .foot-style>div:nth-child(3),
    .foot-style>div:nth-child(4) {
        order: 2;
        width: 50%;
    }

    .foot-style>div:nth-child(1) {
        order: 1;
        width: 100%;
    }

    .social-icon {
        margin-bottom: 20px;
    }

    .footer-wave-svg {
        height: 25px;
    }
}

@media (max-width: 576px) {
    footer .foot-style {
        padding-left: 1.5rem;
    }

    .foot-style>div:nth-child(3),
    .foot-style>div:nth-child(4) {
        width: 100%;
    }

    .footer-li a {
        font-size: 11px;
    }

    .footer-wave-svg {
        height: 20px;
    }

    .copyright-text {
        font-size: 12px;
        text-align: center;
        padding: 0 10px;
    }
}

/******************** SINGLE SERVICE PAGE *******************/

/** YOUTUBE VIDEO SECTION */

.services-details {
    margin-top: -50px;
}

.youtube-video {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.first-header {
    color: rgb(61, 61, 56);
    font-weight: 900;
    font-size: 30px;
}

.second-header {
    color: var(--FIRST-COLOR);
    font-weight: 900;
    font-size: 25px;
}

.video-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    color: #2a2828;
    opacity: 0.5;
}

.highlight-service {
    color: rgba(230, 193, 6, 0.822);
}

.header-description {
    opacity: 0.5;
}

/** TECH STACK SECTION */
.ser-stack-list {
    padding-top: 30px;
    z-index: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.ser-stack-card {
    width: 100px;
    height: 100px;
    border-radius: 40px;
    box-shadow: 5px 5px 30px 7px rgba(0, 0, 0, 0.25),
        -5px -5px 30px 7px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: 0.4s;
    background-color: #534f4f;
}

.ser-stack-card .ser-stack-card_image {
    width: inherit;
    height: inherit;
    border-radius: 40px;
}

.ser-stack-card .ser-stack-card_image img {
    width: inherit;
    height: inherit;
    border-radius: 30px;
    object-fit: cover;
}

.ser-stack-card .ser-stack-card_title {
    text-align: center;
    border-radius: 0px 0px 40px 40px;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 15px;
    height: 40px;
    opacity: 0.7;
}

.ser-stack-card:hover {
    transform: scale(0.9, 0.9);
    box-shadow: 5px 5px 30px 15px rgba(0, 0, 0, 0.25),
        -5px -5px 30px 15px rgba(0, 0, 0, 0.22);
}

.ser-stack-title-white {
    color: white;
}

.ser-stack-title-black {
    color: black;
}

/*** PROJECT PORTFOLIO  SECTION*/
.portfolio-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
}

/*portfolio images */
.portfolio-image img {
    width: 50%;
    height: 100%;
    object-fit: cover;

    -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, #0004);

    transform-origin: center;
    transform: perspective(800px) rotateY(25deg);
    transition: 0.5s;
}

.portfolio-image {
    max-width: 600px;
    max-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-bottom: 30px;
}

.portfolio-image:hover img {
    opacity: 0.3;
}

.portfolio-image img:hover {
    transform: perspective(800px) rotateY(0deg);
    opacity: 1;
}

.portfolio-container {
    display: grid;
    place-items: center;
    padding-top: 30px;
}

.div-section {
    padding: 50px 50px;
}

/* Mobile responsive YouTube video section */
@media all and (max-width: 1000px) {
    .youtube-video {
        flex-direction: column;
        align-items: center;
    }

    .video {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 150%;
        padding-top: 20px;
    }

    .video iframe {
        width: 360;
        height: 200;
    }

    .video img {
        width: 100%;
        height: auto;
    }
}

/* Mobile responsive tech stack */
@media (max-width: 600px) {
    .ser-stack-card {
        width: 40%;
        /* Smaller width for smaller cards */
        padding-bottom: 40%;
        /* Makes the height equal to the width, creating a square */
        margin-bottom: 25px;
        /* Adjust the margin as needed */
        position: relative;
        /* Required for absolute positioning of inner content */
    }

    .ser-stack-card .ser-stack-card_image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .ser-stack-card .ser-stack-card_image img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        /* Reduce border radius if you want a more subtle curve */
        object-fit: cover;
    }

    .ser-stack-card .ser-stack-card_title {
        position: relative;
        /* Changed from absolute to relative */
        margin-top: 100%;
        /* Adjust margin as needed to position below the image */
        text-align: center;
        font-size: 16px;
        /* Smaller font size to match smaller card */
    }
}

/* Mobile responsive portfolio */
@media all and (max-width: 1000px) {
    .portfolio-image {
        padding-top: 120%;
        flex-direction: column;
        width: 100%;
    }

    .portfolio-image img {
        width: 90%;
        height: auto;
        margin-bottom: 30%;
    }

    .portfolio-container {
        padding-bottom: 60%;
    }
}

/* General mobile responsive adjustments */
@media all and (max-width: 1000px) {
    .div-section {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

/******************** Contact Us PAGE *******************/

/* Contact Buttons */

.form-label {
    color: #72767a;
    /* Label color */
    font-size: 0.8rem;
    /* Label size */
    font-weight: 500;
}

.contact-btn-primary {
    background: #04adef !important;
    color: #ffffff !important;
    border: none;
    font-weight: 400;
    transition: 0.5s;
    border-radius: 5px;
}

.contact-btn-primary:hover {
    background: #083661 !important;
    color: #f8f9fa !important;
}

/* Contact Button Sizes */
.contact-btn-lg-square {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}


/*****|| CAREER PAGE *******/

.benefit-item {
    margin-bottom: 15px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.benefit-item h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 16px;
    color: #555;
}

.benefit-item::before {
    /*content: '✔️';*/
    margin-right: 10px;
    color: #1a73e8;
}

.container-core-value {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container-core-value .card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-core-value .card img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.container-core-value .card h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .container-core-value {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .container-core-value {
        grid-template-columns: 1fr;
    }
}