/* ============================
   CONTACT HERO SECTION
============================ */

.contact-hero-section {
  position: relative;
  min-height: 90vh;  /* full screen */
  background-image: url("../images/contactus_banner.jpg"); /* your image path */
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  padding: 0 20px;
}

/* Overlay */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

/* Content */
.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
  margin-top: 115px;
}

/* Heading */
.contact-hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: slideUpFade 0.8s ease forwards;
}

/* Paragraph */
.contact-hero-content p {
  font-size: 20px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 40px;
  opacity: 0;
  animation: slideUpFade 1s ease forwards;
  animation-delay: 0.2s;
}

/* Features Row */
.contact-hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  animation: slideUpFade 1.2s ease forwards;
  animation-delay: 0.4s;
}

/* Feature Box */
.contact-hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
}

/* Icons */
.contact-hero-feature i {
  font-size: 25px;
  color: #007bff;
}

/* ============================
   SLIDE UP + FADE ANIMATION
============================ */

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .contact-hero-section {
    min-height: 80vh;
  }

  .contact-hero-content {
    max-width: 750px;
    margin-top: 90px;
  }

  .contact-hero-content h1 {
    font-size: 44px;
  }

  .contact-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
  }

  .contact-hero-features {
    gap: 30px;
  }

  .contact-hero-feature {
    font-size: 18px;
  }

  .contact-hero-feature i {
    font-size: 22px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .contact-hero-section {
    min-height: 70vh;
    padding: 0 15px;
  }

  .contact-hero-content {
    margin-top: 70px;
    max-width: 100%;
    padding: 0 10px;
  }

  .contact-hero-content h1 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .contact-hero-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .contact-hero-features {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .contact-hero-feature {
    font-size: 16px;
  }

  .contact-hero-feature i {
    font-size: 20px;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .contact-hero-section {
    min-height: 65vh;
  }

  .contact-hero-content {
    margin-top: 50px;
  }

  .contact-hero-content h1 {
    font-size: 28px;
  }

  .contact-hero-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-hero-feature {
    font-size: 14px;
    gap: 10px;
  }

  .contact-hero-feature i {
    font-size: 18px;
  }
}



/* ============================
   CONTACT INFO SECTION
============================ */

.contact-info-section {
  padding: 100px 20px;
  background-color: #ffffff;
}

.contact-info-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* Heading */
.contact-info-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

.contact-info-subtitle {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #26334199;
  line-height: 30px;
  letter-spacing: 0.5px;
}

/* Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Box */
.contact-info-box {
  background: #111827;
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  cursor: pointer;
}

/* Hover Effect */
.contact-info-box:hover {
  transform: translateY(-12px);
  background-color: #ffffff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* Icon */
.contact-info-box i {
  font-size: 32px;
  color: #007bff;
  margin-bottom: 20px;
}

.contact-info-box:hover h4 {
  color: #111827;   /* Blue heading */
  transition: color 0.3s ease;
}

/* Heading */
.contact-info-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}


/* Text */
.contact-info-box p {
  font-size: 17px;
  line-height: 1.7;
  color: #007bff;
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .contact-info-section {
    padding: 80px 20px;
  }

  .contact-info-title {
    font-size: 36px;
  }

  .contact-info-subtitle {
    font-size: 17px;
    line-height: 28px;
    margin-bottom: 50px;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact-info-box {
    padding: 30px 22px;
  }

  .contact-info-box h4 {
    font-size: 18px;
  }

  .contact-info-box p {
    font-size: 15px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .contact-info-section {
    padding: 70px 15px;
  }

  .contact-info-container {
    max-width: 100%;
  }

  .contact-info-title {
    font-size: 30px;
    line-height: 1.3;
  }

  .contact-info-subtitle {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 40px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-box {
    padding: 28px 20px;
  }

  .contact-info-box i {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .contact-info-box h4 {
    font-size: 18px;
  }

  .contact-info-box p {
    font-size: 15px;
    line-height: 1.6;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .contact-info-section {
    padding: 60px 12px;
  }

  .contact-info-title {
    font-size: 26px;
  }

  .contact-info-subtitle {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 35px;
  }

  .contact-info-box {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-info-box i {
    font-size: 28px;
  }

  .contact-info-box h4 {
    font-size: 17px;
  }

  .contact-info-box p {
    font-size: 14px;
  }
}




/* =========================
   SOCIAL CONNECT SECTION
========================= */

.contact-social-section {
  margin-top: 60px;
  text-align: center;
}

.contact-social-heading {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111827;
  letter-spacing: 0.5px;
  margin-top: 102px;
}

/* Icons container */
.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/* Icon styling */
.contact-social-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover effect */
.contact-social-icons a:hover {
  background-color: #007bff;
  transform: translateY(-4px);
}

/* =========================
   CONTACT INTRO SECTION
========================= */

.contact-intro-section {
  padding: 80px 20px 40px;
  background-color: #ffffff;
}

.contact-intro-container {
  max-width: 700px;
  margin: auto;
  text-align: center;
  margin-top: 140px;
}

.contact-intro-container h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

.contact-intro-container p {
  font-size: 18px;
  line-height: 1.6;
  color: #26334199;
  letter-spacing: 0.5px;
}

.contact-info-box a{
   text-decoration: none;
   color: inherit;
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  /* SOCIAL SECTION */
  .contact-social-section {
    margin-top: 50px;
  }

  .contact-social-heading {
    font-size: 24px;
    margin-top: 80px;
    margin-bottom: 22px;
  }

  .contact-social-icons {
    gap: 26px;
  }

  .contact-social-icons a {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  /* INTRO SECTION */
  .contact-intro-section {
    padding: 70px 20px 35px;
  }

  .contact-intro-container {
    margin-top: 100px;
  }

  .contact-intro-container h2 {
    font-size: 34px;
  }

  .contact-intro-container p {
    font-size: 17px;
    line-height: 1.6;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  /* SOCIAL SECTION */
  .contact-social-section {
    margin-top: 40px;
  }

  .contact-social-heading {
    font-size: 22px;
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .contact-social-icons {
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-social-icons a {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  /* INTRO SECTION */
  .contact-intro-section {
    padding: 60px 15px 30px;
  }

  .contact-intro-container {
    max-width: 100%;
    margin-top: 70px;
  }

  .contact-intro-container h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  .contact-intro-container p {
    font-size: 16px;
    line-height: 1.6;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  /* SOCIAL SECTION */
  .contact-social-section {
    margin-top: 62px;
  }

  .contact-social-heading {
    font-size: 20px;
    margin-top: 45px;
    margin-bottom: 18px;
  }

  .contact-social-icons {
    gap: 16px;
  }

  .contact-social-icons a {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  /* INTRO SECTION */
  .contact-intro-section {
    padding: 50px 12px 25px;
  }

  .contact-intro-container {
    margin-top: 50px;
  }

  .contact-intro-container h2 {
    font-size: 26px;
  }

  .contact-intro-container p {
    font-size: 14px;
    line-height: 1.5;
  }
}




/* =========================
   CONTACT FORM SECTION
========================= */

.contact-form-section {
  padding: 40px 20px 100px;
  background-color: #f9fafb;
}

.contact-form-container {
  max-width: 900px;              
  margin: auto;
  background-color: #fdfeff;     
  padding: 45px 40px;
  border-radius: 22px;
  height: 630px;
  align-content: start;

  
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Form */
.contact-form-row {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.contact-form-group {
  flex: 1;
}

.contact-form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-top: 25px;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #8a878773;
  font-size: 15px;
  outline: none;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: #007bff;
}

/* Textarea */
.contact-form-group textarea {
  resize: none;
  min-height: 140px;
}

/* Counter */
.char-count {
  text-align: right;
  font-size: 13px;
  color: #6b7280;
  margin-top: 5px;
}

/* Error */
.error-text {
  color: #dc2626;
  font-size: 13px;
  margin-top: 5px;
}

/* Button */
.contact-form-btn {
  margin-top: 30px;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 14px 40px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  margin: 25px auto 0;
}

.contact-form-btn:hover {
  background-color: #2c54a8;
}



/* =========================================
   TABLET (1024px and below)
========================================= */

@media (max-width: 1024px) {

  .contact-form-section {
    padding: 40px 20px 80px;
  }

  .contact-form-container {
    max-width: 800px;
    padding: 40px 30px;
    height: auto;
    border-radius: 20px;
  }

  .contact-form-row {
    gap: 20px;
    margin-bottom: 20px;
  }

  .contact-form-group label {
    font-size: 14px;
    margin-top: 20px;
  }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    padding: 13px 15px;
    font-size: 15px;
  }

  .contact-form-group textarea {
    min-height: 130px;
  }

  .contact-form-btn {
    padding: 13px 36px;
    font-size: 15px;
  }
}


/* =========================================
   MOBILE (768px and below)
========================================= */

@media (max-width: 768px) {

  .contact-form-section {
    padding: 35px 15px 70px;
  }

  .contact-form-container {
    padding: 35px 22px;
    border-radius: 18px;
    height: auto;
  }

  .contact-form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  .contact-form-group {
    width: 100%;
  }

  .contact-form-group label {
    margin-top: 18px;
    font-size: 14px;
  }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .contact-form-group textarea {
    min-height: 120px;
  }

  .char-count,
  .error-text {
    font-size: 12px;
  }

  .contact-form-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    margin-top: 25px;
  }
}


/* =========================================
   SMALL MOBILE (480px and below)
========================================= */

@media (max-width: 480px) {

  .contact-form-section {
    padding: 30px 12px 60px;
  }

  .contact-form-container {
    padding: 28px 18px;
    border-radius: 16px;
  }

  .contact-form-group label {
    font-size: 13px;
    margin-top: 16px;
  }

  .contact-form-group input,
  .contact-form-group select,
  .contact-form-group textarea {
    padding: 11px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  .contact-form-group textarea {
    min-height: 110px;
  }

  .contact-form-btn {
    font-size: 14px;
    padding: 13px 18px;
    border-radius: 40px;
  }
}




