.navbar-custom {
    background: linear-gradient(45deg, #213929, #c84444);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* border-radius: 8px; */
}
.section-heding {
    font-size: 24px;
    font-weight: 600;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

.section-heding span {
    border-bottom: 3px solid #2c3e50;
    /* border-top: 3px solid #2c3e50; */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.navbar-custom .navbar-nav .nav-link {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}
.navbar img{
    height: 5rem;
    width: 10rem;
}
.navbar-custom .navbar-nav .nav-link:hover {
    color: #00476e;
    background-color: rgba(255, 255, 255, 0.1);
}

/* .navbar-custom .navbar-nav .nav-link.active {
    color: rgba(255, 0, 0, 0.784);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-custom .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, black, red);
} */

/* Custom Button Styles */
.btn-custom {
    background: linear-gradient(45deg, #00476e, #00476e);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    text-transform: uppercase;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-custom:hover {
    background-color: #16a085;
    transform: translateY(-5px);
    /* Hover effect with slight lift */
}

/* Adding a creative hover effect */
.btn-custom:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.4s, height 0.4s, top 0.4s, left 0.4s;
    transform: translate(-50%, -50%);
}

.btn-custom:hover:before {
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
}

.ms-2 .btn-custom {
    margin-left: 10px;
}

/* Adding focus styles for accessibility */
.btn-custom:focus {
    outline: none;
    box-shadow: 0 0 0 3px #b30f3b
}



.navbar-nav {
    text-align: center;
}

.navbar-nav .nav-link {
    padding: 8px 12px;
}

.navbar-toggler-custom {
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
}

.navbar-collapse {
    display: none;
}

.navbar-collapse.show {
    display: block;
}

.navbar-toggler-icon {
    display: block;
}

/* Flexbox layout to align the logo to the left */
.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    flex-grow: 0;
    text-align: left;
}

.navbar-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.ms-auto {
    margin-left: auto;
}



/* footer */


footer {
    padding-top: 2rem;
}

footer .f-div .f-title {
    font-size: 18px;
    font-weight: 550;
    display: inline-block;
    border-bottom: 2px solid #6358587a;
    /* padding-bottom: 5px; */
}

footer .f-div ul li {
    list-style: none;
    font-size: 16px;
    font-weight: 500;
}

footer .f-div .f-icon {
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer .f-div .f-icon span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffffff, #d1d1d1);
    border-radius: 50%;
    box-shadow:4px 4px 8px rgba(0, 0, 0, 0.3),
    -4px -4px 8px rgba(255, 255, 255, 0.8);
    transform: perspective(100px) rotateX(10deg) rotateY(10deg);
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

footer .f-div .f-icon span {
    transform: perspective(100px) rotateX(0deg) rotateY(0deg) translateY(-4px);
    /* Subtle bounce */
    box-shadow:6px 6px 12px rgba(0, 0, 0, 0.4),
    
    -3px -3px 6px rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #e0e0e0, #ffffff);
    cursor: pointer;
}



footer .f-div .f-icon i {
    color: #000;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .f-div .f-icon i:hover {
    color: #3498db;
    transform: scale(1.2);
}






.service-section {
    padding-block: min(20vh, 2rem);
    width: calc(min(76.5rem, 90%));
    margin-inline: auto;
    color: #111;
}

.service-contaner {
    margin-top: 5em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 2rem;
}



.service-section .icon a {
    text-decoration: none;
    /* display: inline-block; */


}


.card:nth-child(1) .box .icon .iconBox {
    background: #d3b19a;
}

.card:nth-child(2) .box .icon .iconBox {
    background: #70b3b1;
}

.card:nth-child(3) .box .icon .iconBox {
    background: #d05fa2;
}

.card:nth-child(4) .box .icon .iconBox {
    background: #766BD3;
}

.card:nth-child(5) .box .icon .iconBox {
    background: #766BD3;
}

.card:nth-child(6) .box .icon .iconBox {
    background: #d05fa2;
}

.card:nth-child(7) .box .icon .iconBox {
    background: #70b3b1;
}

.card:nth-child(8) .box .icon .iconBox {
    background: #d3b19a;
}

.card:nth-child(9) .box .icon .iconBox {
    background: #d3b19a;
}

.card:nth-child(10) .box .icon .iconBox {
    background: #70b3b1;
}

.card:nth-child(11) .box .icon .iconBox {
    background: #d05fa2;
}

.card:nth-child(12) .box .icon .iconBox {
    background: #766BD3;
}



.card-inner {
    position: relative;
    width: inherit;
    height: 18.75rem;
    background: var(--clr);
    border-radius: 1.25rem;
    border-bottom-right-radius: 0;
    overflow: hidden;
}

.box {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
}

.imgBox {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, #de8c80, #d42d43fc);

}

.imgBox:hover {
    background: radial-gradient(circle, #cc3d3dac, #52b8e8);

}

.imgBox .card-ser {
    margin: 1rem;
}

.imgBox .card-ser .hedding {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}

.imgBox .card-ser .test-ser {
    font-size: 16px;
    line-height: 24px;
}




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

.icon {
    position: absolute;
    bottom: -0.375rem;
    right: -0.375rem;
    width: 6rem;
    height: 6rem;
    background: var(--clr);
    border-top-left-radius: 50%;
}

.icon i {
    transform: rotate(0deg);
    font-size: 30px;
    color: white;
    /* Rotate the element */
}

.icon:hover .iconBox i {
    /* transform: scale(1.1); */
    transform: rotate(220deg);
    transition: transform 0.5s ease;

}

.icon::before {
    position: absolute;
    content: "";
    bottom: 0.375rem;
    left: -1.25rem;
    background: transparent;
    width: 1.25rem;
    height: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
}

.icon::after {
    position: absolute;
    content: "";
    top: -1.25rem;
    right: 0.375rem;
    background: transparent;
    width: 1.25rem;
    height: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    box-shadow: 0.313rem 0.313rem 0 0.313rem var(--clr);
}

.iconBox {
    position: absolute;
    inset: 0.625rem;
    background: #282828;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}



section {
    /* padding: 60px 0; */
    /* min-height: 100vh;*/
}

.sec-title {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.sec-title .title {
    position: relative;
    display: block;
    font-size: 18px;
    line-height: 24px;
    color: #00aeef;
    font-weight: 500;
    margin-bottom: 15px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 40px;
    line-height: 1.28em;
    color: #222222;
    font-weight: 600;
    padding-bottom: 18px;
}

.sec-title h2:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 0px;
    width: 50px;
    height: 3px;
    background-color: #d1d2d6;
}

.sec-title .text {
    position: relative;
    font-size: 16px;
    line-height: 26px;
    color: #848484;
    font-weight: 400;
    margin-top: 35px;
}

.sec-title.light h2 {
    color: #ffffff;
}

.sec-title.text-center h2:before {
    left: 50%;
    margin-left: -25px;
}


.info-section .info i {
    font-size: 2.2rem;
    color: black;
    /* text-shadow: 1px 1px 2px #1abc9c;  */
}
.info:hover i {
    transform: translateY(-35px); 
    transition: transform 0.3s ease; 
    color: #16a085;
  }
  

.info-section .info span {
    font-size: 1.2rem;
    color: black;
}
.contect-section .contect-h {
    font-size: 22px;
    font-weight: 600;
    padding: 1rem;
    text-shadow: 1px 1px 4px #000; 
}


/* hero-section */
.hero-section {
  background: linear-gradient(to right, #563f3a, #feb47b);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 20px;
}
.hero-text {
  text-align: left;
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
}
.hero-text p {
  font-size: 1.2rem;
  margin: 20px 0;
}
.btn-custom {
  background-color: #ff4c60;
  border: none;
  padding: 10px 25px;
  font-size: 1.1rem;
  color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.btn-custom:hover {
  background-color: #e94154;
}
.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}
