/* =============================================
   WarpIX Group — Main Stylesheet
   Migrated from Network Solutions → Netlify
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=PT+Sans:wght@400;700&display=swap');

/* --- CSS Variables (original brand colors) --- */
:root {
  --navy:        #071E41;
  --teal:        #00A895;
  --white:       #FFFFFF;
  --light:       #F7F7F7;
  --text:        #222222;
  --font-main:   'Montserrat', sans-serif;
  --font-body:   'PT Sans', serif;
  --transition:  0.3s ease;
  --radius:      6px;
  --shadow:      0 4px 20px rgba(0,0,0,0.1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Header / Nav --- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: var(--shadow);
}
.logo img { height: 45px; width: auto; }
nav ul { display: flex; gap: 8px; align-items: center; }
nav ul li a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.3px;
}
nav ul li a:hover,
nav ul li a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 4px !important;
  transition: opacity var(--transition) !important;
}
.nav-cta:hover { opacity: 0.88 !important; color: var(--white) !important; }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* --- Hero Section --- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 100px 5% 90px;
  text-align: left;
}
.hero-inner { max-width: 760px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--teal); }
.hero p { font-size: 1.1rem; font-weight: 400; margin-bottom: 36px; opacity: 0.88; max-width: 580px; }
.btn { display: inline-block; padding: 13px 30px; border-radius: var(--radius); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: var(--transition); }
.btn-teal { background: var(--teal); color: var(--white); margin-right: 14px; }
.btn-teal:hover { opacity: 0.88; }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 5% 60px;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; opacity: 0.85; max-width: 620px; }

/* --- Sections --- */
section { padding: 80px 5%; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-teal { background: var(--teal); color: var(--white); }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.section-navy .section-label { color: var(--teal); }

h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 18px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
p { margin-bottom: 14px; }

/* --- Cards / Services Grid --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 48px; }
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.card-icon { width: 48px; height: 48px; background: var(--teal); border-radius: 50%; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 24px; height: 24px; fill: var(--white); }
.card h3 { color: var(--navy); }
.card p { color: #555; font-size: 0.95rem; }
.card a { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* --- Two-column layout --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child { order: 1; }

/* --- Stats Bar --- */
.stats-bar { background: var(--navy); padding: 60px 5%; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h2 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--teal); font-weight: 800; margin-bottom: 4px; }
.stat-item p { color: var(--white); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* --- Vision / Mission block --- */
.vision-block { border-left: 4px solid var(--teal); padding-left: 22px; margin: 20px 0; }
.vision-block strong { display: block; font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 6px; }

/* --- Tech Partners --- */
.partners-grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 32px; }
.partner-item { text-align: center; flex: 1; min-width: 140px; }
.partner-item h3 { font-size: 1.4rem; color: var(--navy); font-weight: 800; }
.partner-item p { font-size: 0.85rem; color: #777; margin-top: 4px; }

/* --- Newsletter --- */
.newsletter { background: var(--teal); padding: 60px 5%; text-align: center; }
.newsletter h2 { color: var(--white); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  padding: 13px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  width: 320px;
  max-width: 100%;
}
.newsletter-form button { background: var(--navy); color: var(--white); border: none; padding: 13px 28px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { opacity: 0.85; }

/* --- CTA Banner --- */
.cta-banner { background: var(--navy); color: var(--white); padding: 70px 5%; text-align: center; }
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-banner p { opacity: 0.85; max-width: 560px; margin: 0 auto 32px; }

/* --- Objectives / Numbered items --- */
.objectives-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-top: 40px; }
.objective-card { text-align: center; padding: 36px 24px; border-radius: 10px; background: var(--white); box-shadow: var(--shadow); }
.objective-card .num { font-size: 2.5rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.objective-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.objective-card p { color: #555; font-size: 0.92rem; }

/* --- Team Grid --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 40px; }
.team-member { text-align: center; }
.team-avatar { width: 80px; height: 80px; background: var(--teal); border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--white); font-weight: 700; }
.team-member p { font-size: 0.9rem; color: #555; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
.contact-icon { width: 44px; height: 44px; background: var(--teal); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 20px; height: 20px; fill: var(--white); }
.contact-info-item h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 4px; }
.contact-info-item p { font-size: 1.05rem; font-weight: 600; color: var(--navy); }

.contact-form { background: var(--white); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); }
.contact-form h2 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { background: var(--teal); color: var(--white); border: none; padding: 14px 36px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; width: 100%; transition: var(--transition); }
.form-submit:hover { background: var(--navy); }

/* --- Footer --- */
footer { background: #050F22; color: var(--white); padding: 50px 5% 30px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 32px; }
footer h3 { color: var(--teal); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 700; }
footer p, footer a { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.9; }
footer a:hover { color: var(--teal); }
.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background var(--transition);
}
.social-links a:hover { background: var(--teal); }
.social-links svg { width: 16px; height: 16px; fill: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; font-size: 0.85rem; color: rgba(255,255,255,0.45); text-align: center; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: var(--navy); padding: 20px; gap: 4px; }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 70px 5% 60px; }
}
