/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: radial-gradient(circle at center,
      #d4e8f2 0%,
      /* very light icy blue */
      rgba(255, 255, 255, 0.82) 40%,
      /* soft blue */
      rgba(214, 238, 255, 0.81) 70%,
      /* medium mountain blue */
      rgba(174, 216, 255, 0.81) 100%
      /* deeper mountain blue at edges */
    );
  color: #2e2e2e;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  color: #222;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.3;
}

p {
  margin-bottom: 1.25rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

section {
  padding: 50px 0;
  position: relative;
}

/* Hero Section */


#top_section h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeSlideDown 1s ease forwards;
}

#top_section p {
  font-size: 1.25rem;
  color: #fff;
  max-width: 700px;
  margin: 0 auto 30px;
  animation: fadeSlideUp 1.2s ease forwards;
}

#top_section {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 160px 20px 140px;
  overflow: hidden;
}

#top_section .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#top_section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

#top_section .container,
#top_section .row,
#top_section .col-md-10 {
  position: relative;
  z-index: 2;
}


.read_more,
.send_btn {
  display: inline-block;
  background-color: #ff4081;
  color: #fff;
  padding: 12px 28px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: fadeIn 1.5s ease forwards;
  box-shadow: 0 4px 12px rgba(255, 64, 129, 0.3);
  border: none;
}

.read_more:hover,
.send_btn:hover {
  background-color: #e040fb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 64, 129, 0.45);
}

/* Box Styles */
.we_box,
.chose_box {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 40px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease;
  will-change: transform, opacity;
}

.we_box.animate-visible,
.chose_box.animate-visible,
.portfolio_main.animate-visible {
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.we_box i,
.chose_box i {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #4caf50;
}

.chose_box i {
  color: #ff4081;
}

.chose_box h3,
.chose_box strong,
.chose_box p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.chose_box.animate-visible h3,
.chose_box.animate-visible strong,
.chose_box.animate-visible p {
  opacity: 1;
  transform: translateY(0);
}

/* Portfolio Section */
.portfolio_main {
  margin-bottom: 50px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease;
  will-change: transform, opacity;
}

.portfolio_main img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.portfolio_main:hover img {
  transform: scale(1.03);
}

.portfolio_text {
  background: #ffffff;
  padding: 24px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.06);
  margin-top: -10px;
}

/* Footer */
footer {
  background-color: #333;
  color: #ccc;
  padding: 60px 0 30px;
  text-align: center;
}

footer a {
  color: #ff4081;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #e040fb;
}

footer p {
  margin-bottom: 1.25rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

.footer .logo_footer img {
  width: 140px;
  margin-bottom: 20px;
}

.social_icon li {
  display: inline-block;
  margin: 0 10px;
}

.social_icon i {
  font-size: 20px;
  color: #ccc;
  transition: color 0.3s ease;
}

.social_icon i:hover {
  color: #ff4081;
}

/* Custom Keyframes */
@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  #top_section h1 {
    font-size: 2.4rem;
  }

  .we_box,
  .chose_box,
  .portfolio_main {
    margin-bottom: 30px;
  }

  .container {
    padding: 0 1rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

.contact-methods .contact-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.contact-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  color: #ff4081;
  margin-bottom: 10px;
  display: block;
}

.copy-btn {
  margin-top: 10px;
  background-color: transparent;
  color: #555;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background-color: #ff4081;
  color: #fff;
  border-color: #ff4081;
}

.copy-toast {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4caf50;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.copy-toast.show {
  opacity: 1;
}

@media (max-width: 576px) {
  .read_more {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  section {
    padding: 50px 0;
  }
}