.page-header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 50px 20px;
  z-index: 1;
  background: #0f0f23; /* fallback color if image fails */
}

/*go to current page*/

.page-header .container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  background: linear-gradient(125deg, #ffffff, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
  transform: translateZ(0);
}

.page-header p {
  font-size: 1.5rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.page-header p:hover {
  transform: translateZ(5px);
  opacity: 1;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 10px rgba(139, 92, 246, 0.3), 0 0 20px rgba(59, 130, 246, 0.2); }
  100% { text-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 50px rgba(139, 92, 246, 0.4), 0 0 70px rgba(6, 182, 212, 0.3); }
}

/* ========== CONTACT SECTION — HERO-STYLE MODERN 3D GLASS ========== */

.contact-section {
  padding: 100px 20px;
  background: rgba(15, 15, 35, 0.5);
  position: relative;
  overflow: hidden;
}

.contact-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ========== CONTACT FORM ========== */

.contact-section {
  padding: 100px 20px;
  background: linear-gradient(160deg, rgba(52,30,116,0.8), rgba(30,30,60,0.6));
  position: relative;
  overflow: hidden;
}

.contact-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.5px;
  background: linear-gradient(125deg, #ffffff, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: titleGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 4px 20px rgba(59,130,246,0.2);
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 10px rgba(139,92,246,0.15), 0 0 20px rgba(59,130,246,0.1); }
  100% { text-shadow: 0 0 30px rgba(59,130,246,0.25), 0 0 50px rgba(139,92,246,0.2), 0 0 70px rgba(6,182,212,0.15); }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2), 0 6px 18px rgba(139,92,246,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.6s cubic-bezier(0.175,0.885,0.32,1.275);
  transform: translateZ(0);
}

.contact-form::before {
  content: '';
  position: absolute;
  top:-50%; left:-50%;
  width:200%; height:200%;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  z-index:0;
  opacity:0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.contact-form:hover {
  transform: translateY(-8px) scale(1.01) translateZ(20px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 20px 50px rgba(139,92,246,0.175), 0 12px 40px rgba(59,130,246,0.125);
}

.contact-form:hover::before { opacity:1; }

.contact-form h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #fff, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display:block;
  margin-bottom:0.6rem;
  font-size:1rem;
  font-weight:500;
  opacity:0.85;
  transition: opacity 0.3s ease;
}

.contact-form:hover .form-group label { opacity:1; }

.form-group input,
.form-group textarea {
  width:100%;
  padding:1rem;
  background: rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:16px;
  color:white;
  font-size:1rem;
  transition: all 0.4s ease;
  outline:none;
  resize:none;
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(139,92,246,0.6);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
  transform: translateZ(3px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color:white;
  border:none;
  font-size:1.1rem;
  padding:1.1rem 2.8rem;
  min-width:220px;
  border-radius:50px;
  display:inline-block;
  text-decoration:none;
  letter-spacing:0.5px;
  box-shadow: 0 6px 20px rgba(102,126,234,0.2), 0 12px 36px rgba(118,75,162,0.2), inset 0 -2px 0 rgba(0,0,0,0.1);
  position: relative;
  overflow:hidden;
  transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
  margin-top:1rem;
}

.contact-btn::before {
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition:left 0.8s ease;
  z-index:-1;
}

.contact-btn:hover::before { left:100%; }

.contact-btn:hover {
  transform: translateY(-4px) translateZ(10px);
  box-shadow: 0 10px 30px rgba(102,126,234,0.25), 0 16px 48px rgba(118,75,162,0.25), 0 0 20px rgba(139,92,246,0.2);
}

/* ========== CONTACT INFO ========== */
.contact-info {
  background: rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:32px;
  padding:3rem;
  box-shadow:0 12px 40px rgba(0,0,0,0.2),0 6px 18px rgba(139,92,246,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  transition: all 0.6s cubic-bezier(0.175,0.885,0.32,1.275);
  transform: translateZ(0);
}

.contact-info::before {
  content:'';
  position:absolute;
  top:-50%; left:-50%;
  width:200%; height:200%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  z-index:0;
  opacity:0;
  transition: opacity 0.5s ease;
}

.contact-info:hover { 
  transform: translateY(-8px) scale(1.01) translateZ(20px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(59,130,246,0.4);
  box-shadow:0 20px 50px rgba(59,130,246,0.175),0 12px 40px rgba(139,92,246,0.125);
}

.contact-info:hover::before { opacity:1; }

.contact-info h2 {
  font-size:2.5rem;
  font-weight:800;
  margin-bottom:2rem;
  background: linear-gradient(to right,#fff,#3b82f6);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.info-item {
  margin-bottom:2.5rem;
  padding-bottom:2rem;
  border-bottom:1px solid rgba(255,255,255,0.08);
  display:flex;
  flex-direction:column;
  transition: all 0.4s ease;
}

.info-item:last-child {
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:none;
}

.info-item:hover {
  transform: translateX(5px) translateZ(5px);
}

.info-item h3 {
  font-size:1.3rem;
  font-weight:700;
  margin-bottom:0.8rem;
  color:white;
  display:flex;
  align-items:center;
  gap:0.75rem;
}

.info-item h3 .icon {
  font-size:1.5rem;
  color:#3b82f6;
  transition: all 0.4s ease;
  background: rgba(59,130,246,0.15);
  width:36px;
  height:36px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.info-item:hover h3 .icon {
  transform: scale(1.2) rotate(15deg) translateZ(8px);
  color: #8b5cf6;
  box-shadow: 0 6px 18px rgba(59,130,246,0.15);
  background: rgba(139,92,246,0.1);
}

.info-item p {
  font-size:1.1rem;
  line-height:1.6;
  opacity:0.9;
  margin:0;
  transition: opacity 0.3s ease;
}

.info-item:hover p { opacity:1; }

/* ========== RESPONSIVE ========== */
@media (max-width:992px) {
  .contact-grid { grid-template-columns:1fr; gap:3rem; }
}

@media (max-width:768px) {
  .contact-section { padding:60px 20px; }
  .contact-form, .contact-info { padding:2rem 1.5rem; }
  .contact-form h2, .contact-info h2 { font-size:2rem; margin-bottom:1.5rem; }
  .info-item h3 { font-size:1.2rem; }
  .info-item h3 .icon { font-size:1.3rem; width:32px; height:32px; }
  .info-item p { font-size:1rem; }
  .contact-btn { padding:1rem 2.5rem; font-size:1rem; }
}