/* ═══════════════════════════════════════════════════
   SUITETECH — THEME.CSS  (foundation for all pages)
   Import this FIRST in every HTML page's <head>
═══════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ══════════════════════════════════════
   LIGHT MODE  (default)
══════════════════════════════════════ */
:root {
  /* backgrounds */
  --bg:            #f0f4f9;
  --bg2:           #e4eaf3;
  --bg3:           #ffffff;
  --nav-bg:        rgba(240,244,249,0.95);
  --card-bg:       #ffffff;
  --card-border:   rgba(18,37,74,0.12);
  --footer-bg:     #0d1e38;

  /* text */
  --text:          #0d1e38;
  --text2:         #3a5070;
  --text3:         #7a90a8;

  /* brand colours */
  --accent:        #0a6abc;
  --accent2:       #1a60c8;
  --navy:          #12254a;
  --navy2:         #1a3460;
  --silver:        #3a6090;
  --silver2:       #2a5080;
  --gold:          #b07820;
  --gold2:         #c8921a;

  /* ui */
  --btn-bg:        linear-gradient(135deg,#1a60c8,#2a80e8);
  --btn-text:      #ffffff;
  --input-bg:      #ffffff;
  --input-border:  #c8d8ee;
  --divider:       rgba(18,37,74,0.1);
  --shadow:        0 8px 32px rgba(18,37,74,0.12);
  --dot-color:     rgba(18,37,74,0.04);

  /* misc */
  --transition:    0.32s ease;
  --radius:        12px;
  --radius-sm:     8px;
}

/* ══════════════════════════════════════
   DARK MODE
══════════════════════════════════════ */
body.dark-mode {
  --bg:            #050d1f;
  --bg2:           #0a1628;
  --bg3:           rgba(255,255,255,0.03);
  --nav-bg:        rgba(5,13,31,0.92);
  --card-bg:       rgba(255,255,255,0.04);
  --card-border:   rgba(255,255,255,0.08);
  --footer-bg:     #030a17;

  --text:          #ffffff;
  --text2:         rgba(255,255,255,0.6);
  --text3:         rgba(255,255,255,0.35);

  --accent:        #50e6ff;
  --accent2:       #2a80e8;
  --navy:          #12254a;
  --navy2:         #1a3460;
  --silver:        #c8d8ee;
  --silver2:       #8aaed0;
  --gold:          #d4952a;
  --gold2:         #e8b040;

  --btn-bg:        linear-gradient(135deg,#1a60c8,#2a80e8);
  --btn-text:      #ffffff;
  --input-bg:      rgba(255,255,255,0.06);
  --input-border:  rgba(255,255,255,0.1);
  --divider:       rgba(255,255,255,0.08);
  --shadow:        0 8px 32px rgba(0,0,0,0.45);
  --dot-color:     rgba(255,255,255,0.035);
}

/* ══════════════════════════════════════
   GLOBAL RESET & BASE
══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition:
    background var(--transition),
    color var(--transition);
}

/* smooth transition on ALL elements */
*, *::before, *::after {
  transition:
    background-color var(--transition),
    border-color     var(--transition),
    color            var(--transition),
    box-shadow       var(--transition);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ══════════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════════ */
.serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.section-tag {
  margin-bottom: 8px;
}

.section-tag span {
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ══════════════════════════════════════
   SHARED BUTTON STYLES
══════════════════════════════════════ */
.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  display: inline-block;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text2);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), color var(--transition);
}

.btn-outline:hover {
  border-color: var(--silver2);
  color: var(--text);
}

/* ══════════════════════════════════════
   SHARED CARD STYLE
══════════════════════════════════════ */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.card:hover {
  border-color: rgba(26,96,200,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ══════════════════════════════════════
   SHARED FORM ELEMENTS
══════════════════════════════════════ */
input, textarea, select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent2);
}

input::placeholder, textarea::placeholder {
  color: var(--text3);
}

/* ══════════════════════════════════════
   SHARED FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--footer-bg) !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 56px 48px 28px !important;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 44px;
}

.footer-section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section h3 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.footer-section p,
.footer-section a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

.footer-section.links ul {
  list-style: none;
  padding: 0;
}

.footer-section.links ul li {
  margin-bottom: 8px;
}

.footer-section.links ul li a:hover {
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icons .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: all 0.2s;
}

.social-icons .social-icon:hover {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
}

.footer-section.newsletter form {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-section.newsletter input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.footer-section.newsletter button {
  background: var(--btn-bg);
  color: #ffffff;
  border: none;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

.home-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  margin: 0 auto 20px;
  transition: all 0.2s;
}

.home-icon:hover {
  background: rgba(255,255,255,0.16);
  color: #ffffff;
}

/* ══════════════════════════════════════
   SHARED CONTACT INFO SECTION
══════════════════════════════════════ */
.contact-info {
  background: var(--bg2) !important;
  color: var(--text) !important;
  padding: 60px 20px !important;
  border-top: 1px solid var(--divider) !important;
}

.contact-info .section-heading {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--text);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.contact-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius) !important;
  padding: 28px !important;
  max-width: 300px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.contact-item:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow) !important;
}

.contact-item .contact-icon {
  font-size: 2.2rem;
  color: var(--accent2) !important;
  margin-bottom: 16px;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text) !important;
}

.contact-item p {
  font-size: 14px;
  color: var(--text2) !important;
  margin: 4px 0;
}

.contact-item a {
  color: var(--accent) !important;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--accent2) !important;
}

/* ══════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════ */
hr.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0;
}

/* ══════════════════════════════════════
   POPUP
══════════════════════════════════════ */
#popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
  box-shadow: var(--shadow);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 28px;
  }
}