/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
 
body {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: radial-gradient(circle at 40% 60%, #07897e, #070707);
  /* Transparent effect */
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  /* Smooth height transition */
  height: 70px;
}

/* Smaller navbar when scrolling */
.navbar.scrolled {
  height: 70px;
  /* Reduced height when scrolled */
  padding: 15px;
  background-color: rgba(0, 0, 0, 1);
  /* Full opaque background when scrolled */
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
 .logo a {
    text-decoration:none ;
    color: #ffffff;
  }

.logo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

#logo-text {
  font-size: 20px;
  font-weight: bold;
  display: flex;
}

#logo-text span {
  display: inline-block;
  transform: translateY(-50px);
  opacity: 0;
  animation: drop-letter 0.5s ease-in-out forwards;
}




.menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

.menu li {
  position: relative;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.menu li:hover {
  color: gold;
}

.menu li a {
  text-decoration: none;
  color: white;
}

.menu li a:hover {
  color: gold;
}

.menu li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: gold;
  transition: width 0.3s ease;
}

.menu li:hover::after {
  width: 100%;
}



/* From Uiverse.io by ShrinilDhorda */ 
.btn {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border: none;
  outline: none;
  border-radius: 0.4rem;
  cursor: pointer;
  text-transform: uppercase;
  background-color: rgb(14, 14, 26);
  color: rgb(234, 234, 234);
  font-weight: 700;
  transition: 0.6s;
  box-shadow: 0px 0px 60px #1f4c65;
}

.btn:active {
  scale: 0.92;
}

.btn:hover {
  background: rgb(2,29,78);
  background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);
  color: rgb(4, 4, 38);
}
.call-icon {
  font-size: 25px;
  color: rgb(140, 255, 0);
}



/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  top: 20px; /* Set top position of hamburger */
  right: 20px; /* Align hamburger to the right */
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: transform 0.3s;
}

/* Responsive Styles */
@media (max-width: 950px) {
  /* Menu Settings for Small Screens */
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust the top margin */
    right: 10px;
    background-color: #07897e;
    width: 100%; /* Decrease width for mobile view */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
  }

  /* Contact Button inside hamburger (keeps existing style) */
  .btn {
    display: none;
    margin-top: 20px;
  }

  /* Show Hamburger Icon */
  .hamburger {
    display: flex;
  }

  /* Show Menu when Active */
  .menu.show {
    display: flex;
  }

  /* Cross Icon When Menu is Active */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 6px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -6px;
  }
}


/* Animations */
@keyframes drop-letter {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes line-grow {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}









.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #0bac9e,  #cbffff);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-top: 20px;
}

/* Grain Background Animation */
#grain-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.grain {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: moveGrain 5s linear infinite;
  opacity: 0.9;
}

@keyframes moveGrain {
  0% {
    transform: translate(0, 0);
  }
  60% {
    transform: translate(-50px, 50px) rotate(360deg);
  }
  100% {
    transform: translate(50px, -50px) rotate(360deg);
  }
}

/* Hero Content Layout */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 0 60px;
}

.content {
  text-align: center;
  color: white;
  z-index: 3;
}

/* Clean Static Heading */
.hero-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #02414a;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* Static Paragraphs */
.description {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 600;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: #044a44;
  margin-bottom: 25px;
}

/* Animated Button (Kept as-is) */
.animated-button {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  background-color: rgb(14, 14, 26);
  color: rgb(234, 234, 234);
  font-weight: 700;
  transition: 0.6s;
  box-shadow: 0px 0px 60px #1f4c65;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: pulse-2 2s infinite;
}

.animated-button:active {
  scale: 0.92;
}

.animated-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease;
}

.animated-button:hover::before {
  left: 0;
}

.animated-button:hover {
  transform: scale(1.1);
  background: linear-gradient(270deg, rgba(2, 29, 78, 0.7), rgba(31, 215, 232, 0.9));
  color: rgb(4, 4, 38);
}

.animated-button .call-icon {
  font-size: 24px;
  color: rgb(140, 255, 0);
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes pulse-2 {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
/* Existing tablet responsiveness (unchanged) */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }

  .animated-button {
    margin-top: 20px;
  }
}

/* 🆕 Extra small devices (mobile phones) */
@media (max-width: 580px) {
  .hero {
    padding: 20px 15px;
    height: auto; /* Allow content to flow naturally */
    margin-top: 50px;
  }

  .hero-heading {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .animated-button {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 280px;
  }

  .hero-inner {
    padding: 0 10px;
  }
}


.services-section {
  padding: 50px;
  text-align: center;
  background: linear-gradient(360deg, #0bac9e,  #cbffff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.service-title {
  font-size: 40px;
  margin-bottom: 20px;
}

.service-description {
  font-size: 20px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center; /* Centers all content horizontally */
  background: rgba(255, 255, 255);
  border-radius: 15px;
  border: 1.5px solid gray;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  text-align: center; /* Makes text headings & details centered too */
}


.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(90deg, #0bac9e,  #cbffff);
}

.service-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.service-subheading {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #000000;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.service-details {
  font-size: 1rem;
  color: #1c1350;
  margin-bottom: 20px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.service-card a {
  margin-top: auto; /* Push button to bottom */
}

.btn-2 {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  background-color: rgb(14, 14, 26);
  color: rgb(234, 234, 234);
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-2:hover {
  background: linear-gradient(270deg, rgba(2, 29, 78, 0.7), rgba(31, 215, 232, 0.9));
  color: rgb(0, 0, 0);
}






  

/* Footer css */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  flex-wrap: wrap;
  background-color: #014d46;
  color: white;
  gap: 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-left: 5%;
  flex: 1;
}

.logo-link {
  display: flex;
  align-items: left;
  gap: 10px;
  text-decoration: none;
  color: white;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

#logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.contact-info p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-top: 20px;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.contact-info i {
  margin-right: 8px;
}

.footer-column-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}


.social-icons-row {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.social-icons-row a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons-row a:hover {
  color: gold;
}

.footer-links {
  display: flex;
  gap: 300px;
  margin-right: 5%;
  font-weight: 700;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: gold;
}

/* Bottom Footer Line and Copyright */
.footer-bottom {
  background-color: #014d46;
  text-align: center;
  padding: 15px 30px;
}

.footer-line {
  border: none;
  border-top: 1px solid #ffffff;
  margin-bottom: 10px;
}

.footer-bottom p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.infonav-link {
  color: white;
  text-decoration: none;
}

.infonav-link:hover {
  color: gold;
  text-decoration: underline;
}





@media (max-width: 768px) {
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }

  .footer-left {
    width: 100%;
    max-width: 48%;
    margin-left: 0;
  }

  .footer-links {
    width: 100%;
    max-width: 48%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: flex-start;
    margin-right: 0;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .footer-bottom p {
    font-size: 0.95rem;
  }
}


@media (max-width: 480px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    gap: 20px;
  }

  .footer-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: nowrap;
    margin-top: 20px;
  }

  .footer-column {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer-column-title {
    font-size: 1rem;
  }

  .footer-column a {
    white-space: nowrap; /* ✅ Prevents line breaking */
  }

  .logo-link {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  #logo-text {
    font-size: 1.3rem;
  }

  .contact-info {
    align-items: center;
  }

  .contact-info p {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .social-icons-row {
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }

  .footer-bottom {
    padding: 10px 15px;
    text-align: center;
  }

  .footer-bottom p {
    font-size: 0.85rem;
  }
}