@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

:root {
    --navbar-height: 120px; /* Adjust this value if needed */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000;
    color: #fff;
}

.navbar {
    left: 12%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 2em; /* Responsive padding */
    border-radius: 69px;
    margin: 2em auto 0 auto;
    width: 75%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.1px);
    border: 0.1px solid rgba(255, 255, 255, 0.45);
    height: auto;
    position: fixed;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.2em; /* Responsive font size */
}

.logo .ailogo {
    width: 186px;
    margin-right: 10px;
}

.menu{
  display: none;
  width: 24px;
  margin-left: 10px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5em; /* Responsive gap */
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.login-btn {
    background-color: red;
    color: white;
    padding: 0.5em 1em; /* Responsive padding */
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

/* Base hamburger styles */
.hamburger {
    position: fixed;
    top: 71.6px; /* Position it just below the navbar */
    left: -250px; /* Hidden off-screen initially */
    width: 250px;
    height: calc(100%); /* Adjust height to fit below the navbar */
    background-color: #111;
    list-style: none;
    padding: 20px 20px;
    margin: 0;
    transition: left 0.3s ease-in-out;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }


.hamburger li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s;
}

.hamburger li a:hover {
  color: #f39c12;
}

/* Show menu when active */
.hamburger.active {
  left: 0;
}

.hamlogo{
  display: none;
  width: 186px;
  margin-right: 10px;
}


.burger {
    position:relative;
    width: 30px;
    height: 30px;
    background: transparent;
    cursor: pointer;
    display: block; 
    z-index: 2001; /* Ensure it appears above other elements */
    margin:0px 10px;
    display: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  
  .burger input {
    display: none;
  }
  
  .burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: rgb(255, 255, 255);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  
  .burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
  }
  
  .burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
  }
  
  .burger input:checked ~ span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
  }
  
  .burger input:checked ~ span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
  }
  
  .burger input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
  }
  
  /* Optional: Hide the nav-links by default and show them when the burger is checked */
  #burger:checked ~ nav .nav-links {
    display: flex; /* Adjust as needed */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 1em;
    z-index: 1000;
  }
  
  .nav-links {
    display: none; /* Hide by default for mobile */
  }
  
  @media (min-width: 768px) {
    .nav-links {
      display: flex; /* Show nav-links for larger screens */
      flex-direction: row;
    }
  }

/* Style the menu icon */
/* .menu {
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  position: fixed;
  top: 20px;
  left: 20px;
} */

.airealty-card {
    background: linear-gradient(145deg, #6a6a6a, #2a2a2a, #1a1a1a);
    color: white;
    gap: 77px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    padding: 3rem;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin: 5rem auto;
    }

    .airealty-card-image {
      width: 41%;
      height: auto;
      border-radius: 10px;
    }

    .airealty-card-text {
      max-width: max-content;
    }

    .airealty-card-text h1 {
      font-size: 3.1rem;
      line-height: 1.3;
      font-weight: 600;
      margin-bottom: 2rem;
    }

    .sol{
      padding: 2rem 2rem 2rem 5rem;
    }
    .solutions-heading {
    font-size: clamp(2.5rem, 6vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
  }

  .solutions-heading span {
    color: #c62828;
  }

.solutions-panel {
  display: flex;
  justify-content: start;
  background-color: #000;
  color: #fff;
  gap: 2rem;
  font-family: "Segoe UI", sans-serif;
}

.service-selector ul {
  list-style: none;
  padding: 0;
  font-size: 1.4rem;

}

.solution-item {
  margin-bottom: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding-left: 1.5rem;
  position: relative;
  color: #888;
  transition: color 0.3s ease;
}

.solution-item::before {
  content: "■";
  position: absolute;
  left: 0;
  color: #c62828;
}

.solution-item.active {
  color: #fff;
}

.dynamic-description {
  max-width: 65%;
}

.solution-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.solution-text {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #ccc;
}


.solution-card-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution-card-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-around;
}

.highlight-card {
  width: 360px;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
  color: #fff;
  min-width: 220px;
}

.highlight-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.down-card{
    justify-content: center;
}




  
  .site-footer {
      background: linear-gradient(to top, #A91B00, #000);
      color: white;
      font-family: 'Inter', sans-serif;
      padding: 40px 60px;
      font-size: 14px;
  }
  
  .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      margin-bottom: 20px;
  }
  
  .footer-logo {
      width: 160px;
      margin-bottom: 12px;
  }
  
  .tagline {
      max-width: 260px;
      color: #ccc;
      padding-bottom: 5px;
  }
  
  .footer-nav a {
      color: white;
      margin-left: 14px;
      text-decoration: none;
      font-weight: 500;
  }
  
  .footer-nav a:hover {
      text-decoration: underline;
  }
  
  hr {
      border: none;
      border-top: 1px solid #444;
      margin: 20px 0;
  }
  
  .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
  }
  
  .footer-links a {
      margin-right: 20px;
      color: white;
      text-decoration: none;
  }
  
  .footer-links a:hover {
      text-decoration: underline;
  }
  
  .footer-social a {
      margin-left: 12px;
      color: white;
      font-size: 18px;
  }
  
  .footer-social a:hover {
      color: #f15b2a;
  }
  
  .footer-social img {
      width: 22px; /* Set the width to 22px */
      height: 22px; /* Set the height to 22px */
      filter: invert(1); /* Invert the color */
      transition: transform 0.3s ease, filter 0.3s ease; /* Add smooth transition for hover effects */
  }
  
  .footer-social img:hover {
      transform: scale(1.1); /* Slight zoom effect on hover */
      filter: invert(0); /* Revert the color on hover */
  }
  
  /* Media Queries for Responsiveness */  @media (max-width: 1200px) {
      .navbar {
          padding: 1em;
          width: 95%;
          left: 2%;
          margin: 1em auto 0 auto;
          font-size: small;
      }
  
      .nav-links {
          gap: 1em;
      }
      .airealty-card h1{
        font-size: 2.1rem;
      }
      .highlight-card{
        width: 96%;
    }
    .solutions-heading {
        font-size: 1.5rem;
    }
  
  }
  
  @media (max-width: 768px) {
      .navbar {
         
          padding: 1em;
          width: 96%;
      }

      .burger{
        display: block;
      }
  
      .nav-links {
        display: none;
          flex-direction: column;
          gap: 1em;
      }
      .menu{
        display:block;
      }
      
      .hamlogo{
        display: inline;
      }
      .solutions-heading {
        font-size: clamp(1.5rem, 6vw, 1rem);
        font-weight: 700;
        color: #fff;
        margin-bottom: 2rem;
       }

      .solutions-panel {
          flex-direction: column;
          align-items: center;
      }

      .service-selector ul {
        display: flex;
        list-style: none;
        padding: 0;
        font-size: 1.0em;
     } 

     .dynamic-description {
        max-width: 96%;
    }
    .highlight-card{
        width: 96%;
    }
    .airealty-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem;
    }
    .airealty-card-image{
      width: 75%;
    }
    .animated-button{
      margin: auto;
    }
  

}

  @media (max-width: 668px){
    .sol {
    padding: 0rem 2rem 2rem 3rem;
   }
  .solutions-heading{
    font-size: 1.3rem;
  }
  .service-selector ul{
    font-size: 0.8em;
  }


  }

@media (max-width: 480px) {
    .navbar {
        padding: 0.5em; /* Smaller padding for mobile */
    }

    .logo .ailogo {
        width: 150px; /* Smaller logo for mobile */
    }

    .nav-links {
        gap: 0.5em; /* Smaller gap for mobile */
    }


        .sol {
        padding: 0rem 1rem 2rem 1rem;
    }
    .service-selector ul{
      font-size: 0.6em;
    }





    .footer-top {
        flex-direction: column; /* Stack footer items on mobile */
        justify-content: center;
        align-items: center;
    }

    .footer-nav {
        flex-direction: column; /* Stack footer nav items on mobile */
    }

    .footer-links {
        flex-direction: column; /* Stack footer links on mobile */
    }

    .site-footer {
        text-align: center;
        font-size: 13px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .footer-bottom {
        justify-content: center;
    }
    .foooter-bottom div{
        padding: 5px;
    }
    .footer-links {
        padding: 5px;
    }
    .footer-social {
        padding: 5px;
    }
}


.animated-button {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 21px 10px 25px;
  border: 4px solid;
  border-color: transparent;
  font-size: 11px;
  background-color: inherit;
  border-radius: 100px;
  font-weight: 600;
  color: rgb(255, 255, 255);
  box-shadow: 0 0 0 2px rgb(255, 255, 255);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button svg {
  position: absolute;
  width: 24px;
  fill: rgb(255, 255, 255);
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
  right: 3px;
}

.animated-button .arr-2 {
  left: -25%;
}

.animated-button .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: rgb(246, 3, 3);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
  position: relative;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #ffffff;
  border-radius: 12px;
}

.animated-button:hover .arr-1 {
  right: -25%;
}

.animated-button:hover .arr-2 {
  left: 5px;
}

.animated-button:hover .text {
  transform: translateX(12px);
}

.animated-button:hover svg {
  fill: #212121;
}

.animated-button:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px rgb(255, 255, 255);
}

.animated-button:hover .circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}
