body{
    font-family: 'Effra';
    margin: 0px;

}
/* ----------------------------------- First section ---------------------------------------- */
.first-section {
    position: relative;
    padding-inline: 42px;
    width: 100%;
    margin-top: 30px;
    overflow: hidden; /* Ensure animations don't cause scrollbars */
}

@media (max-width: 1025px) {
    .first-section {
        padding-inline: 32px;
   }
}
@media (max-width: 600px) {
    .hide-on-mobile {
        display: none;
      }
    .first-section {
        padding-inline: 12px;
   }
}
.first-section .background-img {
    width: 100%;
    height: 100%;
    max-height: 848.0001220703px;
    animation: scale-bg 1.5s ease-out forwards;
}

@keyframes scale-bg {
    0% {
        transform: scale(1.05);
        filter: brightness(0.7);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.first-section .content {
    position: absolute;
    bottom: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-weight: 700;
}

.first-section .content h1 {
    max-width: 482px;
    color: white;
    text-align: center;
    font-size: 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up 0.8s ease-out 0.5s forwards;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.line{
    height: 1px;
    position: absolute;
    background-color: #FFFFFF;
    inset-inline-start: 0px;
    width: 40%;
    top: 50%;
    transform: scaleX(0);
    transform-origin: right;
    animation: grow-line 1s ease-out 0.8s forwards;
}

@keyframes grow-line {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.f-sec{
    display: none;
    margin-top: 27px;
    justify-content: center;
}
.first-section .shared-btn,
.f-sec .shared-btn{
    padding-inline: 40px !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up-btn 0.8s ease-out 1s forwards;
}

@keyframes fade-up-btn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    80% {
        opacity: 1;
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.first-section .content h1 span {
    color: #f25d0d;
    display: inline-block;
    animation: highlight-text 0.5s ease-out 1.3s forwards;
}

@keyframes highlight-text {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.first-section .btn-absolute {
    background-color: #051226;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    aspect-ratio: 1;
    position: absolute;
    bottom: 0px;
    left: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.8s ease-out 1.5s forwards, pulse-bounce 2s ease-in-out 2.5s infinite;
}

@keyframes pulse-bounce {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(5, 18, 38, 0.5);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px -10px rgba(5, 18, 38, 0.3);
    }
}

/* Tablet specific style */
@media (max-width: 768px) and (min-width: 426px) {
    .first-section .btn-absolute {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 600px) {
    .line{
        display: none;
    }
    .first-section .content h1 {
        font-size: 24px;
        max-width: 321px;
   }
   .first-section .btn-absolute img {
        width: 40%;
        height: 40%;
        object-fit: contain;
    }
    .f-sec{
        display: flex;
    }
    .first-section .content .shared-btn{
        display: none;
    }
    .first-section .btn-absolute{
        bottom: 2.4%;
        left: 5%;
        width: 50px;
        height: 50px;
    }
    .f-sec .shared-btn {
        animation-delay: 0.7s;
    }
}

/* Small mobile devices */
@media (max-width: 425px) {
    .first-section .btn-absolute {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 350px) {
    .first-section .content h1{
        max-width: 250px;
   }
}
.first-section .btn-absolute img {
    width: 40%;
    height: 40%;
    object-fit: contain;
    animation: arrow-down 1.5s ease-in-out infinite;
}

@keyframes arrow-down {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}
/* ----------------------------------- First section ---------------------------------------- */



/* ----------------------------------- Second section ---------------------------------------- */
.second-section .head {
    color: #f25d0d;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 6px;
}
.second-section .main-p {
    font-weight: 500;
    font-size: 40px;
    line-height: 45px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.second-section .main-p.animate {
    opacity: 1;
    transform: translateY(0);
}

.second-section .secondary-p {
    font-weight: 400;
    font-size: 20px;
    line-height: 34px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.3s;
}

.second-section .secondary-p.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Text highlight animation for key phrases */
.highlight-text {
    position: relative;
    display: inline;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 8%;
    background-color: rgba(242, 93, 13, 0.3);
    z-index: -1;
    transition: width 0.5s ease;
    transition-delay: 1s;
}

.highlight-text.animate::after {
    width: 100%;
}

.second-section .box-container{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 20px;
}
.second-section .box {
    background-color: #f5f5f5;
    border-radius: 23px;
    padding: 30px;
    height: 100%;
    min-width: 177px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.second-section .box.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for boxes */
.second-section .box-container > div:nth-child(1) .box {
    transition-delay: 0.1s;
}

.second-section .box-container > div:nth-child(2) .box {
    transition-delay: 0.3s;
}

.second-section .box-container > div:nth-child(3) .box {
    transition-delay: 0.5s;
}

.second-section .box h4 {
    font-size: 2em;
    font-weight: 500;
    margin: auto;
    width: fit-content;
    color: #051226;
}

/* Add subtle scale animation for numbers */
.second-section .box.animate h4 span:first-child {
    display: inline-block;
    animation: pop-in 0.5s ease-out forwards;
}

@keyframes pop-in {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.second-section .box h4 .color {
    color: #f25d0d;
}

.second-section .box p {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0px;
    color: #051226;
}
@media (max-width: 600px) {
    .second-section .box {
        padding: 20px;
   }
    .second-section .box h4 {
        font-size: 1.5em;
   }
    .second-section .box p {
        font-size: 0.9rem;
   }
}
/* ----------------------------------- Second section ---------------------------------------- */


/* ----------------------------------- Forth section ---------------------------------------- */
.forth-section {
    overflow: hidden;
}
.forth-section .main-section {
    position: relative;
    width: 100%;
    padding: 160px 65px 7%;
    border-radius: 100px;
}
.forth-section .main-section .bg-section{
    background-color: #f6f6f6;
    clip-path: url(#custom-clip-path);
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: -1;
    inset-inline-end: 0px;
}
@media (max-width: 1100px) {
    .forth-section .main-section {
        padding: 160px 25px;
   }
}
@media (max-width: 600px) {
    .forth-section .main-section {
        padding: 130px 7%;
    }
    .forth-section .main-section .bg-section{
       clip-path: url(#responsive-clip);
   }
}
.forth-section .main-section .first-col {
    height: 100%;
    display: block;
    flex-direction: column;
    justify-content: space-between;
}
.forth-section .main-section .first-col h4 {
    font-size: 50px;
    font-weight: 700;
    color: #353232;
}
.forth-section .main-section .first-col h4 span {
    color: #f25d0d;
}
.forth-section .main-section .first-col .video-container {
    height: 220px;
    border-radius: 28px;
    margin-bottom: 68px;
    background-color: #c4c4c4;
    width: 419px;
    max-width: 90%;
    position: relative;
}
.forth-section .main-section .first-col .video-container .video-player {
    position: absolute;
    top: 33%;
    inset-inline-end: -35px;
}
.forth-section .main-section .secondary-btn {
    width: 100%;
    /* margin-top: 40px; */
    background-color: #051226;
    border-radius: 23px;
    padding: 30px;
    font-size: 36px;
    color: white;
    font-weight: 700;
}
@media (max-width: 767px) {
    .forth-section .main-section .first-col h4 {
        text-align: center;
        margin-bottom: 50px;
        font-size: 29px;
    }
    .forth-section .main-section .secondary-btn{
        position: relative;
        top:0px;
        width: 384px;
    }
    .forth-section .main-section .secondary-btn.left {
        inset-inline-start: -21%;
    }
    .forth-section .main-section .secondary-btn.right{
        inset-inline-end: -17%;
    }
    .forth-section .main-section .container-box {
        /* margin-top: 200px; */
        gap: 15px;
        row-gap: 40px;
    }
   .forth-section .main-section .btn-container{
        /* padding-top: 117px; */
        position: relative;
   }
}
.forth-section .main-section .container-box {
    gap: 20px;
    row-gap: 30px;
    margin-bottom: 10px;
    margin-top: 65px;
}
.forth-section .main-section .container-box .box {
    position: relative;
    border-radius: 50px;
    width: 30%;
    text-decoration: none;
    display: block;
    min-width: 120px;
    background-color: transparent;
    padding: 50px 12px 20px;
}

.forth-section .main-section .container-box .box:hover {
    transform: translateY(-50px);
    /* height: 200px; */
    background-color: #eb6f2d;
}

.forth-section .main-section .container-box .box:hover .circle {
    padding: 15px;
}

.forth-section .main-section .container-box .box:hover .main-info {
    font-size: 1.2rem;
    color: white;
}

.forth-section .main-section .container-box .box:hover .secondary-info {
    display: block;
    color: white;
}

@media (max-width: 1024px) {
    .forth-section .main-section .container-box .box {
        width: 160px;
        padding: 50px 10px 20px;
    }
}
@media (max-width: 500px) {
    .forth-section .main-section .container-box .box {
        width: 155px;
    }
}
@media (max-width: 400px) {
    .forth-section .main-section .container-box .box {
        width: 130px;
    }
}
.forth-section .main-section .container-box .box .circle {
    background-color: white;
    box-shadow: 0px 13px 26.7px 0px #05122638;
    padding: 12px;
    position: absolute;
    top: -15px;
    inset-inline-start: -15px;
    border-radius: 50%;
}
.forth-section .main-section .container-box .box .main-info {
    font-size: 18px;
    font-weight: 700;
    color: black;
}
.forth-section .main-section .container-box .box .secondary-info {
    display: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: black;
}
.forth-section .main-section .main-text {
    font-size: 50px;
    font-weight: 700;
    margin-top: 30px;
    color: #f25d0d;
}
.forth-section .main-section .second-text {
    font-size: 32px;
    font-weight: 500;
}
/* ----------------------------------- Forth section ---------------------------------------- */


/* ----------------------------------- Fifth section ---------------------------------------- */
.fifth-section {
    margin-top: -20px;
    overflow: hidden; /* Ensure animations don't cause overflow */
}
.fifth-section .main-section {
    width: 100%;
    min-height: 300px;
    padding-inline: 20px;
    background-image: url('../images/navy-blue-div.webp');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

/* Background reveal animation */
.fifth-section .main-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.fifth-section .main-section.animate::before {
    transform: translateX(100%);
}

.fifth-section .main-section p {
    color: #f25d0d;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 0px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.5s;
    position: relative;
    z-index: 2;
}

.fifth-section .main-section.animate p {
    opacity: 1;
    transform: translateY(0);
}

.fifth-section .shared-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.8s;
    position: relative;
    z-index: 2;
}

.fifth-section .main-section.animate .shared-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover effect */
.fifth-section .shared-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 780px) {
    .fifth-section .main-section {
        padding-block: 90px 65px;
        background-image: url('../images/navy-blue-div-responsive.webp');
    }
    .fifth-section .shared-btn{
        padding: 27px 67px !important;
    }
    .fifth-section .main-section p {
        margin-bottom: 41px;
    }
}
@media (max-width: 400px) {
    .fifth-section .shared-btn{
        padding: 27px 37px !important;
    }
}
@media (max-width: 344px) {
    .fifth-section .shared-btn{
        padding: 27px 25px !important;
    }
}

/* ----------------------------------- Fifth section ---------------------------------------- */


/* ----------------------------------- Sixth section ---------------------------------------- */
.sixth-section {
    margin-top: 40px;
    overflow: hidden;
}

.sixth-section .head{
    font-weight: 700;
    font-size: 40px;
    line-height: 45px;
    color: #353232;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sixth-section.animate .head{
    opacity: 1;
    transform: translateY(0);
}

.sixth-section .head span{
    color: #f25d0d;
    position: relative;
    display: inline-block;
}

.sixth-section .head span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 8%;
    background-color: rgba(242, 93, 13, 0.3);
    transition: width 0.5s ease;
    transition-delay: 0.8s;
    z-index: -1;
}

.sixth-section.animate .head span::after {
    width: 100%;
}

.sixth-section .box-container{
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    gap: 5px;
    margin-top: 40px;
}

@media (max-width: 650px) {
    .sixth-section .box-container{
        grid-template-columns: 33% 33% 33%;
    }
}

.sixth-section .box-container .box{
    width: 100%;
    height: 153px;
    display: flex;
    padding: 30px;
    justify-content: center;
    align-items: center;
    background-color: #F5F5F5;
    border-radius: 23px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.sixth-section .box-container .box.animate{
    opacity: 1;
    transform: scale(1);
}

/* Hover effect for boxes */
.sixth-section .box-container .box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.sixth-section .box-container .box img{
    max-width: 100%;
    height: auto;
    max-height: 92px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.sixth-section .box-container .box:hover img {
    transform: scale(1.1);
}

/* Generate staggered delay classes for grid items */
.sixth-section .box-container .box:nth-child(1) { transition-delay: 0.1s; }
.sixth-section .box-container .box:nth-child(2) { transition-delay: 0.15s; }
.sixth-section .box-container .box:nth-child(3) { transition-delay: 0.2s; }
.sixth-section .box-container .box:nth-child(4) { transition-delay: 0.25s; }
.sixth-section .box-container .box:nth-child(5) { transition-delay: 0.3s; }
.sixth-section .box-container .box:nth-child(6) { transition-delay: 0.35s; }
.sixth-section .box-container .box:nth-child(7) { transition-delay: 0.4s; }
.sixth-section .box-container .box:nth-child(8) { transition-delay: 0.45s; }
.sixth-section .box-container .box:nth-child(9) { transition-delay: 0.5s; }
.sixth-section .box-container .box:nth-child(10) { transition-delay: 0.55s; }
.sixth-section .box-container .box:nth-child(11) { transition-delay: 0.6s; }
.sixth-section .box-container .box:nth-child(12) { transition-delay: 0.65s; }
.sixth-section .box-container .box:nth-child(13) { transition-delay: 0.7s; }
.sixth-section .box-container .box:nth-child(14) { transition-delay: 0.75s; }
.sixth-section .box-container .box:nth-child(15) { transition-delay: 0.8s; }

@media (max-width: 1004px) {
    .sixth-section .box-container{
        gap: 3px;
        row-gap: 6px;
    }
    .sixth-section .box-container .box{
        width: 100%;
        height: 75px;
        padding: 10.5px;
    }
    .sixth-section .box-container .box img{
        max-height: 54px;
    }
}
/* ----------------------------------- Sixth section ---------------------------------------- */

/* ----------------------------------- Seventh section ---------------------------------------- */
.seventh-section {
    margin-top: 40px;
    margin-bottom: 60px;
    overflow: hidden;
}
.seventh-section .head{
    font-weight: 700;
    font-size: 40px;
    line-height: 45px;
    color: #353232;
    margin-bottom: 31px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.seventh-section.animate .head{
    opacity: 1;
    transform: translateY(0);
}

.seventh-section .head span{
    color: #f25d0d;
    position: relative;
    display: inline-block;
}

.seventh-section .head span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 8%;
    background-color: rgba(242, 93, 13, 0.3);
    transition: width 0.5s ease;
    transition-delay: 0.8s;
    z-index: -1;
}

.seventh-section.animate .head span::after {
    width: 100%;
}

.seventh-section .box-container{
    display: flex;
    gap: 5px;
    margin-block: 5px;
    justify-content: center;
    overflow: hidden;
    cursor: grab;
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none;
    position: relative;
}

/* Animation for first row of boxes */
#first-seventh-section {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
    transition-delay: 0.3s;
}

.seventh-section.animate #first-seventh-section {
    transform: translateX(0);
    opacity: 1;
}

/* Animation for second row of boxes */
#second-seventh-section {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
    transition-delay: 0.5s;
}

.seventh-section.animate #second-seventh-section {
    transform: translateX(0);
    opacity: 1;
}

.seventh-section .box-container .box{
    width: 278px;
    height: 237px;
    display: flex;
    padding: 30px;
    row-gap: 10px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #051226;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Box hover effect */
.seventh-section .box-container .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(5, 18, 38, 0.3);
}

/* Pulse animation for icons */
.seventh-section .box-container .box img {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.seventh-section.animate .box-container .box img {
    animation: seventh-pulse 2s infinite alternate;
}

@keyframes seventh-pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Text animation */
.seventh-section .box-container .box p{
    color: white;
    font-weight: 700;
    font-size: 24px;
    margin: 0px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Background glow effect */
.seventh-section .box-container .box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
    z-index: 1;
}

.seventh-section.animate .box-container .box::after {
    width: 120%;
    height: 120%;
    opacity: 1;
}

@media (max-width: 1004px) {
    .seventh-section .head{
        font-size: 32px;
    }
    .seventh-section .box-container{
        gap: 3px;
        row-gap: 6px;
        justify-content: normal;
    }
    .seventh-section .box-container .box{
        width: 157px;
        min-width: 157px;
        height: 130px;
        padding: 32px;
        border-radius: 50px;
    }
    .seventh-section .box-container .box p{
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .seventh-section.section-container {
        padding-inline: 0 !important;
   }
}
/* ----------------------------------- Seventh section ---------------------------------------- */


.fade-right {
    opacity: 0;
    transform: translateX(-100px);
    animation: fadeRight 1s ease forwards;
}
@keyframes fadeRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.fade-left {
    opacity: 0;
    transform: translateX(100px);
    animation: fadeLeft 1s ease forwards;
}
@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Permanently apply hover styles to services section */
#services .container-box .box, 
#marketing-services .box {
    transform: translateY(-50px);
    background-color: #eb6f2d;
}

#services .container-box .box .circle, 
#marketing-services .box .circle {
    padding: 15px;
}

#services .container-box .box .main-info, 
#marketing-services .box .main-info {
    font-size: 1.2rem;
    color: white;
}

#services .container-box .box .secondary-info, 
#marketing-services .box .secondary-info {
    display: block;
    color: white;
}

/* Service Items Animation Styles */
.service-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-item.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delay for service items */
.service-item:nth-child(1) {
  transition-delay: 0.1s;
}

.service-item:nth-child(2) {
  transition-delay: 0.2s;
}

.service-item:nth-child(3) {
  transition-delay: 0.3s;
}

.service-item:nth-child(4) {
  transition-delay: 0.4s;
}

.service-item:nth-child(5) {
  transition-delay: 0.5s;
}

.service-item:nth-child(6) {
  transition-delay: 0.6s;
}

/* Hover effect enhancement */
.service-item:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}



