/* ===================================
    Crafto - Architecture
====================================== */
/* font */
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* variable */
:root {
  --base-color: ##ffc200;
  --dark-gray: #191919;
  --medium-gray: #737373;
  --extra-medium-gray: #707070;
  --alt-font: "Montserrat", sans-serif;
  --primary-font: "Bebas Neue", sans-serif;
  --light-green: #e8f7e8;
}

body{
  /* background: #D1EFD1;
background: linear-gradient(162deg, rgba(209, 239, 209, 1) 0%, rgba(255, 243, 204, 1) 100%); */
}

.bg-light-green {
  background-color: var(--light-green);
}
html {
  overflow-x: hidden;
}
body {
  line-height: 30px;
}
/* reset */
.word-break-normal {
  word-break: normal;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 25px;
}
h1,
.h1 {
  line-height: 4.6rem;
}
h2 {
  line-height: 3.7rem;
}
h3 {
  line-height: 3.4rem;
}
h4 {
  line-height: 3rem;
}
h5 {
  line-height: 2.5rem;
}
h6 {
  line-height: 2.3rem;
}
/* header */
header .widget-text {
  font-size: 15px;
}
header .navbar-brand {
  padding: 28px 0;
}
header.sticky .disable-fixed .navbar-brand {
  padding: 18px 0;
}
header .navbar-brand img {
  max-height: 60px;
}
.hamburger-logo img {
  max-height: 85px;
}
.header-icon .header-social-icon a {
  font-size: 17px;
  padding-left: 15px;
  font-weight: 600;
}
header.sticky .navbar {
  min-height: 70px;
}
.hamburger-menu-simple .menu-item-list .nav-link {
  font-size: 55px;
  line-height: 50px;
}
header .elements-social ul li {
  margin-right: 25px;
  margin-left: 0;
}
header .elements-social ul li a {
  width: auto;
  height: auto;
}
/* revolution slider */
#architecture-slider .tp-splitted {
  text-align: inherit !important;
}
.magic-cursor-base-color #ball-cursor:before,
.magic-cursor-base-color #ball-cursor:after {
  color: var(--dark-gray);
}
/* tag */
.blog-comment li .btn-reply:hover {
  color: var(--dark-gray);
}
.tag-cloud a:hover,
.tag-cloud a.active {
  border-color: var(--white);
}
.blog-comment li .btn-reply {
  border: 1px solid var(--extra-medium-gray);
  background-color: transparent;
}
.blog-comment li .btn-reply {
  padding: 6px 20px 7px;
}
.categories-btn {
  padding: 4px 18px;
  border-radius: 24px;
}
/* first letter block  */
.first-letter-block {
  line-height: 88px;
}
/* top right bottom left */
.top-25 {
  top: 25%;
}
.right-18 {
  right: 18%;
}
/* text color */
.text-nero-grey {
  color: #1f1f1f;
}
.text-charcoal {
  color: #282828;
}
/* bg color */
.bg-nero-grey {
  background-color: #1f1f1f;
}
.bg-dark-gray-transparent {
  background-color: rgba(25, 25, 25, 0.7);
}
.bg-charcoal-grey {
  background-color: #3e3e3e;
}
.bg-base-color-transparent {
  background-color: rgba(239, 255, 2, 0.2);
}
.bg-gradient-dark-transparent {
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(-4%, #101010),
    to(transparent)
  );
  background: linear-gradient(to top, #101010 -4%, transparent 100%);
}
.bg-gradient-dark-gray-transparent {
  background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(25, 25, 25, 1)),
    to(transparent)
  );
  background-image: linear-gradient(
    to top,
    rgba(25, 25, 25, 0.9) 20%,
    transparent 90%
  );
}
/* border color */
.border-color-charcoal-grey {
  border-color: #3e3e3e !important;
}
/* slider navigation*/
.slider-navigation-style-07 {
  left: 58.4%;
}
/* btn */
.btn.btn-base-color,
.btn.btn-box-shadow.btn-base-color:hover {
  color: var(--dark-gray);
}
.btn.btn-link {
  padding: 0 0 2px;
  font-weight: 600;
}
.btn {
  font-family: var(--primary-font);
}
/* page title */
.page-title-extra-small h1 {
  font-size: 5.375rem;
  line-height: 5.5rem;
}
.page-title-extra-small h2 {
  font-size: 13px;
  line-height: 26px;
}
/* footer */
footer .footer-logo img {
  max-height: 70px;
}
footer .elements-social li {
  margin: 0 15px 0 0;
}
.video-icon-extra-large .video-icon {
  width: 170px;
  height: 170px;
  font-size: 16px;
}
/* magic cursor */
.magic-drag-cursor #ball-cursor:before {
  font-size: 15px;
}
/* media query responsive */
@media (max-width: 1430px) {
  .architecture-number {
    display: none !important;
  }
}
@media (orientation: landscape) and (max-width: 1080px) {
  .architecture-slider-text-row {
    margin-top: 200px !important;
  }
}
@media (orientation: landscape) and (max-width: 850px) {
  .architecture-slider-text-row {
    margin-bottom: 200px !important;
  }
}
@media (orientation: landscape) and (max-width: 768px) {
  .architecture-slider-text-row {
    margin-top: 200px !important;
    margin-bottom: 200px !important;
  }
}
@media (max-width: 991px) {
  .interactive-banner-style-06 .interactive-banners-content {
    transform: translateY(calc(100% - 100px));
  }
  .md-right-0 {
    right: 0;
  }
  header .navbar-brand {
    padding: 20px 0;
  }
}
@media (max-width: 767px) {
  .video-icon-extra-large .video-icon {
    width: 120px;
    height: 120px;
  }
  .slider-navigation-style-07 {
    left: 0;
  }
  .interactive-banner-style-06 .interactive-banners-content {
    transform: translateY(calc(100% - 110px));
  }
  .hamburger-menu-simple .menu-item-list .nav-link {
    font-size: 38px;
    line-height: 34px;
  }
}

.hero {
  height: 100vh;
  background: #ffe799;
  position: relative;
  overflow: hidden;
}

.m-bg {
  background-image: url("../images/assured-a.png");
  height: 100vh;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left;
}

.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  z-index: 2;
}

.text-container h1 {
  font-size: 3rem;
  margin: 0;
  line-height: 1.2;
}

.text-container h2 {
  font-size: 2rem;
  margin-top: 0.5rem;
}

.bg-base-yellow {
  background-color: #ffe799;
}

.text-red {
  color: #ffe799;
}

.service-item {
  border-top: 1px solid #fff;
  padding: 1.5rem 0;
}

.service-title {
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  cursor: pointer;
}

.service-details {
  background: #fff;
  padding: 2rem;
  margin-top: 1rem;
  display: none;
  animation: fadeInUp 0.3s ease-out;
}

.service-item:hover .service-details {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* main banner */

.text-container h1 {
  font-size: 9rem;
  letter-spacing: 6px;
}

/* service section */

.service_container .hovered_ser {
  opacity: 0;
  visibility: hidden;
}

.service_container:hover .hovered_ser {
  opacity: 1;
  visibility: visible;
  background-color: #fff;
  transition: 1s;
}

.main_content {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}

.only_title,
.what_we_do_info:hover .main_content {
  -webkit-clip-path: inset(0 0 0 0) !important;
  clip-path: inset(0 0 0 0) !important;
}

.hovered_bg {
  position: absolute;
  top: -2px;
  left: 20px;
  width: 0;
  height: calc(100% + 4px);
  background-color: #fff;
  z-index: 1;
}

.what_we_do_info:hover .hovered_bg,
.what_we_do_info:hover .main_content {
  transition-delay: 0.2s;
  transition: 1s !important;
  color: #101010;
}

.what_we_do_info:hover .hovered_bg {
  width: 100% !important;
  left: 0 !important;
}

.what_we_do_info:hover {
  padding-bottom: 70px !important;
}

.what_we_do_info {
  position: relative;
  transition: 0.6s;
}

.main_content .service_title h3 {
  color: var(--green);
}

.tagline,
.subtext {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(4px);
}

.hero-title,
.hero-subtitle {
  opacity: 0;
  transform: translateY(40px);
}

.tagline,
.subtext {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(6px);
}

.what_we_do_content h3 {
  color: #101010;
   font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
}

.services-dark-section {
  background-color: #ffe799;
  padding: 100px 0 0px;
  color: #f5f5f5;
}

.services-dark-header {
  text-align: center;
  margin-bottom: 70px;
}

.services-dark-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.services-dark-header p {
  font-size: 1.1rem;
  color: #fff;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.service-card {
  background-color: #fff;
  border: 1px solid #a3dfa3;
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title-group h4 {
  margin-bottom: 10px;
  font-family: "Montserrat";
  font-size: 24px;
  line-height: 31px;
  font-weight: 700;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffe799;
}

.card-title-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.card-title-group .service-number {
  color: #888;
  font-size: 1rem;
}

.card-top h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  font-family: var(--alt-font);
}

.service-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* Unique colors for each dot */
.dot-1 {
  background-color: #ff6b6b;
} /* Red */
.dot-2 {
  background-color: #4ecdc4;
} /* Teal */
.dot-3 {
  background-color: #45b7d1;
} /* Blue */
.dot-4 {
  background-color: #feca57;
} /* Yellow */

.card-bottom {
  padding-top: 16px;
  flex-grow: 1;
}

.card-bottom p {
  color: #000;
  font-size: 1rem;
  margin: 0;
  font-family: var(--alt-font);
}

.details-dark-section {
  /* background-color: #ffe799; */
  padding: 60px 0;
  color: #f5f5f5;
}

.details-wrapper {
  display: flex;
  gap: 5rem; /* Gap between sticky nav and content */
}

/* --- STICKY NAVIGATION --- */
.sticky-nav-details {
  position: sticky;
  top: 120px; /* Adjust this value based on your header height */
  height: fit-content;
  width: 250px; /* Fixed width for the nav column */
  flex-shrink: 0;
}

.sticky-nav-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sticky-nav-details li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #000; /* Inactive color */
  text-decoration: none;
  transition: color 0.3s ease;
  /*letter-spacing: 1px;*/
  font-family: var(--alt-font);
}

/* The Active State! */
.sticky-nav-details li a.active {
  color: #0a460a;
  font-weight: 600;
}

.sticky-nav-details li a .service-dot {
  transition: transform 0.3s ease;
}

.sticky-nav-details li a.active .service-dot {
  transform: scale(1.5); /* Makes the dot slightly bigger on active */
}

/* --- SCROLLING CONTENT --- */
.details-content-column {
  flex-grow: 1;
}

.detail-content-block {
  background-color: #fff9e6;
  border: 1px solid #ffedb3;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 100px; /* Space between each service detail block */
  opacity: 0; /* Initially hidden for animation */
}

.detail-content-block:last-child {
  margin-bottom: 0;
}

.detail-content-block h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--alt-font);
  color: #000;
}

.detail-content-block p {
  color: #000;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: var(--alt-font);
}

.detail-content-block ul {
  padding-left: 20px;
  margin-bottom: 1rem;
  color: #000;
}

.detail-content-block ul li {
  margin-bottom: 8px;
  font-family: var(--alt-font);
  color: #000;
}

/* Re-using dot styles from the previous section */
.service-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.dot-1 {
  background-color: #ff6b6b;
}
.dot-2 {
  background-color: #4ecdc4;
}
.dot-3 {
  background-color: #45b7d1;
}
.dot-4 {
  background-color: #feca57;
}

.dot-5 {
  background-color: #2add4e;
}


.feature-box img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

footer {
  background-color: #a3dfa3;
  color: #000;
}
.header-push-button .push-button span {
  background-color: #000 !important;
}

.header-social-icon a i {
  color: #000;
}

.hamburger-menu-simple .menu-item-list .nav-link {
    color: #000;
  }
  
  footer .nav-link{
      color: #000!important;
  }

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .details-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .sticky-nav-details {
    position: static; /* Unstick the nav */
    width: 100%;
    margin-bottom: 2rem;
  }
      .sticky-nav-details ul {
        display: flex
;
        justify-content: space-between;
        border-bottom: 1px solid #333;
        padding-bottom: 1rem;
        overflow-x: auto;
        gap: 20px;
    }
      .sticky-nav-details li a {
        flex-direction: column;
        font-size: 0.9rem;
        overflow: auto;
        width: max-content;
    }
  .detail-content-block {
    margin-bottom: 40px;
  }
}

.bg-yellow-light {
  background-color: #fffaec;
}

.service_btn:hover i {
  rotate: 315deg;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .main_content {
    flex-direction: column;
  }

  .what_we_do_info:hover {
    padding-bottom: 240px !important;
  }

  .text-container {
    width: 100%;
  }

  .text-container h1 {
    font-size: 3rem;
  }

  .text-container {
    text-align: center;
    left: 50%;
  }
  
  
  header .navbar-brand .mobile-logo{
          width: 160px !important;
  }
}
