* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.containerz {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 0;
  position: relative;
}

.nav-links a:hover {
  color: #0066cc;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0066cc;
}

.nav-button {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-button:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  color: #0066cc;
}

.main-section {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 200px);
}

.text-main {
  flex: 1;
  min-width: 300px;
  background-color: #0066cc;
  color: white;
  padding: 40px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(0, 0, 102, 0.2);
}

.first h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.first p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact {
  margin: 20px 0;
}

.contact p {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.contact p:hover {
  transform: translateX(5px);
}

.contact i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

.container {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container h1 {
  margin-bottom: 30px;
  color: #333;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input {
  width: 18px;
  height: 18px;
}

.form-check label {
  font-size: 0.9rem;
}

.form-check label a {
  color: #0066cc;
  text-decoration: none;
}

button[type="submit"] {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  font-weight: bold;
  letter-spacing: 0.5px;
}

button[type="submit"]:hover {
  background-color: #0055aa;
  transform: translateY(-2px);
}

footer {
  background-color: #333;
  color: white;
  padding: 50px 20px;
  margin-top: 50px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content > div {
  flex: 1;
  min-width: 200px;
}

.footer-logo h1 {
  margin-bottom: 15px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.footer-content > div > p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #0066cc;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-icons i {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons i:hover {
  color: #fff;
  background-color: #0066cc;
  transform: translateY(-3px);
}

.main-section {
  animation: fadeIn 0.5s ease;
}


button:focus, a:focus, input:focus, textarea:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

@media screen and (max-width: 992px) {
  .main-section {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }
  
  .text-main, .container {
    width: 100%;
  }
  
  .social-icons {
    justify-content: flex-start;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    align-items: flex-start;
    z-index: 1000;
  }
  
  .nav-links.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .nav-links a {
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .nav-links button {
    margin-top: 10px;
    width: 100%;
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-content > div {
    width: 100%;
  }
  
  .footer-links, .footer-contact {
    margin-top: 20px;
  }
}

@media screen and (max-width: 576px) {
  .navbar {
    padding: 10px 0;
  }
  
  .containerz {
    width: 95%;
    padding: 0 10px;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .text-main, .container {
    padding: 25px 15px;
    border-radius: 8px;
  }
  
  .first h1 {
    font-size: 1.8rem;
  }
  
  .first p {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }
  
  .contact p {
    font-size: 0.9rem;
    gap: 10px;
  }
  
  .form-group input,
  .form-group textarea,
  button[type="submit"] {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .footer-logo h1 {
    font-size: 1.5rem;
  }
  
  .social-icons {
    justify-content: space-between;
  }
  
  .social-icons i {
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
  }
}


@media screen and (max-width: 350px) {
  .text-main, .container {
    padding: 20px 15px;
  }
  
  .first h1 {
    font-size: 1.5rem;
  }
  
  .container h1 {
    font-size: 1.3rem;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
  
  .form-check label {
    font-size: 0.8rem;
  }
  
  button[type="submit"] {
    padding: 10px 15px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


@media print {
  .navbar, footer, .social-icons, button[type="submit"] {
    display: none;
  }
  
  .main-section {
    display: block;
    padding: 0;
  }
  
  .text-main, .container {
    width: 100%;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  h1 {
    font-size: 18pt;
  }
}