/* CSS Variables & Base Styles */
:root {
  --primary: #0a2540;
  --secondary: #EF7F1A;
  --accent: #2d7d9a;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray: #6c757d;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;  */
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
}

h2 {

  font-size: 30px;
  position: relative;
  text-align: center;
  margin-top: 20px;
}

/* h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--secondary);
} */

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  font-size: 17px;
  text-align: justify;
}

.text-center {
  text-align: center;
}

.text-center h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.floating-social {
  position: fixed;
  bottom: 20px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

/* Shared styles */
.floating-social a,
#scrollTopBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #111010;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

/* Social Colors */
.facebook {
  background-color: #cad0d3;
}

.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #cad0d3
  );
}

.linkedin {
  background-color: #cad0d3;
}
.youtube {
  background-color: #cad0d3;
}
.whatsapp {
  background-color: #cad0d3;
}
.calling {
  background-color: #cad0d3;
} /* blue phone button */

/* Hover effect */
.floating-social a:hover,
#scrollTopBtn:hover {
  transform: scale(1.1);
}

/* Scroll-to-top Button */
#scrollTopBtn {
  display: none;
  background-color: #000;
}
#scrollTopBtn:hover {
  background-color: #333;
}

/* Completed Project CSS */
.carousel {
  padding: 50px;
  position: relative;
  width: 90%;
  max-width: 1100px;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}
.card {
  border-radius: 18px;
  flex: 0 0 33.3333%;
  padding: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(0.9);
  opacity: 0.7;
}
.card.active {
  transform: scale(1.05);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
}
.info {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s ease;
}
.carousel button:hover {
  background: rgba(255, 255, 255, 0.3);
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
@media (max-width: 768px) {
  .card {
    flex: 0 0 50%;
  }
}
@media (max-width: 480px) {
  .card {
    flex: 0 0 100%;
  }
}

.contact-text a {
  color: #003eb3;
  text-decoration: none;
}