@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Port+Lligat+Slab&display=swap");
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: white;
  padding-top: 90px;
  overflow-y: scroll;
}

body::-webkit-scrollbar {
  display: none;
}

li,
a {
  color: #1e4587;
  text-decoration: none;
  list-style: none;
}

header {
  position: fixed;
  width: 100%;
  z-index: 9999;
  display: flex;
  background-color: #ffffff;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  height: 90px;
  top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo-name {
  width: 120px;
}

.nav-links {
  display: flex;
  justify-content: flex-start;
  gap: 60px;
}

.nav-links li {
  display: inline-block;
  position: relative;
  padding-right: 50px;
}

.nav-links li a {
  color: #0a2b4a;
  transition: all 0.3s ease 0s;
}

.nav-links > .nav-link-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2.3px;
  background-color: #0a2b4a;
  transition: width 0.3s ease-in-out;
}

.nav-links > .nav-link-item > a:hover::after {
  width: 100%;
}

.nav-button {
  padding: 10px 32px;
  background-color: #1e4587;
  color: whitesmoke;
  border-radius: 25px;
  border: none;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.nav-button:hover {
  border: 2px solid #629afd;
  color: #0a2b4a;
  background-color: #ffffff;
  transition: 0.6s ease;
}

.hamburger-menu {
  display: none;
  position: absolute;
  top: 38px;
  right: 20px;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger-menu span {
  position: relative;
  width: 30px;
  height: 4px;
  background-color: #176394;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -270px;
  height: 100%;
  width: 270px;
  background-color: #0a2b4a;
  color: white;
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 20px;
  transition: right 0.3s ease;
}

.sidebar.open {
  right: 0;
}

.sidebar .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 50px;
  cursor: pointer;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  padding-top: 80px;
}

.sidebar-links li {
  width: 100%;
  display: flex;
  margin-bottom: 35px;
}

.sidebar-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.sidebar-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease-in-out;
}

.sidebar-links a:hover::after {
  width: 100%;
}

.side-button {
  display: inline-block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  background: #ffffff;
  border: none;
  padding: 12px 40px;
  color: #071f2e;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.section-1 {
  background-image: url("./assets/home-bg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  gap: 6rem;
  padding-top: 100px;
  padding-left: 40px;
  height: 780px;
  box-sizing: border-box;
}

.section-1 .sec1-div1 {
  padding-top: 40px;
  width: 60%;
  color: #ffffff;
  animation: backInLeft 1s ease-out both;
}

.section-1 .sec1-div1 h2 {
  width: 500px;
  font-size: 50px;
  font-weight: 500;
  padding-bottom: 12px;
}

.section-1 .sec1-div1 span {
  color: #154361;
}

.section-1 .sec1-div1 p {
  font-size: 24px;
  width: 600px;
  line-height: 2;
}

.section-1 .sec1-div2 {
  background: url("./assets/background.png");
  background-repeat: no-repeat;
  background-position: bottom;
  width: 40%;
  padding-right: 80%;
  display: flex;
  position: relative;
  height: 100%;
  flex-direction: column;
  animation: fadeInRight 1s ease-out forwards;
}

.img1 img {
  position: absolute;
}

/* Positioning each element properly */
.man {
  z-index: 4;
  width: 170px;
  height: 365px;
  top: 170px;
  left: 90px;
}

.hand {
  z-index: 4;
  width: 70px;
  top: 190px;
  left: 210px;
  transform-origin: top left;
  animation: handMove 2s ease-in-out infinite;
}

.brush {
  z-index: 3;
  width: 120px;
  top: 80px;
  left: 200px;
  transform-origin: left center;
  animation: brushMove 2s ease-in-out infinite;
}

.stroke {
  z-index: 0;
  width: 400px;
  animation: strokePaint 2s ease-in-out infinite;
  opacity: 1;
}

.brush {
  animation-delay: 0.1s;
}

.stroke {
  animation-delay: 0.25s;
}

.img2 img {
  position: absolute;
  width: 360px;
  height: 400px;
  top: 280px;
  left: 80px;
}

.section-2 {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  padding: 100px 30px 70px;
  gap: 4rem;
}

.section-2 .div1 {
  display: flex;
  width: 100%;
  align-items: center;
  box-sizing: border-box;
  gap: 3rem;
}

.section-2 .left-div {
  width: 55%;
}

.section-2 h2 {
  color: #176394;
  font-weight: 700;
  font-size: 50px;
  text-transform: uppercase;
}

.section-2 .left-div {
  padding-left: 2em;
}

.section-2 .left-div p {
  padding-top: 10px;
  font-size: 18px;
  line-height: 2.5;
}

.section-2 .right-div {
  position: relative;
  display: flex;
  width: 40%;
  flex-direction: column;
}

.section-2 .right-div img {
  width: 350px;
}

.section-2 .top-buttons {
  position: relative;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  top: 0;
  right: 0;
  padding-bottom: 120px;
}

.top-buttons button {
  padding: 12px 32px;
  background-color: #1e4587;
  color: #ffffff;
  border-radius: 20px;
  border: none;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

.top-buttons .btn-primary {
  border: 2px solid #1e4587;
}

.top-buttons .btn-primary:hover {
  border: 2px solid #1e4587;
  color: #1e4587;
  background-color: white;
  transition: 1s
}

.top-buttons .btn-outline {
  border: 2px solid #176394;
  color: #176394;
  background: #ffffff;
}

.top-buttons .btn-outline:hover {
  border: 2px solid #629afd;
  background-color: #629afd;
  color: white;
  transition: 1s;
}

.section-2 .top-buttons img {
  display: flex;
  justify-content: flex-start;
  padding-left: 12px;
}

.section-2 .div2 {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 7rem;
}

.section-2 .div2 img {
  width: 100%;
}

.div2 .two-img {
  display: flex;
  align-items: center;
}

.section-3 {
  display: flex;
  flex-direction: column;
  padding-top: 3em;
  gap: 3.2rem;
}

.section-3 .sec3-div1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  color: #2f357b;
}

.sec3-div1 .service-head {
  font-weight: 500;
  padding: 12px 30px;
  background-color: #f2f0fc;
  border: 2px solid #2f357b;
  border-radius: 12px;
}

.sec3-div1 h3 {
  font-size: 40px;
  width: 40%;
  text-align: center;
  font-weight: 600;
}

.section-3 .sec3-div2 {
  display: flex;
  flex-direction: column;
}

.section-3 .service-list {
  padding-top: 20px;
  background: linear-gradient(to bottom, #f1effc, #fefeff);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.service-box {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  width: 520px;
  text-align: left;
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box .icon {
  font-size: 24px;
  color: #0056b3;
  margin-bottom: 10px;
}

.service-box h3 {
  color: #1a237e;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.section-3 .mission-core {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 8rem;
}

.info-box {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  width: 340px;
  height: 300px;
  gap: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
}

.info-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.info-box h3 {
  color: #176394;
  font-size: 28px;
  font-weight: 500;
}

.info-box p,
.info-box ul {
  font-size: 18px;
  color: #176394;
  line-height: 1.5;
  text-align: center;
}

.info-box ul {
  padding-left: 1.2rem;
}

.info-box ul li {
  list-style-type: none;
}

.sec3-div3 {
  display: flex;
  flex-direction: column;
  background-color: #071f2e;
  color: #ffffff;
  padding-top: 40px;
}

.sec3-div3 .title3 {
  text-align: center;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 600;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #0a2b4a;
  color: #fff;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  flex: 0 1 calc(33.333% - 40px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
  margin-bottom: 10px;
  font-size: 16px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.service-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.section-4 {
  background-color: #ffffff;
  padding: 50px 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  background-color: white;
  padding: 60px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
}

.contact-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  color: #176394;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 15px 20px;
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background-color: white;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background-color: #176394;
  color: white;
  width: 50%;
  padding: 10px 20px;
  font-family: "Poppins", sans-serif;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #1e4587;
}

footer {
  background-color: #1a2332;
  color: white;
  padding: 60px 40px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 20px;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background-color: #176394;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold;
  font-size: 20px;
}

.footer-brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #7fb3d3;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #a0a9b8;
  max-width: 350px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #a0a9b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #7fb3d3;
}

.footer-bottom {
  border-top: 1px solid #ffffff;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #a0a9b8;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: #a0a9b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #7fb3d3;
}

/* Base state */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* Active state when in view */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Variants */
.fade-left { transform: translateX(-40px); }
.fade-right { transform: translateX(40px); }
.fade-up { transform: translateY(40px); }
.fade-down { transform: translateY(-40px); }
.zoom-in { transform: scale(0.8); }
.zoom-out { transform: scale(1.2); }

/* Active states override */
.fade-left.active,
.fade-right.active,
.fade-up.active,
.fade-down.active,
.zoom-in.active,
.zoom-out.active {
  transform: none;
  opacity: 1;
}

/* Optional staggered animations */
.stagger .reveal {
  transition-delay: var(--delay, 0ms);
}

/* Animations */
@keyframes handMove {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes brushMove {
  0%, 
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
}

/* @keyframes strokePaint {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
} */

@keyframes backInLeft {
  0% {
    transform: translateX(-200px) scale(0.7);
    opacity: 0;
  }
  60% {
    transform: translateX(30px) scale(1.05);
    opacity: 1;
  }
  80% {
    transform: translateX(-10px) scale(0.98);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .contact-container {
    padding: 40px 30px;
  }

  .contact-title {
    font-size: 28px;
  }

  .section-1 .sec1-div1 {
    width: 100%;
  }

  .section-1 .sec1-div1 p {
    font-size: 12px;
    width: 100%;
  }
}

@media (max-width: 1170px) {
  .section-1 {
    gap: 1rem;
  }

  .section-1 .sec1-div1 p {
    width: 100%;
    font-size: 20px;
  }

  .section-1 .sec1-div2 {
    right: 20px;
  }
}

@media (max-width: 1015px) {
  .section-2 .div2 {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 982px) {
  .nav-button {
    display: none;
  }

  .sidebar {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
  }

  .nav-links > .nav-link-item {
    display: block;
  }

  .nav-content.active {
    position: absolute;
    top: 2rem;
    z-index: 9999;
    display: flex;
    background: #a54643;
    color: white;
  }

  .section-1 .sec1-div2 {
    right: 30px;
  }

  .section-1 .sec1-div1 {
    width: 100%;
  }

  .section-1 .sec1-div1 h2 {
    width: 400px;
    font-size: 45px;
  }

  .section-1 .sec1-div1 p {
    font-size: 20px;
    width: 100%;
  }

  .section-2 .div2 {
    flex-direction: column;
    gap: 0;
  }

  .section-2 .left-div p {
    font-size: 15px;
  }

  .section-2 .right-div img {
    width: 100%;
  }

  .sec3-div1 h3 {
    width: 80%;
  }

  .section-3 .service-list {
    padding: 30px 0px;
  }

  .section-3 .mission-core {
    flex-direction: column;
    padding: 8rem 3rem 0;
  }

  .info-box {
    text-align: center;
    justify-content: center;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 762px) {
  .section-1 {
    flex-direction: column;
    background-image: none;
    background-color: #176394;
    height: 1062px;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    padding-left: 0;
    gap: 4rem;
  }

  .section-1 .sec1-div1 {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .section-1 .sec1-div1 h2 {
    text-align: center;
  }

  .section-1 .sec1-div1 p {
    text-align: center;
    padding: 0 30px;
  }

  .section-1 .sec1-div2 {
    background: none;
    display: flex;
    position: relative;
    align-items: center;
    flex-direction: column;
    right: 160px;
  }

  .man {
    height: 360px;
    top: 160px;
    left: 170px;
  }

  .hand {
    top: 187px;
    left: 290px;
  }

  .brush {
    top: 80px;
    left: 275px;
  }

  .stroke {
    z-index: 0;
    left: 100px;
    bottom: 60px;
    width: 380px;
    animation: strokePaint 2s ease-in-out infinite;
  }

  .img2 img {
    width: 360px;
    height: 380px;
    top: 280px;
    left: 140px;
  }

  .section-2 .div1 {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 3rem;
  }

  .section-2 .left-div {
    text-align: center;
    width: 100%;
  }

  .section-2 h1 {
    font-size: 48px;
  }

  .section-2 .left-div p {
    font-size: 16px;
  }

  .section-2 .right-div {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    flex-direction: column;
  }

  .section-2 .right-div img {
    width: 100%;
  }

  .section-2 .top-buttons {
    display: flex;
    gap: 1rem;
    padding-bottom: 80px;
  }

  .top-buttons button {
    padding: 15px 60px;
  }

  .section-2 .div2 {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .div2 .single-img {
    width: 100%;
  }

  .div2 .single-img img {
    width: 100%;
  }

  .div2 .two-img {
    width: 100%;
    flex-direction: column;
  }

  .div2 .two-img img {
    width: 100%;
  }

  .section-3 .sec3-div1 {
    padding: 0px 12px;
  }

  .sec3-div1 h3 {
    width: 100%;
  }

  .section-3 .service-list {
    padding: 20px 12px;
  }

  .service-box {
    width: 100%;
  }

  .service-box .icon {
    margin-bottom: 0px;
  }

  .info-box ul {
    text-align: center;
  }

  .sec3-div3 {
    display: flex;
    flex-direction: column;
    background-color: #071f2e;
    color: #ffffff;
    padding-top: 40px;
  }

  .services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 20px;
    width: 100%;
    flex: none;
  }
}

@media (max-width: 650px) {
  .section-1 .sec1-div1 p {
    font-size: 20px;
  }

  .man {
    height: 300px;
    width: 160px;
    top: 140px;
    left: 180px;
  }

  .hand {
    width: 70px;
    height: 80px;
    top: 160px;
    left: 290px;
  }

  .brush {
    top: 80px;
    left: 265px;
  }

  .stroke {
    z-index: 0;
    left: 150px;
    top: 12px;
    width: 300px;
  }

  .img2 img {
    width: 320px;
    height: 50%;
    /* height: 295px; */
    top: 250px;
    left: 170px;
  }

  .mission-core .info-box p {
    font-size: 20px;
  }

  .mission-core li {
    font-size: 20px;
  }

  .sec3-div1 h3 {
    font-size: 30px;
  }

  .section-1 .sec1-div2 {
    top: 30px;
  }

  .top-buttons .btn-outline {
    padding: 25px 60px;
  }
}
