@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --bg-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bd-font-sans-serif: 'Open Sans', sans-serif;
  --bd-light: #F4F6F8;
  --bd-dark: #3A3F44;
  --primary: #eb1c24;
  --secondary: #FDBE33;
  --light: #F4F6F8;
  --dark: #040F28;
  --gray: #1a1919;
  --dark-bg: #3A3F44;
  --primary-red: #eb1c24;
  --secondary-yellow: #FDBE33;
  --light-bg: #F4F6F8;
  --text-gray: #1a1919;
  --header-bg: #3A3F44;
  --font-primary: 'Open Sans', sans-serif;
  --font-heading: 'Roboto', sans-serif;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-size: clamp(1rem, 2.2vh, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  font-family: var(--bd-font-sans-serif);
  background-color: whitesmoke;
}

img {
  display: block;
  overflow-clip-margin: content-box;
  overflow: clip;
}

/* ==================== HEADER STYLES ==================== */
header {
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem;
  background-color: var(--bd-dark);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05), 0 4px 12px rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1002;
}

.header-homepage-button {
  text-decoration: none;
}

.header-logo {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.5rem;
  align-items: center;
}

.header-logo img {
  width: 45px;
  height: 45px;
}

.header-homepage-button .header-logo h1 {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  transition: color 0.2s;
}

header nav ul li a:hover,
header nav ul li a:active {
  color: var(--primary);
}

.call-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.call-details img {
  width: 19px;
  height: 19px;
}

.call-details p {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  z-index: 1003;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s ease;
}

/* Hide the checkbox */
#toggle-menu {
  display: none;
}

/* ==================== MAIN CONTENT ==================== */
main {
  margin-top: 150px;
}

section {
  width: 70%;
  margin: 0 auto;
  line-height: 1.8;
}

section .gray-background {
  background-color: rgba(245, 245, 245, 0.2);
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem;
  display: block;
}

.news-section img {
  width: 80%;
  height: auto;
  border-radius: 10px;
  margin: 0 auto;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== DIVIDER ==================== */
.divider {
  width: 50%;
  margin: 5rem auto;
  border: none;
  border-top: 2px solid #e9e2e2;
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--header-bg);
  padding: 3rem 2rem 0;
}

.footer__content {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto 4rem;
  gap: 4rem;
}

.footer__about-title,
.footer__nav-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__about-text {
  font-size: 1.2rem;
  color: var(--light-bg);
  line-height: 1.8;
}

.footer__social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--light-bg);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer__social-link:hover {
  transform: translateY(-3px);
  background-color: rgba(255, 255, 255, 0.2);
}

.footer__social-link--facebook:hover {
  color: #1877f2;
  background-color: rgba(24, 119, 242, 0.1);
}

.footer__social-link--instagram:hover {
  color: #e4405f;
  background-color: rgba(228, 64, 95, 0.1);
}

.footer__social-link--linkedin:hover {
  color: #0077b5;
  background-color: rgba(0, 119, 181, 0.1);
}

.footer__social-link--twitter:hover {
  color: #000000;
  background-color: rgba(255, 255, 255, 0.3);
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__nav-list {
  list-style: none;
}

.footer__nav-item {
  margin-bottom: 1rem;
}

.footer__nav-link {
  text-decoration: none;
  color: var(--light-bg);
  font-size: 1rem;
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: var(--primary-red);
}

.footer__copyright {
  background-color: var(--header-bg);
  padding: 1.5rem;
  text-align: center;
  color: var(--light-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright-text {
  margin: 0;
}

.footer__copyright-highlight {
  color: var(--primary-red);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  header {
    padding: 2.5rem;
    justify-content: space-between;
  }

  .header-logo {
    z-index: 1003;
  }

  header nav {
    position: fixed;
    top: 5px;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #toggle-menu:checked ~ nav {
    transform: translateY(0);
  }

  .call-details {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  main {
    margin-top: 120px;
  }

  section {
    width: 95%;
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .news-section img {
    width: 100%;
  }

  section .gray-background {
    padding: 1rem 0.5rem;
    margin: 1rem 0;
  }

  .footer {
    padding: 2rem 1rem 0;
  }

  .footer__content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer__about-text {
    font-size: 1rem;
  }

  .footer__nav-item {
    margin-bottom: 0.8rem;
  }

  .footer__nav-link {
    font-size: 1rem;
  }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  header {
    padding: 2.5rem;
    justify-content: space-between;
  }

  .header-logo {
    z-index: 1003;
  }

  header nav {
    position: fixed;
    top: 5px;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #toggle-menu:checked ~ nav {
    transform: translateY(0);
  }

  .call-details {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    width: 85%;
  }

  .footer__content {
    gap: 3rem;
  }
}

/* iPad Pro and similar tablets (1024px - 1366px) */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) {

  header {
    padding: 2.5rem;
    justify-content: space-between;
  }

  .header-logo {
    z-index: 1003;
  }

  header nav {
    position: fixed;
    top: 5px;
    left: 0;
    width: 100%;
    height: 50vh;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  header nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #toggle-menu:checked ~ nav {
    transform: translateY(0);
  }

  .call-details {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  section {
    width: 80%;
  }
}

/* Large Screens (1441px+) */
@media (min-width: 1441px) {
  header {
    padding: 2.5rem 6rem;
  }

  section {
    width: 65%;
  }


}