/* ================================
   APAC Geospatial Nepal - Modern Contact Page CSS
================================ */

/* Global Variables */
:root {
  --accent: #1b6ca8;
  --dark: #0b2540;
  --muted: #6b7b8a;
  --light-bg: #f6f8fa;
  --radius: 15px;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light-bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* ================================
   Header
================================ */
.site-header {
  background: #fff;
  box-shadow: 0 4px 16px rgba(10,20,30,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 15px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.brand .logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
}

.brand .logo span {
  color: var(--accent);
}

.nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: 0.3s;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  background: #eef6fb;
}

.nav a.cta {
  background: var(--accent);
  color: #fff;
}

/* ================================
   Hero Section
================================ */
.hero-modern {
  position: relative;
  background: url('../images/contact-hero.jpg') center/cover no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  margin-bottom: 50px;
  overflow: hidden;
}

.hero-modern .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 58, 85, 0.6);
  backdrop-filter: blur(5px);
  z-index: 1;
}

.hero-modern .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-modern h1 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-modern p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-modern .btn {
  margin: 0 10px;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
}

.hero-modern .btn.btn-light {
  background: #fff;
  color: var(--accent);
}

.hero-modern .btn.btn-light:hover {
  background: #f0f0f0;
}

.hero-modern .btn.btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero-modern .btn.btn-outline-light:hover {
  background: rgba(255,255,255,0.2);
}

/* ================================
   Contact Form Section
================================ */
.contact-form {
  max-width: 650px;
  margin: 0 auto 50px auto;
  background: #fff;
  padding: 45px 35px;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(12,30,40,0.08);
  transition: 0.3s;
}

.contact-form:hover {
  box-shadow: 0 18px 40px rgba(12,30,40,0.12);
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #d7e2e8;
  font-size: 1rem;
  margin-top: 5px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 10px rgba(27,108,168,0.2);
}

.contact-form button.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.contact-form button.btn:hover {
  background: #617b8f;
}

/* ================================
   Office Info Section
================================ */
.office-info {
  max-width: 650px;
  margin: 0 auto 50px auto;
  background: #fff;
  padding: 30px 25px;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12,30,40,0.06);
  text-align: center;
}

.office-info h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: var(--accent);
}

.office-info p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--dark);
}

/* ================================
   Footer
================================ */
.site-footer.small {
  background: #093142;
  color: #cfeff9;
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 50px;
}

/* ================================
   Responsive Adjustments
================================ */
@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 28px;
  }
  .hero-modern p {
    font-size: 16px;
  }
  .contact-form,
  .office-info {
    padding: 25px 20px;
  }
}
