/*=========================================
  RESET
=========================================*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Gabarito", sans-serif;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}

/*=========================================
  CONTAINER
=========================================*/

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/*=========================================
  SUCCESS POPUP
=========================================*/

.success-popup {
  position: fixed;
  top: 25px;
  right: 25px;
  background: #16a34a;
  color: #fff;
  padding: 18px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 9999;
}

.success-popup.show {
  display: block;
}

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

.contact-hero {
  position: relative;
  height: 500px;
  background: url("../images/Contact.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content p {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-content h1 {
  color: #fff;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.1;
}

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

.contact-info {
  padding: 100px 0;
  background: #fff;
}

.section-tag {
  display: inline-block;
  background: #0f294c;
  color: #fff;
  padding: 10px 22px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.contact-info h2 {
  font-size: 52px;
  color: #132238;
  margin: 35px 0;
  line-height: 1.2;
}

.section-text {
  color: #666;
  line-height: 1.9;
  font-size: 17px;
  margin-bottom: 60px;
}

/*=========================================
  CONTACT INFO GRID
=========================================*/

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.info-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.info-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/*=========================================
  CONTACT DETAILS BOX
=========================================*/

.info-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-item:first-child {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #ececec;
}

/*=========================================
  ICON
=========================================*/

.info-item .icon {
  width: 60px;
  height: 60px;
  background: #f4f7fb;
  color: #0f294c;
  border-radius: 50%;

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

  font-size: 24px;
  flex-shrink: 0;

  transition: 0.3s;
}

.info-item:hover .icon {
  background: #0f294c;
  color: #fff;
}

/*=========================================
  TEXT
=========================================*/

.info-item small {
  display: block;
  color: #777;
  font-size: 14px;
  margin-bottom: 8px;
}

.info-item h4 {
  font-size: 22px;
  color: #132238;
  font-weight: 600;
  line-height: 1.5;
  word-break: break-word;
}

/*=========================================
  LINK EFFECT
=========================================*/

.info-item h4:hover {
  color: #0f294c;
  cursor: pointer;
}

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

.contact-form-section {
  padding: 100px 0;
  background: #eef2f5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

/*=========================================
  LEFT IMAGE
=========================================*/

.form-image {
  display: flex;
  justify-content: center;
}

.form-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  object-fit: cover;
}

/*=========================================
  RIGHT CONTENT
=========================================*/

.contact-form-content h2 {
  font-size: 48px;
  color: #132238;
  margin-bottom: 35px;
  font-weight: 700;
}

/*=========================================
  FORM
=========================================*/

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/*=========================================
  TEXTAREA
=========================================*/

#contactForm textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  resize: none;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
  font-family: inherit;
}

#contactForm textarea:focus {
  border-color: #0f294c;
}

/*=========================================
  TWO COLUMN
=========================================*/

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/*=========================================
  INPUTS
=========================================*/

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"] {
  width: 100%;
  padding: 16px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
  transition: 0.3s;
}

#contactForm input:focus {
  border-color: #0f294c;
}

/*=========================================
  CHECKBOX
=========================================*/

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #666;
  line-height: 1.8;
}

.checkbox input {
  margin-top: 5px;
}

/*=========================================
  BUTTON
=========================================*/

#contactForm button {
  width: fit-content;
  background: #132238;
  color: #fff;
  border: none;
  padding: 16px 38px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

#contactForm button:hover {
  background: #1d3557;
  transform: translateY(-2px);
}

/*=========================================
  RESPONSIVE
=========================================*/

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 52px;
  }

  .contact-info h2,
  .contact-form-content h2 {
    font-size: 40px;
  }

  .info-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 380px;
  }

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

  .contact-info,
  .contact-form-section {
    padding: 70px 0;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .contact-info h2,
  .contact-form-content h2 {
    font-size: 32px;
  }

  .info-box {
    padding: 25px;
  }

  #contactForm button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .section-text {
    font-size: 15px;
  }

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

  .contact-form-content h2 {
    font-size: 28px;
  }
}
.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.country-code {
  padding: 0 14px;
  background: #f5f5f5;
  border-right: 1px solid #ccc;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.phone-input input {
  border: none;
  outline: none;
  flex: 1;
  padding: 12px;
  font-size: 16px;
}
