/* =====================================================
   CONTACT PAGE — GLOBAL LIBYA FRANCHISE EXPO
   CLEAN, CONSISTENT, PALE BLUE DESIGN SYSTEM
===================================================== */

/* ================= DESIGN TOKENS ================= */
:root {
  --blue-0: #f8fbfe;
  --blue-1: #f1f7fc;
  --blue-2: #e9f2f9;
  --blue-3: #e1edf6;

  --primary: #44a8c6;
  --primary-dark: #2d90ae;

  --ink-main: #0f172a;
  --ink-soft: #475569;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink-main);
  background: var(--blue-0);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #eaf4fb;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.header-inner {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;                 /* اللوقو ملاصق للاسم */
  font-family: "Poppins", sans-serif;
  color: var(--ink-main);
  text-decoration: none;
}

/* اللوقو */
.logo img {
  height: 60px;             /* ⛔ لا تتجاوز 70 */
  width: auto;
  display: block;
}

/* النص الرئيسي + التاريخ */
.logo a > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;        /* التصاق بصري */
  font-size: 22px;
  font-weight: 700;
}

/* السطر الصغير */
.logo-text-small {
  margin-top: 2px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 500;
}


.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--primary);
}

/* ================= HERO ================= */
.page-hero {
  margin-top: 72px;
  padding: 80px 0 70px; /* reduced height */
  background: linear-gradient(135deg, #6bbdd6, #8fd0e3);
}

.page-hero .section-header {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 18px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(15, 23, 42, 0.75);
}

/* ================= SECTIONS ================= */
.section {
  padding: 90px 0;
}

/* ================= SECTION HEADER ================= */
.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
}

.center-header {
  text-align: center;
}

.section-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--ink-soft);
}

.section-accent {
  width: 64px;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  margin: 16px auto 22px;
}

/* ================= CONTACT MAIN ================= */
.contact-page-main {
  background: var(--blue-1);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

/* LEFT SIDE */
.contact-info h2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem !important;
  margin-bottom: 14px;
}

.contact-info p,
.contact-info li {
  font-size: 1.05rem !important;
  color: var(--ink-soft);
}

.contact-info-list {
  margin-top: 16px;
  padding-left: 18px;
}

.contact-info-list li {
  margin-bottom: 10px;
}

/* RIGHT SIDE (FORM CARD) */
.contact-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.contact-form-card h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

/* FORM */
.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* ================= LOCATIONS ================= */
.locations-section {
  background: var(--blue-2);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.location-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.location-card h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #363738;
  padding: 26px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #fdfeff;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2.3rem;
  }
}
/* ================= GLOBAL LOGO OVERRIDE (FIXED) ================= */

.site-header .logo a {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;              /* REAL close spacing */
  font-size: 30px !important;       /* bigger brand name */
  line-height: 1 !important;        /* stops vertical push */
}

/* Text wrapper */
.site-header .logo a > span {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Logo image — THIS is the missing fix */
.site-header .logo img {
  height: 170px !important;
  width: auto !important;
  display: block !important;
  margin: 0 !important;             /* remove image default spacing */
}

/* Subtitle */
.site-header .logo-text-small {
  margin-top: 2px !important;
  font-size: 0.85rem !important;
  line-height: 1.1 !important;
  letter-spacing: 0.16em !important;
}
/* ================= EMERGENCY MOBILE FIX ================= */
@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  /* HEADER */
  .site-header {
    position: relative !important;
    padding: 12px 16px !important;
  }

  .header-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .logo img {
    max-width: 120px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  .logo span {
    display: block !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    margin-top: 6px !important;
  }

  /* HERO */
  .hero,
  .page-hero {
    min-height: auto !important;
    padding: 100px 16px 60px !important;
    text-align: center !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.6rem !important;
  }

  .hero p,
  .page-hero p {
    font-size: 0.95rem !important;
  }

  /* SECTIONS */
  section {
    padding: 48px 16px !important;
  }

  /* GRIDS */
  .grid,
  .cards,
  .sectors {
    grid-template-columns: 1fr !important;
  }

  /* IMAGES */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

}
/* FORCE LOGO ALIGNMENT */
.site-header .logo a {
  display: flex !important;
  align-items: center !important;
  gap: none !important;
}

.site-header .logo img {
  height: 75px !important;
  width: auto !important;
  max-height: 100% !important;
}

.site-header .logo a > span {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}

.site-header .logo-text-small {
  margin-top: 2px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #64748b !important;
}

