/*---------------------------------------------------------------
    Template Name: Gaiety Multipage Portfolio Website
    Description: Gaiety Multipage Portfolio Website
    Author: Lucid Themeslab
    Author URL: https://www.templatemonster.com/store/lucid_themeslab/
    Version: 2.0.0
  -----------------------------------------------------------------
      CSS INDEX
      ==================
      1.  BASIC STYLES
      2.  PRELOADER STYLES
      3.  HEADER STYLES 
      3.  ABOUT US PAGE STYLES
      4.  SERVICE PAGE STYLES
      5.  PORTFOLIO PAGE STYLES
      6.  BLOG PAGE STYLES
      7.  BLOG DETAIL PAGE STYLES
      8.  SERVICE DETAIL PAGE STYLES
      9.  PORTFOLIO DETAIL PAGE STYLES


----------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

  /* ==================
    1. BASIC STYLES 
  ================== */

  [data-gaietytheme="light"] {

      /* colors */
      --body-color:#fff;
      --card-color:#fff;
      --primary-color:#2da0a8;
      --alt-color:#eef8f9;
      --secondary-color:#1D1D1D;
      --light-color:#5f5f5f;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
      --input-bg:#e3f4f5;
      --danger-color:#ff5454;
      --dark-shade:#28363a;
      --dark-color:#28363a;
      --white-color:#fff;
      --border-color-primary: #2da0a8;

    /* fonts */
      --PrimaryFont : "Raleway", sans-serif;
  }

    [data-gaietytheme="dark"]  {

      /* colors */
      --body-color:#121516;
      --card-color:#314246;
      --primary-color:#2da0a8;
      --alt-color:#1e2628;
      --secondary-color:#1D1D1D;
      --light-color:#d4d4d4;
      --shadow: 0 4px 6px rgba(0, 0, 0, 0.65);
      --input-bg:#1e2f33;
      --danger-color:#ff5454;
      --dark-shade:#28363a;
      --dark-color:#ffffff;
      --white-color:#fff;
      --border-color-primary: #2da0a8;

    /* fonts */
      --PrimaryFont : "Raleway", sans-serif;
  }

  /* background colors */
  
  .body-color{
    background-color: var(--body-color);
  }

  .primary-color{
    background-color: var(--primary-color) !important;
  }

  .secondary-color{
    background-color: var(--secondary-color) !important;
  }

  .alt-color{
    background-color: var(--alt-color);
  }

  .card-color{
    background-color: var(--card-color);
  }

  .heading-text{
    color: var(--dark-color);
  }

  .para-text{
    color: var(--light-color);
  }

  .primary-text{
    color: var(--primary-color);
  }

.primary-border {
  border: 2px solid var(--border-color-primary)!important;
}

  /* buttons */

 .primary-btn {
      background: var(--primary-color);
      color: var(--white-color);
      border-radius: 50px;
      padding: 12px 28px;
      font-weight: 500;
      border: none;
      box-shadow: 0 4px 10px color-mix(in srgb, var(--primary-color) 30%, transparent);
      transition: all 0.3s ease;
} 

.primary-btn:hover {
      background:  var(--secondary-color);
      transform: translateY(-2px);
      color: var(--white-color);
}

.primary-outline-btn { 
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 500;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: transparent;
  border: 2px solid var(--primary-color); 
  transition: background 0.3s ease, transform 0.25s ease;
} 

.primary-outline-btn:hover {
  color: var(--white-color)!important;
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

 .sub-btn { 
  padding: 12px 15px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-color)!important;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 8px!important;
  cursor: pointer; 
  box-shadow: 0 4px 10px color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.sub-btn:hover {
  color: var(--white-color)!important;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.primary-btn:active {
  transform: translateY(-1px);
}

  /* other css */
  *{
    box-sizing: border-box;
    font-family: var(--PrimaryFont);
  }

  a{
    color: inherit;
    text-decoration: none;
  }

  a:hover{
    /* color: inherit; */
    text-decoration: none;
  }

  .subheading{
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
  }

  .heading{
    /* font-size: 45px; */
    font-weight: bold;
    text-transform: capitalize;
    color: var(--dark-color);
  }

  @media(max-width:768px){
    .subheading{
      font-size: 14px;
    }
    .heading{
      font-size: 30px;
    }

  @media(max-width:576px){
    .heading{
      font-size: 18px;
    }
  }
  }

  .description{
    font-size: 15px;
    color: var(--light-color);
    font-weight: 500;
  }

  .mw-65{
    width: 650px;
    min-width: 65%;
    max-width: 100%;
  }

  .fs-1{
    font-size:3.5rem !important;
  }

  .page-banner{
    background-color: var(--dark-shade) !important;
    min-height: 340px;
  }
  
  .page-banner-content{
    width: 50%;
    max-width: 100%;
    margin: auto;
  }

  @media(max-width:768px){
    .page-banner-content{
      width: 75%;
    }
  }

  .banner-title{
    font-size: 36px;
    font-weight: 600;
    color: var(--white-color);
    text-transform: capitalize;
  }

  .underline{
    background-color: var(--primary-color);
    padding: 1.5px;
    width: 135px;
  }

  .banner-content{
    color: var(--white-color) !important;
    font-size: 18px;
  }

  .breadcrumb{
    color: var(--white-color);
    text-transform: capitalize;
    display: flex;
    gap: 5px;
    font-weight: 500;
  }

  .breadcrumb .active{
    color: var(--primary-color);
    text-transform: capitalize;
  }

/* ===================
    PRELOADER STYLES
    ================== */

#preloader {
  position: fixed;
  inset: 0;
  background: #0e0e0e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Circular G */
.g-circle {
  background-color: var(--primary-color);
  color: var(--white-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.4rem;
  font-weight: 700;
  animation: bounce 1.5s ease-in-out infinite alternate;
}

/* Dot as a solid circle */
.dot {
  background-color: var(--primary-color);
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: pop 1.2s ease-in-out infinite alternate;
  margin-top: 20px;
}

.aiety-type {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;           
  width: 450px;                 
  animation: typing 2.5s steps(5, end) forwards;
}

@keyframes typing {
  from { width: 0; }
  to   { width: 5ch; }       
}

/* Keyframes */
@keyframes typing {
  from { width: 0 }
  to   { width: 5ch }        
}

@keyframes blink {
  0%   { border-color: var(--primary-color); }
  100% { border-color: transparent; }
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes pop {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1;   }
}

/* ===================
   HEADER STYLES 
  ====================*/
/* ===== Navbar Base ===== */
.navbar-main {
  width: 100%;
  transition: all 0.4s ease;
  z-index: 999;
  padding: 1rem 0;
  background-color: var(--card-color);
}

/* Sticky Navbar */
.navbar-main.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--card-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  animation: slideDown 0.4s forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* ===== Logo ===== */
.navbar-main .col-6.col-lg-3 img {
  max-width: 100%;
  height: auto;
}

/* ===== Navbar Links ===== */
.navbar-main .navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* allow wrap on smaller screens */
  gap: 1rem; 
}

@media (max-width: 1066px) {
  .navbar-main .navbar-nav{
      gap: 0; 
  }
}

@media (max-width: 500px) {
    .page-banner-content {
        width: 96%;
    }
    .page-banner {
    min-height: 262px;
}
}

.navbar-main .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 0;
  font-size: 0.9rem; /* base font size */
  transition: color 0.3s ease;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: #26a6a6;
}

/* ===== Dropdown Smooth Hover (Stable & Smooth) ===== */
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none; /* Prevents hover flicker */
    z-index: 99;
  }

  .navbar-nav .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Prevent layout shift on hover */
  .navbar-nav .nav-item {
    position: relative;
  }
}

/* ===== Dropdown Items ===== */
.navbar-nav .dropdown-menu li a {
  display: block;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-color);
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar-nav .dropdown-menu li a:hover,
.navbar-nav .dropdown-menu li a.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Dropdown link style */
.dropdown-link a {
  display: block;
  color: #333;
  text-decoration: none;
  padding: 8px 15px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

/* Hover effect */
.dropdown-link a:hover {
  background-color: #f8f9fa; 
  color: var(--primary-color); 
}

/* Active link style */
.dropdown-link a.active {
  background-color: var(--primary-color);
  color: #fff !important;
}

/* Optional: border subtlety */
.dropdown-link {
  border-color: rgba(0, 0, 0, 0.08);
}

/* ===== Dropdown Icon Rotate ===== */
.navbar-main .nav-item.dropdown .custom-toggle i {
  transition: transform 0.3s ease;
}

.navbar-main .nav-item.dropdown:hover .custom-toggle i {
  transform: rotate(180deg);
}

/* ===== Social Icons ===== */
.social-outer {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  font-size: 16px;
}

.social-outer:hover {
  background: var(--secondary-color);
  transform: rotate(12deg) scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ===== Offcanvas Mobile ===== */
.offcanvas-body .dropdown-menu {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.nav-link:focus-visible{
  box-shadow: none;
  outline: none;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 1199px) {
  .navbar-main .nav-link {
    font-size: 0.85rem;
  }
}

@media (max-width: 991px) {
  .navbar-main .navbar-nav {
    flex-direction: column;
    gap: 0;
  }
  .navbar-main .nav-link {
    padding: 0.4rem 0;
  }
}

@media (max-width: 767px) {
  .navbar-main .nav-link {
    font-size: 0.8rem;
  }
}

@media (max-width: 575px) {
  .navbar-main .nav-link {
    font-size: 0.75rem;
  }
  .navbar-main .social-outer {
    width: 30px;
    height: 30px;
    font-size: 16px
  }
}

  .dropdown-box{
    width: 350px;
    padding: 15px;
    border-radius: 15px;
    position: absolute;
    z-index: 999;
    background-color: var(--card-color);
    display: none;
    box-shadow: var(--shadow);
    border: 0px;
  }

  .dropdown-link:hover{
    color: var(--primary-color);
  }

  .error{
    color: var(--danger-color);
  }

  .required-asterisk{
    position: relative;
  }

  .required-asterisk::after{
    content: '\2a';
    font-family: 'fontawesome';
    font-size: 10px;
     color: var(--danger-color);
    position: absolute;
    top: -4px;
    left: 4px;
  }

  input:focus, textarea:focus{
    box-shadow: unset !important;
    border-color:var(--primary-color) !important;
  }

  #newsletter .error:not(.form-control){
    position: absolute;
    bottom: -30px;
  }

  /* ===================
    HOMEPAGE STYLES
   ====================*/

  /* HEADER & BANNER STYLES */
  .nav-item .nav-link{
    color: var(--dark-color) !important;
  }
  .nav-item .nav-link.active, .nav-item .nav-link:hover, .offcanvas-item .offcanvas-link:focus, .offcanvas-item .offcanvas-link.active, .offcanvas-item .offcanvas-link:hover, .offcanvas-item .offcanvas-link:focus, .dropdown-link:hover, .dropdown-link.active{
    color: var(--primary-color) !important;
  }
  .bg-main{
    min-height: 600px;
  }
  .bg-main1{
    background: linear-gradient(0deg, #03020e96, #03020e96), url(../../assets/images/banner_img/banner_sections_01.webp)no-repeat;
    background-size: cover;
  }
  .bg-main2{
    background: linear-gradient(0deg, #03020e96, #03020e96), url(../../assets/images/banner_img/banner_sections_02.webp)no-repeat;
    background-size: cover;
  }
  .bg-main3{
    background: linear-gradient(0deg, #03020e96, #03020e96), url(../../assets/images/banner_img/banner_sections_03.webp)no-repeat;
    background-size: cover;
  }
  @media(min-width:1200px){
    .bg-main{
      height: 100vh;
      min-height: 800px;
    }
  }
  @media(max-width:576px){
    .bg-main{
      height: unset;
      min-height: 390px;
    }
  }
  .w-unset{
    width: unset !important;
    min-width: unset !important;
    max-width: unset !important;
  }

  /* about us */
  
  .checklist-icon{
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--alt-color)
  }

  .side-image{
    max-width: 550px;
  }

  @media(max-width:992px){
    .abt-image-main img{
      max-height:400px;
      object-fit: contain;
    }
    
   .service-card{
    max-width: 400px;
   }  
  }

  @media(max-width:575px){
    
   .service-card{
    max-width: 400px;
   }
  }

  /* SERVICE STYLES */

   .service-card{
    background-color: var(--card-color);
    border-radius: 15px;
    border: 0px;
    box-shadow: 0px 4px 14px 2px #2da0a815;
    transition: 0.45s ease-in-out;
   }
   
   .service-card:hover{
    background-color: var(--primary-color);
   }

    .service-card .card-title{
      color: var(--dark-color);
    }

    .service-card .card-text{
      color: var(--light-color);
    }

    .service-card:hover .card-title,
    .service-card:hover .card-text {
      color: var(--white-color);
     }

   .card-img{
    width: 60px;
    height: 60px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--alt-color);
   }

  /* TESTIMONIALS STYLES */
  .large-container {
    position: relative;
    max-width: 1720px;
    padding: 0px 30px;
    margin: 0 auto;
  }

  .testimonial-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 210px;
    overflow: hidden;
  }
  .testimonial-section:before {
    position: absolute;
    left: -200px;
    top: 22%;
    background-image: url(../../assets/images/team_img/testslider1.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 701px;
    height: 756px;
    content: "";
    -webkit-animation: fa-spin 25s infinite alternate;
    animation: fa-spin 25s infinite alternate;
  }
  .testimonial-section .sec-title {
    position: relative;
    margin-bottom: 115px;
  }
  .testimonial-section .sec-title .title {
    margin-bottom: 20px;
  }
  .testimonial-section .testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 -50px;
  }

  .testimonial-block {
    position: relative;
    padding: 50px;
  }
  .testimonial-block .inner-box {
    padding: 80px 105px;
    background-color: var(--card-color);
    box-shadow: var(--shadow)
  }
  .testimonial-block .text {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 32px;
    color: var(--dark-color);
    font-weight: 400;
    margin-bottom: 50px;
    font-family: "Muli", sans-serif;
  }
  .testimonial-block .info-box {
    position: relative;
    padding-left: 115px;
    padding-top: 10px;
  }
  .testimonial-block .info-box .thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 82px;
    width: 82px;
  }
  .testimonial-block .info-box .thumb img {
    border: 6px solid #e5e6fa;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    width: 100%;
    box-shadow: 0 45px 45px rgba(147, 147, 147, 0.35);
  }
  .testimonial-block .info-box .name {
    position: relative;
    display: block;
    font-size: 21px;
    line-height: 1.2em;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: "Niramit", sans-serif;
  }
  .testimonial-block .info-box .designation {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    font-weight: 400;
    font-family: "Muli", sans-serif;
  }

  .testimonial-carousel .owl-nav {
    position: absolute;
    right: 75px;
    bottom: 70px;
  }
  .testimonial-carousel .owl-next, .testimonial-carousel .owl-prev {
    position: relative;
    display: inline-block;
    height: 75px;
    width: 75px;
    line-height: 75px;
    text-align: center;
    border-radius: 50% !important;
    background-color: var(--white-color);
    transition: all 300ms ease;
  }
  .testimonial-carousel .owl-next:hover, .testimonial-carousel .owl-prev:hover {
    background-color: var(--primary-color) !important;
    box-shadow: 0 24px 24px rgba(187, 187, 187, 0.75);
  }

  .arrow-right, .arrow-left {
    position: relative;
    display: inline-block;
    height: 9px;
    width: 43px;
    background-image: url(http://t.commonsupport.com/adro/images/icons/arrow-left-2.png);
    background-repeat: no-repeat;
    background-position: center;
  }

  .arrow-right {
    background-image: url(http://t.commonsupport.com/adro/images/icons/arrow-right-2.png);
  }

  .testimonial-section .thumb-layer {
    position: absolute;
    right: 0;
    top: 0;
  }
  .testimonial-section .thumb-layer .image {
    position: relative;
    margin-right: 0;
  }
  .testimonial-section .thumb-layer .image img {
    display: inline-block;
    max-width: 100%;
    height: auto;
  }
  @media only screen and (max-width: 650px) {
      .testimonial-carousel .owl-nav {
      position: relative;
      left: 0;
      bottom: 0;
      margin-top: 20px;
      text-align: center;
    }
    .testimonial-section .testimonial-carousel {
      margin: 0px;
    }
    .testimonial-block .inner-box {
      padding: 25px 40px;
    }
    .testimonial-block .info-box {
      padding-top: 10px;
      padding: 95px 0 10px 10px;
    }
  }
  @media only screen and (max-width: 767px) {
    .testimonial-section .sec-title {
      margin-bottom: 50px;
    }

    .testimonial-block {
      padding: 0;
    }
    .testimonial-block .inner-box {
      box-shadow: none;
      border: 2px solid #f1f1f1;
    }
    .testimonial-carousel .owl-next, .testimonial-carousel .owl-prev {
      border: 2px solid #f1f1f1;
    }
  }
  @media only screen and (max-width: 1366px) {
    .large-container {
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  .testimonial-section .owl-dots{
    display: none;
  }

  /* PORTFOLIO STYLES */

  .portfolio-bg .item img{
    height: 650px;
    object-fit: cover;
    object-position: center;
  }
  .portfolio-main .owl-nav{
    font-size: 18px;
  }
  .portfolio-main .owl-nav{
    display: flex;
    justify-content: space-between;
    font-size: 65px;
    position: absolute;
    width: 100%;
    top: 40%;
    color: var(--white-color);
  }
  @media(max-width:992px){
    .portfolio-bg .item img{
      max-height: 400px;
      object-fit: cover;
    }
  }

  .portfolio-img{
    position: relative;
  }

  .portfolio-img-link{
    content: "view detail";
    color: var(--white-color);
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: #1d787e8f;
    transition: 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    opacity: 0;
  }
  .portfolio-img-link:hover{
    opacity: 1;
  }
  /* footer */

  .trustedpartner-main .client-testimonial img{
    max-height: 150px;
    object-fit: contain;
  }

  /* =======================
    ABOUT US PAGE STYLES
   =========================*/
  
  /* WHAT WE DO STYLES */
  
  .abt-navs .nav-link, .abt-navs .nav-link.active{
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  border-radius: 0;
  }
  .abt-navs .nav-link:hover{
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
  }
  .whatwedo-main .nav-link.active, .whatwedo-main .nav-link:hover {
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
  }

  /* CARE CARD STYLES */

  .care-card{
    background-color: var(--card-color);
    padding: 15px 5px;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    box-shadow: 0px 4px 14px 2px #2da0a815;
    transition: 0.45s ease-in-out;
    }

    @media(min-width:576px){
      .care-card{
        min-height: 270px;
      }
    }

    .care-card:hover{
    background-color: var(--primary-color);
    color:var(--white-color) !important;
    }
         .care-card:hover .card-title,
     .care-card:hover .card-text {
      color: var(--white-color);
     }

  .care-card .card-title{
    color: var(--dark-color);
  }

  .care-card .card-text{
    color: var(--light-color);
  }

  /* TEAM CARD STYLES */
  .team-card{
  border: 0px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 14px 2px #2da0a815;
  transition: 0.45s ease-in-out;
  max-width: 400px;
  min-height: 270px;
  }
  .team-card .card-body{
  min-height: 100px;
  position: relative;
  margin-top: -20px;
  background-color: var(--card-color);
  border-radius: 12px;
  }

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

/* Team image */
.team-card img.team-img {
  width: 100%;
  height: auto;
  display: block;
  /* transition: transform 0.4s ease; */
}

/* Card body */
.team-card .card-body {
  background-color: var(--alt-color);
  padding: 1.25rem 1rem;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s ease;
}
.team-card:hover .card-body {
  background-color: var(--primary-color);
}

/* Text styles */
.team-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
  transition: color 0.3s ease;
}
.team-card .card-text {
  font-size: 0.95rem;
  color: var(--light-color);
  transition: color 0.3s ease;
}

/* Text color on hover */
.team-card:hover .card-title,
.team-card:hover .card-text {
  color: #fff;
}

  /* FAQ STYLES */

  .faq-accordion .accordion-button:not(.collapsed) {
    background-color: var(--alt-color);
    box-shadow:unset !important;
  }

  .accordion-button{
    box-shadow: unset !important;
    background-color: var(--alt-color) !important;
    border-radius: 5px !important;
  }

  .accordion-item{
    border: 1px solid var(--alt-color);
    background-color: var(--alt-color) !important;
    margin-bottom: 25px;
  }

.accordion-icon {
  width: 40px;
  height: 40px;
  min-width: 40px; 
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--dark-color);
  flex-shrink: 0; 
  line-height: 1; 
}

/* Optional: make it slightly smaller on small screens */
@media (max-width: 576px) {
  .accordion-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 0.9rem;
  }
}
  .accordion-button{
    color: var(--dark-color);
  }

  .accordion-button::after {
    background-image: unset !important;
    content: '\f054';
    font-family: 'fontawesome';
    color: var(--dark-color);
  }

  .accordion-button:not(.collapsed)::after{
    transform: rotate(90deg);
    color: var(--primary-color);
  }

  .accordion-button:not(.collapsed){
    color: var(--primary-color) !important;
  }

  .accordion-button:not(.collapsed) .accordion-icon{
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
  }

  .accordion-body{
        color: var(--dark-color);
  }

  /* ====================
    SERVICE PAGE STYLES
   ====================== */

  /* PROGRESS BAR */

  .progress-container {
    max-width: 500px;
    padding: 12px;
    border-radius: 10px;
    }

    .progress-bar {
    margin: 0 0 25px;
    overflow: hidden;
    padding-right: 24px;
    text-align: start;
    }

    .progress-title {
    z-index: 100;
    }

    .progress-number-wrapper {
    width: 100% !important;
    position: relative;
    }

    .progress-number-mark {
    margin-bottom: 4px;
    border-radius: 7px;
    background-color: var(--primary-color);
    padding: 0 8px;
    position: absolute;
    bottom: 0;   
    left: 0;
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%); 
    } 

    .progress-number-wrapper,
    .progress-number-mark {
      font-size: 16px;
      letter-spacing: 0px;
      font-weight: 600;
      font-style: normal;
      text-transform: none;
      color: var(--white-color);
      padding: 5px;
    }

    .down-arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary-color);
    position: absolute;
    left: 50%;
    top: 100%;
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);  
    }

    .progress-content-outter {
    height: 20px;
    background-color: var(--dark-shade);
    border-radius: 30px;
    }

    .progress-content {
    height: 20px;
    background-color: var(--primary-color);
    width: 0%; /* Initial value */
    border-radius: 30px;
    }
  
  /* ====================
    PORTFOLIO PAGE STYLES
   ======================= */

   .gallery-tabs .nav-link{
      background-color: unset !important;
      border: 1px solid var(--primary-color) !important ;
      border-radius: 50px;
      color: var(--primary-color) !important;
      min-width: 100px;
      padding: 20px;
      line-height: 1.5px;
      text-transform: capitalize;
    }
    .gallery-tabs .nav-link:hover, .gallery-tabs .nav-link.active{
      background-color: var(--primary-color) !important;
      border-color: var(--primary-color)!important;
      color: var(--white-color) !important;
    }

    /* ===============
    BLOG PAGE STYLES
   =================== */

 .blog-main .card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem; 
  display: block; 
}

 .blogs-section .card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem; 
  display: block; 
}

  .sidebar-search{
    max-width: 350px;
  }
  .heading-bar::before{
    content:"|";
    font-weight: 800;
    color: var(--primary-color);
    font-size: 40px;
    vertical-align: sub;
  }

  .blog-search input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    background-image: url(../../assets/images/cross.png);
    background-size: 10px 10px;
  }

  /* pagination */

  .cust_pagination{
    box-shadow: 1px 2px 10px 0px lightgray;
    width: fit-content;
    border-radius: 5px;
    margin: auto;
  }
  .cust_pagination .page-item .page-link{
    color: var(--light-color);
    border: unset !important;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cust_pagination .page-item .page-link:active, .cust_pagination .page-item .page-link:hover, .cust_pagination .page-item .page-link:focus{
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 0;
    box-shadow: unset;
  }
  
  /* ==========================
    BLOG DETAIL PAGE STYLES
   ============================*/

   .blogs-detail-content .card-image img{
    height: 450px;
    object-fit: cover;
  }  

  :root {
    --dark: #373349;
    --gap: 15px;
    --width: 110px;
    --height: var(--width);
  }
  
  .grid-container > a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    overflow: hidden;
  }
  
  .grid-container > a::after {
    content: "";
    background: linear-gradient(transparent,black);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateY(100%);
    transition-duration: .75s;
  }
  
  .grid-container > a:hover::after {
    transform: translateY(50%);
  }
  
  .grid-container > a > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 1s;
  }
  
  .grid-container > a:hover > img {
    transform: scale(1.05);
  }
  
  .grid-container {
    display: grid;
    grid-gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--width), 1fr));
    grid-auto-rows: var(--height);
    grid-auto-flow: dense;
  }
  
  .horizontal {
    grid-column: span 2;
    grid-row: span 2;
  }
  
  .vertical {
    grid-column: span 3;
    grid-row: span 4;
  }
  
  .big {
    grid-column: span 2;
    grid-row: span 2;
  }

  .reply-comment{
    padding-left: 80px;
  }

    @media(max-width:600px){
   .reply-comment{
    padding-left: 30px;
  }
  }


    /* ======================
    SERVICE DETAIL PAGE STYLES
   =========================== */

  .servd-img-main img{
    height: 450px;
    object-fit: cover;
    border-radius: 5px;
  }
  .service-btn{
    background-color: var(--card-color) !important;
    color: var(--dark-color) !important;
  }
  .service-btn:hover{
    background-color: var(--primary-color) !important;
    color: var(--white-color) !important;
  }
  @media(max-width:600px){
    .servd-img-main img{
      max-height: 300px;
      object-fit: contain;
    }
  }

/* ==============================
    PORTFOLIO DETAIL PAGE STYLES
   ============================= */
  .side-img-portfolio{
    max-height: 450px;
    object-fit: cover;
  }

#backtotop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border-radius: 50%;
    border: 2px dotted var(--white-color);
    width: 50px!important;
    height: 50px!important;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: move 1.1s infinite ease-in-out;
    transition: 0.9s ease;
}

@media (max-width: 768px) {
  #backtotop{
     right: 6px!important;
  }
  .theme-toggle-decor {
  right: 6px!important;
  }
}

/* Keyframes for up-down animation */
@keyframes upDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
        /* Adjust this value to control movement */
    }
}

#backtotop:hover {
    cursor: pointer;
     background-color: var(--primary-color)!important;
}

#backtotop.show {
    opacity: 1;
    visibility: visible;
}
  
/* Decorative Theme Toggle */
.theme-toggle-decor {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  outline: none;
  border: 2px dotted var(--white-color) !important;
  padding: 10px 12px;
  z-index: 3;
  transition: all 0.3s ease;
}

/* Hover Effect - glowing rays */
.theme-toggle-decor:hover {
  box-shadow: var(--shadow);
  transform: rotate(10deg) scale(1.1);
  transition: all 0.4s ease-in-out;
}

/* Active press effect */
.theme-toggle-decor:active {
  transform: scale(0.9);
}

/* When it's Moon (dark mode) */
.theme-toggle-decor.moon-mode {
  background: linear-gradient(145deg, #2c3e50, #1a252f);
  box-shadow: 0 0 12px 4px rgba(0, 0, 0, 0.5) inset;
}

#contact-home .form-label{
color: var(--dark-color);
}

#comment-form .form-label{
color: var(--dark-color);
}

#contact-home .form-control{
  background-color: var(--input-bg);
  color: var(--dark-color);
}

#newsletter .form-label{
color: var(--white-color);
}

#newsletter .form-control{
  background:transparent;
   color: var(--white-color);
}
#newsletter .form-control::placeholder{
  background:transparent;
  color: var(--white-color);
}

.form-control::placeholder {
 color: var(--form-color);
  opacity: 0.6;
}

.form-control:focus{
  color: var(--dark-color);
}

.form-control{
  color: var(--dark-color);
  background-color: var(--input-bg);
}

  .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
      color: var(--white-color)!important;
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      opacity: 1!important;
  }

  .item .card-body{
    background-color: var(--card-color);
  }

.dropdown-link.active {
  color: var(--dark-color);                            
}

.dropdown-link.active a {
  color: var(--white-color);                         
  text-decoration: none;                   
}

.dropdown-link.active:hover,
.dropdown-link.active:hover a {
  color: var(--primary-color);
}

  .about-img {
    position: relative;
    display: inline-block;
  }

  .about-img img {
    border-top-right-radius: 80px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 440px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

@media (max-width: 991px) {
    .dot-top-right {
      top: -25px;
      right: -55px;
    }
       .about-img img {
            max-width:300px;
       }
      }
     
@media (max-width: 576px) {
    .dot-top-right {
      top: -25px;
      right: -55px;
    }
       .about-img img {
            max-width:280px;
       }
      }

    /* Dot patterns */
    .dot-pattern {
      position: absolute;
      width: 110px;
      height: 110px;
      background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
      background-size: 12px 12px;
      z-index: -1;
    }

    .dot-top-right {
      top: -25px;
      right: 35px;
    }

    .dot-bottom-left {
      bottom: -25px;
      left: 35px;
    }

/* Portfolio carousel images */
.portfolio-home .item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Portfolio text content */
.portfolio-bg,
.portfolio-main .col-lg-6 {
  background: var(--alt-color);
  border-radius: 6px;
  overflow: hidden;
}

/* Responsive design */
@media (max-width: 991px) {
  .portfolio-main .row > div {
    margin-bottom: 20px;
  }
  .portfolio-heading .heading {
    font-size: 26px;
  }
  .portfolio-main .headline {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .portfolio-heading .heading {
    font-size: 22px;
  }
}

/* Portfolio carousel images - equal height */
.portfolio-home .item img {
  width: 100%;
  max-height: 450px;      
  object-fit: cover;   
  display: block;
 
}

/* Adjust height for smaller screens */
@media (max-width: 991px) {
  .portfolio-home .item img {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .portfolio-home .item img {
    height: 220px;
  }
}

.offcanvas{
  background-color: var(--card-color);
}

/* Achievement Section */
.achievement-section {
  background: var(--alt-color);
  position: relative;
}

.achievement-heading .heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark-color);
}

/* Achievement cards */
.achievement-section .primary-color {
  background: var(--primary-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease-in-out;
  border-radius: 12px;
}

.achievement-section .primary-color:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Numbers (Counter) */
.achievement-count {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  color: var(--white-color);
}

/* Descriptions */
.achievement-section .description {
  font-size: 15px;
  font-weight: 500;
  color: #f1f1f1;
  text-transform: capitalize;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .achievement-heading .heading {
    font-size: 24px;
  }
  .achievement-count {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .achievement-count {
    font-size: 28px;
  }
  .achievement-section .description {
    font-size: 14px;
  }
}

/* Contact Section */
.contact-main {
  position: relative;
}

/* Heading */
.contact-heading .subheading {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
}

.contact-heading .heading {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark-color);
}

/* Contact cards */
.contact-main .card-color {
  background: var(--card-color);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease-in-out;
}

.contact-main .card-color:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Form */
.form-label {
  font-size: 14px;
  color: var(--dark-color)!important;
}

 .form-label {
    font-size: 14px;
  color: var(--dark-color);
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  transition: all 0.3s ease;
}

  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
    outline: none;
    background-color: transparent;
  }

/* Contact info */
.heading-text {
  font-size: 16px;
  color: var(--dark-color);
}

/* Responsive */
@media (max-width: 991px) {
  .contact-heading .heading {
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .contact-heading .heading {
    font-size: 22px;
  }
  .form-control {
    font-size: 14px;
    padding: 8px 12px;
  }
}

/* Contact Info Icons (phone, email, location) */
.contact-main .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.35s ease;
}

.contact-main .info-icon:hover {
  background: var(--secondary-color);
  transform: rotate(12deg) scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Blog Cards */
.blogs-section .card {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: var(--card-color);
}

.blogs-section .card:hover {
  transform: translateY(-8px);
}

/* Blog Images with Hover Zoom */
.card-image {
  overflow: hidden;
}

.card-image img {
  transition: transform 0.5s ease;
  display: block;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

/* Read More Link */
.blogs-section .card-body a {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 991px) {
  .blog-heading .heading {
    font-size: 26px;
  }
  .blogs-section .card-body .heading {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .blog-heading .heading {
    font-size: 22px;
  }
  .blogs-section .card-body {
    padding: 16px;
  }
}

.wwe-img {
    position: relative;
    display: inline-block;
  }

  .wwe-img img {
    border-top-right-radius: 80px;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 440px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

@media (max-width: 991px) {
    .dot-top-right {
      top: -25px;
      right: -55px;
    }
       .wwe-img img {
            max-width:360px;
       }
      }

    /* Dot patterns */
    .dot-pattern {
      position: absolute;
      width: 110px;
      height: 110px;
      background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
      background-size: 12px 12px;
      z-index: -1;
    }

    .dot-top-right {
      top: -25px;
      right: 35px;
    }

    .dot-bottom-left {
      bottom: -25px;
      left: 35px;
    }

  /* ===========================
   OFFCANVAS MENU STYLES
=========================== */
.offcanvas-header {
  background-color: var(--card-color);
}
.offcanvas-body {
  background-color: var(--alt-color);
}

/* General Links */
.offcanvas-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dark-color);
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.offcanvas-link:hover {
  color: var(--primary-color);
}

/* Active Link */
.offcanvas-link.active {
  color: var(--primary-color);
}

/* Dropdown Arrow */
.offcanvas-link i {
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* Rotate icon when dropdown open */
.offcanvas-item.dropdown.show .offcanvas-link i {
  transform: rotate(180deg);
}

/* Main menu links */
.offcanvas-item {
  border-bottom: 1px solid #dbdbdb;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.offcanvas-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* ===========================
   OFFCANVAS TOGGLE BUTTON (No Flex)
=========================== */
.offcanvas-toggle {
  width: 45px;     
  height: 45px;      
  text-align: center; 
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 8px; 
  transition: all 0.3s ease;
}

.offcanvas-toggle i {
  vertical-align: middle; 
}

.offcanvas-toggle:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}

/* Dropdown links */
.dropdown-box .dropdown-link {
  border-bottom: 1px solid #dbdbdb;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.dropdown-box .dropdown-link:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
/* Dropdown Menu */

.dropdown-box .dropdown-link a {
  color: var(--dark-color);
  font-size: 14px;
  font-weight: 600;
  display: block;
  text-decoration: none;
}

/* Dropdown items spacing */
.dropdown-link {
  margin-bottom: 5px;
}

.dropdown-link:last-child {
  margin-bottom: 0;
  border-bottom: none !important;
}

  .tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
  }

  .tag-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;                 
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    user-select: none;
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    border: 1px solid transparent;
    background-color: var(--alt-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
  }

  .tag-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
    background-color: var(--primary-color);
    color: var(--white-color)!important;
    transition: 0.3s ease-in;
  }
    
    @media (max-width: 575px) {
      .tag-pill { padding: .35rem .7rem; font-size: .85rem; }
    }

    .creative-pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 10px;

    }

    /* Page Item */
    .creative-pagination .page-item {
      list-style: none;
    }

    /* Page Link */
    .creative-pagination .page-link {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: 2px solid var(--primary-color);
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 600;
      color: var(--primary-color);
      transition: all 0.3s ease;
      background-color: var(--card-color);
    }

    /* Hover Effect */
    .creative-pagination .page-link:hover {
      background: var(--primary-color);
      color: var(--white-color);
      transform: scale(1.1);
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

    /* Active Effect */
    .creative-pagination .active .page-link {
      background: var(--primary-color);
      color: var(--white-color);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    /* Prev / Next Arrow Style */
    .creative-pagination .page-link span {
      font-size: 18px;
      line-height: 1;
    }

    .page-link:focus{
      box-shadow: none;
    }

.what-image {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.6s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.what-image {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.6s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 380px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  transition: transform 0.6s ease, filter 0.6s ease;
  border-radius: 20px;
}

@media (max-width: 992px) {
  .what-image {
    max-height: 300px; 
  }
}

@media (max-width: 576px) {
  .what-image {
    max-height: 220px;  
  }
  .what-image img {
    object-fit: contain; 
    transform: none !important; 
  }
}

.what-image img {
  transition: transform 0.6s ease, filter 0.6s ease;
  width: 100%;
  border-radius: 20px;
}

.what-image:hover img {
  transform: scale(1.1);
  filter: brightness(0.75);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 20px;
}

.what-image:hover .image-overlay {
  opacity: 1;
}

.image-overlay h4 {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.icon-box {
  height: 55px;
  width: 55px;
  min-width: 55px;
  background:  var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.icon-box:hover {
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

/* Image Styling */
.about-image-wrap {
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.6s ease;
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  border-radius: 20px;
}

.about-image-wrap:hover img {
  transform: scale(1.1);
  filter: brightness(0.75);
}

/* Overlay effect */
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 20px;
}

.about-image-wrap:hover .image-overlay {
  opacity: 1;
}

/* Icon Box Styling */
.icon-box {
  height: 55px;
  width: 55px;
  min-width: 55px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 1.4rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px 
 color-mix(in srgb, var(--primary-color) 30%, transparent);
}

.icon-box:hover {
  background: var(--secondary-color);
  transform: rotate(12deg) scale(1.1);
  color: var(--white-color);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Responsive Image Resize */
@media (max-width: 992px) {
  .about-image-wrap {
    max-height: 300px;
  }
}

@media (max-width: 576px) {
  .about-image-wrap {
    max-height: 220px;
  }
  .about-image-wrap img {
    object-fit: contain;
    transform: none !important;
  }
  .image-overlay h4 {
    font-size: 1.1rem;
  }
}

.footer-links a:hover{
color: var(--primary-color)!important;
transition: 0.3s ease-in;
}

/* Portfolio Section Responsive Styling */
.portfolio-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  min-height: 250px; 
  max-height: 320px; 
  object-fit: cover; 
  border-radius: 10px;
  transition: transform 0.4s ease;
}

/* Hover Effect */
.portfolio-img:hover img {
  transform: scale(1.05);
}

/* Overlay link */
.portfolio-img-link {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.portfolio-img:hover .portfolio-img-link {
  opacity: 1;
}

/* Responsive Adjustment */
@media (max-width: 992px) {
  .portfolio-img img {
    min-height: 220px;
    max-height: 250px;
  }
}

@media (max-width: 576px) {
  .portfolio-img img {
    min-height: 180px;
    max-height: 200px;
  }
}

/* ---------- Footer Body ---------- */

.footer-body h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white-color);
  margin-bottom: 25px;
  position: relative;
}

.footer-body h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 8px;
}

/* ---------- Footer Links ---------- */
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--white-color);
  font-size: 15px;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
  .navbar-main.sticky {
    position: static !important;
    box-shadow: none !important;
    animation: none !important;
  }
}
.alertmsg{
  z-index: 9999;
}