/* Animations */
@-webkit-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@-moz-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@-o-keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

@keyframes bg-scrolling-reverse {
    100% {
        background-position: 50px 50px;
    }
}

:root {
    --primary-color: #433878;
    --secondary-color: #7E60BF;
    --background-color: #e0e0e0;

    

    --dark-font-color: #111111;
    --light-font-color: ;
}


body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-color);
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

body.no-scroll {
    overflow: hidden;
  }

header {
    /* background-color: var(--background-color); */
    color: black;
    padding: .5rem 2.5rem 1.2rem;

    height: 3rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    /* background-color: var(--background-color); */
    color: black;
    display: flex;
    height: 100%;
    position: relative;
    top: 0;
    z-index: 1000;
}

.logo {
    width: 25%;
    height: 5rem;
    display: flex;
    font-size: 1.25rem;
    padding-left: 3rem;
}

.logo-img img {
    height: 3.5rem;
    position: relative;
}



.navbar {
    width: 75%;
    display: flex;
    justify-content: space-between;
}


.nav-left ul,
.nav-right ul {

    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
}

/*-------------------------------------------Navbar left side styling-------------------------------------------*/

.nav-left {
    width: 75%;
    font-weight: 500;
    margin: 0 8rem;
}

.nav-left li {
    align-items: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.nav-left li a {
    padding: .2rem .5rem;
    color: var(--secondary-color);
    text-decoration: none;

}

.navbar .nav-left li a:hover {
    color: var(--primary-color);
}

/*-------------------------------------------Navbar Right side styling-------------------------------------------*/
.nav-right {
    width: 25%;
}

.btn {
    padding: .5rem .7rem;
    color: var(--background-color);
    text-decoration: none;
    /* border: .2rem solid black; */
    border-radius: 2rem;
    background-color: var(--secondary-color);
    color: var(--background-color);
}

.btn:hover {
    background-color: var(--primary-color);

}

.blur-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    background-color: rgba(255, 255, 255, 0.429);
}

/*-------------------------------------------Navbar Mobile-------------------------------------------*/

.menu {
    
    margin-left: auto;
    display: flex;
    align-items: center;
}
.menu #open, #close {
    display: none;
}


.menu #open i, #close i {
    color: var(--primary-color);
    font-size: 1.8rem;
    
}

.navbar-mobile {
    display: none;
    background-color: var(--primary-color);
    position: fixed;
    height: 94vh;
    width: 100vw;
    z-index: 100;
    transition: max-height 5s ease, opacity 0.6s ease;
}







/* body {
    overflow: hidden;
} */





@media (max-width: 1100px) {
    .nav-left {
        width: 60%;
        margin: 0 1rem;
    }

    .nav-right {
        width: 40%;
    }

}

@media (max-width: 735px) {

    
    .navbar {
        display: none;
    }

    header {
        height: 6vh;
        border-bottom-right-radius: .2rem;
        border-bottom-left-radius: .2rem;
    }

    

    .logo {
        width: 25%;
        height: 5rem;
        display: flex;
        font-size: 1.25rem;
        padding-left: 0;
    }

    .nav-left {
        width: 100vw;
        padding: 5rem 2rem;
        box-sizing: border-box;
    }
    
    .nav-left li {
        width: 100%;
        padding-top: 2rem;  
        margin-bottom: 2rem;   
        border-bottom: 2px solid var(--secondary-color);
    }

    .nav-left li a {
        color: var(--background-color);
        font-size: 1.2rem;
        text-transform: uppercase;
        
    }
    
    .menu #open {
        display: block;
    }

    .menu #close, .navbar-mobile {
        display: none;
    }

    

}

/*-------------------------------------------Hero Section-------------------------------------------*/


.hero {
    height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.hero .hero-background {
    color: white;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    z-index: -5;
}

.hero-background-img {
    background-image: url(images/rudra_logo_new.jpg);
    height: 100%;
    width: 100%;
    position: absolute;
    filter: blur(1.2px);
    z-index: -11;
    background-size: cover;
    background-position: left;
}

.hero-darken {
    background-color: rgba(38, 38, 38, 0.544);
    width: 100%;
    height: 100%;
    position: absolute;
}


.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 30%;
    color: white;
    padding: 5rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin: 0;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1.7rem;
}

.hero-content .btn {
    width: 90%;

    align-self: center;
}

.hero-animation-container {
    position: relative;
    width: auto;
    height: 100%;
    /* Match width for perfect circle */
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-animation {
    height: 70%;
    width: auto;
    transform: scaleX(-1);
    z-index: 1;
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 50%;
    clip-path: circle(50%);
    /* Ensures the content is clipped within a circle */
    overflow: hidden;
    /* Prevents overflow beyond the circular boundary */
}

section {
    padding: 40px;
    text-align: center;
    
}



@media (max-width: 1023px) {
    .hero {
        height: 60vh;

    }

    .hero-background-img {
        background-position: left;
    }

    .hero-content {
        width: 50%;
        padding: 1rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        width: 50%;
        font-size: 1rem;
    }

    .hero-animation-container {
        width: 50%;
        height: 65%;

    }

    section {
        padding: 1.5rem;
        scroll-margin-top: 4.5rem;
    }
}

@media (max-width: 735px) {
    .hero {
        height: 50vh;
    }

    .hero-background-img {
        background-position: calc(0px - 10rem) center;;
    }


    .hero-content {
        width: 100%;
        padding: 0rem;

    }

    .hero-content h2 {
        font-size: 1.3rem;
        text-align: center;
    }

    .hero-content p {
        font-size: 1rem;
        text-align: center;

    }

    .hero-content .btn {
        margin-top: 4rem;
    }

    .hero-animation-container {
        display: none;
    }

    section {
        padding: 2rem;
    }


}

/*-------------------------------------------About Section-------------------------------------------*/

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 10rem;
    box-sizing: border-box;
    position: relative;
}

.about-background-animation {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABnSURBVHja7M5RDYAwDEXRDgmvEocnlrQS2SwUFST9uEfBGWs9c97nbGtDcquqiKhOImLs/UpuzVzWEi1atGjRokWLFi1atGjRokWLFi1atGjRokWLFi1af7Ukz8xWp8z8AAAA//8DAJ4LoEAAlL1nAAAAAElFTkSuQmCC") repeat 0 0;
    -webkit-animation: bg-scrolling-reverse 5s infinite linear;
    -moz-animation: bg-scrolling-reverse 5s infinite linear;
    -o-animation: bg-scrolling-reverse 5s infinite linear;
    animation: bg-scrolling-reverse 5s infinite linear;
    filter: grayscale(100%) brightness(88%);
}

#about h2 {
    font-size: 2em;
    padding: 0 2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

#about p {
    font-size: 1rem;
}

@media (max-width: 1023px) {
    #about {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5rem 3rem;
    }

    #about h2 {
        font-size: 1.5em;
        padding: 0 2rem;
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

    #about p {
        font-size: 1rem;
    }
}

@media (max-width: 735px) {
    #about {
        padding: 2rem;
    }

    #about h2 {
        font-size: 1.5rem;
        text-align: center;
        padding: 0 1rem;

    }

    #about p {
        font-size: .9rem;
        text-align: left;

    }
}

/*-------------------------------------------Services Section-------------------------------------------*/
#services {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 3rem;
}

#services h2 {
    font-size: 2em;
    padding: 0 2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}


.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-item {
    position: relative;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    margin: 10px;
    padding: 2rem .5rem;
    width: 15rem;
    height: 25rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    font-size: 1.2rem;
    color: var(--dark-font-color);
}

.service-item:nth-child(1)::before {
    background: url('images/air_freight_bg.jpg') no-repeat center;
    background-size: cover;
}

.service-item:nth-child(2)::before {
    background: url('images/sea_freight_bg.jpg') no-repeat center;
    background-size: cover;
}

.service-item:nth-child(3)::before {
    background: url('images/road_freight_bg.jpg') no-repeat center;
    background-size: cover;
}

.service-item:nth-child(4)::before {
    background: url('images/customs_bg.jpg') no-repeat center;
    background-size: cover;
}

.service-item:nth-child(5)::before {
    background: url('images/warehouse_bg.jpg') no-repeat center;
    background-size: cover;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    filter: blur(2px);
    z-index: 0;
    /* Keeps it below the content */
    pointer-events: none;
    /* Ensures it doesn't interfere with user interaction */
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.319);
    z-index: 0;
    /* Keeps it below the content */
    pointer-events: none;
    /* Ensures it doesn't interfere with user interaction */
}


.service-item * {
    position: relative;
    /* Keeps content above the pseudo-element */
    z-index: 1;
}

.service-item:hover {
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);

}

.service-item:hover i {
    color: var(--secondary-color);
    transform: scale(1.2);

}

.service-item i {
    margin-top: auto;
    font-size: 2rem;
    transition: all 0.3s ease-in-out;
}

.service-item h3 {
    margin-top: 10px;
    height: 10%;
}

.service-item p {
    height: 20%;
}

.service-item a {
    margin-top: auto;
    margin-bottom: 3rem;
}

@media (max-width: 1482px) { 
    .service-item {
        width: 20rem;
        height: 18rem;
    }
}

@media (max-width: 1023px) {
    #services {
        padding: 2rem;
    }

    #services h2 {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .service-list {
        padding: 0;
    }

    .service-item {
        height: 15rem;
        font-size: 1rem;
        padding: 1rem;
        align-items: center;
        width: 45%;
        box-sizing: border-box;
    }


    .service-item i {
        font-size: 1.2rem;
    }

    .service-item a {
        margin-bottom: 1rem;
    }

    .service-item .btn {
        width: 70%;
    }
}


@media (max-width: 735px) {

    .service-item {
        width: 95%;
    }

}


/*-------------------------------------------Partner Section-------------------------------------------*/

#services-available {
    padding: 4rem 0rem;
    text-align: center;
    background-color: var(--background-color);
    overflow-x: hidden;
}

#services-available h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding: 0 2rem;
}

/* Container for the logo slider */
.logo-slider {
    overflow: hidden;
    white-space: nowrap;
    /* Prevents logos from wrapping onto new lines */
    position: relative;
    width: 100%;
    /* Full width */
    overflow-x: hidden;

}

.logo-track {
    display: inline-flex;
    /* Arrange logos in a horizontal row */
    animation: scroll 50s linear infinite;
    /* Infinite scrolling */
    align-items: center;
    /* Center boxes vertically */
    justify-content: center;
}

.logo-track img {
    max-height: 80px;
    /* Restrict the height of the logos */
    max-width: 150px;
    /* Restrict the width of the logos */
    object-fit: contain;
    /* Maintain aspect ratio */
}

.logo-track .logo-container {
    width: 200px;
    /* Fixed width for the box */
    height: 120px;
    /* Fixed height for the box */
    padding: 10px;
    /* Space between the image and box edge */
    display: flex;
    /* Flex container for centering */
    justify-content: center;
    /* Center image horizontally */
    align-items: center;
    /* Center image vertically */
    border: 2px solid var(--primary-color);
    /* Border around each box */
    background-color: #fff;
    /* White background for the box */
    border-radius: 4px;
    /* Slightly rounded corners */
    transition: transform 0.3s ease-in-out;
    /* Smooth hover animation */
    margin: .5rem .5rem;
}

.logo-track .logo-container:hover {
    transform: scale(1.05);
    /* Slight scaling effect on hover */
}


/* Keyframe animation for scrolling */
@keyframes scroll {
    0% {
        transform: translateX(0);
        /* Start at the initial position */
    }

    100% {
        transform: translateX(-100%);
        /* Move the track to the left by the width of all the logos */
    }
}

@media (max-width: 1023px) {
    #services-available {
        padding: 2rem 0rem;
    }

    #services-available h2 {
        font-size: 1.5rem;
        margin: 0 3rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }


}

@media (max-width: 735px) {

    .logo-track img {
        max-height: 70px;
        max-width: 100px;
    }

    .logo-track .logo-container {
        width: 150px;
        height: 80px;
    }


}



/*-------------------------------------------cta styling-------------------------------------------*/

/* General Section Styling */
#contact-us {
    background-color: var(--background-color);
    color: var(--dark-font-color);
    padding: 2rem 0;
}

/* Split Layout for Form and Quote */
.form-section,
.quote-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Form Styling */
.form-section {
    background-color: var(--secondary-color);
    padding: 5rem 2rem;
}

.form-section h2 {
    font-size: 2rem;
    color: var(--dark-font-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding: 0 2rem;
    margin-left: 3rem;
    margin-right: 3rem;
}

.form-section textarea {
    resize: none;
}

#contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: .3rem;
    box-sizing: border-box;
}

#contact-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

#contact-form button:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}


/* Contact Details and Map */
.contact-details-map {
    display: flex;
    flex-wrap: wrap;
    margin-top: 3rem;
    box-sizing: border-box;
    padding: 2rem;

}

.details,
.map {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
}


.details h3 {
    margin-bottom: 20px;
}

.details p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.map {
    box-sizing: border-box;
    padding: 0;
    width: 50%;
    display: flex;
    justify-content: center;
}

.map iframe {
    width: 80%;
    height: 100%;
    border: 2px solid black;
}


/* Responsive Design */
@media (max-width: 1023px) {
    .form-section {
        padding: 4rem 20%;
    }

    .form-section-box {
        width: 100%;
    }

    .form-section h2 {
        font-size: 1.5rem;
        margin: 0;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    #contact-form {
        align-items: center;
    }


    #contact-form button {
        padding: 1rem;
        width: 50%;
        margin-top: 1rem;
    }

}

@media (max-width: 735px) {


    #contact-us {
        padding-bottom: 0;
    }

    .form-section {
        padding: 4rem 2rem;
    }


    .details h3 {
        font-size: 1.5rem;
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
        display: inline-block;
        padding: 0 1rem;
    }

    .contact-details-map {
        flex-direction: column;
        margin: 0;
    }

    .details,
    .map {
        width: 100%;
    }

    .map {
        margin-top: 2rem;
        aspect-ratio: 1/1;
    }

    .map iframe {
        width: 100%;
    }

}


footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
}