@import url("https://fonts.googleapis.com/css2?family=DM+Sans&family=Fredoka+One&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}
html,
body {
  background-color: #f7f7f7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fredoka One", cursive;
}

#top {
  background-image: url(img/19.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 500px;
}
#top > div {
  background-color: rgba(0, 0, 0, 0.4);
}
.heading {
  height: 500px;
  padding: 20px;
}
.heading h1 {
  padding-top: 17%;
  color: white;
}
.heading p {
  font-size: 25px;
  color: yellow;
}
#work {
  background-image: url(img/family.jpg);
  background-size: cover;
  background-attachment: fixed;

  background-repeat: no-repeat;
  width: 100%;
  height: 400px;
}
#work h1 {
  color: white;
  padding-top: 100px;
  text-align: center;
}
#work > div {
  background-color: rgba(0, 0, 0, 0.7);
}

.para {
  height: 245px;
  margin: auto;
  font-size: 20px;
  color: white;
}
.why-us {
  padding: 40px;
}
.why-us h1 {
  text-align: center;
  color: gray;
}
ul.list li {
  margin-left: 60px;
  line-height: 60px;
  list-style: none;
  font-size: 20px;
}
.why-us img {
  border-radius: 50%;
}

/* scrollbar */

::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  width: 5px;
}

.explore-animate {
  position: relative;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.explore-animate:hover {
  color: #007bff;
  transform: translateY(-2px);
}

.dot {
  height: 6px;
  width: 6px;
  background-color: red;
  border-radius: 50%;
  box-shadow: 0 0 6px red;
  animation: soft-glow 1.8s infinite ease-in-out;
}

@keyframes soft-glow {
  0%,
  100% {
    box-shadow: 0 0 4px #007bff;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 10px #007bff;
    opacity: 0.6;
  }
}

/* ==================== TOP HEADER BAR ==================== */
.top-bar {
  background: var(--top-bar-bg);
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .top-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-bar a {
  color: var(--text-color) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.top-bar a:hover {
  color: #ff4500 !important;
}
.lang-badge {
  background: var(--card-bg);
  border: 1px solid #ced4da;
  color: var(--text-color);
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  transition: all 0.2s ease;
}
.lang-badge:hover {
  border-color: #ff4500;
  background-color: #ff4500;
  color: white;
}
.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 16px;
  cursor: pointer;
  padding: 0 8px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: flex;
  align-items: center;
}
.theme-toggle-btn:hover {
  color: #ffaa00;
  transform: scale(1.15);
}

/* ==================== PREMIUM NAVBAR ==================== */
#nav_bar {
  background-color: var(--nav-bg) !important;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: 1px;
  color: #333333 !important;
}

#navbarNav li {
  margin: 0;
  transition: all 0.5s ease;
}
#navbarNav li:hover {
  border-radius: 0;
  background-color: transparent !important;
}
#navbarNav li a {
  transition: all 0.5s ease;
}
.nav-link {
  font-weight: 600 !important;
  color: var(--card-text) !important;
  margin: 0 8px;
  transition: color 0.2s;
  background: none !important;
}
.nav-link:hover,
.nav-link.active {
  color: #ff4500 !important;
  background: none !important;
  font-weight: bold;
}

.explore-animate {
  position: relative;
  font-weight: 600;
  color: #333;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}
.explore-animate:hover {
  color: #007bff;
  transform: translateY(-2px);
}
.dot {
  height: 6px;
  width: 6px;
  background-color: red;
  border-radius: 50%;
  box-shadow: 0 0 6px red;
  animation: soft-glow 1.8s infinite ease-in-out;
}
@keyframes soft-glow {
  0%,
  100% {
    box-shadow: 0 0 4px #007bff;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 10px #007bff;
    opacity: 0.6;
  }
}

@media only screen and (max-width: 768px) {
  #top,
  .heading {
    height: 300px;
  }

  .heading h1 {
    font-size: 1.5rem;
    padding-top: 25%;
  }

  .heading p {
    font-size: 1rem;
  }

  #work {
    height: 250px;
  }

  #work h1 {
    padding-top: 60px;
    font-size: 1.3rem;
  }

  .para {
    height: auto;
    font-size: 1rem;
    padding: 10px;
  }

  .why-us {
    padding: 20px;
  }

  ul.list li {
    margin-left: 20px;
    line-height: 30px;
    font-size: 1rem;
  }

  .cols2 {
    font-size: 1rem;
    line-height: 1.5;
    padding: 15px;
    word-spacing: normal;
  }

  #navbarNav li {
    width: auto;
    padding: 5px 10px;
    font-size: 0.9rem;
    margin: 0;
  }

  #t-cards img {
    width: 100%;
    height: auto;
  }
}

.service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 18px;
  line-height: 1.7;
}

.service-item i {
  font-size: 28px;
  min-width: 35px;
  color: #ff5a14;
}

/********************* footer ********************/

:root {
  --footer-bg: #111111;
  --muted-text: #adb5bd;
  --heading-color: #ffffff;
}

#footer {
  background: var(--footer-bg) !important;
  color: var(--muted-text);
  border-top: 3px solid #ff4500;
  padding-top: 3rem;
  padding-bottom: 1rem;
}
#footer h4 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 25px;
}
#footer a {
  transition: color 0.2s;
  color: #adb5bd;
}
#footer a:hover {
  color: #ffaa00 !important;
}

/* Social Buttons */
.social-links-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-btn:hover {
  background: #ff4500;
  transform: translateY(-5px);
}

#footer {
  background-color: #111111;
  color: #adb5bd;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #212529;
  color: white;
  border-radius: 50%;
  margin: 0 8px;
  transition: 0.3s;
  text-decoration: none;
}
.social-btn:hover {
  background: #ffc107;
  color: #000;
}

@media only screen and (max-width: 480px) {
  .heading h1 {
    font-size: 1.2rem;
    padding-top: 30%;
  }

  .heading p {
    font-size: 0.9rem;
  }

  #navbarNav {
    flex-direction: column;
    align-items: center;
  }

  #navbarNav li {
    width: 100%;
    text-align: center;
  }

  .cols2 {
    padding: 10px;
  }
}
