/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ================= VARIABLES ================= */
:root {
  --red: #e63946;
  --dark: #222;
  --light: #ffffff;
  --gray: #555;
}

/* ================= UTILITIES ================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.header {
  background: var(--light);
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--dark);
}

.logo span {
  color: var(--red);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--red);
}

/* ================= HERO ================= */
.hero {
  background: var(--light);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 44px;
  color: var(--dark);
  margin-bottom: 15px;
}

.hero p {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ================= BUTTON ================= */
.btn-primary {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  padding: 14px 34px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

/* ================= HERO BACKGROUND SHAPES ================= */
.bg-shapes span {
  position: absolute;
  display: block;
  width: 120px;
  height: 120px;
  background: rgba(230, 57, 70, 0.08);
  border-radius: 50%;
  animation: float 12s infinite ease-in-out;
}

.bg-shapes span:nth-child(1) {
  top: 20%;
  left: 10%;
}

.bg-shapes span:nth-child(2) {
  top: 60%;
  left: 70%;
  width: 180px;
  height: 180px;
  animation-duration: 16s;
}

.bg-shapes span:nth-child(3) {
  top: 30%;
  left: 50%;
  width: 90px;
  height: 90px;
  animation-duration: 10s;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
  100% { transform: translateY(0); }
}

/* ================= BLOG LIST ================= */
/* ================= BLOG LIST PAGE ================= */

.blog-list {
  padding: 80px 0;
  background: #ffffff;
}

.blog-list h1 {
  font-size: 34px;
  margin-bottom: 40px;
  color: #222;
  text-align: center;
}

/* Grid layout for blog cards */
.blog-list .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Individual blog card */
.blog-box {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 30px;
  transition: all 0.35s ease;
}

/* Make whole card clickable */
.blog-box a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Blog title */
.blog-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--red);
}

/* Blog description */
.blog-box p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* Hover effect */
.blog-box:hover {
  transform: translateY(-8px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 0 25px rgba(230, 57, 70, 0.18);
}

/* Title color change on hover */
.blog-box:hover h3 {
  color: #c92d3a;
}

/* ================= SINGLE BLOG ================= */

.blog-post {
  padding: 80px 0;
}

.blog-post .container {
  max-width: 800px;
}

.blog-post h1 {
  font-size: 36px;
  margin-bottom: 25px;
}

.blog-post h2 {
  font-size: 26px;
  margin-top: 40px;
}

.blog-post p {
  font-size: 18px;
  line-height: 1.8;
  color: #444;
}



/* ================= PAGE CONTENT (ABOUT / LEGAL / CONTACT) ================= */
.page-content {
  padding: 90px 0;
  background: #ffffff;
}

.page-content .container {
  max-width: 900px;
}

.page-content h1 {
  font-size: 38px;
  margin-bottom: 30px;
}

.page-content h2 {
  font-size: 23px;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 4px solid var(--red);
  padding-left: 12px;
}

.page-content p {
  font-size: 17px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 18px;
}

/* ================= CONTACT ================= */
.contact-center {
  text-align: center;
  margin-top: 30px;
}

/* ================= FOOTER ================= */
.footer {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 25px 0;
  margin-top: 60px;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-text {
  font-size: 14px;
  color: #666;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .page-content h1 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .footer-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
