* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.07)), url(Photos/potential_background.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

.nav img {
  width: 200px; 
  height: auto; 
  max-width: 100%;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul {
  list-style: none;
}

.nav-links ul li {
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #00008B;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}


.text-box h1 {
  font-size: 62px;
  font-family: Arial, Helvetica, sans-serif;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 25px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}

.hero-btn:hover {
  border: 1px solid #00008B;
  background: #00008B;
  transition: 1s;
}

#openMenu,
#closeMenu {
  display: none;
}

@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links {
    position: absolute;
    background: #2a2a41;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  .nav-links ul {
    padding: 30px;
  }

  .nav-links ul li {
    display: block;
  }

  #openMenu,
  #closeMenu {
    display: block;
    color: #808080;
    font-size: 22px;
    cursor: pointer;
  }
}

@media (max-width: 700px) {
  .nav-links ul li .dropdown-content {
    position: static;
    background-color: #2a2a41;
    box-shadow: none;
  }

  .nav-links ul li .dropdown-content li a {
    padding: 10px;
  }
}

.nav-links ul li.dropdown {
  position: relative;
}


.nav-links ul li .dropdown-content {
  display: none;
  position: absolute;
  background: #2a2a41;
  min-width: 180px;
  border-radius: 8px;
  overflow: hidden;
  top: 100%;
  left: 0;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  text-align: center;
}

.nav-links ul li .dropdown-content li {
  display: block;
}

.nav-links ul li .dropdown-content li a {
  display: block;
  padding: 12px 16px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.nav-links ul li .dropdown-content li a:hover {
  background: #00008B;
}

.nav-links ul li.dropdown:hover .dropdown-content {
  display: block;
}

.Contact {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

h1 {
  font-size: 36px;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

p {
  color: #00008B;
  font-size: 20px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  background-color: #00008B;
}

.footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 5%;
  background: linear-gradient(to bottom right, #f0f4ff, #ffffff);
}

.card {
  height: 500px;
  border-radius: 20px;
  background: #ffffff;
  background-size: cover;
  background-position: center;
  border: 1px solid #ddd;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.overlay {
  position: absolute;
  bottom: 0;
  padding: 2rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.overlay h2 {
  font-size: 1.8rem;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.card-btn {
  margin-top: 1rem;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 50px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.card-btn:hover {
  background-color: #ffffff;
  color: #00008B;
  border-color: #ffffff;
}
.popup-logo {
  max-width: 180px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.popup {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.5s ease-in-out;
}

.popup-content {
  background: #fff;
  padding: 2.5rem 2rem;
  width: 90%;
  max-width: 400px;
  margin: 15% auto;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  position: relative;
  animation: slideUp 0.4s ease-in-out;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.popup-content h2 {
  margin-bottom: 10px;
  font-size: 1.75rem;
  color: #333;
}

.popup-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.popup-content button {
  padding: 12px 24px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.popup-content button:hover {
  background: #0056b3;
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.call-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #00008B;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
  z-index: 1000;
  transition: transform 0.3s, background-color 0.3s;
}

.call-button:hover {
  background-color: #001f9b;
  transform: scale(1.1);
}

.five-star-badge {
  position: fixed;
  bottom: 90px; /* above phone button */
  left: 20px;
 background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

.five-star-badge .stars {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.five-star-badge .stars i {
  color: #FFD700 !important;
}


.five-star-badge span {
  font-size: 12px;
  color: #ddd;
  letter-spacing: 0.3px;
}




.footer {
  background-color: #222;
  color: #b0b0b0;
  padding: 40px 20px; 
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto; 
  flex-wrap: wrap; 
}

.footer-section {
  width: 23%; 
  margin-bottom: 20px; 
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
}
.footer-section p {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #b0b0b0; 
}
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #b0b0b0; 
  text-decoration: none;
  font-size: 15px;
}

.footer-section ul li a:hover {
  color: #b0b0b0; 
  text-decoration: underline; 
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #b0b0b0;
  font-size: 24px;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}


.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #b0b0b0;
}

.footer-bottom p {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #b0b0b0; 
}
.footer-bottom a {
  color: #b0b0b0; 
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #b0b0b0; 
  text-decoration: underline; 
}



@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    width: 100%;
    margin: 10px 0;
  }
}

