:root {
  /* Colors */
  --primary-color: #0395d7;
  --secondary-color: #d3d8db;
  --background-light: #ededed;
  --background-dark: #0d0d0d;
  --accent-color: #1c3f95;
  --text-dark: #000000;
  --text-light: #ffffff;

  /* Font Family  */
  --font: "Nunito Sans", sans-serif;

  /* Font Sizes */
  --fs-h1: 3.815rem;
  --fs-h2: 3.052rem;
  --fs-h3: 2.441rem;
  --fs-h4: 1.953rem;
  --fs-h5: 1.563rem;
  --fs-h6: 1.25rem;
  --fs-p: 1rem;
  --fs-small: 0.8rem;
  --fs-tiny: 0.64rem;

  /* Font Weights */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-bolder: 800;
  --fw-black: 900;
}

/* Global Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  font-family: var(--font);
  font-size: var(--fs-p);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

a {
  text-decoration: none;
  color: var(--text-light);
}

ul {
  list-style: none;
}

/* Button Styles  */
.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  border: none;
  font-size: var(--fs-p);
  font-weight: var(--fw-semibold);
  color: var(--text-light);
  background: var(--accent-color);
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Container  */
.container {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0 1rem;
}

/* Header  */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 4.375rem;
  padding: 0 2rem;
  background-color: var(--secondary-color);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

nav .logo {
  min-width: 9.375rem;
  max-width: 11.25rem;
  height: auto;
}

nav .logo img {
  width: 100%;
}

nav ul {
  display: flex;
  gap: 1.25rem;
}

nav ul li a {
  font-size: var(--fs-p);
  font-weight: var(--fw-semibold);
  color: var(--text-dark);
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.sidebar,
.hamburger {
  display: none;
}

section {
  padding: 0 2rem;
}

section .container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  height: 50rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
    url("images/hero-img.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--text-light);
  margin-top: 4.375rem;
}

.hero-content {
  padding: 24% 0;
}

.hero-section h1 {
  font-size: var(--fs-h1);
  line-height: 1.125;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.25rem; 
  margin-left: 0.25rem;
  margin-bottom: 1.5rem;
}

div .hero-cta-btn {
  font-size: 1rem;
}

/* About Section  */
.about-section .container {
  height: 40.625rem;
  gap: 1.25rem;
  padding: 1.25rem 0;
  flex-direction: row;
}

.left-column,
.right-column {
  flex: 1;
  padding: 1.25rem 0;
}

/* About Left Column  */
.left-column {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
}

.left-column h2 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bolder);
}

.left-column h3 {
  color: var(--primary-color);
  font-size: var(--fs-h5);
  font-weight: var(--fw-bold);
}

.left-column p {
  font-size: var(--fs-h6);
  margin: 1.875rem 0;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
}

.btn-2 .btn {
  background: var(--primary-color);
}

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

/* About Right Column  */
.right-column {
  background: url("images/hero-img.jpg") no-repeat 85% top / cover;
  border-radius: 0.75rem;
}

/* Footer  */
footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 2rem 1.25rem;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-content: center;
  gap: 2rem;
}

footer .column-1,
footer .column-2,
footer .column-3 {
  flex: 1;
}

/* Column-1 */
footer .column-1 {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.25rem;
}

footer .column-1 .logo {
  width: 18.75rem;
  height: auto;
}

footer .column-1 .logo img {
  width: 100%;
}

footer .column-1 p {
  font-size: var(--fs-p);
  color: var(--text-light);
  text-align: center;
}

footer .column-1 .footer-sci {
  display: flex;
  gap: 1.25rem;
}

footer .column-1 .footer-sci i {
  font-size: 1.5rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

footer .column-1 .footer-sci i:hover {
  transform: translateY(-0.375rem);
  color: var(--primary-color);
  text-shadow: 0 0 0.625rem var(--primary-color);
}

/* Column-2 */
footer .column-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer .column-2 h4 {
  font-size: var(--fs-h6);
  font-weight: var(--fw-bold);
  color: var(--text-light);
}

footer .column-2 ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
footer .column-2 ul li a {
  font-size: var(--fs-p);
  font-weight: var(--fw-medium);
  color: var(--text-light);
  transition: color 0.3s ease;
}

footer .column-2 ul li a:hover {
  color: var(--primary-color);
}

/* Column-3 */
footer .column-3 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer .column-3 h4 {
  font-size: var(--fs-h6);
  font-weight: var(--fw-bold);
  color: var(--text-light);
}

footer .column-3 div.info-item {
  display: flex;
}

footer .column-3 .info-item i {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-right: 0.75rem;
}

footer .column-3 div.info-item p {
  font-size: var(--fs-p);
  color: var(--text-light);
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .hamburger {
    display: flex;
    position: relative;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 201;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
  }

  .hamburger span {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 0.25rem;
    background: var(--primary-color);
    border-radius: 0.125rem;
    transition: 0.3s;
  }

  .hamburger span:nth-child(1) {
    transform: translateY(-0.625rem);
  }
  .hamburger span:nth-child(2) {
    transform: translateY(0);
  }
  .hamburger span:nth-child(3) {
    transform: translateY(0.625rem);
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

  .overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 101;
    visibility: hidden;
  }

  .overlay.active {
    visibility: visible;
  }

  .sidebar {
    position: fixed;
    top: 0;
    right: -15.625rem;
    width: 15.625rem;
    height: 100vh;
    background-color: var(--background-dark);
    color: var(--text-light);
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    display: block;
    transition: right 0.3s ease;
    z-index: 200;
    padding: 8rem 0;
  }
  .sidebar.active {
    right: 0;
  }

  .sidebar ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .sidebar ul li a {
    font-size: var(--fs-p);
    font-weight: var(--fw-semibold);
    color: var(--text-light);
    transition: color 0.3s ease;
  }

  .sidebar ul li a:hover {
    color: var(--primary-color);
  }

  .hero-section .container {
    align-items: center;
    justify-content: center;
  }

  footer .container {
    flex-direction: column;
  }
}

@media (max-width: 660px) {
  .hero-section h1 {
    font-size: var(--fs-h2);
  }

  .hero-section p {
    font-size: 1rem; 
  }

  .about-section .container {
    height: 50rem;
    flex-direction: column;
  }

  .about-section .container .left-column,
  .about-section .container .right-column {
    height: auto;
  }
}

@media (max-width: 400px) {
  .hero-section h1 {
    font-size: var(--fs-h3);
  }

  .hero-content .hero-cta-btn .btn{
    font-size: 0.875rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 2rem;
  }
}
