.logo-container-fade {
  position: relative;
  width: 221px; /* Apne hisab se change karein */
  height: 75px;
}

.logo-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --- YAHAN SE CHANGES HAIN --- */

/* Pehla Logo: Ye 0s se 4s tak dikhega, fir fade ho jayega */
.img1 {
  animation: fadeLogo1 8s infinite ease-in-out;
}

/* Dusra Logo: Ye pehle chhupa rahega, fir 4s se 8s tak dikhega */
.img2 {
  animation: fadeLogo2 8s infinite ease-in-out;
}

/* Pehle logo ki smooth timing */
@keyframes fadeLogo1 {
  0%, 45% { opacity: 1; }  /* Shuruat me poora dikhega */
  50%, 95% { opacity: 0; } /* Dheere se gayab ho jayega */
  100% { opacity: 1; }     /* Wapas smooth aayega */
}

/* Dusre logo ki smooth timing (Theek pehle wale ke ulta) */
@keyframes fadeLogo2 {
  0%, 45% { opacity: 0; }  /* Shuruat me chhupa rahega */
  50%, 95% { opacity: 1; } /* Jab pehla gayab hoga, ye smoothly dikhega */
  100% { opacity: 0; }     /* Wapas smooth gayab ho jayega */
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Black transparent background */
  backdrop-filter: blur(5px);    /* Background ko blur karne ke liye */
  z-index: 9999;                 /* Taaki ye sabse upar dikhe */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* Onload Effect ka logic */
  opacity: 0;
  pointer-events: none;          /* Shuru me jab tak load na ho, click na ho */
  transition: all 0.5s ease-in-out;
}



/* Jab page load hoga, tab ye class active hogi JS ke zariye */
.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* 2. Contact Form Box Styling */
.contact-form-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* Form ka smooth scaling animation */
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Overlay show hote hi form thoda bada hoke pop karega */
.popup-overlay.show .contact-form-container {
  transform: scale(1);
}

/* 3. Close Button (X) Design */
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #ff3333; /* Hover karne par laal ho jayega */
}

/* Basic Fields Styling */
.contact-form-container h2 { margin-top: 0; color: #333; margin-bottom: 20px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: #666; font-size: 14px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 14px;
}
.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 12px;            /* Thoda extra space type karne ke liye */
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  
  /* --- FONT VISIBILITY FIXES --- */
  font-size: 16px !important;       /* Font size ko bada kiya taaki saaf dikhe */
  color: #222222 !important;       /* Font color ko pakka DARK BLACK/GRAY kiya */
  background-color: #ffffff !important; /* Background ko clear WHITE kiya */
  font-family: Arial, sans-serif;  /* Ek standard clean font set kiya */
}

/* Jab user box par click kare (Focus mode) tab bhi text dikhna chahiye */
.form-group input:focus, 
.form-group textarea:focus {
  border-color: #007bff;
  color: #222222 !important;       /* Type karte waqt bhi color black rahega */
  background-color: #ffffff !important;
  outline: none;
}
.submit-btn {
  width: 100%; padding: 12px; background-color: #007bff; color: white; border: none; border-radius: 6px; font-size: 16px; cursor: pointer; transition: background 0.3s;
}
.submit-btn:hover { background-color: #0056b3; }





.border-glow-wrapper {
  position: relative;
  width: fit-content;
  padding: 3px; /* Yeh border ki thickness banega */
  background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #ff007f);
  background-size: 400%;
  border-radius: 8px;
  animation: move-border 3s linear infinite;
}

.border-glow-btn {
  background: #111; /* Button ka andar ka color dark rakhein */
  color: white;
  padding: 12px 28px;
  font-size: 16px;
	 font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: block;
}

/* Border ghumane ki animation */
@keyframes move-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

