/* --------------------------Global styles -----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) #f9f9f9;
    overflow-x: hidden;
}
/* Navigation styles */
#navigation, #navbar {
    position: fixed;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
}
#navigation{
    color: white;
}
nav img {
    max-width: 100%;
}

.nav-link {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position it absolutely */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of dropdown */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 10px 0; /* Padding for dropdown */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li {
    position: relative; /* Required for submenu positioning */
}

.dropdown-menu li a {
    padding: 10px 20px; /* Spacing for dropdown items */
    color: black; /* Dropdown text color */
    display: block; /* Make links block elements */
    transition: padding-left 0.3s ease, border-left 0.3s ease; /* Smooth transition for padding */
}

.dropdown-menu li a:hover {
    padding-left: 20px; /* Indent on hover */
    border-left: 2px solid #3ca0e7; /* Left border on hover */
}

.dropdown:hover > .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

/* Submenu Styles */
.dropdown-submenu {
    display: none; /* Hide submenu by default */
    position: absolute; /* Position it absolutely */
    left: 100%; /* Align to the right of the parent */
    top: 0; /* Align to the top of the parent */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of submenu */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li:hover > .dropdown-submenu {
    display: block; /* Show submenu on hover */
}

/* Mobile styles for dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative; /* Change to relative for mobile */
        min-width: 100%; /* Full width dropdown */
        left: 0; /* Reset left position */
        box-shadow: none; /* Remove shadow on mobile for simplicity */
    }

    .dropdown-submenu {
        position: relative; /* Change to relative for mobile */
        left: 30px; /* Reset left position */
        min-width: 100%; /* Ensure full width submenu */
        box-shadow: none; /* Remove shadow on mobile */
    }

    /* Mobile styles for nav-link */
    .nav-link {
        width: 100%; /* Make the button full width */
        text-align: center; /* Center the text inside the button */
        padding: 10px 0; /* Add some vertical padding for aesthetics */
    }
}


/* ------------------------------------------------------ */    
#popup-form {
    z-index: 50;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.9); /* Optional: scale down when hidden for a smooth effect */
}

#popup-form.show {
    opacity: 1;
    transform: scale(1);
}

#popup-form.hidden {
    display: none;
}

/* Menu Items Styling */
#menu-items a:hover,
#menu-items span:hover {
    color: blue;
}

/* Form Shadow */
.form-shadow {
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.4);
    font-size: 1rem; /* Adjust base font size */
    line-height: 1.5; /* Adjust line height */
}

/* Form Elements */
input,
textarea {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.side-panel {
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.side-panel.open {
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .main-content {
        height: auto; /* Adjust height for smaller screens */
    }
}

@media (max-width: 640px) {
    .main-content {
        height: auto; /* Adjust height for smaller screens */
    }
}

.bg-white-scrolled {
    background-color: white;
    color: black;
}
  
  .cta {
    padding: 16px 32px;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 32px;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px rgba(99, 116, 152, 0.2);
    transition: all 0.4s ease;
  }
  .cta:hover {
    border: 1px solid rgba(99, 116, 152, 0.1);
    box-shadow: inset 0px -80px 0px rgba(99, 116, 152, 0.1);
    transform: translateY(-5px);
  }
  @media screen and (max-width: 799px) {
    .cta {
      margin-top: 16px;
    }
  }
  @media (max-width: 640px) {  /* Target mobile screens */
    #submit {
        height: 36px;  /* Match close button height */
        padding: 8px 16px;  /* Adjust padding */
        font-weight: bold;  /* Match font style */
    }
}




  /* Wrapper */

	.wrapper {
		position: relative;
		padding: 6em 0 9em 0;
	}

		.wrapper .title {
			position: absolute;
			top: 0;
			left: 50%;
			text-align: center;
			text-transform: uppercase;
			display: block;
			font-weight: 700;
			letter-spacing: 0.25em;
			font-size: 0.9em;
			width: 25em;
			height: 3.25em;
			top: -3.25em;
			line-height: 3.25em;
			margin-bottom: -3.25em;
			margin-left: -12.5em;
			padding-top: 0.5em;
		}

			.wrapper .title:before {
				content: '';
				position: absolute;
				bottom: -38px;
				left: -35px;
				width: 35px;
				height: 38px;
				background: url("../img/shadow.png");
			}

			.wrapper .title:after {
				-moz-transform: scaleX(-1);
				-webkit-transform: scaleX(-1);
				-ms-transform: scaleX(-1);
				transform: scaleX(-1);
				content: '';
				position: absolute;
				bottom: -38px;
				right: -35px;
				width: 35px;
				height: 38px;
				background: url("../img/shadow.png");
			}

		.wrapper.style1 {
			background: #e97770 url("../img/overlay.png");
			color: #eee;
			color: rgba(255, 255, 255, 0.75);
		}

			.wrapper.style1 .title {
				background: #e97770 url("../img/overlay.png");
				color: #fff;
			}

			.wrapper.style1 h1, .wrapper.style1 h2, .wrapper.style1 h3, .wrapper.style1 h4, .wrapper.style1 h5, .wrapper.style1 h6, .wrapper.style1 strong, .wrapper.style1 b, .wrapper.style1 a {
				color: #fff;
			}

		.wrapper.style2 {
			background: #fff;
		}

			.wrapper.style2 .title {
				background: #fff;
				color: #484d55;
			}

		.wrapper.style3 {
			background: #f3f3f3 url("../img/overlay.png");
            margin-bottom: 0px;
		}

			.wrapper.style3 .title {
				background: #f3f3f3 url("../img/overlay.png");
				color: #484d55;
			}

			.wrapper.style3 .image {
				border: solid 10px #fff;
			}

/* Page Wrapper */

	#page-wrapper > section {
		margin-bottom: 0;
	}


    @media screen and (max-width: 1280px) {
        /* Wrapper */

			.wrapper {
				padding: 4em 0 7em 0;
			}
            
    }
    @media screen and (max-width: 736px) {
        /* Wrapper */

			.wrapper {
				padding: 3em 0 6em 0;
			}

				.wrapper .title {
					font-size: 0.9em;
					width: 18em;
					height: 2.5em;
					top: -2.5em;
					line-height: 2.5em;
					margin-bottom: -2.5em;
					margin-left: -9em;
					padding-top: 0.5em;
				}

					.wrapper .title:before, .wrapper .title:after {
						height: 15px;
						bottom: -15px;
						background-size: 100% 100%;
					}
    }

    

/*-------------------------- Footer section------------------------- */
.footer {
    background-color: #1e3a8a; 
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%; 
    bottom: 0; 
    z-index: 1002; 
}

.footer p {
    font-size: 0.8rem;
}


/* ----------------------MEDIA QUERY FOR ABOUT SECTION-------------------------------- */
@media (max-width: 640px) {
    .about-us-section{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}

@media (max-width: 1024px) {
    .about-us-section{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 170vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}
@media (max-width: 768px) {
    .about-us-section{
        height: 170vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}
/* ---------------------MEDIA QUERY FOR 4TH SECTION------------------------------ */

#features-love {
    /* Ensure the section fills the height of the viewport */
    background-image: linear-gradient(to top, #e7f0fd 0%, #e7f0fd 100%);
    min-height: 100vh;
    
}


/* Media query for mobile devices */
@media (max-width: 767px) {
    #features-love {
        padding: 6px; /* Adjust padding for smaller screens */
        min-height: 150vh;
       
    }

    .text-center {
        padding: 0 1rem; /* Add some padding for better readability on small screens */
    }

    .grid {
        grid-template-columns: 1fr; /* Stack columns vertically on small screens */
    }

    .gap-4 {
        gap: 1rem; /* Reduce gap between items for smaller screens */
    }

    .text-3xl {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .text-xl {
        font-size: 1.25rem; /* Adjust font size for smaller screens */
    }
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .swiper-slide {
        width: 50%; /* Adjust width for tablets */
    }
    .swiper-container {
        height: auto; /* Height adjusts based on content */
        margin-bottom: 50px;
        overflow: hidden;
    }
}


@media (max-width: 768px) {
    
    .swiper-container {
        height: auto; /* Height adjusts based on content */
        margin-bottom: 50px;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
    }
    
    .swiper-slide {
        width: 70%; /* Adjust width for mobile devices */
    }

    .swiper-slide img {
        max-height: 120px; /* Limit the height of the image */
    }

    .swiper-slide h3 {
        font-size: 1rem; /* Adjust font size for the heading */
    }

    .swiper-slide p {
        font-size: 0.75rem; /* Adjust font size for the description */
    }

    .swiper-slide a {
        font-size: 0.75rem; /* Adjust font size for the link */
    }
}

.swiper-slide img {
    max-height: 120px; /* Limit the height of the image */
    object-fit: fill; /* Maintain aspect ratio and cover the area */
}

.swiper-slide h3 {
    font-size: 1rem; /* Adjust font size for the heading */
}

.swiper-slide p {
    font-size: 0.75rem; /* Adjust font size for the description */
}

.swiper-slide a {
    font-size: 0.75rem; /* Adjust font size for the link */
}
.swiper-slide ul{
    font-size: 0.75rem; /* Adjust font size for the link */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    #products {
        height: auto; /* Set the section height */
    }
    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .faq-item {
        padding: 0.75rem;
    }

    .faq-label {
        font-size: 0.875rem;
    }

    .icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ---------------------------- ANIMATION FADE IN FADE OUT ------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}

.fade-out {
    opacity: 1;
    animation: fadeOut 1s ease-in forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}
.zoom-content {
    zoom: 0.95;
    transform: scale(0.95);
}

::selection {
  background-color: #51ff3dd9; /* Your desired background color */
  color: #008004;           /* Your desired text color */
}