@import url("https://fonts.googleapis.com/css2?family=Liter:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  --primary: #0a2462;
  --secondary: #0077c6;
  --footer: #1a1a1a;
  --accent: #e74c3c;
  --light: #ecf0f1;
  --dark: #2c3e50;
}
::selection {background-color: rgb(3, 49, 149);color: var(--light);}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: "Liter", sans-serif;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: "Liter", sans-serif;
  border: none;
}
       /* Header & Navigation */
        header {
          background-color: var(--footer);
          width: 100%;
          padding: 1rem 0;
          z-index: 1000;
          transition: all 0.4s ease;
      }

      .header-container {
          display: flex;
          justify-content: space-between;
          /* align-items: ; */
          padding: 1rem 5%;
          max-width: 100%;
      }

      .logo {
          display: flex;
          align-items: center;
      }

      .logo img {
          height: 40px;
          margin-right: 10px;
      }

      .logo h1 {
          color: #fff;
          font-size: 1rem;
          margin: 0;
          font-weight: 800;
          line-height: 80%;
          letter-spacing: 1px;
      }

      .logo span {
          color: var(--secondary);
          font-size: .8rem;
      }

      .nav-toggle {
          display: none;
          background: none;
          border: none;
          color: white;
          font-size: 1.8rem;
          cursor: pointer;
          padding: 0.5rem;
          line-height: 1;
          transition: color 0.3s ease;
      }

      .nav-toggle:hover {
          color: var(--accent);
      }

      nav {
        height: 50;
        display: flex;
        align-items: center;
      }

      nav ul {
          display: flex;
          list-style: none;
      }

      nav ul li {
          margin-left: 2rem;
      }

      nav ul li a {
          color: white;
          text-decoration: none;
          font-weight: 600;
          font-size: .8rem;
          letter-spacing: 1px;
          text-transform: uppercase;
          transition: color 0.3s;
          position: relative;
      }

      nav ul li a::after {
          content: '';
          position: absolute;
          width: 0;
          height: 2px;
          background-color: var(--accent);
          bottom: -5px;
          left: 0;
          transition: width 0.3s;
      }

      nav ul li a:hover {
          color: var(--accent);
      }

      nav ul li a:hover::after {
          width: 100%;
      }

    /* Animations */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Footer */
footer {
  background-color: var(--footer);
  color: white;
  padding: 80px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #4fc3f7;
}

.footer-col p {
  margin-bottom: 15px;
  font-size: 14px;
  color: white;
}

.footer-col p a { color: white; text-decoration: none; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.footer-contact-item i {
  margin-right: 10px;
  color: var(--light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #4fc3f7;
}

.footer-subscribe input {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #164d6b;
  color: white;
  margin-bottom: 10px;
  border-radius: 4px;
}

.footer-subscribe input::placeholder {
  color: #aaa;
}

.footer-subscribe .btn {
  width: 100%;
  text-align: center;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #164d6b;
  font-size: 14px;
  color: #aaa;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #4fc3f7;
  color: white;
  border-radius: 50%;
  display: flex;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* opacity: 0; */
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}

.back-to-top.active {
  opacity: 1;
  transform: translateY(0);
}

    /* Media Queries */
    @media (max-width: 990px) {
        .header-container {
            padding: 1rem 5%;
            position: relative;
        }

        .nav-toggle {
            display: block;
            z-index: 1001;
        }

        nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background-color: var(--footer);
            padding: 1rem 0;
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            transition: clip-path 0.4s ease-out;
            z-index: 1000;
        }

        nav.active {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }

        nav ul {
            flex-direction: column;
            align-items: flex-start;
        }

        nav ul li {
            margin: 1rem 0;
        }

        nav ul li a {
            padding: 0.5rem 1rem;
            display: block;
        }
          
        .footer-grid {
          grid-template-columns: repeat(2, 1fr);
      }
      }

      @media (max-width: 990px) {
        .footer-grid {
          grid-template-columns: 1fr;
      }
      }


/* nav drop down */
.services_dropdown {  
  display: none; /* Hidden by default */  
  position: absolute; /* Positioning for dropdown */  
  background-color: #007bff; /* Match the nav background */  
  padding: 0.5rem; /* Padding for the dropdown */  
  list-style: none;  
  margin: 0;  
  border-radius: 5px; /* Optional: for rounded corners */  
  z-index: 1000; /* Ensures dropdown appears above other elements */  
}  

.services_dropdown li {  
  margin: 0; /* Reset margin */  
}  

.services_dropdown li a {  
  padding: 10px 15px; /* Padding for dropdown items */  
  display: block; /* Ensure links fill the dropdown */  
  color: white; /* Text color */  
  text-decoration: none; /* Remove underline */  
}  

.services_dropdown li a:hover {  
  background-color: var(--accent); /* Change background on hover */  
  color: white; /* Ensure text color is visible */  
}  