/* Contact Page Specific Styles */

/* Contact Hero Section */
#contact-hero {
  height: 100vh;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

/* Hero Background with Image */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Hero Image Background */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../contact us bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.6;
}

/* Image overlay for better text readability */
.hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 35, 0.7) 0%, rgba(26, 26, 46, 0.6) 25%, rgba(22, 33, 62, 0.5) 50%, rgba(15, 52, 96, 0.4) 75%, rgba(83, 52, 131, 0.3) 100%);
  z-index: 1;
}

/* Hero Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
  z-index: 2;
}

/* Hero Grid */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 123, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: 2;
}

#contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,94,87,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #00a2ff, #00ff88, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Fallback for browsers that don't support gradient text */
  color: #00a2ff;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

/* Floating Contact Icons Animation */
.floating-contact-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.floating-contact-icons i {
  position: absolute;
  font-size: 2.5rem;
  color: rgba(0, 162, 255, 0.8);
  animation: float 8s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(0, 162, 255, 0.5);
}

.icon-1 { top: 15%; left: 8%; animation-delay: 0s; }
.icon-2 { top: 25%; right: 12%; animation-delay: 1s; }
.icon-3 { top: 55%; left: 15%; animation-delay: 2s; }
.icon-4 { top: 65%; right: 20%; animation-delay: 3s; }
.icon-5 { top: 35%; left: 85%; animation-delay: 4s; }
.icon-6 { top: 75%; left: 75%; animation-delay: 5s; }
.icon-7 { top: 45%; left: 5%; animation-delay: 6s; }
.icon-8 { top: 85%; right: 8%; animation-delay: 7s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-25px) rotate(180deg) scale(1.1); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(0, 123, 255, 0.6)); }
to { filter: drop-shadow(0 0 30px rgba(0, 255, 0, 0.9)); }
}

/* Contact Content Section */
#contact-content {
  background: #0f0f0f;
  padding: 4rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Form Section */
.contact-form-section {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 25px;
  padding: 3rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(0, 123, 255, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-form-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.form-header p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

/* Contact Form */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: #1a1a1a;
  border: 2px solid rgba(0, 123, 255, 0.3);
  border-radius: 15px;
  color: #e0e0e0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
  background: #1a1a1a;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 2.5rem;
  color: #007bff;
  font-size: 1.1rem;
}

.form-group textarea + i {
  top: 2rem;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #007bff, #00ff00);
  border: none;
  border-radius: 15px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Contact Information Section */
.contact-info-section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-info-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.info-header {
  text-align: center;
  margin-bottom: 3rem;
}

.info-header h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.info-header p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

/* Contact Methods */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 123, 255, 0.3);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 123, 255, 0.6);
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
}

.method-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #007bff, #00ff00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.method-content h3 {
  color: #007bff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.method-content p {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Social Links */
.social-links {
  text-align: center;
  margin-top: 3rem;
}

.social-links h3 {
  color: #007bff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff, #00ff00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.5);
}

/* FAQ Section */
.faq-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.faq-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 3rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 123, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 123, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 123, 255, 0.15);
}

.faq-question h3 {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin: 0;
}

.faq-question i {
  color: #007bff;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
  
  .floating-contact-icons i {
    font-size: 2rem;
  }
  
  .contact-form-section {
    padding: 2rem;
  }
  
  .faq-question {
    padding: 1rem 1.5rem;
  }
  
  .faq-answer p {
    padding: 0 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
  }
  
  .form-group i {
    font-size: 1rem;
  }
  
  .social-icons {
    gap: 1rem;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Enhanced hover effects */
.form-group:hover input,
.form-group:hover select,
.form-group:hover textarea {
  border-color: rgba(0, 123, 255, 0.5);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} 