@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

/* Scrool Bar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #003ec4;
  border-radius: 10px;
  transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #0051ff;
}

:root {
  --body-color: #e4e9f7;
  --nav-color: #4070f4;
  --side-nav: #010718;
  --text-color: #fff;
  --search-bar: #f2f2f2;
  --search-text: #010718;
  --card-color: #ffffff;
}

body.dark {
  --body-color: #1a1b1f;
  --nav-color: #262931;
  --side-nav: #242526;
  --text-color: #ccc;
  --search-bar: #363636;
  --card-color: #21242a;
  --button-color: #5f6061;
}

body {
  background-image: url(Images/World\ Map.svg);
}

body.dark {
  background-image: url(Images/darkmode-world.svg);
}

/* DarkMode */
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Moon-Sun */
body.dark nav .darkLight-searchBox .dark-light .moon {
  color: #fff;
}

body.dark nav .darkLight-searchBox .dark-light .sun {
  color: #fff;
}

.darkLight-searchBox .dark-light .sun {
  color: #fff;
}

.darkLight-searchBox .dark-light .moon {
  color: #fff;
}

.dark-light i,
.searchToggle i {
  position: absolute;
  color: var(--text-color);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dark-light i.sun {
  opacity: 0;
  pointer-events: none;
}

.dark-light.active i.sun {
  opacity: 1;
  pointer-events: auto;
  color: #fff;
}

.dark-light.active i.moon {
  opacity: 0;
  pointer-events: none;
}

/* Internet Connected */
.popup {
  position: fixed;
  left: 50%;
  top: -25%;
  z-index: 999;
  visibility: hidden;
  width: 490px;
  border-radius: 5px;
  padding: 13px 17px 20px;
  background: #fff;
  display: flex;
  border-top: 3px solid #d0342c;
  transform: translateX(-50%);
  box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
  transition: all 0.25s ease;
}

.popup.show {
  top: 0;
  visibility: visible;
}

.popup.online {
  border-color: #2ecc71;
}

.popup .icon i {
  width: 40px;
  height: 40px;
  display: flex;
  color: #fff;
  margin-right: 15px;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d0342c;
}

.popup.online .icon i {
  background: #2ecc71;
}

.popup .title {
  font-size: 1.2rem;
}

.popup .desc {
  color: #474747;
  margin: 3px 0 10px;
  font-size: 1.04rem;
}

.popup .reconnect {
  border: none;
  outline: none;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 13px;
  border-radius: 4px;
  background: #5372f0;
}

.popup.online .reconnect {
  background: #bfbfbf;
  pointer-events: none;
}

/* Navigation Bar */
nav {
  position: fixed;
  width: 100%;
  z-index: 998;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;
}

body.dark nav {
  background: linear-gradient(135deg, #1a1b1f, #0d1117);
}

/* Anasayfa dışındaki sayfalarda navbar her zaman gradient olsun */
.blog-page nav,
.project-page nav,
.contact-page nav,
.software-page nav {
  background: linear-gradient(135deg, #013179, #002333) !important;
}

body.dark .blog-page nav,
body.dark .project-page nav,
body.dark .contact-page nav,
body.dark .software-page nav {
  background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
}

/* Sticky navbar */
nav.sticky {
  background: linear-gradient(135deg, #013179, #002333);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark nav.sticky {
  background: linear-gradient(135deg, #1a1b1f, #0d1117);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

nav .navbar {
  width: 90%;
  max-width: 1400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: auto;
}

/* Logo Styles */
nav .navbar .logo {
  display: flex;
  align-items: center;
}

nav .navbar .logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
  display: block;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.logo-highlight {
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-dot {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 32px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav .navbar .logo-text:hover {
  transform: scale(1.02);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Navigation Links Container */
.nav-links {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}

/* Menu Styles */
nav .navbar .menu {
  display: flex;
  position: relative;
  margin: 0;
  padding: 0;
}

nav .navbar .menu .nav-item {
  list-style: none;
  font-weight: 500;
  margin: 0 20px;
  position: relative;
}

.navbar .menu .nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  padding: 10px 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.navbar .menu .nav-item a:hover,
.navbar .menu .nav-item.active a {
  color: #0066ff;
}

.navbar .menu .nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0066ff;
  transition: width 0.3s ease;
}

.navbar .menu .nav-item:hover::after,
.navbar .menu .nav-item.active::after {
  width: 100%;
}

.nav-icon {
  margin-right: 8px;
  font-size: 14px;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-icon {
  margin-left: 6px;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.project-chevron {
  transition: transform 0.3s;
}

.nav-item.dropdown.open .project-chevron {
  transform: rotate(180deg);
}

.project-phone {
  transition: none !important;
  transform: none !important;
}

.nav-item.dropdown.open .project-phone,
.nav-item.dropdown:hover .project-phone {
  transform: none !important;
  transition: none !important;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #013179, #002333);
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 0;
}

body.dark .dropdown-menu {
  background: linear-gradient(135deg, #1a1b1f, #0d1117);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: none;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  padding: 12px 20px !important;
  color: #fff;
  font-size: 15px !important;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
  background-color: rgba(0, 102, 255, 0.1);
  color: #0066ff !important;
  border-left-color: #0066ff;
}

/* Right Side Controls */
.nav-controls {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 10px;
  /* İkonlar arası boşluk */
}

/* Language Selector */
.language-selector {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.selected-lang {
  border-radius: 50%;
  background-color: #10215a;
  color: #fff;
  height: 40px;
  width: 40px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  padding: 6px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
}

.selected-lang:hover {
  background-color: #003cb5;
  color: #fff;
}

/* Dark Mode Toggle */
.dark-light {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0;
  /* Sağ kenar boşluğunu kaldırdık */
  background-color: rgba(0, 102, 255, 0.1);
}

.dark-light:hover {
  background-color: rgba(0, 102, 255, 0.15);
}

/* Hamburger and Cancel Buttons */
.menu-btn,
.cancel-btn {
  display: none;
  /* Web görünümünde gizle */
  cursor: pointer;
  font-size: 20px;
  color: #fff;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 102, 255, 0.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.menu-btn:hover,
.cancel-btn:hover {
  color: #0066ff;
}

/* Main Section */
section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

body.dark .wrapper {
  background-color: var(--card-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.wrapper {
  width: 715px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0066ff, #0039c0, #0066ff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

body.dark .wrapper header {
  color: #0066ff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(0, 57, 192, 0.08) 100%);
}

.wrapper header {
  font-size: 28px;
  font-weight: 700;
  padding: 25px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 57, 192, 0.03) 100%);
  color: #0066ff;
  letter-spacing: -0.5px;
}

.wrapper form {
  margin: 40px 30px;
  position: relative;
  z-index: 1;
}

.wrapper form.disabled {
  pointer-events: none;
  opacity: 0.7;
}

form .dbl-field {
  display: flex;
  margin-bottom: 25px;
  justify-content: space-between;
  gap: 15px;
}

/* reCAPTCHA ve Button Wrapper */
.recaptcha-button-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
}

/* reCAPTCHA Container */
.g-recaptcha {
  display: flex;
  justify-content: flex-start;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1;
}

.dbl-field .field {
  height: 50px;
  display: flex;
  position: relative;
  width: calc(100% / 2 - 8px);
}

.wrapper form i {
  position: absolute;
  top: 50%;
  left: 18px;
  color: #8b8b8b;
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  z-index: 2;
}

body.dark form .field input {
  background-color: var(--card-color);
  color: var(--text-color);
}

body.dark form .message textarea {
  background-color: var(--card-color);
  color: var(--text-color);
}

form .field input,
form .message textarea {
  width: 100%;
  height: 100%;
  outline: none;
  padding: 0 18px 0 48px;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

form .field input:hover,
form .message textarea:hover {
  border-color: rgba(0, 102, 255, 0.3);
}

body.dark form .field input,
body.dark form .message textarea {
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark form .field input:hover,
body.dark form .message textarea:hover {
  border-color: rgba(0, 102, 255, 0.4);
}

.field input::placeholder,
.message textarea::placeholder {
  color: #8b8b8b;
}

body.dark .field input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

body.dark .message textarea:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.field input:focus,
.message textarea:focus {
  padding-left: 47px;
  border-color: #0066ff;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
  transform: translateY(-1px);
}

body.dark .field input:focus~i {
  color: var(--text-color);
}

body.dark .message textarea:focus~i {
  color: var(--text-color);
}

.field input:focus~i,
.message textarea:focus~i {
  color: #0066ff;
  transform: translateY(-50%) scale(1.1);
}

form .message {
  position: relative;
}

form .message i {
  top: 30px;
  font-size: 20px;
}

form .message textarea {
  min-height: 130px;
  max-height: 230px;
  max-width: 100%;
  min-width: 100%;
  padding: 15px 20px 0 48px;
  resize: vertical;
  font-family: "Poppins", sans-serif;
}

form .message textarea::-webkit-scrollbar {
  width: 0px;
}

.message textarea:focus {
  padding-top: 14px;
}

body.dark button:not(.submit-button) {
  background-color: #525151;
}

body.dark button:not(.submit-button):hover {
  background-color: #0039c0;
}

.hidden {
  display: none;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background-color: #e74c3c;
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 320px;
  max-width: 450px;
  pointer-events: all;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-success {
  background-color: #2ecc71;
}

.toast-warning {
  background-color: #f39c12;
}

.toast-error {
  background-color: #e74c3c;
}

.toast-icon {
  font-size: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.toast-message {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.toast-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  opacity: 0.8;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
}

body.dark .toast {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.button-area {
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.submit-button {
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  outline: none;
  border: none;
  background: linear-gradient(135deg, #0066ff, #0039c0);
  color: #fff;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 150px;
}

.submit-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
  background: linear-gradient(135deg, #0052cc, #002d99);
}

.submit-button:active {
  transform: translateY(0);
}

body.dark .submit-button {
  background: linear-gradient(135deg, #0066ff, #0039c0);
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

body.dark .submit-button:hover {
  background: linear-gradient(135deg, #0052cc, #002d99);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
}

/* Media Query */
@media (max-width: 900px) {
  .content form {
    width: 100%;
  }
}

@media (max-width: 750px) {

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
  }

  .menu-btn,
  .cancel-btn {
    display: none;
    /* Web görünümünde gizle */
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 102, 255, 0.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  }

  nav .navbar .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    display: block;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
  }

  .darkLight-searchBox .dark-light,
  .darkLight-searchBox .searchToggle {
    margin-right: 40px;
    color: #fff;
    display: flex;
    justify-content: center;
  }

  body.dark nav.darkLight-searchBox .dark-light i {
    color: #fff;
  }

  body.dark nav .navbar .menu {
    background-color: var(--nav-color);
  }

  nav .navbar {
    width: 90%;
  }

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: #002333;
    height: 100vh;
    max-width: 270px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
  }

  nav.sticky .navbar .menu {
    background: #002333;
  }

  .navbar.active .menu {
    left: 0px;
  }

  nav .navbar .menu a {
    font-size: 16px;
    padding: 7px 17px;
    display: flex;
    color: #fff;
    margin: 10px 0px;
    align-items: center;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: flex;
    outline: none;
  }

  /* Dark Mode Toggle */
  .dark-light {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0;
    /* Sağ kenar boşluğunu kaldırdık */
    background-color: rgba(0, 102, 255, 0.1);
  }

  .selected-lang {
    border-radius: 500px;
    background-color: #10215a;
    color: #fff;
    height: 30px;
    font-weight: 500;
    display: flex;
    width: 30px;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    transition: all 0.2s;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
  }
}

@media (max-width: 600px) {
  .wrapper {
    margin: 50px 10px;
  }

  .wrapper header {
    text-align: center;
  }

  .wrapper form {
    margin: 15px 20px;
  }

  form .dbl-field {
    flex-direction: column;
    margin-bottom: 0px;
  }

  form .dbl-field .field {
    width: 100%;
    height: 45px;
    margin-bottom: 20px;
  }

  form .message textarea {
    resize: none;
  }

  .recaptcha-button-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .g-recaptcha {
    justify-content: center !important;
  }

  .button-area {
    justify-content: center;
  }

  .button-area button {
    验收 width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-radius: 25px;
  }

  .button-area span {
    margin: 20px 0 0;
    text-align: center;
  }
}

@media (max-width: 500px) {
  nav .navbar .menu a {
    font-size: 16px;
    padding: 7px 17px;
    display: flex;
    color: #fff;
    margin: 10px 0px;
    align-items: center;
  }

  .container {
    margin: 0 10px;
  }

  .container .content {
    padding: 17px 17px;
  }

  nav .navbar .logo img {
    height: 60px;
    padding: 5px;
  }

  .toast-container {
    top: 70px;
    right: 10px;
  }

  .toast {
    min-width: 280px;
    max-width: calc(100vw - 40px);
    padding: 14px 16px;
    font-size: 14px;
  }

  /* Internet Connected */
  .popup {
    position: fixed;
    left: 50%;
    top: -25%;
    z-index: 999;
    visibility: hidden;
    width: 340px;
    border-radius: 5px;
    padding: 10px;
    background: #fff;
    display: flex;
    border-top: 3px solid #d0342c;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
    transition: all 0.25s ease;
  }

  .popup.show {
    top: 0;
    visibility: visible;
  }

  .popup.online {
    border-color: #2ecc71;
  }

  .popup .icon i {
    width: 40px;
    height: 40px;
    display: flex;
    color: #fff;
    margin-right: 0;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d0342c;
  }

  .popup.online .icon i {
    background: #2ecc71;
  }

  .popup .title {
    font-size: 16px;
  }

  .popup .desc {
    color: #474747;
    margin: 3px 0 10px;
    font-size: 14px;
  }

  .popup .reconnect {
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 4px;
    background: #5372f0;
  }

  .popup.online .reconnect {
    background: #bfbfbf;
    pointer-events: none;
  }
}

/* Footer */
body.dark footer {
  background: linear-gradient(135deg, #1a1b1f, #0d1117);
}

body.dark footer .bottom-details {
  background: linear-gradient(135deg, #0d1117, #010409);
}

footer {
  width: 100%;
  margin-top: 100px;
  background: linear-gradient(135deg, #013179, #002333);
  width: 100%;
  bottom: 0;
  left: 0;
}

footer .content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}

footer .content .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.content .top .logo-details img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.content .top .logo-details .logo_name {
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.content .top .media-icons a {
  display: inline-block;
  height: 40px;
  width: 40px;
  background: linear-gradient(135deg, #0066ff, #002333);
  margin: 0 4px 8px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
}

.content .top .media-icons a:hover {
  background: linear-gradient(135deg, #002333, #0066ff);
  transform: scale(1.1);
}

footer .content .link-boxes {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer .content .link-boxes .box {
  width: calc(100% / 5 - 10px);
}

.link-boxes .box .link_name {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}

.link-boxes .box .link_name::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: #fff;
  transition: all 0.3s ease;
}

.box .link_name:hover::before {
  width: 100%;
}

.link-boxes .box li {
  margin: 6px 0;
  list-style: none;
}

.link-boxes .box li a {
  color: #bfbfbf;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.link-boxes .box li a:hover {
  opacity: 1;
  text-decoration: underline;
}

footer .bottom-details {
  width: 100%;
  background: linear-gradient(135deg, #002333, #001122);
}

footer .bottom-details .bottom_text {
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
  font-size: 14px;
  font-weight: 300;
  color: #bfbfbf;
  text-decoration: none;
}

.bottom-details .bottom_text a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  footer .content .link-boxes {
    flex-wrap: wrap;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 3 - 10px);
  }
}

@media (max-width: 700px) {
  footer {
    position: relative;
  }

  footer .content .link-boxes .box {
    width: calc(100% / 2 - 10px);
  }
}

@media (max-width: 550px) {
  footer::before {
    top: 145px;
  }

  footer .content .top {
    flex-direction: column;
    align-items: center;
  }

  footer .content .link-boxes .box {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .wrapper {
    margin-top: 100px;
  }
}