html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Future Section */
#future {
  background: linear-gradient(to bottom, #5a5252, #7c7b7b); /* White to light grey gradient */
  padding-top: 50px;
  padding-bottom: 50px;
  color: #ffffff; /* Ensures text remains readable */
}

#future h2 {
  font-size: 3rem; /* Increased font size */
  color: #ffffff;
  font-weight: bold; /* Optional: Adds boldness for emphasis */
}

#future .lead {
  font-size: 25px; /* Increased font size */
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8; /* Optional: Improves readability */
}

#future .container {
  padding: 0 15px;
}
/* Future Section Ended */

/* Dark animated background with yellow accent */
.dark-bg {
background: linear-gradient(45deg, #ffffff, #34495e, #1c1c1c, #f39c12); /* Adding yellow to the gradient */
background-size: 600% 600%;
animation: gradientAnimation 5s ease infinite, yellowGlow 4s ease-in-out infinite;
min-height: 100vh;
background-attachment: fixed;
color: white;
font-family: 'Poppins', sans-serif;
}

/* Keyframe animation for the gradient transition */
@keyframes gradientAnimation {
0% {
  background-position: 0% 50%;
}
50% {
  background-position: 100% 50%;
}
100% {
  background-position: 0% 50%;
}
}

/* Keyframe animation for yellow glowing effect */
@keyframes yellowGlow {
0% {
  box-shadow: 0 0 0px rgba(243, 156, 18, 0.5);
}
50% {
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.8); /* Bright yellow glow */
}
100% {
  box-shadow: 0 0 0px rgba(243, 156, 18, 0.5);
}
}
/*Background gradient*/

/*services section*/
#services .row .col:hover .card {
  transform: translateX(0);
}

/* Hover Effect for Cards */
.card:hover {
transform: translateY(-10px);
transition: transform 0.3s ease-in-out;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Custom AOS Delay */
[data-aos-delay="100"] {
transition-delay: 0.1s;
}

[data-aos-delay="200"] {
transition-delay: 0.2s;
}

[data-aos-delay="300"] {
transition-delay: 0.3s;
}

[data-aos-delay="400"] {
transition-delay: 0.4s;
}

.hover-shadow {
transition: all 0.3s ease;
}
/*services section ended*/

/* Our Work Section */
/* Animated Gradient Background */
  #our-work {
    position: relative;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364, #1e3c72, #16222a);
    background-size: 400% 400%;
    animation: dark-gradient-animation 12s ease infinite;
    color: #f8f9fa; /* Light text for contrast */
    font-size: 1.1rem; /* Base font size increased */
  }

  @keyframes dark-gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  #our-work h2 {
  font-size: 2.5rem; /* Increased heading size */
  font-weight: 700;
  color: #f8f9fa;
  }

  #our-work h3 {
  font-size: 1.8rem; /* Larger subheading size */
  font-weight: 600;
  color: #ffc107; /* Accent color */
  }

  #our-work p {
  font-size: 1.2rem; /* Larger paragraph size */
  line-height: 1.8; /* Better spacing between lines */
  color: #f8f9fa;
  }

  #our-work ul li {
  font-size: 1.2rem; /* Larger list item size */
  line-height: 1.8;
  color: #f8f9fa;
  }

  #our-work ul li::before {
  content: "\2022";
  color: #ffc107; /* Accent color for bullets */
  font-weight: bold;
  display: inline-block; 
  width: 1em; 
  margin-left: -1em;
  }

  #our-work img {
  border: 3px solid rgba(255, 255, 255, 0.2);
  }
/*OUR WORK PROCESS*/
  
/* Verified Section */
.verified {
background-color: #f4f4f4;
color: #333;
}

.verification-card {
background-color: #ffffff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease-in-out;
}

.verification-card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.verification-card h4 {
font-size: 30px;
color: #2d9cdb;
font-weight: bold;
}

.verification-card p {
font-size: 18px;
color: #000000;
}

.verification-card img {
max-width: 150px;
height: auto;
}

/* Driving Force Section Styling */
#driving-force {
background: linear-gradient(to right, #1e1e2f, #052e8d, #1e1e2f);
background-size: 200% 200%;
animation: gradientBG 8s ease infinite;
color: #ffffff;
padding: 60px 15px;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#driving-force h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

#driving-force p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

#driving-force h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffd700;
}

.key-points {
  padding-left: 0;
}

.key-points .d-flex {
  font-size: 1.1rem;
}

.key-points .d-flex i {
  font-size: 1.5rem;
  color: #ffd700;
}

.key-points .d-flex span {
  font-size: 1.1rem;
  color: #ffffff;
}

#driving-force .btn-warning {
  font-weight: 600;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 25px;
}

#driving-force .image-content img {
  max-width: 100%;
  border: 5px solid #ffd700;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  #driving-force {
    text-align: center;
  }

  #driving-force .text-content,
  #driving-force .image-content {
    padding: 0;
  }

  #driving-force h2 {
    font-size: 1.8rem;
  }

  .key-points .d-flex {
    flex-direction: column;
    align-items: center;
  }

  #driving-force ul {
    margin-top: 10px;
    padding-left: 0;
  }
}

#services .row .col:nth-child(odd) .card {
transform: translateX(-10%);
}

#services .row .col:nth-child(even) .card {
transform: translateX(10%);
}

#services .row .col {
transition: transform 0.5s ease;
}

#services .row .col:hover .card {
transform: translateX(0);
}

.shadow-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.shadow-3d:hover {
    transform: translateY(-10px) rotate(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  }
/*footer*/

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px; /* Distance from the bottom */
  left: 30px; /* Align on the left side */
  z-index: 1030; /* Above most Bootstrap components */
  width: 50px; /* Default size */
  height: 50px;
  border-radius: 50%; /* Circular shape */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow for depth */
  transition: all 0.3s ease-in-out; /* Smooth hover effect */
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Prevent interaction initially */
}

/* Hover and Focus States */
.back-to-top:hover,
.back-to-top:focus {
  background-color: #0056b3; /* Darker blue on hover */
  transform: scale(1.1); /* Slight zoom effect */
  outline: none; /* Remove focus outline */
}

/* Show Button on Scroll */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile-Specific Adjustments */
@media (max-width: 768px) {
  .back-to-top {
    width: 45px; /* Smaller size for tablets */
    height: 45px;
    bottom: 20px; /* Closer to bottom */
    left: 20px; /* Closer to edge */
  }
}

@media (max-width: 480px) {
  .back-to-top {
    width: 40px; /* Even smaller for small screens */
    height: 40px;
    bottom: 15px; /* Closer to bottom */
    left: 15px; /* Closer to edge */
  }
}

/* button ends*/
.whatsapp-btn:hover,
.whatsapp-btn:focus {
  transform: scale(1.1);
  background-color: #20b858;
  text-decoration: none;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    bottom: 70px;
    right: 15px;
  }

  .whatsapp-btn i {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-btn {
    width: 40px;
    height: 40px;
    bottom: 60px;
    right: 10px;
  }

  .whatsapp-btn i {
    font-size: 1.2rem;
  }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
  .whatsapp-btn {
    padding: 12px;
  }
  .whatsapp-btn:active {
    transform: scale(0.95);
    background-color: #20b858;
  }
}
/*Whatsapp button ends*/
  
.gold-gradient-border {
  padding: 5px; /* Space between the image and the border */
  background: linear-gradient(45deg, #FFD700, #FFA500);
  border-radius: 15px; /* Adjust to match the image's rounded corners */
  display: inline-block; /* Keeps the image and border aligned */
}
.gold-gradient-border img {
  border-radius: 10px; /* Slightly smaller radius for the image itself */
  display: block;
}

.border-gradient {
  border: 3px solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(45deg, #02a510, #016b12);
  border-radius: 15px;
}

.key-strengths .card-body i {
  font-size: 4rem; /* Increased from fa-3x (approx. 3rem) */
  margin-bottom: 1.5rem; /* Slightly increased spacing */
  color: #ffd700; 
}

.key-strengths .card-body p {
  font-size: 1.3rem; /* Increased from default (~1rem) */
  font-weight: 500;  /* Added for better text visibility */
  line-height: 1.6;  /* Improved readability */
}
