:root {
  --primary: #be0500;
  --secondary: #1e1e1e;
  --accent: #ff4b91;
  --bg: #e0eaff;
  --white: #ffffff;
  --grey-2: #f0f0f0;
  --h1: 48px;
  --h2: 36px;
  --h3: 30px;
  --h4: 20px;
  --h5: 20px;
  --h6: 18px;
  --p: 16px;
  --size70: 65px;
}

html {
  overflow-x: hidden;
}

/** Adding Raleway Font **/
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-Black.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-SemiBold.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  src: url("fonts/Rubik/Rubik-Bold.ttf") format("truetype");
  font-weight: bold;
}

body {
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin-top: 0 !important;
}

.navbar.fixed-top {
  position: absolute !important;
  width: 100%;
  z-index: 1000;
}

.nav-item.dropdown {
  display: inline-block;
}

.nav-item.dropdown .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  transition: opacity 0.3s ease;
  background-color: transparent;
  border-radius: 20px;
  padding: 0;
  margin-top: 0.8px;
  border: none;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  display: block;
  opacity: 1;
  visibility: visible;
}


.nav-item.dropdown .dropdown-toggle::after {
  display: none !important;
}

.nav-item.dropdown .dropdown-menu li {
  margin-bottom: 2px;
}

.nav-item.dropdown .dropdown-menu .dropdown-item {
  padding: 10px 16px;
  font-weight: 400;
  white-space: nowrap;
  background-color: var(--white);
  color: var(--secondary);
  border-radius: 0;
  transition: background 0.3s;
}

.nav-item.dropdown .dropdown-menu li:first-child .dropdown-item {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.nav-item.dropdown .dropdown-menu li:last-child .dropdown-item {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 0;
}

.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
  color: var(--primary);
}

.nav-link {
  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 25px;
  padding-left: 20px !important;
  padding-right: 20px !important;
  font-size: var(--h6);
  color: var(--secondary);
}

.ml-20 {
  margin-left: 20px;
}

.banner-block {
  min-height: 800px;
  padding-top: 150px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide-1 .banner-block {
  background-image: url('../assets/ainfra-project-03-banner 3.png');
}

.slide-2 .banner-block {
  background-image: url('../assets/ainfra-project-03-banner 2.png');
}

.slide-3 .banner-block {
  background-image: url('../assets/ainfra-project-03-banner 1.png');
}

.content-banner h1 {
  font-size: var(--h1);
  letter-spacing: 0px;
  color: var(--white);
  text-shadow: 0px 3px 6px #00000069;
}

.content-banner h1 span {
  font-size: var(--size70);
}

.content-banner h6 {
  font-size: var(--h3);
  color: var(--white);
  font-weight: 300;
  margin-top: 10px;
}

.content-banner p {
  margin-top: 20px;
  font-size: var(--h4);
  color: var(--white);
  font-weight: 300;
}



.btn-primary {
  background: var(--primary) 0% 0% no-repeat padding-box;
  border-radius: 60px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 15px;
  padding-bottom: 15px;
  border: none !important;
  font-size: var(--h4);
}

.banner-block-content {
  background: #F0F0F0 0% 0% no-repeat padding-box;
  border-radius: 0px 10px 10px 0px;
  padding: 20px;
}

.banner-block-content h4 {
  font-size: var(--h2);
  color: var(--secondary);
  font-weight: 500;
  text-align: center;
}

.banner-block-content .flex-box {
  display: flex;
  letter-spacing: 0px;
  color: #CA0D08;
  font-size: var(--h3);
  margin-bottom: 10px;
  gap: 8px;
}

.banner-block-content table tr td {
  font-size: var(--h4);
  letter-spacing: 0.5px;
  color: #000000;
  font-weight: 500;
}

.banner-block-content table tr td span {
  color: var(--primary);
}

.self-center {
  align-self: center;
}

.carousel-indicators [data-bs-target] {
  width: 20px;
  height: 20px;
  background: var(--white) 0% 0% no-repeat padding-box;
  border-radius: 50%;
  border: 2px solid var(--white);
  opacity: 1;
}

.carousel-indicators .active {
  background: var(--primary) !important;
}

/** About us **/
.about-us {
  padding-top: 80px;
  padding-bottom: 80px;
  background: url("../assets/ainfra-bg-pettern-1.png");
  background-size: cover;
}

.about-logo {
  padding-right: 40px;
}

.about-us-content h1 {
  font-size: var(--h2);
  color: var(--primary);
  font-weight: 500;
}

.about-us-content p {
  font-size: var(--h4);
  color: var(--secondary);
  font-weight: 400;
  margin-top: 20px;
}

.about-us-content h4 {
  font-size: var(--h3);
  color: var(--secondary);
  font-weight: bold;
  margin-top: 20px;
}

/* philosophy-section */
.philosophy-section {
  background-color: var(--secondary);
}

.philosophy-section h2 {
  color: var(--white);
  font-weight: 700;
  font-size: var(--h2);
  margin-top: 30px;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--grey-2);
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.description {
  color: var(--grey-2);
  font-size: var(--h6);
  width: 100%;
  max-width: 1090px;
}

.icon-philosophy {
  margin-top: 30px;
}

.icon-box {
  color: var(--grey-2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
}

.icon-img {
  width: 30px;
  margin-bottom: 10px;
}

.icon-box p {
  font-size: var(--h6);
  color: var(--grey-2);
  margin: 0;
}

.row.gx-0>[class^="col-"] {
  padding-left: 0;
  padding-right: 0;
}

.icon-box:hover {
  transform: scale(1.05);
}

/* project-highlight-section */
.project-highlight {
  background-color: var(--primary);
  overflow: visible;
  padding: 0 !important;
  padding-bottom: 0 !important;
}

.project-highlight .row,
.project-highlight .col-md-6 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.project-highlight .subham-details {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.project-highlight .building-col {
  padding-bottom: -30px !important;
  margin-bottom: -30px !important;
}

.building-col {
  position: relative;
  margin-top: -90px !important;
  padding-left: 0 !important;
  padding-right: 100px !important;
  margin-left: -40px !important;
  z-index: 1;
}

.building-img {
  width: 100%;
  max-width: 90%;
  transform: scale(0.9);
  object-fit: contain;
  display: block;
}

.sold-out-img {
  position: absolute;
  top: 220px;
  right: 180px;
  width: 90px;
  z-index: 2;
}

.project-title {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h3);
  font-weight: bold;
  margin-top: 10px !important;
}

.project-location {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h3);
  margin-bottom: 40px;
}

.project-desc {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h5);
  line-height: 1.6;
}

.know-more-btn {
  font-family: "Rubik'", sans-serif;
  background-color: var(--white);
  margin-top: 15px;
  margin-bottom: 0px !important;
  border-radius: 25px;
}

/* hero-section */
.hero-section {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0 !important;
}

.custom-wrapper {
  padding: 0;
  margin: 0;
  max-width: 100%;
  padding-left: 60px;
}

.overflowed-img {
  position: relative;
  margin-top: -130px !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
  z-index: 1;
}

.hero-section .overflowed-img {
  padding-bottom: -70px !important;
  margin-bottom: -70px !important;
}

.hero-section .building-img {
  width: 100%;
  max-width: 80%;
  transform: scale(0.8);
  object-fit: contain;
  display: block;
  left: 160px;
}

.soldout-icon {
  position: absolute;
  top: 30%;
  left: 160px !important;
  max-width: 100px;
  z-index: 10;
}

.subham-details h2 {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h2);
  font-weight: bold;
  margin-top: 10px !important;
}

.subham-details h4 {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h3);
  margin-bottom: 40px;
}

.subham-details p {
  font-family: "Rubik'", sans-serif;
  font-size: var(--h5);
  line-height: 1.6;
}

.know-btn {
  font-family: "Rubik'", sans-serif;
  background-color: var(--white);
  margin-top: 15px;
  border-radius: 25px;
}

/* why choose ainfra */
.why-choose-ainfra {
  font-family: "Rubik'", sans-serif;
  background-color: var(--white);
}

.why-choose-ainfra h2 {
  text-align: start;
}

.why-choose-ainfra p {
  text-align: start;
  font-weight: 500;
  font-size: var(--h6);
  width: 97%;
  max-width: 1020px !important;
}

.info-box {
  font-family: "Rubik'", sans-serif;
  align-items: flex-start;
  text-align: center;
  border: 2px solid var(--grey-2);
  border-radius: 12px;
  padding: 16px 16px;
  width: 90%;
  max-width: 700px;
  font-weight: 400;
  font-size: var(--h6);
  background-color: var(--white);
  transition: all 0.3s ease;
}

.red-text {
  font-family: "Rubik'", sans-serif;
  color: var(--primary);
  font-weight: bold;
}

.custom-box {
  margin-left: 0px !important;
  margin-right: 12px !important;
}

/* usage-policy-section */
.usage-policy-section {
  font-family: "Rubik'", sans-serif;
  background-color: var(--primary);
}

.usage-policy-section h5 {
  color: var(--white);
  font-size: var(--h3);
  padding-bottom: 20px;
  padding-top: 30px;
}

.usage-policy-section p {
  color: var(--white);
  font-size: var(--h6);
  line-height: 1.7;
}

/* foooter */
.footer-section {
  background-color: var(--secondary);
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  color: var(--white);
  font-size: var(--h6);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 30px;
}

.footer-logo-img {
  max-width: 140px;
  height: auto;
}

.footer-contact {
  font-family: "Rubik'", sans-serif;
  padding-left: 160px;
  padding-top: 20px;
}

.footer-contact h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: var(--h6);
}

.footer-contact p {
  color: var(--grey-2);
  margin-bottom: 1rem;
  font-size: var(--h6);
}

.footer-contact ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
  font-size: var(--h6);
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  color: var(--grey-2);
  font-size: var(--h6);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact ul li img {
  margin-top: 3px;
  width: 14px;
  height: 14px;
}

.footer-contact .contact-details div img {
  margin-top: 0px;
  width: 14px;
  height: 14px;
}

.footer-section .social-icons img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.footer-section hr {
  border-color: var(--grey-2);
  opacity: 0.5;
  margin-right: 15px;
}

.footer-links-content {
  font-size: var(--h6);
}

.footer-section .footer-links a {
  font-family: "Rubik'", sans-serif;
  color: var(--grey-2);
  text-decoration: none;
  font-size: var(--h6);
  margin-left: 20px;
  margin-right: 15px;
}

.footer-section .footer-links a:hover {
  color: var(--white);
}


.popup-box {
  background: var(--white);
  width: 90%;
  max-width: 720px;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px 25px;
}

.popup-header {
  font-family: "Rubik'", sans-serif;
  padding: 12px 16px;
  position: relative;
}

.popup-header h5 {
  font-weight: 600;
  font-size: var(--h3);
  padding-bottom: 20px;
  margin: 0;
}

.popup-close-img {
  position: absolute;
  top: 8px;
  right: 13px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.popup-overlay.show {
  display: flex;
}

.popup-box {
  background-color: var(--white);
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.popup-strip {
  font-family: "Rubik'", sans-serif;
  background: var(--primary);
  color: var(--white);
  padding: 10px;
  font-weight: bold;
  text-align: center;
  margin-left: -25px;
  margin-right: -25px;
  margin-top: 0;
  margin-bottom: 20px;
  border-radius: 0;
}

.promise-box {
  max-width: 100%;
  width: 250px;
  height: 300px;
  background-color: var(--white);
  border: 2px solid var(--grey-2) !important;
  border-radius: 10px !important;
}

.promise-heading {
  font-family: "Rubik'", sans-serif;
  font-weight: 500;
  background-color: var(--grey-2) !important;
  color: var(--primary) !important;
  font-size: var(--h6);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.promise-item {
  font-family: "Rubik'", sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  padding-left: 30px;
  gap: 10px;
}

.promise-item img {
  width: 28px;
  height: 28px;
}

.promise-item div {
  line-height: 1.7;
}

.custom-hr {
  height: 2px;
  margin-left: 30px;
  margin-right: 30px;
}

.popup-box .form-control {
  font-family: "Rubik'", sans-serif;
  font-weight: 400;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: var(--h6);
}

.form-check-input {
  font-family: "Rubik'", sans-serif;
  font-weight: 400;
  margin-top: 4px;
  border: 0.5px solid silver;
}

.btn-express-network {
  margin-top: 25px !important;
}

.btn-express {
  font-family: "Rubik'", sans-serif;
  font-weight: 500;
  background: var(--primary) 0% 0% no-repeat padding-box;
  border-radius: 60px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: none !important;
  font-size: var(--h4);
  text-decoration: none;
  color: var(--white);
}

.floating-icons {
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 999;
}

.floating-icons .float-icon {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icons img {
  width: 32px;
  height: 32px;
}
