/*======================================================= 
        Fonts
=======================================================*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*======================================================= 
        Colors and Basic Styles
=======================================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #afb1b3;
  --text-color: #18a7c4;
  --circle-background-color: #057389;
  --border-color: #057389;
  --primary-font: "Montserrat", sans-serif;
  --icons-background-color: #18a7c4;
  --main-background-color: #afb1b3;
}

body {
  font-family: var(--primary-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  /* overflow: hidden; */
}

/*======================================================= 
        Header Section
=======================================================*/
.header {
  background: #f8f9fa;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #17a2b8;
  text-decoration: none;
  z-index: 1001;
}

.logo-img {
  width: 120px;
  height: 40px;
  margin-right: 0.5rem;
}

/* Hide the checkbox */
.menu-toggle {
  display: none;
}

/* Mobile toggle button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Navigation menu */
.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
}

.nav-menu li {
  margin: 0 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: #17a2b8;
}

.nav-menu a:active {
  font-weight: bold;
  color: #17a2b8;
}

/* Navigation icons */
.nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.search-icon:hover {
  transform: scale(1.1);
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--icons-background-color);
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/*======================================================= 
        Main Section Styles
=======================================================*/
.main {
  max-width: 1200px;
  background-color: var(--main-background-color);
  margin: 0 auto;
  /* overflow: hidden; */
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  position: relative;
}

.hero-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-img-container img {
  width: 90%;
  height: auto;
  max-width: 500px;
}

.hero-text-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem;
  z-index: 20;
}

/* Circle Background - Z-index: 1 */
.hero-circle {
  position: absolute;
  width: 146vh;
  height: 146vh;
  border-radius: 50%;
  background-color: var(--circle-background-color);
  top: 40%;
  right: -40vh;
  transform: translateY(-50%);
  z-index: 1;
}

/* Arc Border - Z-index: 1 (same as circle) */
.left-arc-border {
  position: absolute;
  width: 152vh;
  height: 152vh;
  border-radius: 50%;
  border: 8px solid transparent;
  border-left: 8px solid var(--border-color);
  top: 50%;
  right: calc(-60vh - 20px);
  transform: translateY(-50%);
  z-index: 1;
}

/* World Map - Z-index: 2 */
.world-map {
  position: absolute;
  width: 120%;
  height: auto;
  top: 20%;
  right: 0%;
  transform: translateY(-50%);
  opacity: 0.3;
  z-index: 2;
}

/* Hero Text - Z-index: 3 (highest) */
.hero-text {
  position: absolute;
  top: 30%;
  right: 0%;
  transform: translateY(-50%);
  color: white;
  max-width: 80%;
  z-index: 3;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  background: #fff;
  color: var(--text-color);
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn:hover {
  background: var(--text-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/*======================================================= 
        Footer Styles   
=======================================================*/

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
  /* margin-top: 3rem; */
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: #17a2b8;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/*======================================================= 
        Mobile Responsive Styles 
=======================================================*/
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu li {
    margin: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
  }

  .nav-icons {
    position: absolute;
    top: 100%;
    right: 2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 1rem;
  }

  /* Show menu when checkbox is checked */
  .menu-toggle:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle:checked ~ .nav-icons {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Animate hamburger to X */
  .menu-toggle:checked + .mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle:checked + .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .nav-icons {
    right: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }
}
