/* 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: 18px;

}



/* 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;
    margin-right: 30px;
  }

  /* 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);
  }
}
















/* Portfolio Section */
.portfolio-section {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(360deg, #edffff, #1bbcae);
    align-items: flex-start;
    gap: 70px;
    position: relative;
    background-color: black;
    padding: 70px;
    position: relative;
}

.portfolio-left {
    flex: 1;
    position: sticky;
    top: 15%;
    text-align: left;
}


.portfolio-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: rgb(0, 0, 0);
    /* Line color */
}


.dynamic-heading {
  display: inline-block;
  background: #ffffff;
  border-left: 6px solid #07897e;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1.05rem;
  color: #003550;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-top: 8%;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}


.dynamic-heading.show {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #000000;
    animation: slideInLeft 1s ease-in-out;
}

.portfolio-description {
    font-size: 1.2rem;
    margin-top: 20px;
    color: rgb(0, 0, 0);
}

/* Right Side Section */
.portfolio-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 150px;
    padding: 20px;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.project-heading {
    font-size: 2rem;
    font-weight: bold;
    color: rgb(255, 0, 81);
    margin-bottom: 10px;
    align-self: flex-end;
}

/* Wave Effect */
.wave-effect {
    position: relative;
    width: 100px;
    height: 100px;
    border: 5px solid rgb(0, 0, 0);
    border-radius: 50%;
    margin-top: 20px;
    margin-left: 50%;
    animation: waveCircle 2s infinite ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave-effect::before {
    content: '';
    width: 70px;
    height: 70px;
    border: 5px solid white;
    border-radius: 50%;
    position: absolute;
    animation: waveCircleInner 2s infinite ease-in-out;
}

@keyframes waveCircle {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

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

@keyframes waveCircleInner {
    0% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(0.8);
    }
}

.project-subheading {
  display: inline-block;
  background: #ffffff;
  border-left: 6px solid #07897e;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1.05rem;
  color: #003550;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 10px;
}

.project-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}


.sub-category-list {
  display: none;
  margin-left: 1rem; /* or adjust to your design */
  transition: all 0.3s ease;
}

.sub-category-list.expanded {
  display: block;
}

.project-list-item.sub-category {
  cursor: pointer;
  padding-left: 0.5rem;
  margin-top: 5px;
  font-size: 0.95rem;
}

.project-list-item.main-category {
  cursor: pointer;
  font-weight: bold;
  margin-top: 1rem;
}

.project-list-item.sub-category.active {
  color: #034640;
  font-weight: 600;
}


.project-details {
    font-size: 1.1rem;
    color: rgb(0, 0, 0);
}

/* Explore Button */
/* Explore Button */
.explore-btn {
  margin-top: 10px;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgb(234, 234, 234);
  text-transform: uppercase;
  background-color: rgb(14, 14, 26);
  border-radius: 0.4rem;
  cursor: pointer;
  transition: 0.6s;
  box-shadow: 0px 0px 60px #1f4c65;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  animation: pulse-2 2s infinite;
}

/* Active state */
.explore-btn:active {
  scale: 0.92;
}

/* Hover and animation for explore button */
.explore-btn:hover {
  transform: scale(1.1);
  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);
}

/* Adding hover effect for explore-btn's pseudo-element */
.explore-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease;
}

.explore-btn:hover::before {
  left: 0;
}



/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .portfolio-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .portfolio-left {
        position: static;
        text-align: center;
        margin-bottom: 30px;
    }

    .portfolio-right {
        flex: 1;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .portfolio-description {
        font-size: 1rem;
    }
}










/* 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: center;
  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: 2px 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 !important;
    align-items: center !important;
    text-align: center;
    padding: 15px;
    gap: 20px;
  }

  .footer-left,
  .footer-links {
    width: 100% !important;
    max-width: 100%;
    align-items: center;
  }

  .footer-links {
    flex-direction: column !important;
    justify-content: center;
    gap: 30px;
  }

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

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

  .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;
  }

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

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