/* styles.css */

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
}

h1, h2 {
  font-family: 'Lora', serif;
  color: #333;
}

a {
  color: #fff;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: #5a85ba url('hero-background.jpg') no-repeat center/cover;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

/* responsive logo row (original - superseded below) */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* base image behavior (original - superseded below) */
.logo {
  height: auto;
  max-width: 100%;
  display: block;
}

/* maintain 2x width ratio on wide screens (original - superseded below) */
.logo.ccm  { width: min(720px, 66.666%); }
.logo.asia { width: min(360px, 33.333%); }

/* tighten gaps and keep ratio on tablets/phones (original - superseded below) */
@media (max-width: 1024px) {
  .logo.ccm  { width: min(60vw, 640px); }
  .logo.asia { width: min(30vw, 320px); }
  .logo-row  { gap: 24px; }
}

/* small phones: still 2x ratio, but sized to viewport (original - superseded below) */
@media (max-width: 640px) {
  .logo.ccm  { width: min(90vw, 560px); }
  .logo.asia { width: min(45vw, 280px); }
  .logo-row  { gap: 16px; }
}

.hero .logo-container img {
  max-width: 350px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #5a85ba;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
}

.cta-button:hover {
  background: #f4f4f4;
}

/* Section Styles */
.section {
  padding: 2rem 1rem;
  text-align: left;
}

.section.bg-light {
  background: #f4f4f4;
}

.section.bg-primary {
  background: #5a85ba;
  color: #fff;
}

.text-light a {
  color: #fff;
}

.content {
  max-width: 800px;
  margin: 0 auto;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

ul li:before {
  content: '✔';
  color: #5a85ba;
  position: absolute;
  left: 0;
  top: 0;
}

/* Footer */
footer {
  background: #5a85ba;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cta-button {
    font-size: 0.9rem;
  }
}

/* === Logo normalization fix ===
   Make both logos the same visual height, keep aspect ratio, side-by-side on desktop,
   stacked on small screens. */
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Base: normalize height */
.logo {
  max-height: 120px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 1024px) {
  .logo { max-height: 100px; }
  .logo-row { gap: 24px; }
}

/* Mobile */
@media (max-width: 640px) {
  .logo { max-height: 80px; }
  .logo-row { gap: 16px; }
}
/* === End logo normalization fix === */
