/* Importing Fonts for CSS from Google Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html {
  scroll-behavior: smooth;
}

/* Global */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: repeating-linear-gradient(
    45deg,
    #1a1a1a,
    #1a1a1a 20px,
    #222 20px,
    #222 40px
  );
  color: white;
}

/* Container styling */
.container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Header container specific */
.header-container .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-container .header-text {
  flex: 1;
}

/* Headings */
h1, h2 {
  margin-top: 0;
}

/* Paragraphs */
p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Profile image */
.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Links */
a {
  color: #66ccff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.divider-gradient {
  height: 2px;
  background: linear-gradient(to right, transparent, #FF0000, transparent);
  border: none;
  margin: 2rem 0;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: 'Roboto', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #66ccff;
  background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  background: #66ccff;
  color: #1a1a1a;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #3399ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
  }

  .contact-form button {
    width: 100%;
  }
}

.success-message {
  color: green;
  font-weight: bold;
  margin-bottom: 15px;
}

.error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}



footer{
    text-align: center;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .header-container .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-img {
    width: 150px;
    height: 150px;
    margin-top: 1rem;
  }

  p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 0.5rem;
    padding: 1rem;
  }

  .header-container h1 {
    font-size: 1.6rem;
  }

  .header-container h2 {
    font-size: 1.3rem;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  p {
    font-size: 0.95rem;
  }
}
