/* ================= BODY ================= */
html, body {
  overflow-x: hidden !important;
}

body {
  background-color: #f8f9fb;
  overflow-x: hidden;
    padding-top: 133px !important;


}

/* ================= TOP BAR ================= */
.top-bar {
  background: #0d5bd8;
  color: #fff;
  font-size: 14px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1031;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 68px;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff !important;
  transition: all 0.3s ease;
  width: 100%;
}

.navbar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.cursor-pointer {
  cursor: pointer;
}

/* ================= FOOTER ================= */
.footer-main {
  background: #0d73b9;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.8s forwards;
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.5s ease-out forwards;
}

.footer-links li:nth-child(1) {
  animation-delay: 1s;
}

.footer-links li:nth-child(2) {
  animation-delay: 1.1s;
}

.footer-links li:nth-child(3) {
  animation-delay: 1.2s;
}

.footer-links li:nth-child(4) {
  animation-delay: 1.3s;
}

.footer-links li:nth-child(5) {
  animation-delay: 1.4s;
}

.footer-links li:nth-child(6) {
  animation-delay: 1.5s;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  transform: translateX(5px);
}

.footer-bottom {
  background: #070708;
  font-size: 16px;
}

.footer-dev {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.footer-dev:hover {
  text-decoration: underline;
}

.footer-dev::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.footer-dev:hover::after {
  transform: scaleX(1);
}

/* ================= SOCIAL MEDIA ICONS ================= */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.social-icon:nth-child(1) {
  animation-delay: 1.2s;
}

.social-icon:nth-child(2) {
  animation-delay: 1.3s;
}

.social-icon:nth-child(3) {
  animation-delay: 1.4s;
}

.social-icon:nth-child(4) {
  animation-delay: 1.5s;
}

.social-icon:nth-child(5) {
  animation-delay: 1.6s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
  background: #1877f2;
}

.social-icon.twitter:hover {
  background: #1da1f2;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon.linkedin:hover {
  background: #0077b5;
}

.social-icon.youtube:hover {
  background: #ff0000;
}

/* ================= FOOTER CONTACT ================= */
.footer-contact {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeIn 0.5s ease-out 1s forwards;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.5s ease-out forwards;
}

.contact-item:nth-child(1) {
  animation-delay: 1.1s;
}

.contact-item:nth-child(2) {
  animation-delay: 1.2s;
}

.contact-item:nth-child(3) {
  animation-delay: 1.3s;
}

.contact-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ================= ANIMATIONS ================= */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInOverlay {
  from {
    background: rgba(0, 60, 120, 0);
  }
  to {
    background: rgba(0, 60, 120, 0.75);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================= LINK HOVER EFFECTS ================= */
a[href^="tel:"],
a[href^="mailto:"] {
  transition: all 0.3s ease;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

.footer-contact a {
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
  text-decoration: underline !important;
}

/* ================= COMMON RESPONSIVE ================= */
@media (min-width: 992px) {
  .navbar {
    padding: 0.8rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    font-weight: 500;
  }

  .navbar-nav .nav-link:hover {
    color: #0d5bd8 !important;
    transition: color 0.3s ease;
  }
}

@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-collapse {
    padding-top: 15px;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
  }

  .navbar-nav {
    margin-bottom: 15px;
  }

  .navbar-nav .nav-link {
    padding: 8px 0 !important;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .contact-item {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding: 10px 0;
  }
  
  .top-bar .container > div:first-child,
  .top-bar .container > div:last-child {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* ================= MOBILE FIXED HEADER FIX ================= */
@media (max-width: 992px) {
  body {
    padding-top: 170px !important;
  }
  
  .top-bar {
    position: fixed !important;
    /* top: 0 !important; */
    width: 100% !important;
  }
  
  .navbar {
    position: fixed !important;
    top: 114px !important;
  }
}