/* Load Inter font from Google Fonts in HTML head */
:root {
  --primary: #0D1E33;        /* Navy */
  --accent: #FFD700;         /* Golden yellow */
  --bg: #ffffff;
  --text: #0D1E33;
  --card-bg: #f9f9f9;
  --card-border: #ddd;
  --card-bg-dark: #112240;
  --card-border-dark: #33415c;
}

body.dark {
  --bg: #0D1E33;
  --text: #ffffff;
  --card-bg: var(--card-bg-dark);
  --card-border: var(--card-border-dark);
}

/* -------------------------
   BASE STYLES
------------------------- */
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -------------------------
   HEADER & NAV
------------------------- */
header {
  background: var(--primary);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-nav {
  display: flex;
  align-items: center;
}

header img {
  height: 50px;
  width: auto;
  margin-right: 30px;
}

nav a {
  color: #fff;
  margin-right: 20px;
  font-weight: 600;
  font-size: 1rem;
}

nav a:hover {
  color: var(--accent);
}

#theme-toggle {
  background: var(--accent);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

/* -------------------------
   HERO SECTION
------------------------- */
.hero {
  background: url('../img/hero.jpg') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero-text {
  background: rgba(13, 30, 51, 0.8);
  padding: 40px;
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
}

.hero-text h1 {
  margin-bottom: 20px;
  font-size: 2.8rem;
}

.hero-text p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.cta-buttons {
  margin-top: 25px;
}

.cta-buttons .button {
  background: var(--accent);
  color: var(--primary);
  padding: 12px 24px;
  margin: 10px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  display: inline-block;
}

.button.alt {
  background: #fff;
  color: var(--primary);
}

.cta-buttons .button:hover {
  opacity: 0.9;
}

/* -------------------------
   TRUST SECTION
------------------------- */
.trust {
  padding: 60px 20px;
  text-align: center;
}

.trust h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.trust ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
}

.trust li {
  margin: 10px 0;
  font-size: 1.1rem;
}

/* -------------------------
   SERVICE CARDS
------------------------- */
.services-preview,
.services-page {
  padding: 60px 20px;
  text-align: center;
  max-width: 1100px;
  margin: auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  max-width: 300px;
  flex: 1 1 250px;
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
}

.card img {
  width: 100%;
  height: auto;
}

.card h3 {
  margin: 15px 10px 5px 10px;
  color: var(--primary);
}

.card p {
  margin: 0 10px 15px 10px;
  line-height: 1.4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 20px;
  border-radius: 6px;
  text-align: center;
}

.service-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

/* -------------------------
   ABOUT PAGE
------------------------- */
.about-page {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-page h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

.about-page p {
  margin-bottom: 20px;
  line-height: 1.6;
}

/* -------------------------
   CONTACT PAGE
------------------------- */
.contact-page {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.contact-page h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-page form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  max-width: 400px;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: 4px;
  font-family: inherit;
}

.contact-page button {
  width: 160px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: var(--accent);
  color: var(--primary);
  font-weight: bold;
  cursor: pointer;
}

.contact-page button:hover {
  opacity: 0.9;
}

.contact-page p {
  margin: 12px 0;
  font-size: 0.95rem;
}

/* -------------------------
   FOOTER
------------------------- */
footer {
  text-align: center;
  padding: 20px;
  background: var(--primary);
  color: #fff;
}
