/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  width: 100%;
  min-height: 100vh;

  background: #ffffff;
  color: #000000;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  overflow-x: hidden;
}


img {
  max-width: 100%;
}


a {
  color: inherit;
  text-decoration: none;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}



/* =========================================================
   DESIGN VARIABLES
========================================================= */

:root {

  --blue: #003b7a;
  --blue-dark: #002d61;
  --blue-light: #087fe5;

  --orange: #f6a000;
  --orange-dark: #e89100;

  --cyan: #54d2d9;

  --black: #111111;
  --gray: #555555;
  --light-gray: #f6f8fb;

  --white: #ffffff;

  --container: 1180px;

  --shadow:
    0 15px 40px rgba(0, 59, 122, 0.08);

  --transition:
    0.3s ease;
}



/* =========================================================
   TOP MARQUEE
========================================================= */

.marquee-container {
  width: 100%;
  height: 30px;

  overflow: hidden;

  display: flex;
  align-items: center;

  background: var(--orange);

  white-space: nowrap;
}


.marquee-track {
  display: flex;
  align-items: center;

  width: max-content;

  animation:
    marquee 28s linear infinite;
}


.marquee-track span {
  display: block;

  margin-right: 60px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 11px;

  line-height: 30px;

  color: #000000;

  white-space: nowrap;
}


@keyframes marquee {

  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }

}



/* =========================================================
   HEADER
========================================================= */

.site-header {
  width: 100%;
  background: #ffffff;
}


.navbar {
  width: min(1180px, 90%);

  height: 105px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* Rotary logo */

.rotary-logo {
  display: inline-flex;
  align-items: center;

  transition:
    transform var(--transition);
}


.rotary-logo:hover {
  transform: translateY(-2px);
}


.rotary-logo img {
  width: 115px;
  height: auto;

  display: block;
}



/* Navigation actions */

.nav-actions {
  display: flex;
  align-items: center;

  gap: 14px;
}



/* LearnSmart badge */

.learnsmart-badge {
  display: flex;
  align-items: center;

  transition:
    transform var(--transition),
    filter var(--transition);
}


.learnsmart-badge:hover {
  transform: translateY(-3px);

  filter:
    drop-shadow(0 6px 8px rgba(0, 0, 0, 0.12));
}


.learnsmart-badge img {
  width: 88px;
  height: auto;

  display: block;
}



/* Back button */

.back-home {
  height: 37px;

  min-width: 132px;

  padding: 0 14px;

  border: 1px solid var(--blue);

  border-radius: 6px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  background: #ffffff;

  color: var(--blue);

  font-size: 11px;
  font-weight: 500;

  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


.back-home:hover {
  background: var(--blue);

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0, 59, 122, 0.18);
}


.arrow {
  font-size: 15px;

  line-height: 1;

  transition:
    transform var(--transition);
}


.back-home:hover .arrow {
  transform: translateX(-3px);
}



/* =========================================================
   HERO
========================================================= */

.hero {
  width: min(1180px, 90%);

  min-height: 275px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;

  padding-bottom: 10px;
}



/* Left content */

.hero-content {
  width: 48%;

  position: relative;

  z-index: 2;
}


.eyebrow {
  margin-bottom: 10px;

  color: var(--orange);

  font-size: 10px;
  font-weight: 500;

  line-height: 1.2;
}


.hero-title {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(42px, 5vw, 60px);

  font-weight: 700;

  line-height: 0.98;

  letter-spacing: -1.5px;
}


.title-blue {
  display: block;

  color: var(--blue);
}


.title-orange {
  display: block;

  margin-top: 12px;

  color: var(--orange);
}


.title-orange em {
  font-style: italic;
}



/* Small line underneath heading */

.hero-content::after {
  content: "";

  display: block;

  width: 23px;
  height: 2px;

  margin-top: 11px;

  background: var(--blue);
}



/* Right description */

.hero-description {
  width: 47%;

  margin-top: 55px;

  text-align: center;

  color: #111111;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 14px;

  line-height: 1.35;
}


.hero-description p {
  margin: 0;
}



/* =========================================================
   DECORATIVE LINE
========================================================= */

.line-section {
  width: 100%;

  overflow: hidden;

  line-height: 0;
}


.line-section img {
  width: 100%;

  height: auto;

  display: block;
}


.rotary-divider {
  margin-top: 20px;
}



/* =========================================================
   LEARNSMART SECTION
========================================================= */

.learnsmart-section {
  width: min(1180px, 90%);

  min-height: 600px;

  margin: 0 auto;

  padding: 90px 0;

  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  align-items: center;

  gap: 90px;
}



/* Image */

.learnsmart-visual {
  display: flex;

  align-items: center;
  justify-content: center;
}


.learnsmart-visual img {
  width: min(440px, 100%);

  height: auto;

  display: block;

  transition:
    transform 0.5s ease;
}


.learnsmart-visual:hover img {
  transform:
    translateY(-8px)
    rotate(-1deg);
}



/* Content */

.learnsmart-content {
  max-width: 600px;
}


.section-label {
  margin-bottom: 13px;

  color: var(--orange);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.2px;
}


.learnsmart-content h2,
.rotary-content h2 {
  margin-bottom: 20px;

  color: var(--blue);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(38px, 4vw, 53px);

  font-weight: 700;

  line-height: 1.02;

  letter-spacing: -1px;
}


.section-description {
  max-width: 600px;

  color: #444444;

  font-size: 14px;

  line-height: 1.7;
}



/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {
  margin-top: 35px;

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 18px;
}


.feature-card {
  min-height: 125px;

  padding: 22px;

  display: flex;

  align-items: flex-start;

  gap: 15px;

  background: #ffffff;

  border: 1px solid #e8edf3;

  border-radius: 12px;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.04);

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}


.feature-card:hover {
  transform:
    translateY(-7px);

  border-color:
    rgba(0, 59, 122, 0.2);

  box-shadow:
    0 18px 35px rgba(0, 59, 122, 0.11);
}


.feature-icon {
  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(246, 160, 0, 0.1);

  border-radius: 10px;
}


.feature-icon img {
  width: 32px;
  height: 32px;

  object-fit: contain;
}


.feature-card h3 {
  margin-bottom: 7px;

  color: var(--blue);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 19px;
}


.feature-card p {
  color: #666666;

  font-size: 12px;

  line-height: 1.5;
}



/* =========================================================
   VISIT BUTTON
========================================================= */

.visit-button {
  width: fit-content;

  margin-top: 30px;

  padding: 13px 19px;

  display: inline-flex;
  align-items: center;

  gap: 15px;

  background: var(--blue);

  border: 1px solid var(--blue);

  border-radius: 6px;

  color: #ffffff;

  font-size: 12px;
  font-weight: 600;

  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}


.visit-button:hover {
  background: var(--orange);

  border-color: var(--orange);

  transform:
    translateY(-3px);

  box-shadow:
    0 12px 25px rgba(246, 160, 0, 0.25);
}


.button-arrow {
  font-size: 17px;

  transition:
    transform var(--transition);
}


.visit-button:hover .button-arrow {
  transform:
    translateX(5px);
}



/* =========================================================
   ROTARY SECTION
========================================================= */

.rotary-section {
  width: min(1180px, 90%);

  min-height: 520px;

  margin: 0 auto;

  padding: 90px 0;

  display: grid;

  grid-template-columns:
    0.95fr
    1.05fr;

  align-items: center;

  gap: 80px;
}


.rotary-content h2 {
  color: var(--orange);
}


.rotary-content .section-description {
  max-width: 570px;
}



/* =========================================================
   ROTARY VALUE CARDS
========================================================= */

.values-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 16px;
}


.value-card {
  min-height: 235px;

  padding: 30px 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  background: var(--light-gray);

  border: 1px solid transparent;

  border-radius: 14px;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}


.value-card:hover {
  transform:
    translateY(-8px);

  background: #ffffff;

  border-color:
    rgba(246, 160, 0, 0.25);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.08);
}


.value-icon {
  width: 70px;
  height: 70px;

  margin-bottom: 17px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;

  border-radius: 50%;

  box-shadow:
    0 7px 20px rgba(0, 0, 0, 0.06);

  transition:
    transform var(--transition);
}


.value-card:hover .value-icon {
  transform:
    scale(1.08)
    rotate(4deg);
}


.value-icon img {
  width: 48px;
  height: 48px;

  object-fit: contain;
}


.value-card h3 {
  margin-bottom: 8px;

  color: var(--blue);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 21px;
}


.value-card p {
  color: #555555;

  font-size: 12px;

  line-height: 1.5;
}



/* =========================================================
   FOOTER
========================================================= */

.footer {
  margin-top: 30px;

  background: var(--blue);

  color: #ffffff;
}


.footer-inner {
  width: min(1180px, 90%);

  margin: 0 auto;

  padding: 65px 0 50px;

  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    0.7fr;

  gap: 55px;
}



/* Footer brand */

.footer-brand img {
  width: 115px;

  height: auto;

  margin-bottom: 18px;
}


.footer-brand p {
  color:
    rgba(255, 255, 255, 0.72);

  font-size: 12px;

  line-height: 1.7;
}



/* Footer columns */

.footer-column {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
}


.footer-column h3 {
  margin-bottom: 18px;

  color: var(--orange);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 18px;
}


.footer-column p,
.footer-column a {
  margin-bottom: 9px;

  color:
    rgba(255, 255, 255, 0.72);

  font-size: 11px;

  line-height: 1.6;

  transition:
    color var(--transition),
    transform var(--transition);
}


.footer-column a:hover {
  color: #ffffff;

  transform:
    translateX(3px);
}



/* Social */

.social-links {
  display: flex;

  gap: 10px;
}


.social-links a {
  width: 35px;
  height: 35px;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  transition:
    background var(--transition),
    transform var(--transition);
}


.social-links a:hover {
  background: var(--orange);

  transform:
    translateY(-4px);
}


.social-links img {
  width: 17px;
  height: 17px;

  object-fit: contain;
}



/* Footer bottom */

.footer-bottom {
  border-top:
    1px solid rgba(255, 255, 255, 0.12);

  padding: 20px 5%;

  text-align: center;
}


.footer-bottom p {
  color:
    rgba(255, 255, 255, 0.55);

  font-size: 10px;
}



/* =========================================================
   RESPONSIVE — LARGE TABLET
========================================================= */

@media (max-width: 1000px) {

  .hero {
    min-height: 300px;
  }


  .hero-title {
    font-size: 48px;
  }


  .hero-description {
    font-size: 12px;
  }


  .learnsmart-section {
    gap: 50px;
  }


  .rotary-section {
    gap: 45px;
  }


  .footer-inner {
    grid-template-columns:
      repeat(2, 1fr);

    gap: 45px;
  }

}



/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 768px) {

  .navbar {
    width: 90%;

    height: 85px;
  }


  .rotary-logo img {
    width: 100px;
  }


  .learnsmart-badge img {
    width: 75px;
  }


  .back-home {
    min-width: auto;

    height: 34px;

    padding: 0 10px;

    font-size: 10px;
  }


  /* Hero */

  .hero {
    min-height: 420px;

    width: 90%;

    padding:
      45px 0;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
  }


  .hero-content {
    width: 100%;
  }


  .hero-title {
    font-size: clamp(43px, 8vw, 55px);
  }


  .hero-description {
    width: 85%;

    margin-top: 45px;

    text-align: left;

    font-size: 13px;
  }


  /* LearnSmart */

  .learnsmart-section {
    padding: 70px 0;

    grid-template-columns: 1fr;

    gap: 55px;
  }


  .learnsmart-visual {
    order: 1;
  }


  .learnsmart-content {
    order: 2;
  }


  .learnsmart-content h2,
  .rotary-content h2 {
    font-size: 43px;
  }


  /* Rotary */

  .rotary-section {
    padding: 70px 0;

    grid-template-columns: 1fr;

    gap: 50px;
  }


  .values-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .value-card {
    min-height: 210px;

    padding:
      25px 12px;
  }


  /* Footer */

  .footer-inner {
    grid-template-columns:
      repeat(2, 1fr);
  }

}



/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 560px) {

  /* Marquee */

  .marquee-container {
    height: 25px;
  }


  .marquee-track span {
    font-size: 9px;

    line-height: 25px;

    margin-right: 35px;
  }



  /* Navbar */

  .navbar {
    width: 90%;

    height: 75px;
  }


  .rotary-logo img {
    width: 90px;
  }


  .nav-actions {
    gap: 6px;
  }


  .learnsmart-badge img {
    width: 63px;
  }


  .back-home {
    height: 31px;

    padding: 0 7px;

    border-radius: 5px;

    font-size: 8px;

    gap: 4px;
  }


  .arrow {
    font-size: 12px;
  }



  /* Hero */

  .hero {
    width: 90%;

    min-height: 400px;

    padding:
      40px 0 45px;
  }


  .eyebrow {
    font-size: 8px;

    margin-bottom: 9px;
  }


  .hero-title {
    font-size: 43px;

    line-height: 0.98;

    letter-spacing: -1px;
  }


  .title-orange {
    margin-top: 11px;
  }


  .hero-description {
    width: 100%;

    margin-top: 45px;

    font-size: 11px;

    line-height: 1.45;
  }



  /* LearnSmart */

  .learnsmart-section,
  .rotary-section {
    width: 88%;

    padding:
      65px 0;
  }


  .learnsmart-content h2,
  .rotary-content h2 {
    font-size: 38px;

    line-height: 1.03;
  }


  .section-label {
    font-size: 9px;
  }


  .section-description {
    font-size: 12px;

    line-height: 1.7;
  }



  /* Feature cards */

  .feature-grid {
    grid-template-columns: 1fr;

    gap: 13px;
  }


  .feature-card {
    min-height: auto;

    padding: 18px;
  }


  .feature-card h3 {
    font-size: 17px;
  }


  .feature-card p {
    font-size: 11px;
  }


  .visit-button {
    font-size: 11px;

    padding:
      12px 16px;
  }



  /* Rotary cards */

  .values-grid {
    grid-template-columns: 1fr;

    gap: 15px;
  }


  .value-card {
    min-height: 190px;
  }



  /* Footer */

  .footer-inner {
    width: 88%;

    padding:
      50px 0 40px;

    grid-template-columns: 1fr;

    gap: 35px;
  }


  .footer-brand img {
    width: 105px;
  }


  .footer-column h3 {
    font-size: 17px;
  }


  .footer-bottom {
    padding:
      18px 6%;
  }

}



/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .hero-title {
    font-size: 37px;
  }


  .hero-description {
    font-size: 10px;
  }


  .back-home span:last-child {
    display: none;
  }


  .back-home {
    width: 32px;

    min-width: 32px;

    padding: 0;
  }


  .learnsmart-badge img {
    width: 58px;
  }

}



/* =========================================================
   ACCESSIBILITY
========================================================= */

a:focus-visible {
  outline:
    3px solid rgba(246, 160, 0, 0.6);

  outline-offset: 4px;
}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}