@import url('https://fonts.cdnfonts.com/css/playpen-sans');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"); /* :contentReference[oaicite:0]{index=0} */

body {

}

.cursive-text {
  font-family: 'Playpen Sans', sans-serif;
  font-weight: 400;
  font-style: normal;
}

a {
  color: #777;
}

a:hover {
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Raleway", sans-serif;
}

.site-section {
  padding: 4rem 0;
}

@media (max-width: 900px) {
  .site-section {
    padding: 0rem 0; /* Padding set to 0rem on mobile */
  }
}

.filters a {
  color: #000;
  display: inline-block;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
  text-decoration: none;
}

.filters a:hover:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.filters a.active {
  color: #000;
}

.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #000;
}

.item {
  border: none;
  margin-bottom: 30px;
}

.item .item-wrap {
  display: block;
  position: relative;
  overflow: hidden;
}

.item .item-wrap:after {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  visibility: hidden;
  opacity: 0;
  transition: .3s all ease-in-out;
}

.item .item-wrap img {
  transition: .3s transform ease;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.item .item-wrap > .work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  z-index: 3;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  margin-top: 20px;
  transition: .3s all ease;
}

.item .item-wrap > .work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .item-wrap > .work-info span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .2rem;
}

.item .item-wrap:hover {
  text-decoration: none;
}

.item .item-wrap:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .item-wrap:hover .work-info {
  margin-top: 0px;
  opacity: 1;
  visibility: visible;
}

.testimonial-wrap {
  padding: 50px 50px 80px 50px;
  background: #eceff2;
}

.testimonial-wrap .testimonial {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.testimonial-wrap .testimonial img {
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
  font-size: 20px;
}

.h3 {
  font-size: 20px;
}

.h4 {
  font-size: 16px;
}

.heading {
  font-size: 28px;
}

.readmore {
  display: inline-block;
  border: 2px solid #8e44ad; /* Purple border */
  padding: 12px 18px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff; /* White text */
  background: #8e44ad; /* Purple background */
  transition: 0.3s all ease;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(142, 68, 173, 0.3); /* Soft purple shadow */
}

.readmore:active,
.readmore:focus,
.readmore:hover {
  outline: none;
}

.readmore:hover {
  background: #732d91; /* Darker purple on hover */
  box-shadow: 0 6px 16px rgba(115, 45, 145, 0.5); /* Stronger shadow on hover */
  text-decoration: none;
  color:white;
}

.testimonial-carousel .owl-dots {
  position: absolute;
  bottom: 40px;
  width: 100%;
  text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
  display: inline-block;
}

.testimonial-carousel .owl-dots .owl-dot > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: #cbd3da;
  border-radius: 50%;
  margin: 5px;
}

.testimonial-carousel .owl-dots .owl-dot.active {
  outline: none;
}

.testimonial-carousel .owl-dots .owl-dot.active > span {
  background: #0d1e2d;
}

.sticky-content {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  /* required */
}

.list-line li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}

.list-line li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .7rem;
  width: 10px;
  height: 2px;
  background: #000;
}

.form-control {
  border-radius: 0;
  background: #f8f9fa;
  border: 1px solid transparent;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
  background: #eff1f4;
  outline: none;
  box-shadow: none;
  border: 1px solid transparent;
}

.custom-progress {
  height: 7px;
  border-radius: 0;
}

.custom-progress .progress-bar {
  background: #000;
}

/* Contact Form */

.php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

@-webkit-keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/



/* Custom Navmenu */

.custom-navmenu {
  background: #0d1e2d;
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.custom-navmenu .custom-menu li {
  margin-bottom: 0;
  font-size: 20px;
}

.custom-navmenu .custom-menu li a {
  color: #fff;
  padding: 10px 0 !important;
}

.custom-navmenu .custom-menu li a:hover {
  text-decoration: none;
}

.custom-navmenu .custom-menu li.active a {
  text-decoration: underline;
}

.custom-navmenu h3 {
  font-size: 20px;
  color: #fff;
}

.custom-navmenu p {
  color: rgba(255, 255, 255, 0.6);
}

.custom-navmenu a {
  color: rgba(255, 255, 255, 0.7);
}

.custom-navmenu a:hover {
  color: #fff;
}

/* Custom Navbar */

.custom-navbar {
  padding-top: 1rem;
  width: 100%;
}

.custom-navbar .navbar-brand {
  font-size: 1.7rem;
}

/* Burger */

.burger {
  width: 28px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.burger:before,
.burger span,
.burger:after {
  width: 100%;
  height: 2px;
  display: block;
  background: #000;
  border-radius: 2px;
  position: absolute;
  opacity: 1;
}

.burger:before,
.burger:after {
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
  content: "";
}

.burger:before {
  top: 4px;
}

.burger span {
  top: 15px;
}

.burger:after {
  top: 26px;
}

/* Hover */

.burger:hover:before {
  top: 7px;
}

.burger:hover:after {
  top: 23px;
}

/* Click */

.burger.active span {
  opacity: 0;
}

.burger.active:before,
.burger.active:after {
  top: 40%;
}

.burger.active:before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=5);
  /*for IE*/
}

.burger.active:after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=-5);
  /*for IE*/
}

.burger:focus {
  outline: none;
}

.footer {
  padding: 0 0 4rem 0;
}

.footer a {
  color: #000;
}

.social a {
  display: inline-block;
  width: 42px; /* smaller */
  height: 42px; /* smaller */
  border-radius: 50%;
  background: #f8f9fa;
  position: relative;
  text-align: center;
  color: #0d1e2d;
  margin: 0 5px; /* add spacing between icons */
  transition: color 0.3s ease, background 0.3s ease;
}

.social a span, 
.social a i { /* Center both span or i icons */
  display: inline-block;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px; /* unified icon size */
}

.social a:hover {
  color: #000;
  background: #e2e6ea; /* subtle hover background */
}


/* Add this CSS for desktop menu items */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 24px !important;  /* Increased from default */
    padding: 0.5rem 0rem !important;  /* More spacing */
    margin: 0 0.5rem;  /* Space between items */
    transition: all 0.3s ease;
    position: relative;
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }

  .navbar-nav .nav-link.active {
    font-weight: 700;  /* Bold active item */
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }

  .navbar-nav {
    gap: 1rem;  /* Space between menu items */
  }
}

@media (max-width: 992px) {
  .custom-navbar {
    padding: 10px 15px;
  }

  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }

  .navbar-toggler:focus {
    outline: none;
  }

  #navbarNav {
    background: #f8f9fa;


    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-item {
    margin: 8px 0;
    text-align: center;
  }

  .nav-link {
    font-size: 18px !important;
    padding: 12px 20px !important;
    color: #0d1e2d !important;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: #e9ecef;
    transform: translateX(5px);
  }

  .nav-link.active {
    font-weight: 600;
    text-decoration: underline;
  }

  .navbar-brand h1 {
    font-size: 28px !important;
    margin-bottom: 5px;
  }
}
.main-container {
  width: 100%;
  margin: 0 auto
}
.btitle {
  font-size: 30px;
  color: black;
}

.btitle img {
  width: 100%;
  height: auto;
}

.top-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  font-size: 20px;
}

.top-nav li {
  margin-right: 20px;
}

.top-nav li:last-child {
  margin-right: 0;
}
.top-nav a {
  color: black;
  text-decoration: none;
}
.top-nav a:hover {
  color: #252525;
  text-decoration: underline;
}

.active {
  text-decoration: underline;
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.firm-description-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
}

.firm-description-card h2 {
  font-size: 2.5rem;
  color: #0d1e2d;
  margin-bottom: 1.5rem;
}

.firm-description-card .lead {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

.firm-description-card img {
  transition: transform 0.3s ease;
  height: 200px;
  object-fit: cover;
}

.firm-description-card img:hover {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .firm-description-card img {
      height: 150px;
  }
  
  .firm-description-card h2 {
      font-size: 2rem;
  }
}

.hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.05);
}


.image-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 1 / 0.7; /* Forces square images */
}

.image-box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Overlay text */
.image-box .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  text-align: center;
  padding: 8px;
  font-size: 18px;
  transition: opacity 0.3s ease-in-out;
}

/* Hide overlay on PC until hover */
@media (min-width: 768px) {
  .image-box .overlay {
    opacity: 0;
  }
  .image-box:hover .overlay {
    opacity: 1;
  }
}

/* Always show overlay on mobile */
@media (max-width: 768px) {
  .image-box {
    aspect-ratio: auto; /* Allow full height on mobile */
  }
  .image-box .overlay {
    opacity: 1;
  }
  .image-box img {
    height: 250px; /* Resize for better visibility */
  }
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.1);
}

.workshop-card {
  color: red;
  transition: transform 0.3s ease;
  text-decoration: none; 
}

.workshop-card a {
  text-decoration: none;
}

.workshop-card:hover {
  transform: translateY(-5px);
  text-decoration: none;
}

.workshop-img {
  height: 200px;
  object-fit: cover;
}

.card {
  border-radius: 15px;
  overflow: hidden;
}

.card-body {
  color: inherit; 
}

.card-title, .card-text {
  color: black;
}

@media (max-width: 768px) {
  .workshop-img {
    height: 150px;
  }
  
  .card-title {
    font-size: 1.1rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
}

/* Mobile first: 25% width */
.responsive-logo {
  width: 70%;
}

/* Desktop (lg and up): 100% width */
@media (min-width: 992px) {
  .responsive-logo {
    width: 100%;
  }
}
