* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(135deg, #151515, #1c1c1c);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  overflow: auto !important;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  margin-top: 56px;
}
     .contact-container.blurred {
  filter: blur(3px);
  opacity: .9;
}

/* === Contact Info === */
.contact-info {
  padding: 20px;
  margin-top: 85px;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #ccc;
}

.contact-info b {
  color: #fff;
}

.contact-info .social {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.contact-info .social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #666;
  transition: 0.3s;
  color: #fff;
  text-decoration: none;
}

.contact-info .social a:hover {
  background: #009ad2;
  border-color: #009ad2;
}

/* === Contact Form === */
.contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-form p {
  color: #bbb;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 15px;
  transition: 0.3s;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.error-msg {
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none;
}

/* === Floating Placeholder === */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  transform-origin: left;
}

.contact-form input:focus::placeholder,
.contact-form input:not(:placeholder-shown)::placeholder,
.contact-form textarea:focus::placeholder,
.contact-form textarea:not(:placeholder-shown)::placeholder {
  transform: translateY(-14px) scale(0.85);
  color: #bbb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

/* === Button === */
.contact-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #009ad29f, #009ad2d3);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: scaleX(0.98);
  background: linear-gradient(90deg, #009ad2b5, #009ad295);
}

/* === Loader === */
.loader-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}
.loader {
  width: 60px; height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #009ad2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
.loader-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* === Thank You Overlay === */
.thankyou-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}
.thankyou-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  padding: 80px;
  border-radius: 16px;
  text-align: center;
  max-width: 750px;
  width: 90%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  animation: scaleIn 0.4s ease;
}
.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.thankyou-card h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 15px;
}
.thankyou-card p { color: #ddd; margin-bottom: 25px; line-height: 1.6; }
.thankyou-card #closeThankyou {
  max-width: 300px;
  width: 90%;
  padding: 16px 24px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #009ad29f, #009ad2d3);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.3px;
  cursor: pointer;
  transition: 0.3s;
}
.backToHome {
  background-color: transparent;
  border: none;
  padding: 16px;
  text-decoration: none;
}
.backToHome a {
  text-decoration: none;
  color: white;
  font-size: 15px;
}
.backToHome a:hover {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.732);
}
.thankyou-card #closeThankyou:hover {
  transform: scaleX(.98);
  background: linear-gradient(90deg, #009ad2b5, #009ad295);
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.thankyou-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* === RESPONSIVE STYLES === */

/* Tablets */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .contact-info, .contact-form {
    padding: 20px;
  }

  .contact-info h2 {
    font-size: 2rem;
    text-align: center;
  }

  .contact-form h3 {
    text-align: center;
    font-size: 1.8rem;
  }

  .contact-info .social {
    justify-content: center;
  }
}

/* Mobile Devices */
@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info h2 {
    font-size: 1.8rem;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .contact-form,
  .contact-info {
    padding: 18px;
  }

  .contact-form button {
    font-size: 0.9rem;
    padding: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 12px;
  }

  .thankyou-card {
    padding: 40px 20px;
    max-width: 90%;
  }

  .thankyou-card h1 {
    font-size: 1.5rem;
  }

  .thankyou-card p {
    font-size: 0.9rem;
  }

  .thankyou-card #closeThankyou {
    padding: 12px 18px;
    font-size: 14px;
  }

  .contact-info .social a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* Extra Small Screens */
    @media (max-width: 784px) and (min-width: 320px) {
    .right .button {
       display: none;
    }

@media (max-width: 560px) and (min-width: 320px) {
  nav .hambuger {
    padding: 10px;
}
  nav .center .logo-icon {
    width: 135px;
}
  nav .right .learnMoreBtn {
      padding: 14px 17px;
  }
}

@media (max-width: 400px) {
  .contact-info h2 {
    font-size: 1.6rem;
  }

  .contact-form h3 {
    font-size: 1.3rem;
  }

  .thankyou-card {
    padding: 30px 15px;
  }
}

@media (max-width: 499px) and (min-width: 320px) {
.navbar .left,
.navbar .right {
  padding: 0px 10px !important;
}
}
