@import url("https://fonts.googleapis.com/css2?family=Ancizar+Serif:ital,wght@0,300..900;1,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box !important;
}
        /* Custom styles for submenus */
        .dropdown-menu .dropdown-menu {
          left: 100%;
          top: 0;
          margin-left: 0.1rem;
          display: none;
        }
    
        .dropdown-menu li:hover > .dropdown-menu {
          display: block;
        }
    
        /* Optional dark theme */
        .dropdown-menu {
          background-color: #1f1f1f;
          color: white;
        }
    
        .dropdown-item {
          color: white;
        }
    
        .dropdown-item:hover {
          background-color: #333;
          color: white;
        }
        .dropdown-submenu {
          position: relative;
        }
        
        .dropdown-submenu > .dropdown-menu {
          top: 0;
          left: 100%;
          margin-top: -0.1rem; /* Aligns submenu with parent */
        }

h4 {
  font-family: "Ancizar Serif", serif !important;
  font-weight: bold;
}

body {
  font-family: "Roboto", sans-serif !important;
  /*border: 1px dashed red;*/
  overflow-x: hidden !important;
}

.carousel-inner {
  height: 800px !important;
}

.carousel-item {
  width: 100%;
  height: 100% !important;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
#about-section {
  /* background-color: black; */
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content h4 {
  width: fit-content;
  border-color: teal !important;
}

.about-content p {
  line-height: 2rem !important;
}

.about-content button {
  width: fit-content;
}

/* Process Section */
.process-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #333;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #f1a324;
}

.process-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #f97316;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon {
  background: #f1a324;
  color: white;
}

.process-number {
  position: absolute;
  top: -10px;
  right: -10px;
  background: green;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.process-card h3 {
  color: var(--primary-color) !important;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.process-card p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Our Work Page Styles */
.filter-buttons {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-buttons .btn {
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.filter-buttons .btn.active {
  background-color: #f1a324;
  color: white;
}

.work-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-card img {
  height: 250px;
  object-fit: cover;
}

/* Tools & Utility Section */
/*#tool-utility-section {*/
/*  background-image: linear-gradient(*/
/*    to right top,*/
/*    #051937,*/
/*    #004d7a,*/
/*    #008793,*/
/*    #00bf72,*/
/*    #a8eb12*/
/*  );*/
/*}*/

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 4rem;
  font-weight: bold;
  color: #ff5722;
  text-transform: uppercase;
}

.ideas-section {
  background-color: #f8f9fa;
}

.owl-carousel .item {
  width: 100%;
  height: 400px;
}

.owl-carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Place navigation arrows at bottom center */
.ideas-carousel .owl-nav {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.ideas-carousel .owl-nav button.owl-prev,
.ideas-carousel .owl-nav button.owl-next {
  background-color: rgba(0, 0, 0, 0.6) !important;
  width: 30px;
  height: 30px;
  color: #fff !important;
  border: none;
  padding: 6px 12px !important;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: 0.3s ease;
}

.ideas-carousel .owl-nav button:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Positioning container to relative so nav buttons can be placed absolutely inside */
.ideas-carousel {
  position: relative;
}

.product-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-card:hover .overlay {
  bottom: 0;
}

/* Video Section */
/* Video Section */
.video-parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, auto); /* or 100px, or auto */
    align-items: center;
    gap: 8px;
}

.video-parent .div2 {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 3;
}

.video-parent .div3 {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 1;
}

.video-parent .div4 {
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 4;
}

.video-parent .div5 {
    /* grid-row: span 6 / span 6; */
    grid-column-start: 3;
    grid-row: 1 / 7;
}

.video-parent .div6 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 1;
}

.video-parent .div7 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 4;
}

.video-parent .div9 {
    grid-row: span 2 / span 2;
    grid-column-start: 5;
    grid-row-start: 3;
}

/* video thumbnail */
.video-thumb {
    background: #ccc;
    height: 250px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}

.video-thumb::before {
    content: "▶";
    font-size: 40px;
    color: white;
    position: absolute;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 0;
    border-radius: 10px;
}

.modal-content iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

#contact-title {
    background-color: #f1a324;
}

#phone {
  position: fixed;
  bottom: 5%;
  left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: teal;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#whatsapp {
   position: fixed;
  bottom: 5%;
  right: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: green;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#btn-cover {
  left: -38px;
  z-index: 999;
}

#floating-btn {
  transform: rotate(-90deg);
  background-color: #f1a324;
}

@media (max-width: 768px) {
  .process-card {
    padding: 1.5rem;
  }

  .process-icon {
    width: 60px;
    height: 60px;
  }

  .process-card h3 {
    font-size: 1.1rem;
  }

  .process-card p {
    font-size: 0.9rem;
  }

  .vertical-text {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
    text-align: center;
    font-size: 3rem; /* Optional: scale font size down for smaller screens */
  }

  .about-content {
    margin-bottom: 10px;
  }

  .dropdown-sectors {
    left: 0 !important;
  }
  
  .video-parent {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .video-parent > div {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100%;
        overflow: hidden;
    }

    .video-parent .div5 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    #whatsapp {
      right: 5%;
    }
    
    #phone{
        left: 5PX;
    }
}
