:root {
  --accent: #72a1de;
  --accent-alt: #727fde;
  --radius: 25px;
  --radius-sm: 12px;
  --transition: 0.2s ease;
  --bg-dark: #0a0a1a;
  --bg-card: rgba(15, 15, 30, 0.6);
  --bg-input: #14192dcc;
  --border-accent: rgba(114, 161, 222, 0.25);
  --border-accent-hover: var(--accent);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: whitesmoke;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-dark);
}

a {
  text-decoration: none;
}

.back-vid {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.vibrant-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001f7c38;
  z-index: -1;
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  background: rgba(20, 20, 30, 0.85);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(114, 161, 222, 0.55);
  z-index: 1000;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: auto;
}

.logo span {
  font-size: 22px;
  color: var(--accent);
  font-weight: 550;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(114, 127, 222, 0.4);
  transition: var(--transition);
}

.nav-links:hover {
  padding: 18px 30px;
  transform: translateY(6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(114, 161, 222, 0.5);
}

.nav-links li a {
  font-size: 16px;
  font-weight: 700;
  padding: 0 10px;
  color: white;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--accent);
}

.socials {
  position: absolute;
  right: 0;
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: lightgray;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.socials a:hover {
  background: var(--accent-alt);
  color: black;
  box-shadow: 0 0 15px rgba(114, 127, 222, 0.4);
  transform: translateY(-2.5px);
}

.contact-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px;
  z-index: 10;
}

.contact-container {
  max-width: 1100px;
  width: 100%;
}

.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #0f0f1e99;
  border: 2px solid rgba(114, 161, 222, 0.25);
  border-radius: var(--radius);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.info-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(114, 161, 222, 0.3);
}

.info-item i {
  font-size: 28px;
  color: var(--accent);
  min-width: 28px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: white;
}

.info-item p,
.info-item p a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  background: var(--bg-card);
  border: 2px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(5px);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  font-size: 15px;
  font-family: inherit;
  background: var(--bg-input);
  border: 1px solid rgba(114, 161, 222, 0.3);
  border-radius: var(--radius-sm);
  color: white;
  transition: var(--transition);
  outline: none;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(114, 161, 222, 0.3);
}

.form-group textarea {
  min-height: 150px;
}

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  padding: 16px 40px;
  border: 2px solid var(--accent-alt);
  border-radius: var(--radius-sm);
  background: rgba(114, 127, 222, 0.2);
  box-shadow: 0 0 10px rgba(114, 127, 222, 0.3);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.submit-btn:hover {
  background: var(--accent-alt);
  box-shadow: 0 0 20px rgba(114, 127, 222, 0.6);
}

.submit-btn i {
  font-size: 18px;
}


.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 0;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background: rgba(10, 10, 26, 0.97);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(114, 161, 222, 0.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 30px 25px;
  transition: right 0.3s ease;
}

.sidebar.open {
  right: 0;
}

.close-icon {
  font-size: 28px;
  cursor: pointer;
  color: white;
  align-self: flex-end;
}

.sidebar .nav-links {
  flex-direction: column;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 5px;
}

.sidebar .nav-links:hover {
  transform: none;
  padding: 0;
  box-shadow: none;
  border-color: transparent;
}

.sidebar .nav-links li a {
  font-size: 17px;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar .socials {
  position: static;
  justify-content: flex-start;
}



@media (max-width: 768px) {
  .contact-section {
    padding: 100px 20px 40px;
  }

  .contact-header h1 {
    font-size: 32px;
  }

  .contact-header p {
    font-size: 16px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 25px 20px;
  }
}

@media (max-width: 700px) {
  header {
    height: 50px;
  }

  header .nav-links,
  header .socials {
    display: none;
  }

  .contact-header h1 {
    font-size: 26px;
  }

  .info-item {
    padding: 18px;
    gap: 14px;
  }

  .menu-icon {
    display: block;
  }
  header .nav-links,
  header .socials {
    display: none;
  }
  header {
    height: 50px;
  }
  .logo h1 {
    font-size: 25px;
  }
}