/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);
  --platinum: hsl(0, 0%, 97%);
  --primary-color:(#2486FC);
  --hover-color:(#1064cb);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates", sans-serif;
  --h1-font-size: 2rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 540;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;

  --transition-2: 0.35s ease;
  --fs-8: 1.5rem;

  --fw-500: 500;
  --gradient-2: linear-gradient(90deg,var(--razzmatazz) ,var(--rajah));
  --razzmatazz: hsl(335, 87%, 51%);
  --platinum: hsl(0, 0%, 96%);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --rajah: hsl(29, 99%, 67%);

}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cabin", sans-serif;
  font-optical-sizing: auto;
  font-weight:500;
  font-style: normal;
  font-size: var(--normal-font-size);
  padding-top: 60px;
  background: 
  url(/assets/images/background_pattern.png) no-repeat,
  linear-gradient(#ffffff, #e3f1fd 5%, #f3f9fe 20%);
  background-size: cover; 
  
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1200px;
  margin-inline: 1.5rem;
}
.section-title {
  font-size: 4.5rem;
  font-weight: lighter;
  text-align: center;
}
.btn {
  background-image: var(--gradient-2);
  background-size: 200%;
  color: var(--white);
  padding: 12px 35px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 0 25px;
  transition: var(--transition-2);
}

.btn:is(:hover, :focus) { background-position: right; }


/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
}

/*Scroll effect*/

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo, 
.nav__burger, 
.nav__close {
  color: black;
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  font-weight: 500;
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__burger, 
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity .1s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top .4s, opacity .3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: white;
    padding-top: 1rem;
  }
}

.nav__link {
  color: black;
  font-weight: 500;
  padding: 1.25rem 1.5rem;
  display: flex;
  font-size: 1.2rem;
  justify-content: space-between;
  align-items: center;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform .4s;
}

.dropdown__link, 
.dropdown__sublink {
  width: 250px;
  padding: 1rem; 
  color: black;
  background-color: white;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  column-gap: .5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color .3s;
}

.dropdown__link i, 
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover, 
.dropdown__sublink:hover {
  background-color: rgb(250, 187, 187);
}

.dropdown__menu, 
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease-out;
}

/* Show dropdown menu & submenu */
.dropdown__item:hover .dropdown__menu, 
.dropdown__subitem:hover > .dropdown__submenu {
  max-height: 1000px;
  transition: max-height .4s ease-in;
}

/* Rotate dropdown icon */
.dropdown__item:hover .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--black-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 3rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: .25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item, 
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu, 
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, top .3s;
  }

  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;

  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: .5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top .3s;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top .3s;
  }
}

@media screen and (max-width:480px)
{
  .dropdown__link, 
  .dropdown__sublink {
    padding-inline: 2.5rem 3rem;
    width: auto;
  }
}



/* Media queries for extra small screens */
@media screen and (max-width: 575px) {
  .nav__logo img{
    max-width: 65%;
  }
  .footer-bottom .row {
    flex-direction: column; /* Stack elements vertically */
    text-align: center; /* Center text */
  }
  .text p,a{
    font-size: 1.2rem;
  }
  .list li{
    font-size: 1.2rem;
  }
  .copyright{
    font-size: 1rem;
  }
}


/*Work header Section*/
.work-page-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  margin-top: 10px;
}

.content-wrapper {
  max-width: 1300px;
  margin-bottom: 30px;
}

.content-wrapper h1{
  font-size: 2.7rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.work-description {
  font-size: 1.2rem;
  max-width: 1300px;
  margin:10px auto;
  font-weight: light;
  color: #4b4b4b;
  margin-bottom: 30px;
}

.button-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.work-button {
  background-color:#2486FC; 
  color:white; 
  padding: 12px 35px; 
  border: none;
  text-decoration: none;
  border-radius: 25px;
  box-shadow: 0px 12px 10px 2px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem;
  margin-right: 15px; 
  transition: background-color 0.3s;
}

.work-button:hover {
  background-color: #0056b3;
}

.work-button2 {
  background-color: white;
  color:#2486FC; /* Dark text color for buttons */
  padding: 12px 35px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 25px;
  box-shadow: 0px 12px 10px 2px rgba(0, 0, 0, 0.1);
  font-size: 1.1rem; /* Font size for buttons */
  margin-right: 15px; /* Space between buttons */
  transition: background-color 0.3s; /* Smooth background transition */
}

.work-button2:hover {
  background-color: #0056b3;
  color: white;
}

.video-wrapper {
  max-width: 1200px;
  width: 100%;
  margin-top: 30px;
}

.work-video {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/*Image hover title*/

.image-hover-title h2{
  font-size: 2.7rem;
  font-weight: 500;
  margin-top: 30px;
  text-align: center;
}


/*Image selection section*/
     
.image-hover-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  min-height: 75vh;
}

.content-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

/* Image Styling */
.image-wrapper img {
  width: 550px;
  height: 380px; /* Set a fixed height */
  border-radius: 15px;
  transition: transform 1.0s ease, opacity 1.0s ease;
  object-fit: cover; /* Ensure the image fills the dimensions */
}


/* Buttons Wrapper Styling */
.buttons-wrapper {
  font-size: 1.2rem;
  width: 60%;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 600px;
  justify-content: center;
  align-items: center;
}

/* Buttons Styling */
.hover-button {
  padding: 12px 20px;
  border: 2px solid black;
  background-color: #f5f5f5;
  color: #777373;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  min-width: fit-content;
}

/* Hover Effect */
.hover-button:hover {
  background-color: #ffffff;
  color: #000000;
}






/* General Section Styling */


.tools-slider-section, .tools-slider-section-right {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.tools-slider-section-right {
  background-color: #f4f4f4; /* Different background color for the right slider section */
}

.slider-heading {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000000;
}

/* Slider Container */
.slider-container, .slider-container-right {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Common Slider Item Styles */
.slider-item {
  min-width: 400px; /* Fixed card size */
  max-width: 400px; /* Uniform size */
  height: auto; /* Fixed card height */
  background: white;
  text-align: center;
  border-radius: 10px; /* Rounded corners */
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  padding: 10px; /* Inner spacing */
  margin: 20px;
}

.slider-item img {
  width: 100%;
  height: auto; /* Adjusted image height */
  object-fit: cover; /* Maintain aspect ratio */
  border-radius: 5px; /* Rounded image corners */
}



/* Left-to-Right Animation */
.slider {
  display: flex;
  gap: 30px; /* Spacing between cards */
  animation: scroll 20s linear infinite; /* Smooth left-to-right scrolling */
}

/* Right-to-Left Animation */
.slider-right {
  display: flex;
  gap: 30px; /* Spacing between cards */
  animation: scroll-right 20s linear infinite; /* Smooth right-to-left scrolling */
}


/* Animation for Left-to-Right */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Animation for Right-to-Left */
@keyframes scroll-right {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}


/* laptop images  */

/* Section Styling */
.responsive-section {
  background-color: #000000; /* Blue background */
  color: white;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
  border-radius: 0 0 50px 50px;
}

/* Header Styling */
.responsive-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.responsive-header p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

/* Layout Icons Section */
.layout-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.icon-card {
  text-align: center;
}

.icon-card img {
  margin-bottom: 10px;
}

.icon-card p {
  margin: 5px 0;
}

/* Sliding Showcase Wrapper */
.devices-showcase-wrapper {
  width: 100%;
  overflow: hidden; /* Hide extra content */
  position: relative;
}

/* Sliding Showcase */
.devices-showcase {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-image{
  height: 470px;
  width: 1000px;
}

.devices-img {
  width: 100%;
  max-width: 600px;
  flex-shrink: 0; /* Prevent shrinking */
  margin: auto;
  border-radius: 10px;
}




/* Engagement banner section */
.engagement-section {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.engagement-content {
  max-width: 800px;
}

.engagement-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 20px;
}

.engagement-title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #000;
  padding: 30px;
}

.engagement-button {
  padding: 15px 40px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  background-color: #000;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.engagement-button:hover {
  background-color: #333;
  transform: translateY(-3px);
}







/* Footer styling */
.main-footer {
  background-color: rgb(246, 246, 246); /* Dark background for contrast */
  color: black; /* Light text for readability */
  padding: 40px 20px; /* Padding around the footer content */
}

.main-footer .container {
  max-width: 1250px; /* Limit the container's width */
  margin: auto; /* Center the container */
}
.footer-content {
  background-size: cover; /* Ensure it covers the entire div */
  background-repeat: no-repeat; /* No repeating */
  background-position: center; /* Center the image */
  padding: 10px 20px; /* Padding around the content */
}

/* Footer row with flex layout */
.footer-content .row {
  display: flex; /* Use flexbox for alignment */
  justify-content: space-between; /* Distribute columns evenly */
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  gap: 20px; /* Space between columns */
}

/* Footer column styling */
.footer-column {
  padding: 20px; /* Padding for each column */
  flex: 1; /* Allow each column to grow equally */
}

/* Styling for the logo widget */
.logo-widget .logo-box {
  margin-bottom: 20px; /* Space below the logo */
}

.logo-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}

/* Social media icons */
.footer-social {
  display: flex; /* Horizontal layout for icons */
  gap: 10px; /* Space between icons */
}

.footer-social a {
  color: #000000; /* Default color */
  font-size: 1.5em; /* Larger font size for visibility */
  transition: color 0.3s; /* Smooth hover effect */
}

.footer-social a:hover {
  color: #2486FC; /* Hover effect */
}

/* Service widget styling */
.service-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.service-widget .list {
  list-style: none; /* No bullet points */
  padding: 0; /* No padding */
}

.service-widget .list li {
  margin-bottom: 10px; /* Space between list items */
}

.service-widget .list a {
  text-decoration: none; /* No underline */
  color: black; /* Default link color */
  transition: color 0.3s; /* Smooth hover effect */
}

.service-widget .list a:hover {
  color:#2486FC; /* Hover effect */
}

/* Contact widget styling */
.contact-widget .footer-title {
  font-size: 1.2em; /* Title font size */
  margin-bottom: 15px; /* Space below the title */
}

.contact-widget .text {
  font-size: 1em; /* Standard font size */
  line-height: 1.5; /* Improve readability */
}
.text a{
  text-decoration: none;
  color: black;
}
.text a:hover{
  color: #2486FC;
}
.footer-bottom {
  background-color: black; /* Slightly darker than the main footer */
  padding: 20px; /* Padding for the bottom section */
}

.footer-bottom .container {
  max-width: 1250px; /* Center the container */
  margin: auto; /* Center horizontally */
}

.footer-bottom .row {
  display: flex; /* Use Flexbox for alignment */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
}

/* Centered copyright text */
.copyright {
  font-size: 1em; /* Standard font size */
  text-align: center; /* Center the text */
  color: white; /* Light text for visibility */
}

.copyright a {
  text-decoration: none; /* No underline */
  color: #f5f5f5; /* Default link color */
  transition: color 0.3s; 
}

.copyright a:hover {
  color: black; /* Hover color for links */
}

@media (max-width: 780px) {
  .work-page-intro {
    padding: 30px 15px;
  }

  .content-wrapper h1 {
    font-size: 2.2rem;
  }

  .work-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .video-wrapper {
    margin-top: 20px;
  }

  .work-video {
    border-radius: 5px;
  }
}

@media (max-width: 480px) {
  .content-wrapper h1 {
    font-size: 1.8rem;
    text-align: left;
  }

  .content-wrapper p{
    font-size: 1.1rem;
    text-align: justify;
  }
  .work-button,
  .work-button2 {
    padding: 10px 25px;
    font-size: 1rem;
    gap: 5px;
  }

  .video-wrapper {
    margin-top: 15px;
  }
}



@media (max-width: 768px) {
  .image-hover-title h2 {
    font-size: 2rem;
    margin-top: 20px;
  }

  .image-hover-section {
    padding: 10px;
    flex-direction: column;
  }

  .content-container {
    flex-direction: column;
    gap: 15px;
  }

  .image-wrapper img {
    width: 100%; /* Use full width on smaller screens */
    height: auto; /* Maintain aspect ratio */
  }

  .buttons-wrapper {
    width: 100%;
    gap: 10px;
    flex-direction: column;
    align-items: center;
  }

  .hover-button {
    padding: 10px 15px;
    font-size: 1.2rem;
    border-radius: 40px;
    width: 80%; /* Adjust button width for better appearance */
  }
}

@media (max-width: 480px) {
  .image-hover-title h2 {
    font-size: 1.8rem;
  }

  .hover-button {
    padding: 8px 10px;
    font-size: 1rem;
    border-radius: 30px;
    width: 90%; /* Further adjust button width */
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .buttons-wrapper {
    gap: 8px;
  }
}


@media (max-width: 768px) {
  .slider-heading {
    font-size: 2rem; /* Smaller heading size */
  }

  .slider-item {
    min-width: 300px; /* Reduce card size for smaller screens */
    max-width: 300px;
    margin: 10px;
  }

  .slider {
    gap: 20px; /* Adjust spacing */
  }

  .slider-right {
    gap: 20px;
  }


}


@media (max-width: 480px) {
  .slider-heading {
    font-size: 1.8rem; /* Further reduce heading size */
  }

  .slider-item {
    min-width: 250px; /* Smaller card size */
    max-width: 250px;
    margin: 10px;
  }

}



/* For mobile devices */
@media (max-width: 768px) {
  .responsive-header h2 {
    font-size: 2.2rem;
  }
  .responsive-header p {
    font-size: 1.5rem;
  }
  .icon-card {
    width: 80%; /* Full-width for smaller screens */
  }
  .slider-image {
    height: 300px;
    width: 100%;
  }
}

/* For extra-small devices */
@media (max-width: 480px) {
  .responsive-header h2 {
    font-size: 1.8rem;
  }
  .responsive-header p {
    font-size: 1.3rem;
  }
  .icon-card {
    width: 100%; /* Stretch to full width */
  }
  .icon-card p{
    font-size: 14px;
  }
  .slider-image {
    height: 250px;
    width: 100%;
  }
}




@media (max-width: 768px) {
  .engagement-section {
    padding: 40px 20px;
    border-radius: 60px;
  }

  .engagement-content {
    max-width: 90%;
  }

  .engagement-subtitle {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .engagement-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding: 20px;
  }

}

@media (max-width: 480px) {
  .engagement-section {
    padding: 30px 15px;
    border-radius: 50px;
  }

  .engagement-content {
    max-width: 100%;
  }

  .engagement-subtitle {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .engagement-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding: 15px;
    text-align: justify;
  }

}



/* Media query for smaller screens */
@media (max-width: 768px) {
  .footer-content .row {
    flex-direction: column; /* Vertical layout for smaller screens */
  }

  .footer-column {
    margin-bottom: 20px; /* Space between columns */
  }
}
/* Media queries for smaller screens */
@media screen and (max-width: 991px) {
  .footer-content .row {
    flex-direction: column; /* Stack columns vertically */
  }

  .footer-column {
    flex: 1 1 100%; /* Set columns to full width */
    margin-bottom: 20px; /* Add space between columns */
  }
}

/* website text selection style code  */

::selection {
  background-color: #f83636; /* Orange background */
  color: #ffffff; /* White text */

}

/* For Mozilla Firefox (uses a different pseudo-element) */
::-moz-selection {
  background-color: #f83636; /* Orange background */
  color: #ffffff; /* White text */
}

/* Default text selection style  End */
