@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

:root {
  --primary-black: #000000;
  --primary-red: #ff0000;
  --primary-white: #ffffff;
  --dark-gray: #222222;
  --medium-gray: #444444;
  --light-gray: #aaaaaa;
  --hover-red: #cc0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

html, body {
  overflow-x: hidden;
  background-color: var(--dark-gray);
  color: var(--primary-white);
}

section {
  scroll-margin-top: 100px;
  padding: 50px 10%;
  background-color: var(--dark-gray);
}

/* Selection color */
*::selection {
  color: var(--primary-white);
  background: var(--primary-red);
}

img {
  max-width: 100%;
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-black);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
  padding: 15px 10%;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.logo img {
  width: 100px;
  filter: drop-shadow(0px 0px 8px rgba(255, 0, 0, 0.6));
}

.navbar {
  display: flex;
  gap: 1rem;
  list-style: none;
  flex-grow: 1;
  justify-content: center;
}

.navbar a {
  font-size: 1rem;
  padding: 11px 20px;
  color: var(--primary-white);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.3s ease;
}

.navbar a:hover {
  color: var(--primary-red);
}

.navbar a:hover::after {
  width: 50%;
}

/* Login Button */
.btn-login {
  background-color: var(--primary-red);
  color: var(--primary-white);
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.4);
  border: 1px solid var(--primary-red);
}

.btn-login:hover {
  background-color: var(--primary-black);
  color: var(--primary-red);
  box-shadow: 0 6px 12px rgba(255, 0, 0, 0.6);
  transform: translateY(-3px);
}

#menu-icon {
  font-size: 24px;
  color: var(--primary-white);
  cursor: pointer;
  z-index: 1001;
  display: none;
}

/* Terms and Conditions */
#terms-and-conditions {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding: 60px 0;
}

#terms-and-conditions .container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

#terms-and-conditions h2 {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 15px;
}

#terms-and-conditions h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-red);
}

#terms-and-conditions p {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

#terms-and-conditions .terms-content h3 {
  font-size: 1.7rem;
  color: var(--primary-red);
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 10px;
  font-weight: 600;
}

#terms-and-conditions .terms-content a {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

#terms-and-conditions .terms-content a:hover {
  color: var(--primary-white);
  text-decoration: underline;
}

/* Footer */
#professional-footer {
  background-color: var(--primary-black);
  color: var(--primary-white);
  padding-top: 70px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  padding: 0 10%;
}

.footer-about {
  flex: 1 1 300px;
}

.footer-about img {
  max-width: 160px;
  margin-bottom: 20px;
  filter: drop-shadow(0px 0px 8px rgba(255, 0, 0, 0.6));
}

.footer-about p {
  color: var(--light-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links, .footer-contact, .footer-social {
  flex: 1 1 200px;
}

.footer-top h3 {
  color: var(--primary-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-top h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-red);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: var(--light-gray);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.footer-contact p {
  color: var(--light-gray);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  color: var(--primary-red);
  margin-right: 10px;
  min-width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--medium-gray);
  color: var(--primary-white);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
  border-top: 1px solid var(--medium-gray);
  padding: 25px 10%;
  text-align: center;
}

.footer-legal {
  margin-bottom: 15px;
}

.footer-legal a {
  color: var(--light-gray);
  margin: 0 15px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-red);
}

.footer-bottom p {
  color: var(--light-gray);
  font-size: 0.9rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .navbar {
    display: none;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    height: 100vh;
    padding: 20px 0;
    box-shadow: 0 4px 41px rgba(255, 0, 0, 0.2);
    z-index: 999;
  }

  .navbar.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #menu-icon {
    display: block;
  }

  .navbar a {
    display: block;
    padding: 15px 0;
    color: var(--primary-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px 0;
  }

  .navbar a:hover {
    color: var(--primary-red);
  }

  .navbar a::after {
    bottom: 8px;
  }

  .btn-login {
    margin-top: 20px;
  }

  #terms-and-conditions h2 {
    font-size: 2rem;
  }

  #terms-and-conditions .terms-content h3 {
    font-size: 1.5rem;
  }

  #terms-and-conditions p {
    font-size: 0.95rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  header {
    padding: 15px 5%;
  }
  
  section {
    padding: 50px 5%;
  }
  
  .footer-top, .footer-bottom {
    padding: 0 5%;
  }
  
  .btn-login {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  #terms-and-conditions h2 {
    font-size: 1.8rem;
  }
  
  #terms-and-conditions .terms-content h3 {
    font-size: 1.3rem;
  }
}