@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

/* ROOT VARIABLES */
:root {
  --brand: #3a3b6b;
  --brand-light: #4a4cbf;
  --dark: #092032;
  --body: #516171;
  --border: rgba(0,0,0,0.08);
  --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
}

/* GLOBAL */
body {
  font-family: "Barlow", sans-serif;
  color: var(--body);
  line-height: 1.7;
}

h1,h2,h3,h4,h5,h6,
.display-1,.display-2,.display-3,.display-4 {
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--dark);
  font-weight: 500;
  transition: all 0.4s ease;
}
a:hover { color: var(--brand); }

section { padding: 80px 0; }
img { width: 100%; }

/* NAVBAR */
.navbar { box-shadow: var(--shadow); }
.navbar-brand { font-size: 20px; font-weight: 700; }
.navbar-brand .dot { color: var(--brand); }
.navbar .navbar-nav .nav-link { color: var(--dark); }
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--brand); }

/* BUTTONS */
.btn { padding: 8px 26px; border-radius: 50px; }
.btn-brand {
  background-color: var(--brand);
  color: #fff;
  border: none;
  transition: background 0.3s;
}
.btn-brand:hover {
  background-color: var(--brand-light);
  color: #fff;
}
.btn-outline-dark {
  border: 2px solid #1b1c3c;
  color: #1b1c3c;
  border-radius: 50px;
}
.btn-outline-dark:hover {
  background-color: #1b1c3c;
  color: #fff;
}

/* HERO SECTION */
.hero-section {
  text-align: center;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 20px;
  background-image: url('../img/R.jpeg'); /* desktop version */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-img { width: 200px; height: auto; margin: 0 auto 30px; }

/* MOBILE */

@media (max-width: 768px) {
  .hero-section {
    background-image: none !important;  // remove image on small screens 
    background-color: #fff;
  }
  .hero-img { width: 60%; }
}





/* =========================
   SLIDES SECTION
========================= */
#slides {
  background-color: #f8f9fa; /* light background */
  padding: 80px 0;
}

#slides .intro {
  text-align: center;
  margin-bottom: 50px;
}

#slides .intro h6 {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

#slides .intro h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

#slides .intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--body);
  line-height: 1.6;
}

/* =========================
   TEAM SECTION
========================= */

#team .intro {
  text-align: center;
  margin-bottom: 50px; /* space between intro and team cards */
}

#team .intro h6 {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

#team .intro h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

#team .intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--body);
  line-height: 1.6;
}


/* =========================
   BLOG SECTION
========================= */
#blog {
  padding: 80px 0;
}

#blog .intro {
  text-align: center;
  margin-bottom: 50px;
}

#blog .intro h6 {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 10px;
}

#blog .intro h1 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

#blog .intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--body);
  line-height: 1.6;
}

#myTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

#myTable th {
  background: #f2f2f2; /* lighter grey */
  color: #000;
  padding: 10px;
  text-align: center;
  font-weight: 600;
}

#myTable td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

#myTable td:first-child,
#myTable th:first-child {
  text-align: left;
}

#myTable tr:nth-child(even) {
  background: #fafafa;
}



/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  #slides .intro h1, #team .intro h1, #blog .intro h1 {
    font-size: 1.8rem;
  }

  .team-member h5 {
    font-size: 1rem;
  }

  .team-member p, .team-member .section p,
  .blog-post .content p {
    font-size: 0.85rem;
  }
}
