/********** Template CSS **********/
:root {
    --primary: #f90b0b;
    --secondary: #2c3e50;
    --light: #F6F4F9;
    --dark: #000000;
}


/***  Loader ***/
/* Full-Screen Spinner Styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    display: flex;
    background-color: white;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
} 


.loader {
    width: 48px;
    height: 48px;
    position: relative;
}

.loader:before {
    content: '';
    width: 48px;
    height: 5px;
    background: #e6394650; /* Lighter red shadow */
    position: absolute;
    top: 60px;
    left: 0;
    border-radius: 50%;
    animation: shadow324 0.5s linear infinite;
}

.loader:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #e63946; /* Red color */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    animation: jump7456 0.5s linear infinite;
}

@keyframes jump7456 {
    15% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@keyframes shadow324 {
    0%, 100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1);
    }
}

/* Welcome Text Styles */
.welcome-text {
    font-size: 1.5rem;
    color: #e63946;
    text-align: center;
}

/* Hide the spinner after 3 seconds */
@keyframes hideSpinner {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Apply the animation after 3 seconds */
#spinner.show {
    animation: hideSpinner 0.5s linear 3s forwards;
}



/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    width: 100px; /* Adjust the width as per your logo size */
    height: 200px;
    margin-right: 15px; /* Space between logo and name */
}

.site-name {
    font-family: 'Fancy Font', sans-serif; /* Use your preferred font */
    font-size: 24px; /* Adjust the size as needed */
    margin: 0;
    color: #ff3838; /* Text color */
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.5), /* Soft white glow */
        0 0 10px rgba(255, 255, 255, 0.5), /* Medium white glow */
        0 0 15px rgba(255, 255, 255, 0.3), /* Stronger white glow */
        0 0 20px rgba(255, 255, 255, 0.2); /* Very strong white glow */
}

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

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-nav .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-light .btn {
        color: var(--dark);
        background: #FFFFFF;
    }

    .sticky-top.navbar-light .btn {
        color: var(--dark);
        background: var(--secondary);
    }
}

/* Example for lightbox customization */
.lightbox {
    max-width: 90%;
    max-height: 90%;
}


.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 12px 30px;
    border: 4px solid;
    border-color: transparent;
    font-size: 12px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    box-shadow: 0 0 0 2px rgb(0, 0, 0);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button svg {
    position: absolute;
    width: 24px;
    fill: rgb(0, 0, 0);
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .arr-1 {
    right: 16px;
  }
  
  .animated-button .arr-2 {
    left: -25%;
  }
  
  .animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }
  
  .animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: #212121;
    border-radius: 12px;
  }
  
  .animated-button:hover .arr-1 {
    right: -25%;
  }
  
  .animated-button:hover .arr-2 {
    left: 16px;
  }
  
  .animated-button:hover .text {
    transform: translateX(12px);
  }
  
  .animated-button:hover svg {
    fill: #212121;
  }
  
  .animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px rgb(255, 47, 47);
  }
  
  .animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
  }
  

/*** Hero Header ***/



.bg-primary {
    background-color: #e63946 !important; /* Simmer red color */
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px); /* Adjust values for desired movement */
    }
}

/* Hero header styles */
.hero-header {
    margin-bottom: 6rem;
    padding: 12rem 0;
    background:
      url(../img/blob-top-left.png),
      url(../img/blob-top-right.png),
      url(../img/blob-bottom-left.png),
      url(../img/blob-bottom-right.png),
      url(../img/blob-center.png),
      url(../img/bg-bottom.png);
    background-position:
      left 0px top 0px,
      right 0px top 0px,
      left 0px bottom 0px,
      right 0px bottom 0px,
      center center,
      center bottom;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
  }
  
  /* Container for shapes */
  .hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Prevents shapes from blocking interactions */
    z-index: 2; /* Make sure shapes are behind main content */
  }
  
  /* General shape styles */
  .shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15); /* Light neutral color */
    mix-blend-mode: overlay; /* Blends with background for visual effect */
  }
  
  /* Specific shapes */
  .shape-1 {
    width: 230px;
    height: 230px;
    top: 3%;
    left: 3%;
    background-color: rgba(245, 245, 245, 0.5); /* Neutral tone */
    z-index: -1; /* Behind other shapes */
    animation: float 6s ease-in-out infinite;
  }
  
  .shape-2 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    right: 0%;
    background-color: rgba(230, 230, 230, 0.5); /* Neutral tone */
    z-index: -2; /* Behind shape 1 */
    animation: float 8s ease-in-out infinite;
  }
  
  .shape-3 {
    width: 180px;
    height: 180px;
    top: 70%;
    right: 20%;
    background-color: rgba(240, 240, 240, 0.6); 
    z-index: -3; 
    animation: float 7s ease-in-out infinite;
  } 
  
  .shape-4 {
    width: 220px;
    height: 220px;
    bottom: 7%;
    left: 20%;
    background-color: rgba(235, 235, 235, 0.55); 
    z-index: -4; 
    animation: float 9s ease-in-out infinite;
  } 
  
  .shape-5 {
    width: 160px;
    height: 160px;
    top: 20%;
    left: 50%;
    background-color: rgba(245, 245, 245, 0.5);
    z-index: -5; 
    animation: float 5s ease-in-out infinite;
  } 
  
  .shape-6 {
    width: 240px;
    height: 240px;
    bottom: 75%;
    right: 3%;
    background-color: rgba(230, 230, 230, 0.6); 
    z-index: -6; 
    animation: float 8s ease-in-out infinite;
  } 

  .shape-7 {
    width: 240px;
    height: 240px;
    bottom: 25%;
    right: 90%;
    background-color: rgba(230, 230, 230, 0.6); 
    z-index: -6; 
    animation: float 8s ease-in-out infinite;
  } 

  .shape-8 {
    width: 180px;
    height: 180px;
    bottom: 55%;
    left: 30%;
    background-color: rgba(235, 235, 235, 0.55); 
    z-index: -4; 
    animation: float 9s ease-in-out infinite;
  } 
  
  /* Floating animation */
  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
  }
  
  /* Responsive Design */
  @media (max-width: 1200px) {
    .shape-1 { width: 150px; height: 150px; top: 10%; left: 10%; }
    .shape-2 { width: 200px; height: 200px; bottom: 10%; right: 10%; }
    .shape-3 { width: 150px; height: 150px; top: 45%; right: 15%; }
    .shape-4 { width: 180px; height: 180px; bottom: 20%; left: 20%; }
    .shape-5 { width: 140px; height: 140px; top: 30%; left: 45%; }
    .shape-6 { width: 200px; height: 200px; bottom: 30%; right: 20%; }
    .shape-7 { width: 200px; height: 200px; bottom: 30%; right: 20%; }
    .shape-8 { width: 180px; height: 180px; bottom: 20%; left: 20%; }
  }
  
  @media (max-width: 768px) {
    .shape-1 { width: 100px; height: 100px; top: 15%; left: 15%; }
    .shape-2 { width: 150px; height: 150px; bottom: 15%; right: 15%; }
    .shape-3 { width: 100px; height: 100px; top: 50%; right: 10%; }
    .shape-4 { width: 120px; height: 120px; bottom: 25%; left: 25%; }
    .shape-5 { width: 100px; height: 100px; top: 35%; left: 40%; }
    .shape-6 { width: 150px; height: 150px; bottom: 35%; right: 15%; }
    .shape-7 { width: 150px; height: 150px; bottom: 35%; right: 15%; }
    .shape-8 { width: 120px; height: 120px; bottom: 25%; left: 25%; }
  }
  
  @media (max-width: 576px) {
    .shape-1 { width: 80px; height: 80px; top: 20%; left: 20%; }
    .shape-2 { width: 120px; height: 120px; bottom: 20%; right: 20%; }
    .shape-3 { width: 80px; height: 80px; top: 55%; right: 5%; }
    .shape-4 { width: 100px; height: 100px; bottom: 30%; left: 30%; }
    .shape-5 { width: 80px; height: 80px; top: 40%; left: 35%; }
    .shape-6 { width: 120px; height: 120px; bottom: 40%; right: 20%; }
    .shape-7 { width: 120px; height: 120px; bottom: 40%; right: 20%; }
    .shape-8 { width: 100px; height: 100px; bottom: 30%; left: 30%; }
  }
  


@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
}
/* Customize the secondary button */
.btn-secondary {
    background-color: #ff4c4c; /* Vibrant red to match the theme */
    border: 2px solid #ffffff; /* White border */
    color: #ffffff; /* White text */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 5;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2); /* Glow effect */
    transition: all 0.75s ease;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
}

.btn-secondary:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-secondary:hover {
    background-color: #ff6e6e; /* Slightly lighter red on hover */
    box-shadow: 0 0 15px rgba(255, 76, 76, 0.6); /* Glowing effect */
    border-color: #ffffff;
}

/* Customize the light button */
.btn-light {
    background-color: #ffffff; /* Soft pinkish shade */
    border: 2px solid #ff4c4c; /* Red border */
    color: #ff4c4c; /* Red text */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-light::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 76, 76, 0.2); /* Glow effect */
    transition: all 0.75s ease;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
}

.btn-light:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-light:hover {
    background-color: #ffd5d5; /* Slightly darker pinkish shade on hover */
    box-shadow: 0 0 15px rgba(255, 76, 76, 0.6); /* Glowing effect */
    border-color: #ff6e6e; /* Darker border on hover */
}

.wave-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: -15.3vw; /* Adjust for desktop */
    padding-bottom: 5vw;
}

.wave-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.hero-header {
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .wave-wrapper {
        margin-top: -18vw; /* Adjust for tablets */
        padding-bottom: 8vw;
    }
}

@media (max-width: 768px) {
    .wave-wrapper {
        margin-top: -21vw; /* Adjust for smaller tablets and large phones */
        padding-bottom: 10vw;
    }
}

@media (max-width: 480px) {
    .wave-wrapper {
        margin-top: -31vw; /* Adjust for small screens */
        padding-bottom: 12vw;
    }
}

.hero-header img {
    animation: pulse 4s infinite; /* Pulsating animation for attention */
    transform: scale(1); 
    transition: transform 0.4s ease, border 0.4s ease;
    z-index: 99;
}

.hero-header img:hover {
    transform: scale(1.08); /* More dramatic zoom on hover */
}

/* Pulsating effect */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 76, 76, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 76, 76, 0.8);
    }
}




/*** Section Title ***/
/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.main-headline {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.engaging-line {
    font-size: 1.25rem;
    color: #555; /* Slightly lighter color for the engaging line */
    margin-bottom: 1rem;
    font-style: italic;
}

.line {
    width: 80px;
    height: 4px;
    background-color: #ff6f61; /* Primary red color */
    margin: 0 auto;
    border-radius: 2px;
}

/* Card Styles */
.card {
    position: relative;
    width: 100%; /* Make it responsive */
    max-width: 300px; /* Limit maximum width */
    height: 400px; /* Adjust height */
    background: #ff6f61; /* Primary red color */
    color: #fff; /* White text color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Adjusted font size */
    font-weight: bold;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow for better visibility */
    margin: auto; /* Center card in the column */
}

/* Bubble Styles */
.card::before,
.card::after {
    position: absolute;
    content: "";
    width: 20%;
    height: 20%;
    background-color: #ffe5e5; /* Light red for the background */
    transition: all 0.5s ease;
    z-index: 1; /* Ensure the bubble is behind the text */
}

.card::before {
    top: 0;
    right: 0;
    border-radius: 0 15px 0 100%;
}

.card::after {
    bottom: 0;
    left: 0;
    border-radius: 0 100% 0 15px;
}

.card:hover::before,
.card:hover::after {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.card:hover::after {
    content: ""; /* Keep it empty to cover the whole card */
}

/* Card Title */
.card .card-title {
    position: relative;
    z-index: 2; /* Ensure the title is above the bubbles */
    transition: all 0.5s ease;
    margin: 0;
    font-size: 24px; /* Adjusted font size for the title */
    text-transform: uppercase; /* Make title uppercase for emphasis */
    padding: 1rem; /* Add padding for spacing */
}

/* Card Content */
.card .card-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.8); /* Darker background for better contrast */
    border-radius: 15px;
    color: #fff; /* White text color */
    text-align: left;
    width: 90%; /* Adjust width for better fit */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow for better visibility */
    z-index: 2; /* Ensure the content is above the bubbles */
}

/* Hover Effect */
.card:hover .card-content {
    opacity: 1;
    transform: translate(-50%, 0); /* Center the content on hover */
}

.card:hover .card-title {
    position: absolute;
    top: 0; /* Move the title to the top */
    left: 50%;
    transform: translateX(-50%); /* Center the title horizontally */
    background: #ff6f61; /* Background color to match card */
    padding: 1rem; /* Add padding for spacing */
    border-radius: 15px 15px 0 0; /* Round the top corners */
    z-index: 3; /* Ensure the title is above all other elements */
    font-size: 20px; /* Adjusted font size on hover */
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .card {
        width: 100%; /* Full width for mobile */
        max-width: 250px; /* Smaller maximum width for mobile */
        height: 350px; /* Smaller height for mobile */
    }

    .card .card-title {
        font-size: 20px; /* Smaller font size for mobile */
    }

    .card .card-content p {
        font-size: 14px; /* Smaller font size for mobile */
    }
}


/*** About ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}

.section-title {
    font-size: 2rem; /* Adjust the size as needed */
    font-weight: bold;
    color: #333; /* Darker text color */
    text-align: left;
    position: relative;
    margin-bottom: 1rem;
}

.section-title .highlight {
    display: block;
    width: 60px; /* Adjust width as needed */
    height: 4px; /* Line thickness */
    background-color: #ff6f61; /* Accent color */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}


/*** Fact ***/
.fact {
    margin: 6rem 0;
    background:
        url(../img/blob-top-left.png),
        url(../img/blob-top-right.png),
        url(../img/blob-bottom-left.png),
        url(../img/blob-bottom-right.png),
        url(../img/blob-center.png);
    background-position:
        left 0px top 0px,
        right 0px top 0px,
        left 0px bottom 0px,
        right 0px bottom 0px,
        center center;
    background-repeat: no-repeat;
}


/*** Why Choose Us ***/
.service-item {
    position: relative; /* Changed from center to relative */
    padding: 45px 30px;
    background: var(--light);
    border-radius: 10px; /* Added rounded corners */
    overflow: hidden;
    transition: all 0.5s ease; /* Smooth transition */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.service-item:hover {
    margin-top: -15px;
    padding-bottom: 60px;
    background-color: #e63946;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
    transform: scale(1.02); /* Slightly scale up on hover */
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 80px; /* Adjusted size */
    height: 80px; /* Adjusted size */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/blob-primary.png) center center no-repeat;
    background-size: contain;
    transition: all 0.5s ease; /* Smooth transition */
    border-radius: 50%; /* Rounded icon background */
    padding: 10px; /* Added padding for a bubble effect */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for icon */
}

.service-item:hover .service-icon {
    color: var(--dark);
    background: url(../img/blob-secondary.png) center center no-repeat;
    background-size: contain;
    transform: rotate(15deg); /* Slight rotation on hover */
}

.service-item h5,
.service-item p {
    transition: all 0.5s ease; /* Smooth transition */
    margin-bottom: 10px; /* Added spacing */
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 50%; /* Changed to rounded button */
    width: 50px; /* Adjusted size */
    height: 50px; /* Adjusted size */
    line-height: 50px; /* Centered text vertically */
    text-align: center;
    font-size: 22px; /* Larger arrow size */
    transition: all 0.5s ease;
    z-index: 1;
}

.service-item a.btn:hover {
    color: #fff;
    background: var(--secondary);
}

.service-item:hover a.btn {
    bottom: 10px; /* Adjusted position */
}


/*** Project Portfolio 
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(98, 34, 204, .9);
    transition: .5s;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

project end ***/


/* Our Approach Section */
.container-xxl {
    background: #f8f9fa; /* Light background for contrast */
}

/* Approach Steps */
.approach-step {
    position: relative;
    padding: 25px;
    border-radius: 20px;
    background: #ffffff; /* Light background color */
    color: #333; /* Dark text color */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Hover Effect */
.approach-step:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    filter: brightness(1.05);
}

/* Step Icon Styling */
.step-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6f61, #ff3e2f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

/* Hover Effect for Icons */
.approach-step:hover .step-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff3e2f, #ff6f61);
    box-shadow: 0 0 20px rgba(255, 111, 97, 0.6);
}

/* Step Text Styling */
.approach-step h5 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    transition: color 0.4s ease, transform 0.4s ease;
}

.approach-step p {
    font-size: 16px;
    color: #666;
}

/* Gradient Overlay */
.approach-step::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 111, 97, 0.2), rgba(255, 111, 97, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
}

.approach-step:hover::before {
    opacity: 0.3;
}

/* Text Animation on Hover */
.approach-step:hover h5 {
    color: #ff3e2f;
    transform: translateY(-5px);
}

/* Icon Glow Effect */
.step-icon::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 111, 97, 0.4), transparent);
    z-index: -1;
    transition: opacity 0.4s ease;
}

.approach-step:hover .step-icon::before {
    opacity: 0.7;
}

/* Animations for Steps */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.approach-step:nth-child(odd) {
    animation: pulse 2s infinite;
}


/* Newsletter Section */
.newsletter {
    margin: 6rem 0;
    background: linear-gradient(135deg, #eb2a3a 0%, #fa6d6d 50%, #423c3c 100%);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.newsletter::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    z-index: 0;
}
.newsletter .input-custom {
    background-color: #f8f9fa;
    height: 50px;
    padding: 12px 20px;
    border: 3px solid #ffffff;
    border-radius: 30px;
    color: #333;
    font-size: 1rem;
}

.newsletter .input-custom:focus {
    color: #333;
    background-color: #fff;
    border-color: #000000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.newsletter .btn-custom {
    background-color: #ffffff;
    color: #e63946;
    border: none;
    height: 43px;
    width: 43px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.newsletter .btn-custom:hover {
    background-color: #e63946;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}



/* Testimonial Container */
/* Add a 3D-like static background to the testimonial section */
.testimonial-background {
    position: relative;
    overflow: hidden; /* Ensures background does not overflow */
}

.testimonial-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #e74c3c,
        #e74c3c 10px,
        transparent 10px,
        transparent 20px
    ),
    repeating-linear-gradient(
        -45deg,
        #f39c12,
        #f39c12 10px,
        transparent 10px,
        transparent 20px
    );
    background-size: 100% 100%, 100% 100%, 10px 10px, 10px 10px;
    background-position: center center, center center, center center, center center;
    z-index: 0; /* Places background behind content */
}

/* Ensure testimonial content is above the background */
.container-xxl {
    position: relative;
    z-index: 1;
}

/* Testimonial Item Styles */
/* Background Styling for Testimonial Section */
.testimonial-background {
    position: relative;
    overflow: hidden;
    padding: 5rem 0; /* Adjust padding as needed */
}

/* Static background with a 3D effect */
.testimonial-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #eb5443d5,
        #e74c3c 10px,
        transparent 10px,
        transparent 20px
    ),
    repeating-linear-gradient(
        -45deg,
        #f39c12,
        #f39c12 10px,
        transparent 10px,
        transparent 20px
    );
    background-size: 50px 50px, 50px 50px;
    background-position: 0 0, 25px 25px;
    z-index: 0;
}

/* Ensure testimonial content is above the background */
.container-xxl {
    position: relative;
    z-index: 1;
}

/* Testimonial Item Styles */
.testimonial-carousel .testimonial-item {
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1; /* Ensure testimonial items are above the background */
}

.testimonial-carousel .testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Typography and alignment */
.testimonial-carousel .testimonial-item p {
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 50px;
}

.testimonial-carousel .testimonial-item .fa-quote-left {
    position: absolute;
    left: 10px;
    top: 10px;
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.7;
}

.testimonial-carousel .testimonial-item .d-flex {
    align-items: center;
    margin-top: 15px;
}

.testimonial-carousel .testimonial-item img {
    border: 3px solid var(--primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel .testimonial-item h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary);
}

.testimonial-carousel .testimonial-item span {
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-carousel .testimonial-item {
        padding: 20px;
    }

    .testimonial-carousel .testimonial-item p {
        font-size: 0.9rem;
    }

    .testimonial-carousel .testimonial-item .fa-quote-left {
        font-size: 1.5rem;
    }

    .testimonial-carousel .testimonial-item img {
        width: 55px;
        height: 55px;
    }

    .testimonial-carousel .testimonial-item h5 {
        font-size: 1rem;
    }
}


/* Owl Carousel Navigation */
.testimonial-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    padding: auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    background-color: var(--primary);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background-color: darken(var(--primary), 10%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Custom Styling for Owl Carousel Pagination (if needed) */
.testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: var(--light);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background-color: var(--primary);
}



.testimonial-background {
    background: #f8f9fa;
    padding: 50px 0;
}

.testimonial-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    position: relative;
}

.testimonial-text i {
    position: absolute;
    top: -20px;
    left: -30px;
    color: #007bff;
}

.short-text {
    display: block;
}

.full-text {
    display: none;
}

.read-more {
    color: #000000d0;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

.read-more:hover {
    color: #d87979;
}




/*** Team ***/
.team-item {
    position: relative;
    transition: .5s;
    z-index: 1;
    margin: 32px;
    padding: 3px;
}

.team-item::after {
    position: absolute;
    content: "";
    top: 3rem;
    right: 3rem;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    background: #e22c16;
}

.team-item img {
    transition: transform .5s ease; /* Add transition for zoom effect */
}

.team-item:hover img {
    transform: scale(1.1); /* Zoom in image on hover */
}

.team-item h5,
.team-item small {
    transition: .5s;
}

.team-item:hover h5,
.team-item:hover small {
    color: var(--light);
}

.team-item .btn-square i {
    color: #333; /* Default icon color */
    transition: .3s;
}

.team-item:hover .btn-square i {
    color: #000000; /* Change icon color on hover */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-item {
        margin: 20px; /* Reduce margin on smaller desktops and large tablets */
    }
}

@media (max-width: 991px) {
    .team-item {
        margin: 20px auto; /* Center align on medium screens */
        width: 90%; /* Adjust width for medium screens */
    }
    .team-item::after {
        top: 1.5rem; /* Adjust for medium screens */
        right: 1.5rem;
    }
}

@media (max-width: 767px) {
    .team-item {
        margin: 15px auto; /* Further reduce margin for smaller screens */
        width: 95%; /* Adjust width for small screens */
    }
    .team-item::after {
        top: 1rem; /* Adjust for smaller screens */
        right: 1rem;
    }
}

@media (max-width: 575px) {
    .team-item {
        margin: 10px auto; /* Minimal margin for extra small screens */
        width: 100%; /* Full width for extra small screens */
    }
    .team-item::after {
        top: 0.5rem; /* Adjust for extra small screens */
        right: 0.5rem;
    }
    .team-item h5 {
        font-size: 1rem; /* Reduce font size for extra small screens */
    }
    .team-item small {
        font-size: 0.85rem; /* Reduce font size for extra small screens */
    }
}


/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: .5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #FFFFFF;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: .5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: .5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: .15s;
}


/*** Footer ***/
.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background:
        url(../img/bg-top.png),
        url(../img/map.png);
    background-position:
        center top,
        center center;
    background-repeat: no-repeat;
    color: var(--light);
}

.footer .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: .3s;
}

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

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

.footer .copyright {
    padding: 30px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    color: var(--light);
    text-align: center;
    margin: 0 0 0 0;
    width: 100%; /* Make sure it spans the full width */
    position: relative;
    padding-bottom: 48px;
    
}

.footer .bottom-red {
    height: 20px;
    background: #e63946; /* Red color matching the footer theme */
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}


.footer .copyright .row {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1500px; /* Center and limit the width */
    margin: 0 auto; /* Center the row horizontally */
}

.footer .copyright .col-md-6 {
    flex: 1; /* Equal width for both columns */
    text-align: center; /* Center text in each column */
}

.footer .copyright a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: normal; /* Match the font weight of your site */
}

.footer .copyright a:hover {
    color: #FFD700; /* Golden yellow color */
    text-shadow: 0 0 6px #FFD700; /* Subtle glowing effect */
}

.footer .copyright p.mb-0 {
    margin-bottom: 10px; /* Adjust space between paragraphs */
}

/*** Back To Top ***/
.back-to-top {
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    right: 20px;  /* Adjust as needed */
    z-index: 9999; /* Ensures it is above other elements */
    background-color: #3f3434; /* Optional: Background color for visibility */
    color: #fff; /* Optional: Text/icon color */
}



