:root {
   --color-primary: #004c73;
   --color-secondary: #fb8500;
   --color-background: #f9f9f9;
   --color-white: #ffffff;
   --color-text: #000000;
   --color-muted: #6b7280;

   /* ===== Typography ===== */
   --font-family-base: "Montserrat", sans-serif;
   --font-family-accent: "Unbounded", sans-serif;
   --font-size-sm: 0.875rem; /* 14px */
   --font-size-base: 1rem; /* 16px */
   --font-size-lg: 1.125rem; /* 18px */
   --font-size-xl: 1.25rem; /* 20px */
   --font-size-2xl: 1.5rem; /* 24px */
   --font-size-3xl: 2.25rem; /* 36px */

   /* ===== Spacing ===== */
   --space-1: 0.25rem; /* 4px */
   --space-2: 0.5rem; /* 8px */
   --space-3: 0.75rem; /* 12px */
   --space-4: 1rem; /* 16px */
   --space-5: 1.25rem; /* 20px */
   --space-6: 1.5rem; /* 24px */
   --space-8: 2rem; /* 32px */
   --space-10: 2.5rem; /* 40px */
   --space-12: 3rem; /* 48px */

   /* ===== Border Radius & Shadow ===== */
   --radius-sm: 0.25rem;
   --radius-md: 0.5rem;
   --radius-lg: 0.75rem;
   --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
   --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);

   /* ===== Transitions ===== */
   --transition-fast: 150ms ease-in-out;
   --transition-normal: 300ms ease-in-out;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   background-color: var(--color-background);
   padding: var(--space-8) var(--space-10);
   font-family: var(--font-family-base);
   max-width: 1280px !important;
   margin: auto !important;
   overflow-x: hidden;
}

main section {
   margin-bottom: 7rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: var(--font-family-accent);
}

a.btn-primary {
   border: 1px solid var(--color-primary);
   border-radius: 37px;
   line-height: 16px;
   padding: var(--space-3) var(--space-6);
   background-color: var(--color-white);
   color: var(--color-primary);
}

a.btn-primary:hover {
   background-color: var(--color-primary);
   color: white;
}

a.btn-outline {
   padding: 0.5rem 1.2rem;
   border: 1.5px solid var(--color-white);
   border-radius: 2rem;
   background: none;
   text-decoration: none;
   font-weight: 500;
   transition: all 0.3s;
}

a.btn-outline:hover {
   background-color: var(--color-background);
   color: var(--color-text);
}

.arrow-down {
   position: absolute;
   right: var(--space-2);
   bottom: 0;
   padding: var(--space-3);
   background-color: var(--color-white);
   border: 2px solid var(--color-text);
   border-radius: 50%;
   width: 63px;
   height: 63px;
   opacity: 0.5;
}

.arrow-down:hover {
   opacity: 1;
}

input:focus-visible {
   outline: unset;
}

header .logo img {
   width: 136px;
   height: 52px;
}

header .links-container {
   display: flex;
   gap: var(--space-12);
   align-items: center;
}

header nav a,
header nav button {
   text-decoration: none;
   color: var(--color-primary);
   font-size: var(--font-size-xl);
   font-weight: 400;
}
/* hover effect for footer and header nav */
nav a:hover,
nav button:hover {
   color: #006d9c;
}

header nav a.active,
header nav button.active {
   color: var(--color-secondary);
   pointer-events: none;
}

.sm-screen-img {
  display: none;
}

.dropdown {
   position: relative;
}

.dropdown-content {
   display: none;
   position: absolute;
   z-index: 3;
   background: var(--color-white);
   padding: 10px;
   border-radius: 10px;
   min-width: 230px;
}

.dropdown-content a {
   display: block;
   margin: 20px 0;
}

.dropdown:hover .dropdown-content {
   display: block;
}

.cta-button {
   display: inline-flex;
   align-items: center;
   justify-content: space-between;
   gap: 0.5rem;
   padding: 1rem;
   border: 2px solid var(--color-primary);
   border-radius: 2.25rem;
   text-decoration: none;
   font-weight: 500;
   background-color: var(--color-white);
   color: var(--color-primary);
   transition: all 0.3s ease;
}

.cta-button:hover {
   background-color: var(--color-primary);
   color: white;
}

.cta-arrow {
   background: var(--color-secondary);
   color: var(--color-white);
   border-radius: 50%;
   padding: 0.2rem;
   font-size: 2rem;
   transition: background 0.3s;
}

.cta-button:hover .cta-arrow {
   background: var(--color-white);
   color: #004c73;
}

footer > div {
   gap: var(--space-10);
}

.footer-info {
   border-bottom: 0.5px solid var(--color-text);
   padding: var(--space-10) 0 var(--space-12);
}

footer .logo img {
   box-sizing: content-box;
   width: 342px;
   height: 130px;
   margin-bottom: var(--space-12);
}

footer .left h2 {
   font-size: var(--font-size-3xl);
   font-weight: 300;
   margin-bottom: var(--space-3);
}

footer .left a.button {
   font-size: var(--font-size-xl);
   font-weight: 500;
   border: 1px solid var(--color-primary);
   border-radius: 37px;
   line-height: 16px;
   padding: var(--space-3) var(--space-12);
   background-color: var(--color-white);
}

footer .info-header {
   font-size: var(--font-size-3xl);
   font-weight: 300;
}

footer .info-items {
   font-size: var(--font-size-2xl);
}

footer .info-items li {
   margin: var(--space-4) 0;
   font-weight: 300;
}

footer .copyright {
   font-size: var(--font-size-base);
   font-weight: 300;
}

.copyright a {
   color: var(--color-secondary);
}

/******************************* CTA Section *******************************/

.subscribe-section {
   background: url("/assets/collaborative-meeting.jpg") center/cover no-repeat;
   position: relative;
   height: 391px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: "Segoe UI", sans-serif;
   width: calc(100% + var(--space-10) * 2);
   left: -2.5rem;
}

.subscribe-overlay,
.black-overlay {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
}

.black-overlay {
   background: rgba(0, 0, 0, 0.4);
}

.subscribe-overlay {
   background: linear-gradient(
      180deg,
      rgba(251, 133, 0, 0.5) 0%,
      rgba(0, 76, 115, 0.5) 50%
   );
}

.subscribe-content {
   color: #fff;
   padding: var(--space-2);
}

.subscribe-content h2 {
   font-size: 1.8rem;
}

.subscribe-content p {
   margin-bottom: 1.2rem;
   font-size: 1rem;
   opacity: 0.8;
}

.subscribe-form {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
   padding: 0.7rem 1rem;
   border: 2px solid white;
   border-radius: 50px;
   background: transparent;
   color: white;
   font-size: 1rem;
   outline: none;
   min-width: 250px;
}

.subscribe-form input::placeholder {
   color: #eee;
}

.subscribe-form button {
   padding: 0.7rem 1.5rem;
   background-color: #ff7a00;
   border: none;
   color: white;
   border-radius: 50px;
   font-size: 1rem;
   text-transform: capitalize;
   cursor: pointer;
   transition: all 0.3s;
}

.subscribe-form button:hover {
   background-color: #e86d00;
}

/******************************* responsive navbar *******************************/
#sidebar_active,
.open-sidebar-btn,
.close-sidebar-btn {
   display: none;
   padding: 20px;
}

#sidenav_overlay {
   display: none;
}

.open-sidebar-btn span,
.close-sidebar-btn span {
   font-size: var(--font-size-3xl);
}

/******************************* animations *******************************/
@keyframes rotate {
   from {
      transform: rotate(0deg);
   }
   to {
      transform: rotate(360deg);
   }
}

/******************************* media queries *******************************/
@media screen and (max-width: 768px) {
   html {
      font-size: 14px;
   }

   body {
      padding: var(--space-8) var(--space-2);
   }

   .sm-screen-img {
      display: block;
   }

   .lg-screen-img {
      display: none;
   }

   /* cta section */

   .subscribe-section {
      width: calc(100% + var(--space-2) * 2);
      left: -0.5rem;
   }

   /* side nav */
   header .links-container {
      /* display: none; */
      flex-direction: column;
      align-items: flex-start;
      gap: 0;
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 10;
      width: 300px;
      height: 100%;
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(5px);
      box-shadow: 5px 0 5px rgba(0, 0, 0);

      transition: 0.75s ease-out;
   }

   .links-container a:not(.btn-primary),
   .links-container .dropdown {
      width: 100%;
      padding: 20px 30px;
   }

   .links-container a.btn-primary {
      margin: 20px 30px;
   }

   .open-sidebar-btn,
   .close-sidebar-btn {
      display: block;
   }

   #sidebar_active:checked ~ .links-container {
      display: flex;
      right: 0;
   }

   #sidebar_active:checked ~ #sidenav_overlay {
      display: block;
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 9;
   }

   /* footer */

   footer > div {
      gap: unset;
   }

   footer .logo img {
      margin: auto;
   }

   footer .left,
   footer .right {
      text-align: center;
      margin: var(--space-12) auto;
   }

   footer .info-items li {
      margin: var(--space-4) 0;
      font-weight: 300;
   }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
   html {
      font-size: 12px;
   }
}
@media screen and (min-width: 1025px) and (max-width: 1440px) {
   html {
      font-size: 14px;
   }
}
@media screen and (min-width: 1440px) {
   html {
      font-size: 16px;
   }
}
