/* CSS Variables & Reset */
:root {
  /* Extracted Colors from Screenshot */
  --primary-blue: #1c2a5e;
  /* Deep Navy Blue from logo/headers */
  --accent-gold: #f4b400;
  /* Yellow/Gold for highlights */
  --card-bg-gold: #fff8e1;
  /* Light beige for stats */
  --btn-green: #2ecc71;
  /* Vibrant green for CTA */
  --teal-border: #4db6ac;
  /* Cyan/Teal for outline buttons */

  --text-dark: #333333;
  --text-light: #ffffff;
  --text-grey: #666666;

  --bg-light: #ffffff;
  --bg-section: #f9f9f9;

  --font-main: 'Inter', sans-serif;

  --container-width: 1600px;
  /* Standard Desktop Width */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;

  /* Typography Scale */
  --fs-h1: 48px;
  --fs-h2: 32px;
  --fs-h3: 24px;
  --fs-body: 18px;
  --fs-small: 14px;
  --fs-btn: 18px;
}

@media (max-width: 1024px) {
  :root {
    --fs-h1: 36px;
    --fs-h2: 26px;
    --fs-h3: 20px;
    --fs-body: 16px;
    --fs-small: 13px;
    --fs-btn: 16px;
  }
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 28px;
    --fs-h2: 21px;
    --fs-h3: 17px;
    --fs-body: 14px;
    --fs-small: 12px;
    --fs-btn: 15px;
  }

  /* Force mobile font sizes - override inline styles */
  h1,
  h1[style] {
    font-size: 28px !important;
  }

  h2,
  h2[style] {
    font-size: 21px !important;
  }

  h3,
  h3[style],
  strong[style*="font-size"] {
    font-size: 17px !important;
  }

  p,
  p[style],
  li {
    font-size: 14px !important;
  }

  small,
  .small,
  [style*="font-size: 0.9"],
  [style*="font-size: 0.95"] {
    font-size: 12px !important;
  }

  button,
  .btn,
  .btn[style] {
    font-size: 15px !important;
  }

  /* Specific padding for "Explore" buttons in section headers on mobile */
  .section-header .btn {
    padding: 5px 10px !important;
  }

  /* .logo-box img {
    height: 60px;
    
  }

  footer .logo-box img {
    height: 120px;
   
  } */
}

/* Tablet (768px - 1024px) - Force font sizes */
@media (min-width: 768px) and (max-width: 1024px) {

  /* h1,
  h1[style] {
    font-size: 36px !important;
  } */

  h1,
  h1[style] {
    font-size: 20px !important;
  }

  h2,
  h2[style] {
    font-size: 20px !important;
  }

  h3,
  h3[style],
  strong[style*="font-size"] {
    font-size: 20px !important;
  }

  p,
  p[style],
  li {
    font-size: 16px !important;
  }

  small,
  .small {
    font-size: 13px !important;
  }

  button,
  .btn,
  .btn[style] {
    font-size: 16px !important;
  }
}

/* Desktop (> 1024px) - Force font sizes */
@media (min-width: 1025px) {

  h1,
  h1[style] {
    font-size: 48px !important;
  }

  h2,
  h2[style] {
    font-size: 32px !important;
  }

  h3,
  h3[style],
  strong[style*="font-size"] {
    font-size: 24px !important;
  }

  p,
  p[style],
  li {
    font-size: 18px !important;
  }

  small,
  .small {
    font-size: 14px !important;
  }

  button,
  .btn,
  .btn[style] {
    font-size: 18px !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: var(--fs-body);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 5%;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 20px;
  }
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: clamp(40px, 5vw, 60px) 0;
}

.text-gold {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: var(--fs-btn);
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}

.btn-green {
  background: var(--primary-blue);
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(28, 42, 94, 0.2);
}

.btn-outline-teal {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn:hover {
  opacity: 0.9;
}

/* Header */
header {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  background: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .logo-box {

  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  height: 60px ;

  width: auto;
}

footer .logo-box img {
  height: 200px;
 
}

@media (max-width: 1024px) {
  footer .logo-box img {
    height: 150px;
  }
} */


.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}


.logo-box img {
  height: 60px;
  width: auto;
}

footer .logo-box img {
  height: 200px;
}


@media (max-width: 1024px) and (min-width: 768px) {
  .logo-box img {
    height: 50px;
  }

  footer .logo-box img {
    height: 150px;
  }
}


@media (max-width: 767px) {
  .logo-box img {
    height: 40px;
  }

  footer .logo-box img {
    height: 120px;
  }
}


.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #777;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--primary-blue);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: white;
}

@media (max-width: 767px) {
  .hero {
    padding: 40px 0;
  }

  /* Reduce banner/hero section height on mobile */
  section[style*="linear-gradient"][style*="min-height"] {
    min-height: 300px !important;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-subtitle {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-content h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-desc {
  color: var(--text-grey);
  margin-bottom: 2rem;
  max-width: 450px;
}

/* Inner Page Hero Sections - Target only hero sections with gradient backgrounds */
section[style*="linear-gradient"] h1 {
  font-size: var(--fs-h1) !important;
}

section[style*="linear-gradient"] p {
  font-size: var(--fs-body) !important;
}

.iso-illustration {
  background-color: #f0f4f8;
  height: 350px;
  position: relative;
  /* Use CSS to simulate the visual if possible, or just placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* Stats Section */
.stats-section {
  padding-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  /* background-color: var(--card-bg-gold); replaced with light blue transparent */
  background-color: rgba(28, 42, 94, 0.05);
  padding: 20px;
  text-align: center;
  border-radius: var(--border-radius-sm);
}

.stat-card h2 {
  color: #d4a017;
  /* Darker Gold for text */
  font-size: var(--fs-h2);
  margin-bottom: 5px;
}

.stat-card p {
  color: #555;
  font-size: var(--fs-small);
  font-weight: 500;
}

/* Section Header Shared */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: var(--fs-h2);
  color: var(--text-dark);
}

/* Services Section */
.services-section {
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.service-card {
  padding: 30px;
  border-radius: var(--border-radius-sm);
  /* slight shadow based on design usually having definition */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  min-height: 280px;
  /* Make cards taller */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Or space-between if they want aligned bottoms, but usually top-aligned content is safer */
}

.card-blue {
  background-color: var(--primary-blue);
  color: white;
}

.card-white {
  background-color: #fcfcfc;
  border: 1px solid #f0f0f0;
}

.card-white h3 {
  color: var(--primary-blue);
}

.card-white p {
  color: var(--text-grey);
}

.icon-box,
.icon-box-dark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.icon-box {
  background: rgba(255, 255, 255, 0.2);
}

.icon-box-dark {
  background: var(--primary-blue);
  color: white;
}

.service-card h3 {
  font-size: var(--fs-h3);
  margin-bottom: 10px;
}

.service-card p {
  font-size: var(--fs-body);
  line-height: 1.6;
}

/* Featured Projects */
.projects-section {
  padding-bottom: 80px;
}

/* Container width handled globally */

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  /* Matches visual spacing roughly */
}

.project-row {
  display: flex;
  align-items: center;
  gap: 60px;
  /* Horizontal gap between text and image */
  width: 100%;
}

/* Strict Alternating Layout */
.projects-list .project-row:nth-child(even) {
  flex-direction: row-reverse;
}

/* Force 50/50 columns by sharing available space */
.project-media,
.project-info {
  flex: 1;
  /* Automatically takes (100% - gap) / 2 */
  min-width: 0;
  /* Prevents overflow issues */
  padding: 0;
  /* Remove internal padding to align with header */
}

/* Ensure images don't overflow */
.project-media img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-info h3 {
  color: var(--primary-blue);
  font-size: var(--fs-h3);
  /* Slightly larger for impact */
  margin-bottom: 16px;
  line-height: 1.2;
}

.project-info p {
  color: var(--text-grey);
  line-height: 1.6;
  font-size: var(--fs-body);
}

.burmese-font {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Footer */
footer {
  border-top: 1px solid #eee;
  padding: 60px 0 20px;
  background: white;
}

.footer-layout {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 80px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 100px;
}

.footer-links a {
  color: var(--text-grey);
  transition: all 0.3s ease;
  display: inline-block;
  /* Required for transform */
}

.footer-links a:hover {
  color: var(--primary-blue);
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  flex: 1;
  /* Allow it to take remaining space */
}

.office-block {
  min-width: 200px;
}

.office-block h4 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.office-block p {
  font-size: 0.9rem;
  color: var(--text-grey);
  margin-bottom: 6px;
  line-height: 1.6;
}

.office-block a {
  color: var(--text-grey);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, text-decoration 0.2s;
}

.office-block a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.copyright {
  border-top: 1px solid #f5f5f5;
  padding-top: 20px;
  text-align: center;
  font-size: var(--fs-small);
  color: #aaa;
}

/* Placeholders */
.placeholder-img {
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-align: center;
  color: #999;
  font-weight: 500;
}

.project-phones {
  height: 300px;
  width: 100%;
  border: 2px dashed #ddd;
}

.project-devices {
  height: 300px;
  width: 100%;
  border: 2px dashed #ddd;
}

/* Member Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 25px;
  transition: box-shadow 0.3s ease;
  padding: 15px;
  /* Added inner padding for better mobile feel */
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 30px;
  margin-bottom: 15px;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #f0f4f8;
}

.member-info {
  text-align: center;
  padding: 0 20px;
}

.member-info h3 {
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.member-info p {
  color: var(--text-grey);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Response Breakpoints for Team Grid */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive adjustments for Desktop Focus */
/* Mobile only rules - tablets use desktop layout */
@media (max-width: 767px) {

  .hero-grid,
  .services-grid,
  .project-row,
  .stats-grid,
  .footer-layout {
    grid-template-columns: 1fr;
    flex-direction: column !important;
    /* Force column stack on mobile */
  }

  /* Reset Project widths on mobile */
  .projects-section .container {
    padding: 0 20px;
  }

  .project-media,
  .project-info {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .navbar {
    flex-wrap: wrap;
  }

  /* Hide desktop nav and show mobile toggle ONLY on mobile (not tablet) */
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Tablet screens (768px - 1024px) use desktop navigation */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.mobile-sidebar.active {
  transform: translateX(0);
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-top: 10px;
}

.close-sidebar-btn {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-links li {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
}

.mobile-sidebar.active .sidebar-links li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-sidebar.active .sidebar-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-sidebar.active .sidebar-links li:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-sidebar.active .sidebar-links li:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-sidebar.active .sidebar-links li:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-sidebar.active .sidebar-links li:nth-child(5) {
  transition-delay: 0.3s;
}

.sidebar-links a {
  font-size: var(--fs-body);
  color: #999;
  font-weight: 500;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-links a:hover {
  color: var(--primary-blue);
}

.sidebar-links a.highlight {
  color: var(--primary-blue);
  font-weight: 600;
}

.sidebar-links a.active {
  color: var(--primary-blue);
  font-weight: 600;
}