/* ============================================
   M³ Technologies - Single-File Stylesheet
   Self-contained, minimal dependencies
============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* -------------------------
   CSS Reset & Base
-------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1b2632;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1a7ee8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0d52a3;
}

ul {
  list-style: none;
}

/* -------------------------
   Typography
-------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #1b2632;
  line-height: 1.3;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 34px;
  font-weight: 800;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
  color: #4f5866;
  font-size: 16px;
  line-height: 1.6;
}

/* -------------------------
   Layout Containers
-------------------------- */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.col-md-4 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.col-lg-6 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* -------------------------
   Header & Navigation
-------------------------- */

.header-area {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  flex-wrap: wrap;
}

.logo a {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #000052;
}

.main-menu ul {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.main-menu ul li a {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b2632;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}

.main-menu ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #1a7ee8;
  transition: width 0.25s ease;
}

.main-menu ul li a:hover::after,
.main-menu ul li a.active::after {
  width: 100%;
}

@media (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .main-menu ul {
    gap: 16px;
  }
}

/* -------------------------
   Hero / Slider Section
-------------------------- */

.slider-area {
  position: relative;
  background: linear-gradient(rgba(9, 30, 62, 0.82), rgba(9, 30, 62, 0.88)), 
              url('img/hero-bg.jpg') center center / cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.hero__caption {
  padding: 60px 0;
}

.hero-tagline-top {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.hero__caption h1 {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #e3ecff;
  max-width: 520px;
}

.hero-tagline {
  font-size: 16px;
  color: #f4f7ff;
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero__btn {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .slider-area {
    min-height: 420px;
  }
  
  .hero__caption h1 {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 17px;
  }
  
  .hero-tagline {
    font-size: 15px;
  }
}

/* -------------------------
   Buttons
-------------------------- */

.btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.hero-btn {
  background: #1a7ee8;
  color: #ffffff;
}

.hero-btn:hover {
  background: #0d52a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 126, 232, 0.4);
}

.border-btn {
  background: transparent;
  border: 2px solid #f067ff;
  color: #f067ff;
}

.border-btn:hover {
  background: #f067ff;
  color: #ffffff;
}

/* -------------------------
   Section Titles
-------------------------- */

.section-tittle {
  text-align: center;
  margin-bottom: 50px;
}

.section-tittle h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1b2632;
  margin-bottom: 12px;
}

.section-tittle p {
  font-size: 17px;
  color: #5a6570;
  max-width: 680px;
  margin: 0 auto;
}

/* -------------------------
   Advisory Pillars (Home)
-------------------------- */

.advisory-services-area {
  background: #f9fafb;
}

.single-services {
  text-align: center;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.single-services:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.services-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: #1a7ee8;
}

.services-cap h5 {
  font-size: 20px;
  font-weight: 700;
  color: #1b2632;
  margin-bottom: 10px;
}

.services-cap p {
  font-size: 15px;
  line-height: 1.6;
  color: #5a6570;
}

/* -------------------------
   Content Sections (About/Advisory)
-------------------------- */

.content-section {
  background: #ffffff;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1b2632;
  margin-bottom: 16px;
  margin-top: 32px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1b2632;
  margin-bottom: 12px;
  margin-top: 28px;
}

.content-section h4 {
  font-size: 19px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  margin-top: 20px;
}

.content-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #4f5866;
  margin-bottom: 16px;
}

.content-section ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}

.content-section ul li {
  margin-bottom: 8px;
  color: #4f5866;
  line-height: 1.6;
}

.content-section strong {
  color: #1b2632;
  font-weight: 600;
}

/* Highlight boxes */
.highlight-box {
  background: #f0f7ff;
  border-left: 4px solid #1a7ee8;
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 4px;
}

.highlight-box p {
  margin-bottom: 0;
  color: #2c3e50;
}

/* Vision Page Specific Image Styling */
.vision-image {
  margin: 0 auto 20px auto; /* Center image and add bottom margin */
  max-height: 350px; /* Limit height to prevent overly large images */
  object-fit: contain; /* Ensure image fits without cropping */
}

/* -------------------------
   Footer
-------------------------- */

.footer-area {
  background: #000022;
  color: #a5a7c5;
  padding: 40px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-logo p {
  font-size: 14px;
  color: #a5a7c5;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #a5a7c5;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

.footer-social {
  flex: 1;
  min-width: 150px;
}

.footer-social h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #a5a7c5;
  font-size: 20px;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #1a7ee8;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: #7a8290;
  margin: 0;
}

@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
  }
}

/* -------------------------
   Utility Classes
-------------------------- */

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem !important; /* Added for more spacing */
}

.ml-2 {
  margin-left: 0.5rem;
}