/*
Theme Name: DOTMCS Elementor Theme
Theme URI: https://dotmcs.com/
Author: DOTMCS
Author URI: https://dotmcs.com/
Description: A clean, Elementor-friendly custom theme for DOTMCS.
Version: 1.0.0
Text Domain: dotmcs
*/

/* Elementor-Friendly Base Styles for DOTMCS Theme */
:root {
  --header: #003366;
  --blue: #1976d2;
  --blue-dk: #1256a0;
  --blue-lt: #e8f1fb;
  --border: #d0dcea;
  --text: #1a2633;
  --muted: #5a6e82;
  --white: #ffffff;
  --light: #f5f7fa;
  --landing-tint: #f4f7fb;
  --body-bg: #ffffff;
  --font-family: 'Roboto', sans-serif;
  --container-width: 1200px;
}

body {
  font-family: var(--font-family);
  color: var(--text);
  background-color: var(--body-bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

a {
  text-decoration: none;
  color: var(--blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--blue-dk);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--header);
  border-bottom: 3px solid var(--blue);
  height: 68px;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Panel */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 50, 0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 26vw;
  min-width: 280px;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.side-menu.active {
  transform: translateX(0);
}

.menu-header {
  background: var(--header);
  padding: 0 24px;
  height: 71px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 3px solid var(--blue);
}

.close-menu {
  background: none;
  border: none;
  color: #7fa8cc;
  cursor: pointer;
  font-size: 1.3rem;
}

.menu-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 20px 24px 8px;
}

.menu-list {
  list-style: none;
  padding: 0 12px;
  margin: 0;
}

.menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 5px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}

.menu-list a:hover {
  background: var(--light);
}

.menu-icon {
  width: 32px;
  height: 32px;
  background: var(--light);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 24px;
}

/* Main Content Area */
#main-content {
  flex: 1;
}

/* Generic Layout Classes for Elementor compatibility */
.hero-section {
  background: var(--white);
  padding: clamp(40px, 8vw, 72px) clamp(16px, 5vw, 40px) clamp(48px, 8vw, 80px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--header);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 20, 50, 0.12);
  margin-bottom: 24px;
}

.hero-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2.4;
}

.hero-pill span {
  color: var(--blue);
  font-weight: 700;
}

.hero-section h1 {
  font-size: clamp(1.56rem, 5vw, 2.4rem);
  font-weight: 700;
  color: var(--header);
  line-height: 1.15;
  margin-bottom: 12px;
  margin-top: 0;
}

.hero-subtitle {
  font-size: clamp(0.84rem, 3.4vw, 1rem);
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.services-section {
  background: #eef1f6;
  padding: 52px 0 64px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto 36px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-lt);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.7;
}

.service-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.service-desc {
  font-size: 0.86rem;
  color: #4a5968;
  flex: 1;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue);
  color: var(--white);
  padding: 9px 17px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  align-self: flex-start;
  margin-top: auto;
}

.service-btn svg {
  width: 11px;
  height: 11px;
  stroke: var(--white);
  stroke-width: 2.5;
  fill: none;
}

.service-card:hover .service-btn {
  background: var(--blue-dk);
  color: var(--white);
}

/* Compliance Training Banner */
.compliance-wrapper {
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 0 20px;
}

.compliance-wrapper h2 {
  font-size: 1.2rem;
  color: var(--header);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.compliance-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-wrap: wrap;
}

.compliance-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blue);
  fill: none;
}

.compliance-content {
  flex: 1 1 360px;
}

.compliance-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 0;
}

.compliance-content p {
  font-size: 0.95rem;
  color: #4a5968;
  margin: 0;
}

.compliance-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.compliance-link {
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--blue);
}

.compliance-btn {
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

.compliance-btn:hover {
  background: var(--blue-dk);
  color: var(--white);
}


/* Footer Trust Strip */
.trust-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
}

/* Main Footer */
.site-footer {
  background: var(--header);
  border-top: 3px solid var(--blue);
  padding: 40px 0 20px;
  color: var(--white);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 44px;
}

.footer-menus {
  margin-left: auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-group-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-group-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-group-list a:hover {
  color: var(--white);
}

.footer-bottom {
  background: #1a1a1a;
  padding: 20px 32px;
  border-top: 1px solid #2a2a2a;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.65rem;
  color: #a0a0a0;
  max-width: 1000px;
  margin: 0 auto 12px;
}

.footer-copyright {
  font-size: 0.65rem;
  color: #a0a0a0;
  margin: 0;
}

/* Generic Page Styles */
.page-header {
  background: var(--header);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
  border-bottom: 3px solid var(--blue);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
  margin-top: 0;
  color: var(--white);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.page-content {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-content h2 {
  color: var(--header);
  margin: 30px 0 15px;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

.page-content h3 {
  color: var(--header);
  margin: 20px 0 10px;
  font-size: 1.2rem;
}

.page-content p {
  margin-bottom: 20px;
  color: #4a5968;
}

.page-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: #4a5968;
}

.page-content li {
  margin-bottom: 10px;
}

/* Contact Form */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-info-block {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.contact-info-block h3 {
  margin-bottom: 15px;
  color: var(--header);
  margin-top: 0;
}

.contact-info-block p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-block svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  fill: none;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--header);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 1rem;
  background: var(--light);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.submit-btn:hover {
  background: var(--blue-dk);
}

/* Service Page Specifics */
.service-hero {
  background: linear-gradient(135deg, var(--header) 0%, #001a33 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 3px solid var(--blue);
}

.service-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: 0;
  color: var(--white);
}

.service-hero-price {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: #82c4ff;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.feature-item {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item svg {
  width: 40px;
  height: 40px;
  stroke: var(--blue);
  margin-bottom: 15px;
  fill: none;
}

.feature-item h3 {
  color: var(--header);
  margin-bottom: 10px;
  margin-top: 0;
}

.service-cta {
  text-align: center;
  margin-top: 40px;
}

.service-cta .btn-large {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-cta .btn-large:hover {
  background: var(--blue-dk);
}
