/* ================= GLOBAL RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle, #020024 0%, #090979 35%, #00d4ff 100%);
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(to right, #1a1a1a, #0d0d0d);
  padding: 10px 20px;
  text-align: center;
  border-bottom: 3px solid #00bcd4;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:5px;
  flex-wrap: wrap;
  position: relative;
}

.header-top::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: conic-gradient(from 0deg,
      rgba(0, 255, 200, 0.15),
      rgba(0, 255, 255, 0.05),
      transparent,
      rgba(0, 255, 200, 0.1));
  animation: spin 5s linear infinite;
  z-index: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000000;
}

header h1 {
  color: #a8adad;
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
 
}

header p {
  color: #b5b5b5;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 12px;
   text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
  z-index: 1;
   animation: fadeInText 3s ease-in-out, floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ================= NAVIGATION ================= */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 6px 30px;
  background: radial-gradient(circle, #020024 0%, #090979 35%, #00d4ff 100%);

  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: background 1.5s ease;
  
}

nav:hover {
    background: radial-gradient(circle at bottom right, #010303 0%, #2a3d3b 100%);
}

nav a {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease, background 0.3s ease;
    padding: 5px 8px;
    border-radius: 6px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: radial-gradient(circle, #020024 0%, #090979 35%, #00d4ff 100%);
    transition: width 0.3s ease;
}

nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

nav a:hover::after {
    width: 100%;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    gap: 20px;
    padding: 60px 20px;
    text-align: center;
    min-height: 80vh;
    background: radial-gradient(circle at top, #0d0d0d 0%, #000 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 300%;
    background: conic-gradient(from 0deg,
            rgba(2, 24, 24, 0.733),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
    animation: spin 15s linear infinite;
    z-index: 0;
}

.contact-section h2,
.contact-section h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
    z-index: 1;
}

.contact-section p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 255, 230, 0.3);
    animation: fadeInText 3s ease-in-out, sway 3s ease-in-out infinite;
}

@keyframes sway {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.contact-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    background: radial-gradient(circle at bottom right, #010303 0%, #2a3d3b 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.contact-buttons button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00d4ff55, 0 0 30px #00d4ff33;
    background: conic-gradient(from 0deg,
            rgba(2, 22, 15, 0.705),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
}

/* ======= Layout container ======= */
.contact-container {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 2;
}

/* ======= Form styling ======= */
.contact-container form {
    position: relative;
    z-index: 10;
    min-width: 500px;

    background: conic-gradient(from 0deg,
            rgba(0, 255, 200, 0.15),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
    padding: 30px;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.1);
    backdrop-filter: blur(6px);
    text-align: center;
}


.contact-container input[type="text"],
.contact-container input[type="email"],
.contact-container textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    /* background: #1a1a1a; */
    background: conic-gradient(from 0deg,
            rgba(156, 158, 158, 0.76),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 6px rgba(0, 212, 255, 0.05);
}

.contact-container input[type="text"]:focus,
.contact-container input[type="email"]:focus,
.contact-container textarea:focus {
    background: conic-gradient(from 0deg,
            rgba(0, 255, 200, 0.15),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
    border-color: rgba(0, 255, 200, 0.5);
    box-shadow: 0 0 8px #01221ff8, 0 0 20px #00d4ff55;
    text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
    z-index: 1;
    outline: none;
}

/* Submit button styling */
.contact-container input[type="submit"] {
     background: conic-gradient(from 0deg,
            rgba(0, 255, 200, 0.15),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
    color: white;
    font-weight: 700;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
     transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}




/* Hover + focus for button */
.contact-container input[type="submit"]:hover,
.contact-container input[type="submit"]:focus {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00d4ff55, 0 0 30px #00d4ff33;
    background: conic-gradient(from 0deg,
            rgba(2, 22, 15, 0.705),
            rgba(0, 255, 255, 0.05),
            transparent,
            rgba(0, 255, 200, 0.1));
}

/* Optional: better textarea resizing */
.contact-container textarea {
    resize: vertical;
    min-height: 120px;
    
}


/* ======= Right-side image styling ======= */
.contact-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.contact-image img {
    width: 100%;
    max-width: 400px;
    transition: transform 0.6s ease;
    filter: drop-shadow(0 0 25px #00ffcc44);
}

.contact-image img:hover {
    transform: scale(1.05);
}

.status {
    color: #0f0;
    font-weight: 600;
    font-size: 1rem;
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status .dot {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00aa;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* ======= Responsive ======= */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-image img {
        max-width: 320px;
    }
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 25px;
  /* background-color: #101010; */
    background: conic-gradient(from 0deg,
      rgba(0, 255, 200, 0.15),
      rgba(0, 255, 255, 0.05),
      transparent,
      rgba(0, 255, 200, 0.1));
  font-size: 0.9rem;
  color: #777;
  border-top: 2px solid #1f1f1f;
}
.footer {
  background-color: #0c0c0c;
  color: #ccc;
  padding: 60px 20px 20px;
  text-align: center;
  
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
 
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
  margin-bottom: 15px;
  z-index: 1;
  justify-content: center;
  
}

.footer-logo img {

  height: 40px;
  width: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 200, 0.6));
}


.footer-section h3, .footer-section h4 {
  font-size: 20px;
  color: white;
    text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
    z-index: 1;
  margin-bottom: 15px;
}

.footer-section p {
    font-size: 1.1rem;
    color: #ccc;
    
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    opacity: 0.9;
    text-shadow: 0 0 5px rgba(0, 255, 230, 0.3);
    animation: fadeInText 3s ease-in-out, sway 3s ease-in-out infinite;
}

@keyframes sway {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: white;
    text-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
    z-index: 1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color:  rgba(0, 255, 200, 0.5);
}

.footer-section .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.footer-section .social-icons img {
  width: 25px;
  height: 25px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-section .social-icons img:hover {
  transform: scale(1.2);
  filter: brightness(0) invert(0.7) sepia(1) hue-rotate(160deg);
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 0.9rem;
  color: #777;
}

.contact a{
text-decoration: none;
color: white;
}

@media (max-width: 768px) {
   .header-top{
    gap:2px;
    line-height: 0.9;
  }
  .header-top h1{
    font-size:2rem;
  }
   header p{
    font-size: 0.9rem;
   }

  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
.hero h2{
  margin-top:20px;
  font-size: 2rem;
}
  .hero p{
    max-width: fit-content;
  }
  .hero ul{
    display: flex;
    flex-direction: column;
     align-items: center;
    gap: 10px;
  }
  .contact-container form {
    min-width: unset;
    width: 80%;
    padding: 20px;
    margin-right: 200px;
  }
  .contact-image
  {
   
    display:flex;
    align-items: center;
    justify-content: center;
    margin-right: 130px;
  }
}