/* --- COLORS & BASE --- */
:root {
  --primary: #ae00ff;
  --secondary: #ffdd1b;
  --dark: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;
  --pinky: #ff009d;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-bg);
  padding-top: 80px; /* Space for fixed header */
}


/* Header styling */
.header {
  background: #fff;
  border-bottom: 2px solid #ddd;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

/* Container */
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: fit-content;
  padding: 10px 30px; 
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
} 

/* Logo */
.logo img {
  height: 50px;
  width: auto;
  display: block;
  animation: logoFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: opacity, transform;
}

@keyframes logoFadeIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Navigation Links & Icons */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none; /* Mobile Hidden */
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 70px;
  right: 0;
  width: 220px;
  border-left: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav ul.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  display: flex;           /* Added for icon alignment */
  align-items: center;     /* Centers icon and text vertically */
  gap: 12px;               /* Precise spacing between icon and text */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Specific Icon Styling */
nav ul li a i {
  font-size: 18px;
  width: 20px;            /* Fixed width so text aligns perfectly */
  text-align: center;
  color: #ae00ff;         /* Brand color for icons */
  transition: transform 0.3s ease;
}

/* Hover Effects */
nav ul li a:hover {
  color: #000;
  background-color: rgba(174, 0, 255, 0.05);
}

nav ul li a:hover i {
  transform: scale(1.2);  /* Subtle icon pop on hover */
}

/* Hamburger Styles */
.hamburger {
  display: block;
  background: #f700ff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 4px;
}

/* Desktop View: Horizontal Navigation */
@media (min-width: 1400px) {
  .hamburger { display: none; }

  nav ul {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    border: none;
    opacity: 1;
    transform: none;
  }

  nav ul li a {
    padding: 10px 15px;
  }

  /* Underline effect for desktop */
  nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 15px;
    background-color: #ae00ff;
    transition: width 0.3s ease;
  }

  nav ul li a:hover::after {
    width: calc(100% - 30px);
  }
}


/* --- CONTACT HERO --- */
.contact-hero {
  text-align: center;
  padding: 60px 20px;
  background: white;
}

.contact-hero h1 { font-size: 3rem; color: var(--dark); margin-bottom: 10px; }
.subtitle { color: var(--pinky); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.hero-desc { max-width: 700px; margin: 20px auto; line-height: 1.6; color: #666; }

/* --- CONTACT LAYOUT --- */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.contact-info h2 { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.3; }
.info-details { margin-top: 40px; }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.info-item i { 
  background: var(--pinky); 
  width: 50px; height: 50px; 
  display: flex; align-items: center; justify-content: center; 
  border-radius: 50%; color: var(--dark); font-size: 1.2rem;
  color: var(--white);
}

/* --- ADVANCED FORM DESIGN --- */
.form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-group { position: relative; margin-bottom: 30px; }

.input-group input, .input-group textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid #ddd;
  font-size: 16px;
  background: transparent;
  transition: border-color 0.3s;
  outline: none;
}

/* Floating Label Logic */
.input-group label {
  position: absolute;
  top: 12px;
  left: 0;
  color: #999;
  pointer-events: none;
  transition: 0.3s ease all;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
  top: -15px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

.input-group input:focus, .input-group textarea:focus {
  border-bottom: 2px solid var(--primary);
}

.submit-btn {
  background: var(--pinky);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #8e00d1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(174, 0, 255, 0.3);
}

/* --- FOOTER --- */
.footer { background: var(--primary); color: white; padding: 40px 20px; text-align: center; }
.social-links { margin-bottom: 20px; }
.social-links a { 
  color: white; font-size: 1.5rem; margin: 0 15px; 
  transition: 0.3s; text-decoration: none;
}
.social-links a:hover { color: var(--secondary); transform: scale(1.2); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .contact-container { grid-template-columns: 1fr; }
  .input-row { grid-template-columns: 1fr; }
}