@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
/* 
===================
Color Pallette 
===================
*/

/* Primary Color */
--clr-primary: #90ab8b;
/* Secondary Color */
--clr-secondary: #3b4953;
/* Brand-gradient */
--gradient-var1: linear-gradient(180deg, #90ab8b, #3b4953);

/*Fonts */
--ff-primary: "Montserrat", sans-serif;
--ff-secondary: "Roboto", sans-serif;
/* font size */
font-size: 16px;
/* Global Transition */
--transition: all 0.3s ease;

 --header-height: 70px; /* fallback for mobile */
}

/* Reset */
*, ::after, ::before{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6{
  font-family: var(--ff-primary);
  line-height: 1.2;
}

/* Header (same behaviour as yours) */
.header{
  width: 100%;
  display: flex;
  padding: 10px 40px;
  align-items: center;
  position: sticky;
  z-index: 1000;
  top: 0;
  transition: background 0.3s ease;
}

.header:hover{ background: #333; }
.header.scrolled{ background: #333; }

.logo-link{
  width: fit-content;
  height: fit-content;
  margin-right: auto;
}

.logo-image{
  width: 250px;
  height: auto;
}

.nav-list{
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-list li a{
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-list li a:hover{ color: var(--clr-primary); }

.menu-icon{
  display: none;
}

/* Header responsiveness */
@media screen and (max-width: 768px){
  .logo-image{ width: 150px; }
  .nav-list{ display: none; }
  .menu-icon{
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }
}
.mobile-sidebar{
  position: fixed;
  top: var(--header-height);              /* starts below header */
  right: 0;
  width: 80%;
  max-width: 320px;
  height: calc(100vh - var(--header-height));
  background: #333;
  z-index: 2000;

  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

/* Active state (JS toggles this) */
.mobile-sidebar.active{
  transform: translateX(0);
}

.sidebar-nav{
  padding: 24px 20px;
}

.sidebar-list{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-list a{
  text-decoration: none;
  color: #f4f4f4;
  font-family: var(--ff-primary);
  font-size: 18px;
  transition: color 0.3s ease;
}

.sidebar-list a:hover{
  color: var(--clr-primary);
}

/* Overlay should also start below header (so header stays clickable) */
.sidebar-overlay{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  background: rgba(0,0,0,0.6);
  z-index: 1500;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active{
  opacity: 1;
  pointer-events: all;
}

/* Only show on mobile */
@media screen and (min-width: 769px){
  .mobile-sidebar,
  .sidebar-overlay{
    display: none;
  }
}

/* Page Hero */
.contact-hero{
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  height: 50vh;
  overflow: hidden;
}

.contact-hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    background-image: url('hero.webp');
    background-size: cover;     
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.5);
}

.contact-hero-inner{
  position: relative;
  z-index: 1;
  text-align: center;
  color: #f4f4f4;
  max-width: 900px;
}

.contact-title{
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: 2px;
}

.contact-subtitle{
  margin-top: 10px;
  font-size: clamp(14px, 2.5vw, 18px);
  opacity: 0.95;
}

/* Contact details strip (same vibe as home) */
.contact-details-strip{
    position: relative;
  display: flex;
  align-items: center;
  padding: 40px 20px;
  width: 100%;
  justify-content: center;
  gap: 100px;
  background: #333;
}

.contact-detail{
  color: #f4f4f4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.contact-detail a{
  color: #f4f4f4;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.contact-icon{
  padding: 12px;
  border-radius: 100%;
  background: var(--clr-primary);
}

.contact-title-small{
  font-size: 18px;
}

.contact-text{
  font-size: 14px;
  opacity: 0.95;
}

@media screen and (max-width: 768px){
  .contact-details-strip{
    flex-direction: column;
    gap: 40px;
  }
}

/* Form section */
.contact-form-section{
  padding: 80px 10px;
  display: flex;
  justify-content: center;
}

.contact-form-wrap{
  width: min(900px, 92%);
}

/* reused title styles like your "Work With Us" */
.container-title{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 1em;
}

.container-title h2{
  font-size: 32px;
  color: #333;
}

.header-bold{
  width: 4%;
  height: 4px;
  background: var(--clr-primary);
  border: none;
}

@media screen and (max-width: 768px){
  .container-title{
    align-items: center;
  }
  .header-bold{
    width: 10%;
  }
}

/* Form card */
.contact-form{
  margin-top: 20px;
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label{
  font-family: var(--ff-primary);
  font-weight: 600;
  font-size: 14px;
}

.form-field input{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: var(--transition);
}

.form-field input:focus{
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(144,171,139,0.25);
}

/* Text Area  */
/* TEXTAREA (matches input style) */
.form-field textarea{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  font-family: var(--ff-primary);
  resize: vertical;
  min-height: 100px;
  transition: var(--transition);
}

.form-field textarea:focus{
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(144,171,139,0.25);
}

/* button */
.submit-btn{
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border: none;
  background: var(--clr-secondary);
  color: #f4f4f4;
  font-family: var(--ff-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* 425px: form becomes one column */
@media screen and (max-width: 768px){
  .form-grid{
    grid-template-columns: 1fr;
  }
  .contact-form{
    padding: 18px;
  }
}

/* Map Embedded (same as your existing) */
.map-embedded{
  height: 40vh;
  overflow: hidden;
}

@media screen and (max-width: 768px){
  .map-embedded{
    height: 100vh;
  }
}

.map-embedded iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer (same as yours) */
.footer {
  background: #333;
  color: #f4f4f4;
  padding-top: 40px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

.footer-section h2,
.footer-section h3 {
  margin-bottom: 10px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.socials a {
  margin-right: 10px;
  font-size: 20px;
  color: #ccc;
}

.socials a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #555;
  margin-top: 30px;
  font-size: 14px;
}
