/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font setup */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Navigation Bar */
nav.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #343a40; /* Dark background for the navbar */
	opacity: 90%;
}

nav .navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

nav .navbar-nav {
    display: flex;
    list-style: none;
	float: right;
}

nav .nav-link {
    font-size: 18px;
    margin-left: 15px;
    color: #fff;
    text-decoration: none;
}

nav .nav-link:hover {
    color: #ffcc00; /* Add hover effect */
}

h2.display-4 {
    font-size: 4rem; /* Adjust size as needed */
    font-weight: bold; /* Optional: Make it bolder */
}


/* Dropdown Menu */
.navbar-nav .dropdown {
    position: relative;
}

.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: block; /* Make it visible by default */
    opacity: 0; /* Start with no opacity */
    visibility: hidden; /* Ensure it's not visible */
    transform: translateY(-10px); /* Slightly above the original position */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s; /* Smooth transition */
    z-index: 999; /* Ensure dropdown is above other content */
}

.navbar-nav .dropdown:hover .dropdown-menu {
    opacity: 1; /* Fade-in effect */
    visibility: visible; /* Make it visible */
    transform: translateY(0); /* Move it to its natural position */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
}

.navbar-nav .dropdown-menu a {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
}

.navbar-nav .dropdown-menu a:hover {
    background-color: #ffcc00;
    color: #fff;
}

/* Start of 3D Image Slider */
@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

.banner{
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
	margin-top: 55px;
}
.banner .slider{
    position: absolute;
    width: 200px; /* Imagw Width */
    height: 250px; /* Imagw height */
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(550px);
}
.banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner .content h1{
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}
.banner .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}
.banner .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner .content h2{
    font-size: 3em;
}
.banner .model{
    background-image: url(images/model1.png);
    width: 100%;
    height: 75vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1023px) {
    .banner .slider{
        width: 160px;
        height: 200px;
        left: calc(50% - 80px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner .content h1{
        font-size: 5em;
    }
}
/* End of 3D Image Slider */


/* Hero Section Carousel */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .carousel-item img {
    object-fit: cover;
    height: 500px; /* Adjust to your preferred height */
}

.hero .carousel-caption {
    background: rgba(0, 0, 0, 0.6); /* Add a dark background to captions for better readability */
    padding: 20px;
    border-radius: 10px;
}

.hero .carousel-caption h5 {
    font-size: 36px;
    font-weight: bold;
}

.hero .carousel-caption p {
    font-size: 20px;
}

.hero .btn {
    font-size: 18px;
    padding: 15px 30px;
}

/* Optional: Add transitions to captions */
.hero .carousel-caption {
    transition: opacity 0.5s ease;
}

/* Controls */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #fff; /* White color for carousel controls */
}

/* Ensure the map is responsive */
#service-area-map {
    position: relative;
    width: 100%;
    max-width: 1000px; /* You can adjust the max-width */
    margin: 0 auto;
}

#map-image {
    width: 100%;
    height: auto;
	margin: -6em 0em;
}

/* Arrows styling */
.arrow {
    position: absolute;
    border: 2px solid #ffcc00; /* Yellow color for arrows */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transform-origin: center;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Arrows Animation (for surface-to-surface effect) */
@keyframes move-arrow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0;
    }
    50% {
        transform: scale(1.5) translate(50px, -50px); /* Adjust the translation based on the map size */
        opacity: 1;
    }
    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0;
    }
}

/* Specific arrow animations */
.arrow-us-to-canada {
    top: 35%; left: 25%;
    animation-name: move-arrow;
    animation-delay: 0s;
}

.arrow-india-to-pakistan {
    top: 45%; left: 55%;
    animation-name: move-arrow;
    animation-delay: 1s;
}

.arrow-australia-to-europe {
    top: 70%; left: 80%;
    animation-name: move-arrow;
    animation-delay: 2s;
}

.arrow-us-to-india {
    top: 30%; left: 30%;
    animation-name: move-arrow;
    animation-delay: 2.5s;
}

/* Optional: If you want to highlight the origin and destination areas with circles */
.country-circle {
    position: absolute;
    background-color: rgba(255, 204, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 2;
}

.country-circle.us {
    top: 35%; left: 20%;
}

.country-circle.canada {
    top: 30%; left: 15%;
}

.country-circle.india {
    top: 45%; left: 55%;
}

.country-circle.pakistan {
    top: 50%; left: 60%;
}

.country-circle.australia {
    top: 70%; left: 80%;
}

.country-circle.europe {
    top: 50%; left: 75%;
}


/* About Section */
#about {
    /*margin-top: 4em;*/
}
#about {
    text-align: center;
    padding: 60px 20px;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
}

/* Services Section */
#services .service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin: 2em 2em;
    text-align: center;
    transition: transform 0.3s ease;
}

#services .service-card:hover {
    transform: translateY(-10px);
}

#services h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Services Section */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%; /* Full viewport width */
    margin: 0 auto;
}

.slider {
    display: flex;
    gap: 30px;
    animation: slide 20s linear infinite; /* Smooth continuous animation */
    width: calc(100% + 30px); /* Ensures slides don't get clipped */
}

.slide {
    flex: 0 0 33.33%; /* Show 3 slides at a time */
    max-width: 33.33%; /* Responsive width */
    padding: 0 15px; /* Optional padding for spacing */
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.service-card a {
	text-decoration: none;
    color: black;
}
.service-card:hover {
    transform: translateY(-10px);
	color: red;
}
.service-card a:hover {
	color: green;
	text-decoration: underline;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Move one full set of slides */
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .slide {
        flex: 0 0 50%; /* Show 2 slides at a time */
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .slide {
        flex: 0 0 100%; /* Show 1 slide at a time */
        max-width: 100%;
    }
}


/* Contact Us Section */
#contact-us {
    font-family: 'Arial', sans-serif;
    padding: 3rem 1rem;
    background-color: #f9f9f9;
    color: #333;
    max-width: 1200px;
    margin: 3em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Section Title */
#contact-us h2 {
    /* font-size: 2rem; */
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
}

#contact-us p {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
}

/* Contact Cards */
#contact-us .contact-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#contact-us .contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Form Styling */
#contact-us form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

#contact-us form label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

#contact-us form input,
#contact-us form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

#contact-us form textarea {
    height: 100px;
    resize: none;
}

#contact-us form button {
    background-color: #2c3e50;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

#contact-us form button:hover {
    background-color: #34495e;
}

/* Icons Styling */
#contact-us .bd-icon,
#contact-us .glob-icon,
#contact-us .img-icon,
#contact-us .send-message-icon {
    max-width: 25px;
    height: auto;
    margin-left: 5px;
    vertical-align: middle;
}

/* Responsive Grid */
@media (min-width: 992px) {
    #contact-us .container .row {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    #contact-us .col-lg-4 {
        flex: 1;
        min-width: 30%;
    }
}

/* Mobile Friendly Adjustments */
@media (max-width: 768px) {
    #contact-us h2 {
        font-size: 1.8rem;
    }

    #contact-us p {
        font-size: 1rem;
    }

    #contact-us form {
        padding: 15px;
    }

    #contact-us form button {
        width: 100%;
    }
}

.contact-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin-top: 2rem;
    flex-wrap: wrap;  /* Ensure it wraps on smaller screens */
}

.contact-content .left-side, .contact-content .right-side {
    width: 48%; /* Take up almost half of the container */
    box-sizing: border-box;
}

.contact-content .left-side {
    text-align: left;
}

.contact-content .right-side {
    text-align: right;
}

h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 0.5rem;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

ul li a {
    color: #3498db;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

form {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    font-weight: bold;
    margin-top: 1rem;
}

form input, form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.3rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

form input[type="text"], form input[type="email"] {
    height: 2.5rem;
}

form textarea {
    height: 150px;
    resize: vertical;
}

form button {
    background-color: #3498db;
    color: white;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

form button:hover {
    background-color: #2980b9;
}

aside {
    background-color: #ffffff;
    padding: 1rem;
    margin-top: 2rem;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

aside h2 {
    margin-top: 0;
}

@media (max-width: 768px) {
    #contact-us {
        padding: 1.5rem;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-content .left-side, .contact-content .right-side {
        width: 100%;
        text-align: center;
    }

    #contact-us header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    form input, form textarea {
        padding: 0.6rem;
    }

    form button {
        padding: 0.7rem 1.2rem;
    }
}





/* Footer Styling */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    width: 22%;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #ffcc00;
}

footer address p {
    font-size: 14px;
    margin: 5px 0;
}

footer address a {
    color: #ffcc00;
}

footer address a:hover {
    color: #fff;
}

footer .award-badge,
footer .reviews-badge{
	max-width: 116px;
    margin-top: 4px;
}

footer .reviews-badge{
    margin-left: 10px;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-section {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}

footer p {
    font-size: 16px;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #ffcc00;
}

