@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: black;
  color: white;
}

header {
  margin-top: 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 9%;
  background-color: transparent;
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: blue;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
  text-shadow: 0 0 5px blue;
}

.logo:hover {
  transform: scale(1.1);
}

nav a {
  font-size: 1.8rem;
  color: white;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: blue;
  border-bottom: 3px solid blue;
}

@media(max-width:995px) {
  nav {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid blue;
    border-bottom: 3px solid blue;
    border-bottom-left-radius: 2rem;
    padding: 1rem solid;
    background-color: #161616;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: block;
  }

  nav a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  nav a:hover,
  nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid blue;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: black;
    padding: 15px;
    border-radius: 5px;
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.contact-section {
    margin-top: 100px;
    padding: 40px 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    border: 1px solid blue;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-section h1 {
    font-size: 3rem;
    color: cyan;
    text-align: center;
    margin-bottom: 20px;
}

/* Contact Details Box Styles */
.contact-details {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: 1px solid cyan;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.contact-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    border-color: blue;
}

.contact-details h2 {
    font-size: 2.4rem;
    color: cyan;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 10px cyan;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(0, 0, 255, 0.2);
    border-color: cyan;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.contact-item i {
    font-size: 2.5rem;
    color: cyan;
    min-width: 40px;
    text-align: center;
    text-shadow: 0 0 10px cyan;
}

.contact-item div h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item div p {
    font-size: 1.4rem;
    color: #ccc;
    margin: 0;
    word-break: break-all;
}

.contact-item div a {
    font-size: 1.4rem;
    color: #ccc;
    margin: 0;
    word-break: break-all;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item:hover div p {
    color: cyan;
}

.contact-item:hover div a {
    color: cyan;
    text-shadow: 0 0 5px cyan;
}

/* Responsive Design for Contact Details */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-details {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .contact-details h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 12px;
    }
    
    .contact-item i {
        font-size: 2rem;
    }
    
    .contact-item div h3 {
        font-size: 1.4rem;
    }
    
    .contact-item div p {
        font-size: 1.2rem;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}
.form-group:hover {
    background-color: rgba(0, 0, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 255, 0.5);
    transform: scale(1.02);
    transition: 0.3s ease;
}

.form-group:focus-within {
    background-color: transparent;
}
label {
    font-size: 1.6rem;
    color: turquoise;
    font-weight: 600;
    text-shadow: 0 0 5px #0000FF;
}

input, textarea {
    padding: 10px;
    font-size: 1.4rem;
    border: 1px solid cyan;
    border-radius: 5px;
    background-color: #444;
    color: white;
}

input:focus, textarea:focus {
    border-color: #0000FF;
    outline: none;
    box-shadow: 0 0 10px #0000FF;
    background-color: transparent;
    color: white;
    transition: background-color 0.3s ease;
    transform: scale(1.02);
    transition: 0.3s ease;
}

.submit-btn {
    padding: 10px;
    font-size: 1.6rem;
    color: white;
    background-color: cyan;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 0 10px #0000FF;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #0000FF;
}

.submit-btn:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 200px #0000FF;
    transform: scale(1.05);
    transition: 0.3s ease;
}
