/* Reset base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;

}

/* Full-width responsive video container */
.video-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* Main Section */
.contact-section {
  background-image: url('bimg4.jpg'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.911); /* Dark overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.content {
  max-width: 900px;
  text-align: center;
  color: white;
}

.content h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.description {
  color: #d32626;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Contact Cards */
.contact-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 30px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.1rem;
}

.card i {
  font-size: 1.3rem;
}

/* Footer Section */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

/* Outline around whole section */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 30px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  position: relative;   /* required for corner thread */
  overflow: hidden;
}

/* Icon style */
.social-icons a {
  background-color: #fd1900;
  color: white;
  font-size: 38px;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-100px) scale(0.5) rotate(-20deg);

   text-decoration: none;  /* removes underline */
 
}

/* Hover effect */
.social-icons a:hover {
  background-color: #c0392b;
  transform: scale(1.1);
}
.social-icons a.animate {
  animation: flyIn 1.5s ease-in-out forwards,
             bounceOnce 0.6s ease-in-out 1.6s;
}

@keyframes bounceOnce {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  30%  { transform: translateY(-8px) scale(1.05) rotate(-3deg); }
  60%  { transform: translateY(4px) scale(0.98) rotate(2deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}

/* Animate each icon with delay */
.social-icons a:nth-child(1) { animation-delay: 0.2s; }
.social-icons a:nth-child(2) { animation-delay: 0.4s; }
.social-icons a:nth-child(3) { animation-delay: 0.6s; }
.social-icons a:nth-child(4) { animation-delay: 0.8s; }
.social-icons a:nth-child(5) { animation-delay: 1.0s; }
.social-icons a:nth-child(6) { animation-delay: 1.2s; }

/* Flying in + dance loop */
@keyframes flyIn {
  0% {
    opacity: 0;
    transform: translateY(-100px) scale(0.5) rotate(-20deg);
  }
  40% {
    opacity: 1;
    transform: translateY(20px) scale(1.1) rotate(8deg);
  }
  70% {
    opacity: 1;
    transform: translateY(-10px) scale(0.95) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}
/* Extra spacing for bigger screens */
@media (min-width: 992px) {
  .social-icons {
    gap: 50px;   /* increase spacing between icons */
  }
}



#openFormBtn {
    background-color: #fd1900; /* Dark red */
    color: white;              /* White text */
    
    font-size: 35px;
    padding: 25px 95px;
    border: none;
    border-radius: 12px;
    cursor: pointer;           /* Pointer on hover */
    font-weight: bold;         /* Bold text */
    display: block;            /* Block element for centering */
    margin: 40px auto;         /* Center + space above & below */
  }

  #openFormBtn:hover {
    background-color: #a30000; /* Brighter red on hover */
  }
@media (max-width: 600px) {
  /* Form Open Button */
  #openFormBtn {
    font-size: 24px;          /* smaller text */
    padding: 18px 40px;       /* reduce padding */
    max-width: 80%;           /* restrict width */
    margin: 20px auto;        /* keep centered */
    height: auto;             /* allow natural height */
  }
  .social-icons a {
    font-size: 26px;          /* smaller icons */
    width: 45px;
    height: 45px;
    border-radius: 10px;
    flex-shrink: 0;           /* prevent icons from squishing */
  }
  
}
/* Popup modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 300px;
    text-align: left;
    border-radius: 8px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    box-sizing: border-box;
}

.closeBtn {
    float: right;
    font-size: 20px;
    cursor: pointer;
}

/* Submit Button Styling */
form button[type="submit"],
form input[type="submit"] {
  background-color: #e74c3c;    /* red background */
  color: white;                 /* white text */
  border: none;                 /* no default border */
  padding: 12px 25px;           /* size */
  font-size: 18px;
  border-radius: 12px;          /* rounded corners */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover,
form input[type="submit"]:hover {
  background-color: #c0392b;    /* darker red on hover */
}
.promo-text {
  text-align: center;
  color: rgb(8, 8, 8);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 30px auto;
  max-width: 800px;
  padding: 0 20px;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(252, 248, 248, 0.842);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .promo-text {
    font-size: 1rem;
    margin: 20px auto;
  }
}
/* Thin black footer */
.thin-footer {
  background: rgba(0, 0, 0, 0.85);
  color: white;
  text-align: center;
  font-size: 14px;
  padding: 8px 0;
}
.thin-footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}
.thin-footer a:hover {
  color: #fd1900; /* red hover */
}

/* Policy Modal */
.policy-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
 
  overflow-y: auto;
  padding: 40px 20px;
}
.policy-content {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.911), rgba(0, 0, 0, 0.918)),
    url('bimg4.jpg') center/cover no-repeat;

  color: white;
  border: 2px solid #fd1900;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  margin: 50px auto;
  padding: 30px;
  position: relative;
  text-align: left;
  line-height: 1.6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);

  /* ✅ Fix height + scroll inside */
  max-height: 80vh;     /* box won’t exceed 80% of screen height */
  overflow-y: auto;     /* scrolls if content is taller */
}
.policy-content h2 {
  margin-bottom: 20px;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 6px #fd1900;
}
.policy-text p {
  margin-bottom: 16px;
  font-size: 15px;
}

/* Close Button */
.closePolicy {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  text-shadow: 0 0 6px #fd1900;
}
.closePolicy:hover {
  color: #fd1900;
}