/* ===== Website Creators Hub – Shared Stylesheet ===== */

/* Color Palette from Logo */
:root {
  --blue: #21759B;
  --orange: #D54E21;
  --blue-light: rgba(33, 117, 155, 0.55);
  --orange-light: rgba(213, 78, 33, 0.55);
  --dark: #464646;
  --white: #ffffff;
  --gray: #AAAAAA;
  --bg-light: #f8f9fb;
  --bg-dark: #1a2a33;
  --border: #e2e8ec;
  --shadow: 0 4px 24px rgba(33,117,155,0.10);
  --shadow-lg: 0 12px 48px rgba(33,117,155,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Trebuchet MS', 'Franklin Gothic Medium', Arial, sans-serif;
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
}

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { font-size: 1.05rem; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.btn-primary:hover { background: #b83e15; border-color: #b83e15; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: white; transform: translateY(-2px); }
.btn-white {
  background: white;
  color: var(--blue);
  border-color: white;
}
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title { color: var(--dark); margin-bottom: 16px; }
.section-subtitle { color: #666; font-size: 1.1rem; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: white;
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(33,117,155,0.10);
  transition: box-shadow 0.2s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.nav-logo-icon .sq { border-radius: 4px; }
.nav-logo-icon .sq-1 { background: var(--blue); }
.nav-logo-icon .sq-2 { background: var(--orange); }
.nav-logo-icon .sq-3 { background: var(--orange-light); }
.nav-logo-icon .sq-4 { background: var(--blue-light); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-text span:nth-child(1) { font-size: 0.7rem; font-weight: 700; color: var(--blue); letter-spacing: 2px; }
.nav-logo-text span:nth-child(2) { font-size: 0.7rem; font-weight: 700; color: var(--dark); letter-spacing: 2px; }
.nav-logo-text span:nth-child(3) { font-size: 0.7rem; font-weight: 700; color: var(--orange); letter-spacing: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links li a {
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  transition: all 0.2s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--blue); background: #e8f4f9; }
.nav-links .has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 8px 0;
  z-index: 100;
}
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: flex;
  flex-direction: column;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  transition: background 0.2s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover { background: #f0f8fc; }
.nav-dropdown a strong { color: var(--blue); font-size: 0.9rem; }
.nav-dropdown a span { font-size: 0.8rem; color: #888; margin-top: 2px; }
.nav-cta { margin-left: 8px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; height: 2px; width: 24px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

.mobile-menu { display: none; background: white; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; padding: 16px 24px; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li a { display: block; padding: 12px 0; font-weight: 600; color: var(--dark); }
.mobile-menu ul li a:hover { color: var(--blue); }
.mobile-menu .mobile-cta { padding: 16px 24px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0d2130 0%, #1a3a50 60%, #21759B 100%);
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,78,33,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,117,155,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 80px 24px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(213,78,33,0.18);
  border: 1px solid rgba(213,78,33,0.4);
  color: #f5a07a;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
}
.hero-card-title { color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hero-stat { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 20px; }
.hero-stat-num { font-size: 2rem; font-weight: 700; color: white; line-height: 1; }
.hero-stat-num span { color: var(--orange); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* ===== SERVICES GRID (Homepage) ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 54px; height: 54px;
  background: #e8f4f9;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.service-card:hover .service-icon { background: var(--blue); }
.service-card h3 { color: var(--dark); margin-bottom: 8px; }
.service-card p { color: #666; font-size: 0.95rem; margin-bottom: 16px; }
.service-price { font-size: 0.85rem; font-weight: 700; color: var(--orange); }
.service-link { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 700; font-size: 0.9rem; margin-top: 12px; transition: gap 0.2s; }
.service-link:hover { gap: 8px; }

/* ===== WHY US ===== */
.why-section { background: var(--bg-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.stat-box { text-align: center; }
.stat-num { font-size: 3rem; font-weight: 700; color: var(--orange); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 6px; }
.stat-desc { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-top: 4px; }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--blue);
}
.process-step:nth-child(2) .step-num { background: var(--blue-light); }
.process-step:nth-child(3) .step-num { background: var(--orange-light); border-color: white; box-shadow: 0 0 0 2px var(--orange); }
.process-step:nth-child(4) .step-num { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: #666; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.stars { color: var(--orange); font-size: 1rem; margin-bottom: 12px; }
.testimonial-text { color: #555; font-size: 0.95rem; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
}
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.8rem; color: #888; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: #666; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: #e8f4f9;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.85rem; color: #888; margin-bottom: 2px; letter-spacing: 1px; text-transform: uppercase; }
.contact-detail-text span { color: var(--dark); font-weight: 600; }

.contact-form { background: white; border: 2px solid var(--border); border-radius: 16px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg-light);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
footer {
  background: #0d1f2d;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin: 16px 0 24px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-icon {
  width: 38px; height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.footer-logo-icon .sq { border-radius: 3px; }
.footer-logo-text { line-height: 1; }
.footer-logo-text span { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; }
.footer-logo-text span:nth-child(1) { color: var(--blue); }
.footer-logo-text span:nth-child(2) { color: rgba(255,255,255,0.7); }
.footer-logo-text span:nth-child(3) { color: var(--orange); }

.footer-col h4 { color: white; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--orange); }
.footer-links { display: flex; gap: 24px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #0d2130 0%, #1a3a50 60%, #21759B 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,78,33,0.12) 0%, transparent 70%);
}
.page-header h1 { color: white; }
.page-header p { color: rgba(255,255,255,0.7); margin-top: 12px; font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--orange); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue), #155f82);
  padding: 70px 0;
  text-align: center;
}
.cta-banner h2 { color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== VALUES / FEATURES GRID ===== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s;
}
.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { color: var(--blue); margin-bottom: 8px; }
.value-card p { color: #666; font-size: 0.95rem; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.team-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.2s;
}
.team-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.team-card p { font-size: 0.85rem; color: #666; }

/* ===== MISSION/VISION ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 48px; }
.mv-card { background: white; border: 2px solid var(--border); border-radius: 12px; padding: 36px; }
.mv-card.mission { border-top: 4px solid var(--blue); }
.mv-card.vision { border-top: 4px solid var(--orange); }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.mv-card.mission h3 { color: var(--blue); }
.mv-card.vision h3 { color: var(--orange); }
.mv-card ul { list-style: none; padding: 0; }
.mv-card ul li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: #555; padding-left: 20px; position: relative; }
.mv-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.mv-card.vision ul li::before { color: var(--orange); }

/* ===== SERVICE INNER PAGE ===== */
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.service-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.feature-item { display: flex; gap: 12px; align-items: flex-start; }
.feature-check { width: 24px; height: 24px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.7rem; flex-shrink: 0; margin-top: 2px; }
.feature-item p { font-size: 0.9rem; color: #555; }
.service-sidebar { position: sticky; top: 90px; }
.sidebar-card { background: white; border: 2px solid var(--border); border-radius: 12px; padding: 28px; margin-bottom: 20px; }
.sidebar-card h4 { margin-bottom: 12px; color: var(--blue); }
.sidebar-price { font-size: 2rem; font-weight: 700; color: var(--orange); }
.sidebar-price small { font-size: 0.85rem; color: #888; font-weight: 400; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; }
}
