
/* ===============================
   RESET / BASE
================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.contact-page {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111;
  background: #fff;
}

/* ===============================
   CONTAINERS
================================ */

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===============================
   HERO + SLIDER (ABOUT STYLE)
================================ */

.contact-hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

/* SLIDES */
.contact-hero .hero-slider div {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0;
  animation: contactHero 12s ease-in-out infinite;
}

/* IMAGE PATHS (ABSOLUTE) */
.contact-hero .hero-slider div:nth-child(1) {
  background-image: url('/roneemedia/assets/images/contact-roneemedia-1.jpg');
  animation-delay: 0s;
}
.contact-hero .hero-slider div:nth-child(2) {
  background-image: url('/roneemedia/assets/images/contact-roneemedia-2.jpg');
  animation-delay: 3s;
}
.contact-hero .hero-slider div:nth-child(3) {
  background-image: url('/roneemedia/assets/images/contact-roneemedia-6.jpg');
  animation-delay: 6s;
}
.contact-hero .hero-slider div:nth-child(4) {
  background-image: url('/roneemedia/assets/images/contact-roneemedia-4.jpg');
  animation-delay: 9s;
}

/* DARK OVERLAY (same as About) */
.contact-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.75)
  );
  z-index: 2;
}

/* HERO TEXT */
.contact-hero .hero-center {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: #fff;
  padding: 0 24px;
}



/* HERO TEXT */
.contact-hero .hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.contact-hero .hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 18px;
}

.contact-hero .hero-content p {
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 0 6px 24px rgba(0,0,0,.45);
}


/* ===============================
   CONTACT FORM
================================ */

.contact-section {
  padding: 120px 0;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.contact-form {
  max-width: 720px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form textarea {
  margin-top: 20px;
  resize: vertical;
}

.captcha-wrap {
  margin: 24px 0;
}

/* BUTTON */
.btn-primary {
  background: #7ed0fb;
  color: #000;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

/* PRIVACY */
.privacy-note {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

.privacy-note a {
  color: #191660;
  text-decoration: none;
}

/* ===============================
   TALK TO US
================================ */

.talk-section {
  background: #f7f9fc;
  padding: 90px 0;
}

.talk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.talk-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ICON + TEXT ROWS */
.talk,
.email {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 500;
}

.talk img,
.email img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.talk a,
.email a {
  color: #191660;
  text-decoration: none;
}

.talk a:hover,
.email a:hover {
  text-decoration: underline;
}

/* ===============================
   CONTACT INFO + SOCIAL
================================ */

.contact-info {
  padding: 90px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

/* SOCIAL ICONS */
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.social-links img {
  width: 34px;
  height: 34px;
  transition: transform .2s ease, opacity .2s ease;
}

.social-links a:hover img {
  transform: translateY(-3px);
  opacity: .85;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .hero-center h1 {
    font-size: 42px;
  }

  .form-grid,
  .talk-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 80px 0;
  }

  .talk,
  .email {
    font-size: 16px;
  }

  .talk img,
  .email img {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {

  .contact-hero {
    min-height: 70vh;
  }

  .hero-center h1 {
    font-size: 34px;
  }
}


@keyframes contactHero {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}
