/* =========================================
   Dynamics Corporate Solutions Pte Ltd
   Stylesheet
   ========================================= */

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

:root {
  --navy:       #1a2744;
  --navy-dark:  #111b33;
  --gold:       #c9a84c;
  --gold-light: #e0c06d;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --text:       #2c2c2c;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(26,39,68,.10);
  --transition: .25s ease;
  --max-w:      1140px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { color: var(--muted); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--off-white);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,.15);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo .logo-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: .2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(201,168,76,.15);
}
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 9px 20px !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy-dark) !important;
}
.nav-login {
  border: 1.5px solid rgba(255,255,255,.35) !important;
  color: rgba(255,255,255,.85) !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
}
.nav-login:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  background: transparent !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  padding-top: 70px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 30px;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  letter-spacing: .5px;
}

/* =========================================
   SECTIONS SHARED
   ========================================= */
.section { padding: 90px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1rem; }

.divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* =========================================
   HOME – WHY CHOOSE US
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.05rem; }

/* =========================================
   HOME – SERVICES PREVIEW
   ========================================= */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.service-preview-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.service-preview-card:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.service-preview-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.service-preview-card h3 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
}
.services-preview-cta { text-align: center; }

/* =========================================
   HOME – PROCESS
   ========================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(201,168,76,.2) 100%);
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 72px; height: 72px;
  background: var(--navy);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
}
.process-step h3 { margin-bottom: 8px; font-size: 1rem; }

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-intro-text h2 { margin-bottom: 16px; }
.about-intro-text p { margin-bottom: 14px; }

.about-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  border-radius: 12px;
  padding: 48px 40px;
  color: var(--white);
}
.about-visual h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.about-visual ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}
.about-visual ul li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.value-icon { font-size: 2.4rem; margin-bottom: 16px; }
.value-card h3 { margin-bottom: 10px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gold);
}
.team-info { padding: 24px; }
.team-info h3 { margin-bottom: 4px; }
.team-info .role {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 10px;
}
.team-info p { font-size: .9rem; }

/* =========================================
   SERVICES PAGE
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: bottom;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: .93rem; margin-bottom: 16px; }
.service-list {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 4px;
}
.service-list li {
  padding: 5px 0;
  font-size: .875rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.service-list li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================
   PROFESSIONAL STANDARDS PAGE
   ========================================= */
.standards-intro {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  margin-top: 70px;
}
.standards-intro h1 { color: var(--white); margin-bottom: 16px; }
.standards-intro p { color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; }

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.standard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: var(--transition);
}
.standard-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.standard-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201,168,76,.1);
  color: var(--gold);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.standard-card h3 { margin-bottom: 10px; }

.compliance-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.compliance-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: .93rem;
}
.compliance-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  letter-spacing: .3px;
}
.compliance-table th:first-child { border-radius: 10px 0 0 0; }
.compliance-table th:last-child  { border-radius: 0 10px 0 0; }
.compliance-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.compliance-table tr:last-child td { border-bottom: none; }
.compliance-table tr:nth-child(even) td { background: var(--off-white); }
.compliance-table tr:hover td { background: rgba(201,168,76,.05); }
.badge-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}
.badge-active  { background: #d1fae5; color: #065f46; }
.badge-ongoing { background: #dbeafe; color: #1e40af; }
.badge-periodic{ background: #fef3c7; color: #92400e; }

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: .85rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 4px;
}
.contact-item p { color: var(--text); font-size: .95rem; margin: 0; }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 120px 0 70px;
  margin-top: 70px;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p   { color: rgba(255,255,255,.7); max-width: 560px; font-size: 1.05rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  background: linear-gradient(135deg, var(--gold) 0%, #b8922a 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy-dark); margin-bottom: 12px; }
.cta-band p  { color: rgba(26,39,68,.75); max-width: 540px; margin: 0 auto 28px; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer-brand .logo-tag {
  font-size: .68rem;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-top: 10px; }
.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .83rem;
}
.footer-bottom a { color: var(--gold); }

/* =========================================
   UTILITIES
   ========================================= */
.text-center { text-align: center; }
.text-gold   { color: var(--gold) !important; }
.text-white  { color: var(--white) !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .about-intro-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(201,168,76,.15);
    gap: 4px;
  }
  .nav-toggle { display: flex; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats  { gap: 24px; }
}
