/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

/* .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .3);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
} */

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/Balcony-safety-nets1.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}


/*** Service ***/
.container-service {
    position: relative;
}

.container-service::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 0, 100% 0, 100% 30%, 0 70%);
    z-index: -1;
}

.service-item {
    position: relative;
    height: 100%;
    padding: 45px 30px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service-item::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .5s;
    background: var(--bs-primary);
}

.service-item:hover::before {
    height: 100%;
    top: 0;
}

.service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--bs-white);
}

.service-item:hover .icon-box-primary::before {
    background: var(--bs-dark);
}

.service-item:hover .icon-box-primary i {
    color: var(--bs-white) !important;
}


/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}



/********** Extra css **********/
/* ================= Hero Carousel Styling ================= */

.hero-img {
  height: 90vh;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.35)
  );
  z-index: 1;
}

.carousel-caption {
  inset: 0;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: #00b4d8;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 14px;
  margin-bottom: 15px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.hero-text {
  font-size: 1.15rem;
  color: #e0f2ff;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-img {
    height: 85vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }
}

/* ================= Image Only Carousel ================= */

.hero-img {
  height: 90vh;
  object-fit: cover;
}


/* navbar scrolling */
/* Scrollable dropdown */
.dropdown-menu {
  max-height: 360px;     /* adjust height if needed */
  overflow-y: auto;
}

/* Optional: smooth scroll */
.dropdown-menu {
  scrollbar-width: thin;               /* Firefox */
}

/* Chrome / Edge scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #00b4d8;
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #0077b6;
}


/*service section*/
/* ===== Section ===== */
.premium-services {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
}

/* ===== Header ===== */
.services-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 14px;
}

.services-header h2 span {
  color: #0077b6;
}

.services-header p {
  max-width: 820px;
  margin: 0 auto 70px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* ===== Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

/* ===== Card ===== */
.service-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: all 0.45s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 35px 70px rgba(0,0,0,0.15);
}

/* ===== Color Strip ===== */
.service-top {
  height: 5px;
}

.gradient-blue   { background: linear-gradient(90deg,#00b4d8,#0077b6); }
.gradient-green  { background: linear-gradient(90deg,#2ed573,#1eae98); }
.gradient-purple { background: linear-gradient(90deg,#a18cd1,#fbc2eb); }

/* ===== Image ===== */
.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-card:hover img {
  transform: scale(1.12);
}

.service-card:hover .image-overlay {
  opacity: 1;
}

/* ===== Content ===== */
.service-body {
  padding: 26px 24px 30px;
}

.service-body h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===== Button ===== */
.service-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  background: #0077b6;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s ease;
}

.service-btn:hover {
  background: #005f8a;
  transform: translateY(-2px);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .services-header h2 {
    font-size: 30px;
  }
}


/* ================= Service Section End ================= */



/*========Gallery section======*/
/* ===== Gallery Grid ===== */
.alt-style .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* ===== Item ===== */
.glass-style {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Image */
.glass-style img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Glass Title */
.glass-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.45s ease;
}

/* Hover */
.glass-style:hover img {
  transform: scale(1.1);
}

.glass-style:hover .glass-title {
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
  .glass-title {
    transform: translateY(0);
    font-size: 16px;
  }
}


/*================= Gallery section end =================*/



/* ======= About Section ======= */
/* ===== Section ===== */
.about-stylish {
  padding: 100px 0;
  background: linear-gradient(135deg, #f7f9fc, #ffffff);
}

/* ===== Layout ===== */
.about-stylish-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* ===== Visual ===== */
.about-visual {
  position: relative;
}

.image-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-1 {
  width: 100%;
  height: 360px;
}

.img-2 {
  width: 260px;
  height: 200px;
  position: absolute;
  bottom: -40px;
  right: -30px;
  border: 6px solid #fff;
}

.image-card:hover {
  transform: translateY(-8px);
}

/* ===== Content ===== */
.about-text .about-badge {
  display: inline-block;
  background: linear-gradient(90deg,#00b4d8,#0077b6);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 14px;
}

.about-text h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-text h2 span {
  color: #0077b6;
}

.about-text .lead {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}

.about-text p {
  font-size: 15.5px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* ===== Highlights ===== */
.about-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.highlight-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  text-align: center;
}

.highlight-box h4 {
  font-size: 26px;
  font-weight: 800;
  color: #0077b6;
}

.highlight-box span {
  font-size: 13px;
  color: #555;
}

/* ===== Button ===== */
.about-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg,#0077b6,#00b4d8);
  color: #fff;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.about-btn:hover {
  transform: translateY(-3px);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .about-stylish-wrapper {
    grid-template-columns: 1fr;
  }

  .img-2 {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .about-text h2 {
    font-size: 30px;
  }
}


/* ===== Section ===== */
.appointment-stylish {
  padding: 110px 0;
  background: radial-gradient(circle at top, #eaf4ff, #f9fcff);
}

/* ===== Box ===== */
.appointment-box {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  background: #ffffff;
  border-radius: 30px;
  padding: 70px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.14);
  position: relative;
}

/* ===== Left ===== */
.appointment-left .appointment-tag {
  display: inline-block;
  background: linear-gradient(90deg,#0077b6,#00b4d8);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.appointment-left h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.25;
}

.appointment-left h2 span {
  color: #0077b6;
}

.appointment-left p {
  font-size: 16px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 26px;
}

/* Features */
.appointment-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.feature-item {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.appointment-note {
  font-size: 14px;
  color: #0077b6;
  font-weight: 600;
}

/* ===== Right Form (Glass + Glow) ===== */
.appointment-right {
  background: linear-gradient(135deg,#001f3f,#003566);
  border-radius: 26px;
  padding: 42px 38px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.appointment-right h4 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 22px;
}

/* Inputs */
.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  outline: none;
  font-size: 14.5px;
  background: rgba(255,255,255,0.95);
}

.form-group textarea {
  height: 95px;
  resize: none;
}

/* Button */
.appointment-btn {
  width: 100%;
  padding: 15px;
  border-radius: 35px;
  border: none;
  background: linear-gradient(90deg,#00b4d8,#0077b6);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: all 0.35s ease;
}

.appointment-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0,180,216,0.55);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .appointment-box {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 45px;
  }

  .appointment-left h2 {
    font-size: 32px;
  }
}


/* ================= MOBILE FORM ADJUSTMENTS ================= */
@media (max-width: 768px) {

  /* Section spacing */
  .appointment-stylish {
    padding: 60px 0;
  }

  /* Box */
  .appointment-box {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 32px;
    border-radius: 22px;
  }

  /* Left content */
  .appointment-left h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .appointment-left p {
    font-size: 15px;
    line-height: 1.8;
  }

  .appointment-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Right Form */
  .appointment-right {
    padding: 30px 22px;
    border-radius: 20px;
  }

  .appointment-right h4 {
    font-size: 20px;
    text-align: center;
  }

  .form-sub {
    text-align: center;
    font-size: 13px;
    margin-bottom: 18px;
  }

  /* Inputs - finger friendly */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px 15px;
    font-size: 15px;
    border-radius: 14px;
  }

  .form-group textarea {
    height: 110px;
  }

  /* Button - BIG CTA */
  .appointment-btn {
    padding: 16px;
    font-size: 17px;
    border-radius: 40px;
  }
}

















/* ================= MAP SECTION ================= */
.map-section {
  padding: 60px 0;
  background: #f8fafc;
}

.map-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.map-header p {
  font-size: 16px;
  color: #475569;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Map Layout */
.map-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

/* Google Map Box */
.map-embed iframe {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Content Box */
.map-content {
  background: #ffffff;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.map-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 12px;
}

.map-content p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
}

.map-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-content ul li {
  font-size: 15px;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.map-content ul li::before {
  content: "";
  color: #16a34a;
  font-weight: 700;
  margin-right: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .map-wrapper {
    grid-template-columns: 1fr;
  }

  .map-header h2 {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .map-section {
    padding: 40px 0;
  }

  .map-content {
    padding: 22px;
  }

  .map-header p {
    font-size: 15px;
  }
}
