

/*** Spinner ***/

:root{
  --oh-orange: #F58220;      /* primary brand orange */
  --oh-navy:   #273444;      /* deep navy / dark accent */
  --oh-char:   #1A1A1A;      /* charcoal / primary text */
  --oh-slate:  #78828B;      /* slate / secondary text */
  --oh-light:  #ECECEC;      /* light gray background */
  --oh-offwhite:#F5F6F7;     /* near-white page background */
  --oh-accent: #F2C94C;      /* warm yellow accent */
  --oh-shadow: #B7BDC2;      /* subtle shadow / border */
}
html, body {
  overflow-x: hidden;
   background: url(../img/hero-bg.jpg) top center ;
    background-size: cover;
}


#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;
}
.icon-img {
    width: 40px;   /* icon width */
    height: 40px;  /* icon height */
    display: block; /* avoids extra spacing in flex */
    color: black;
    
}


.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

.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;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}
.custom-border {
  border-bottom: none; /* remove default */
  position: relative;
}

.custom-border::after {
  content: "";
  position: absolute;
  bottom: -40px; /* move border 10px down */
  left: 0;
  width: 100%;
  height: 2px; /* same as border thickness */
  background-color: white;
}


.navbar {
    padding: 15px 0;
    
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #f75707;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .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;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -140px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
    
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}






.button-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  box-sizing: border-box;
}

/* Common button styles */
.button-container button {
  min-height: 55px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-weight: 500;
  padding: 8px 24px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  position: relative;
  outline: none;
  user-select: none;
  line-height: 28px;
  letter-spacing: 0.45px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient buttons */
.call-button {
  background: linear-gradient(30deg, #FF5722 30%, #F6895A);
  color: white;
  border-radius: 2px 20px;
}

.hidden-button {
  display: none;
  background: linear-gradient(30deg, #FF5722 30%, #F6895A);
  color: white;
  border-radius: 2px 20px;
}

.service-button {
  background: linear-gradient(50deg, #001f49 30%, #2a4261);
  color: white;
  border-radius: 20px 2px;
}



/* === Grid & Card Styles === */
/* Reset broken layout behaviors */


/* === PRODUCT GRID LAYOUT === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 20px;
  padding: 40px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  position: relative; /* ensure it stays in document flow */
  overflow: visible; /* allows elements inside to grow naturally */
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    padding: 20px 15px;
    gap: 15px;
  }
}

/* === PRODUCT CARD === */
.product-card {
  position: relative; /* ensures card is part of grid layout */
  width: 100%;
  height: auto; /* let content define the height */
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease;
}

/* === FADE-IN EFFECT === */
.product-card.visible {
  opacity: 1;
  transform: scale(1);
}

/* === HOVER EFFECT === */
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* === BADGE === */
.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #18181b6a, #27272a);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* === ENSURE PAGE SCROLLS === */



/* Fade-in animation */
.product-card.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Badge styling */
.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(45deg, #18181b6a, #27272a);
  backdrop-filter: blur(10px);
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 12px;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}


.product-tilt-effect { overflow: hidden; transform-style: preserve-3d; perspective: 1000px; }
.product-image { height: 200px; overflow: hidden; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-info { padding: 25px; position: relative; }
.product-category { font-size: 12px; font-weight: 600; color: #71717A; margin-bottom: 8px; }
.product-title { font-size: 20px; font-weight: 700; color: #18181B; margin: 0 0 12px 0; }
.product-description p { font-size: 14px; color: #52525B; line-height: 1.5; margin-bottom: 15px; }
.product-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.feature { font-size: 11px; background-color: #F4F4F5; color: #71717A; padding: 4px 10px; border-radius: 12px; font-weight: 500; }

.product-button {
  background: linear-gradient(45deg, #18181B, #27272A);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.product-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: all 0.6s ease;
}

.product-button:hover {
  background: linear-gradient(45deg, #27272A, #3F3F46);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-button:hover::before { left: 100%; }

/* === Deck-to-Grid Animation === */
.product-card.arranged {
  position: static;
  transform: none;
  opacity: 1;
}

/* subtle float after arrangement */
@keyframes floatGlassy {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.product-card.loaded {
  animation: floatGlassy 6s ease-in-out infinite;
}

/* Fade-up animation (if using scroll trigger) */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.product-card.visible {
  animation: fadeUp 0.8s ease forwards;
}


.call-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  color: black;
 background: linear-gradient(135deg,  #eabc32, #f97e04);   /* purple/pink */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.call-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.call-now-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.call-now-btn .icon {
  font-size: 22px;
}

/* Default: show full number on desktop */
.desktop-text {
    display: inline;
   

}

.button-container{
     position: relative;

}

.mobile-text {
    display: none;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .desktop-text {
        display: none;
    }

    .button-container{
 position: relative;
left: calc(100vw - 350px) !important;
    }

    .mobile-text {
        display: inline;
        font-weight: bold;
       

    }
}

/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}



.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/



.card {
  position: relative;
  width: auto;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Poster */
.card .poster {
  position: relative;
  overflow: hidden;
  top: 75px;
  scale: 1.5;
}

.card .poster::before {
  content: "";
  position: absolute;
  
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, transparent);
  transition: 0.5s;
  z-index: 1;
}

.card:hover .poster::before {
  bottom: 0;
}

.card .poster img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  transition: 0.5s;
}
.card:hover .poster img {
  transform: scale(1.1);
}




/* Details */
.card .details {
  position: absolute;
  bottom: -200px;
  left: 0;
  width: 100%;
 min-height: 324px;
  padding: 20px;
  z-index: 2;
  transition: 0.5s;
   background: rgba(119, 182, 233, 0.551);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 25px rgba(0, 153, 255, 0.4);
  
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
}

.card:hover .details {
  bottom: 0;
}

.card .details .logo {
  max-width: 180px;
}

.card .details h4{
    
    position: relative;
    color: white;
}

.card .details .rating span,
.card .details .tags span,
.card .details .info {
  color: rgb(0, 0, 54);
  
}

/* Rating */
.card .details .rating {
  padding: 5px 0;
}

.card .details .rating .fa-star {
  color: #f7f406;
  font-size: 1em;
}

/* Tags */
.card .details .tags {
  margin-top: 5px;
  
}

.card .details .tags span {
    padding: 4px 13px;
    border-radius: 4px;

    min-width: 50px;
    background: linear-gradient(45deg, #0000397c, #06063e);
    backdrop-filter: blur(10px);
    color: white;

    font-size: 17px;


    z-index: 10;
}
.card .details .tags span:nth-child(2) {
  background: #ff5722;
}

/* Cast */
.card .details .cast ul {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.card .details .cast ul li {
  list-style: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
}

.card .details .cast ul li img {
  width: 100%;
}

/* Mobile */
@media (max-width: 640px) {
  .card {
    margin-left: 0;
  }
}
