:root {
  --main-color: #B28D00;
  --bg-light: #fff;
  --bg-dark: #111;
  --text-color: #333;
  --accent-color: #f8f1da;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body & Flex Layout */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  background: var(--main-color);
  color: white;
  min-height: calc(100vh - 80px); /* 80px = footer height approx */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  flex-shrink: 0; /* prevent shrinking */
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

/* Container */
.container {
  max-width: 960px;
  margin: auto;
  padding: 0 20px;
}

/* Download Button */
.download-btn {
  background: white;
  color: var(--main-color);
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: var(--accent-color);
}

/* Features Section */
.features {
  padding: 60px 20px;
  background: var(--accent-color);
}

.features h2 {
  text-align: center;
  margin-bottom: 30px;
}

.features ul {
  list-style: none;
  text-align: center;
  font-size: 1.1rem;
}

.features li {
  margin-bottom: 15px;
}

/* Main */
main {
  flex: 1; /* expand to fill remaining space */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  flex-shrink: 0; /* prevent shrinking */
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 30px;
}

.footer-links li {
  margin: 0 15px;
}

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

.footer-links a:hover {
  color: var(--main-color);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  margin: 0;
}


/* Contact page info containers */
header section .container {
  display: block !important; /* stack vertically */
  text-align: right;         /* align RTL text properly */
  margin-bottom: 20px;       /* spacing between each container */
}

header section .container p {
  margin: 5px 0;             /* small spacing for each line */
  order: initial !important; /* reset any inline order */
  font-weight: normal;        /* reset bold if needed */
}

header section .container p:last-child {
  font-weight: bold;          /* keep email/phone bold */
}


/* Responsive */
@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .container.footer-flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-links li {
    margin: 10px 0;
  }
}
