/* General Styles */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  max-width: 100%;
  background-color: #000000; /* Default dark mode */
  color: #fff; /* Default dark mode text */
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.light-mode {
  background-color: #F3FDFF; /* Light mode background */
  color: #1D1F2C; /* Light mode text */
}

/* Navbar */
.navbar {
  padding: 15px 0; /* Reduced padding for mobile */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5); /* Dark mode default */
  transition: background-color 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9); /* Dark mode scrolled */
  padding: 10px 0;
}

body.light-mode .navbar {
  background-color: rgba(243, 253, 255, 0.5); /* Light mode default */
}

body.light-mode .navbar.scrolled {
  background-color: rgba(243, 253, 255, 0.9); /* Light mode scrolled */
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px; /* Reduced padding for mobile */
  flex-wrap: wrap;
  gap: 10px; /* Reduced gap for mobile */
}

.logo {
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.viskalogo {
  width: 120px;
  height: 120px;
  margin-right: 5px; /* Reduced margin for mobile */
}

.nav-middle {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.nav-links {
  border: 2px solid blueviolet;
  border-radius: 15px;
  background-color: transparent;
  backdrop-filter: blur(5px);
  transition: background-color 0.3s ease;
  list-style: none;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  justify-content: center;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: inherit; /* White in dark mode */
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 10px;
  transition: color 0.3s, background-color 0.3s;
  white-space: nowrap;
  margin: 0 5px; /* Reduced margin for mobile */
}

body.light-mode .nav-links {
  border-color: #1D1F2C;
}

body.light-mode .nav-links a {
  color: #1D1F2C;
}

.nav-links a:hover {
  color: white;
  background-color: blueviolet;
  border: 2px solid blueviolet;
}

.contact-btn {
  background-color: blueviolet;
  color: #000; /* Black in dark mode */
  padding: 8px 15px; /* Reduced padding for mobile */
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body.light-mode .contact-btn {
  color: #fff; /* White in light mode */
}

.contact-btn:hover {
  background-color: #efefed;
  transform: scale(1.05);
}

.arrow {
  margin-left: 5px;
  transition: transform 0.3s;
  display: inline-block;
}

.contact-btn:hover .arrow {
  transform: translateX(5px);
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px; /* Reduced for mobile */
  height: 25px; /* Reduced for mobile */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.menu-toggle span {
  width: 100%;
  height: 3px; /* Thinner for mobile */
  background: #fff; /* White in dark mode */
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

body.light-mode .menu-toggle span {
  background: #1D1F2C; /* Dark grey-blue in light mode */
}

.menu-toggle.active span:first-child {
  transform: translateY(11px) rotate(45deg); /* Adjusted for mobile */
  background: blueviolet;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-11px) rotate(-45deg); /* Adjusted for mobile */
  background: blueviolet;
}

.menu-toggle:hover span {
  background: #e0e0e0;
}

body.light-mode .menu-toggle:hover span {
  background: #6a0dad; /* Darker blueviolet in light mode */
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px; /* Reduced for mobile */
  height: 35px; /* Reduced for mobile */
  cursor: pointer;
}

.theme-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.theme-toggle .theme-icon {
  font-size: 20px; /* Reduced for mobile */
  color: #fff; /* White in dark mode */
  transition: color 0.4s ease, transform 0.4s ease;
}

.theme-toggle input:checked + .theme-icon {
  color: blueviolet; /* Blueviolet in light mode */
  transform: scale(1.1);
}

.theme-toggle input:checked + .theme-icon::before {
  content: "\f4f9"; /* bi-lightbulb-fill */
}

.theme-toggle:hover .theme-icon {
  color: #ddd; /* Light grey hover in dark mode */
}

body.light-mode .theme-toggle:hover .theme-icon {
  color: #6a0dad; /* Darker blueviolet hover in light mode */
}

/* Mobile Navigation Menu */
@media (max-width: 850px) {
  .navbar {
      padding: 10px 0; /* Further reduced for mobile */
  }
  .nav-container {
      padding: 0 5px; /* Further reduced padding */
      gap: 0px; /* Further reduced gap */
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }
  .menu-toggle {
      display: flex;
  }
  .nav-middle {
      position: fixed;
      top: 60px; /* Adjusted for smaller navbar height */
      left: 0;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      transform: translateY(-100%);
      opacity: 0;
      visibility: hidden;
      border-radius: 0 0 10px 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }
  body.light-mode .nav-middle {
      background-color: rgba(243, 253, 255, 0.95);
  }
  .nav-middle.active {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
  }
  .nav-links {
      flex-direction: column;
      padding: 15px;
      border: none;
      background: transparent;
      backdrop-filter: none;
      width: 100%;
  }
  .nav-links li {
      margin: 8px 0;
      width: 100%;
      text-align: center;
  }
  .nav-links a {
      font-size: 1rem; /* Reduced font size */
      padding: 10px 15px;
      color: #fff;
      display: block;
  }
  body.light-mode .nav-links a {
      color: #1D1F2C;
  }
  .nav-links a:hover {
      background-color: blueviolet;
      color: #fff;
      border-radius: 20px;
  }
  .viskalogo {
      width: 60px; /* Reduced for mobile */
      height: 60px;
  }
  .contact-btn {
      padding: 6px 12px;
      font-size: 0.8rem;
  }
  .logo {
      font-size: 1rem; /* Reduced for mobile */
  }
}

@media (max-width: 480px) {
  .navbar {
      padding: 8px 0; /* Minimum padding for very small screens */
  }
  .nav-container {
      padding: 0 5px;
      gap: 0px;
  }
  .menu-toggle {
      width: 30px; /* Further reduced */
      height: 20px; /* Further reduced */
  }
  .menu-toggle span {
      height: 2.5px; /* Thinner for very small screens */
  }
  .menu-toggle.active span:first-child {
      transform: translateY(9px) rotate(45deg); /* Adjusted for smaller size */
  }
  .menu-toggle.active span:last-child {
      transform: translateY(-9px) rotate(-45deg); /* Adjusted for smaller size */
  }
  .viskalogo {
      width: 50px; /* Further reduced */
      height: 50px;
  }
  .contact-btn {
      padding: 5px 10px; /* Further reduced */
      font-size: 0.7rem;
  }
  .theme-toggle {
      width: 30px; /* Further reduced */
      height: 30px;
  }
  .theme-toggle .theme-icon {
      font-size: 18px; /* Further reduced */
  }
}

@media (min-width: 851px) {
  .menu-toggle {
      display: none;
  }
  .nav-middle {
      position: static;
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
      background-color: transparent;
  }
  .nav-links {
      padding: 15px 20px;
  }
}

/* Contact Main (unchanged from your original, with light/dark mode) */
.container1 {
  position: relative;
  top: 150px;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  background-color: black; /* Dark mode */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 200px;
}

body.light-mode .container1 {
  background-color: #F3FDFF; /* Light mode */
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: black; /* Dark mode */
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

body.light-mode .form {
  background-color: #F3FDFF; /* Light mode */
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.2);
}

.contact-form {
  background: #000428;
  background: -webkit-linear-gradient(to left, blueviolet, black);
  background: linear-gradient(to left, blueviolet, black);
  position: relative;
}

body.light-mode .contact-form {
  background: #F3FDFF;
  background: -webkit-linear-gradient(to left, blueviolet, #F3FDFF);
  background: linear-gradient(to left, blueviolet, #F3FDFF);
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: #e74c3c; /* Red in dark mode */
}

body.light-mode .contact-info .title {
  color: blueviolet; /* Blueviolet in light mode */
}

.text {
  color: white; /* Dark mode */
  margin: 1.5rem 0 2rem 0;
}

body.light-mode .text {
  color: #1D1F2C; /* Light mode */
}

.information {
  display: flex;
  color: white; /* Dark mode */
  margin: 0.7rem 0;
  align-items: center;
  font-size: 0.95rem;
}

body.light-mode .information {
  color: #1D1F2C; /* Light mode */
}

.information i {
  color: #e74c3c; /* Red in dark mode */
}

body.light-mode .information i {
  color: blueviolet; /* Blueviolet in light mode */
}

.contact-info:before {
  border: 22px solid blueviolet;
}

body.light-mode .contact-info:before {
  border: 22px solid #1D1F2C;
}

.big-circle {
  background: linear-gradient(to bottom, blueviolet, black);
}

body.light-mode .big-circle {
  background: linear-gradient(to bottom, blueviolet, #F3FDFF);
}

.big-circle:after {
  background-color: black; /* Dark mode */
}

body.light-mode .big-circle:after {
  background-color: #F3FDFF; /* Light mode */
}

.title {
  color: #fff; /* Dark mode */
}

body.light-mode .title {
  color: #1D1F2C; /* Light mode */
}

.input {
  border: 2px solid #fafafa;
  color: #fff;
}

body.light-mode .input {
  border: 2px solid #1D1F2C;
  color: #1D1F2C;
}

.btn {
  background-color: #fff;
  border: 2px solid #fafafa;
  color: #e74c3c;
}

body.light-mode .btn {
  background-color: #1D1F2C;
  border: 2px solid #1D1F2C;
  color: #F3FDFF;
}

.btn:hover {
  background-color: transparent;
  color: #fff;
}

body.light-mode .btn:hover {
  background-color: transparent;
  color: #1D1F2C;
}
body.light-mode .footer-section ul li a{
  color:#000;
}
/* Footer (unchanged) */
  
  
  
  /* contact main */
  
  .container1 {
    position: relative;
    top: 150px;
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    background-color: black;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 200px;
  }
  
  .form {
    width: 100%;
    max-width: 820px;
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    background: #000428;
    background: -webkit-linear-gradient(to left, blueviolet, black);
    background: linear-gradient(to left, blueviolet, black);
    position: relative;
  }
  
  .circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, black);
    position: absolute;
  }
  
  .circle.one {
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
  }
  
  .circle.two {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
  }
  
  .contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #000428;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
  }
  
  form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
  }
  
  .title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
  }
  
  .input-container {
    position: relative;
    margin: 1rem 0;
  }
  
  .input {
    width: 88%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: 0.3s;
  }
  
  textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 5px;
    resize: none;
    overflow-y: auto;
  }
  
  .input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
  }
  
  .input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
  }
  
  .btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: #e74c3c;
    line-height: 1;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
    width: 100%;
  }
  
  .btn:hover {
    background-color: transparent;
    color: #fff;
  }
  
  .input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
  }
  
  .input-container span:before,
  .input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: #e74c3c;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .input-container span:before {
    left: 50%;
  }
  
  .input-container span:after {
    right: 50%;
  }
  
  .input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
  }
  
  .input-container.focus span:before,
  .input-container.focus span:after {
    width: 50%;
    opacity: 1;
  }
  
  .contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
  }
  
  .contact-info .title {
    color: #e74c3c;
  }
  
  .text {
    color: white;
    margin: 1.5rem 0 2rem 0;
  }
  
  .information {
    display: flex;
    color: white;
    margin: 0.7rem 0;
    align-items: center;
    font-size: 0.95rem;
  }
  
  .information i {
    color: #e74c3c;
  }
  
  .icon {
    width: 28px;
    margin-right: 0.7rem;
  }
  
  
  
  .contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid blueviolet;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.5;
  }
  
  .big-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(to bottom, blueviolet, black);
    bottom: 50%;
    right: 50%;
    transform: translate(-40%, 38%);
  }
  
  .big-circle:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    background-color: black;
    border-radius: 50%;
    top: calc(50% - 180px);
    left: calc(50% - 180px);
  }
  
  .square {
    position: absolute;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(181%, 11%);
    opacity: 0.2;
  }
  
  @media (max-width: 850px) {
    .form {
      grid-template-columns: 1fr;
    }
  
    .contact-info:before {
      bottom: initial;
      top: -75px;
      right: 65px;
      transform: scale(0.95);
    }
  
    .contact-form:before {
      top: -13px;
      left: initial;
      right: 70px;
    }
  
    .square {
      transform: translate(140%, 43%);
      height: 350px;
    }
  
    .big-circle {
      bottom: 75%;
      transform: scale(0.9) translate(-40%, 30%);
      right: 50%;
    }
  
    .text {
      margin: 1rem 0 1.5rem 0;
    }
  
    .social-media {
      padding: 1.5rem 0 0 0;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 1.5rem;
    }
  
    .contact-info:before {
      display: none;
    }
  
    .square,
    .big-circle {
      display: none;
    }
  
    form,
    .contact-info {
      padding: 1.7rem 1.6rem;
    }
  
    .text,
    .information,
    .social-media p {
      font-size: 0.8rem;
    }
    
    .title {
      font-size: 1.15rem;
    }
  
    .social-icons a {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  
    .icon {
      width: 23px;
    }
  
    .input {
      padding: 0.45rem 1.2rem;
    }
  
    .btn {
      padding: 0.45rem 1.2rem;
    }
  }
  
  