* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  overflow-x: hidden;
}

/* setting defaults */

ul {
  list-style: none;
}

a {
  text-decoration: none;
}


/* utility classes */

.btn {
  background-color: #0b74b7;
  padding: 24px 20px;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: 0.2s ease-out;
  cursor: pointer;
  letter-spacing: 1px;
  height :fit-content;
}
.btn:hover {
  background-color: #0b75b7ed;
}

/* header section */
header {
  color: white;
}

header a {
  color: white;
}


/* top header */


/* Topbar Styles */
.topbar {
  background-color: #00294b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 45px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.123);
}

.topbar-left ul,
.topbar-right ul {
  display: flex;
  gap: 25px;
}


.topbar-left em {
  color: #d2dce5;
}

.topbar-right a {
  font-size: 1.35rem;
  color: #d2dce5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }
  
  .topbar-left,
  .topbar-right {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .topbar-left ul,
  .topbar-right ul {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .topbar-right a {
    font-size: 1.1rem;
  }
  
  .topbar-left span,
  .topbar-left a {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .topbar {
    padding: 15px 30px;
  }
  
  .topbar-right a {
    font-size: 1.2rem;
  }
  
  .topbar-left span,
  .topbar-left a {
    font-size: 0.95rem;
  }
}


/* bottom header */
/* bottom header */
.bottom-bar {
  background: linear-gradient(to top right, #285d8877, #0a447377, #1f3e5777, #0b569477);
  /* background-color: rgba(0, 95, 173, 0.486); */
  background-color: #002442;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 15px 45px;
  transition: background-color 0.3s ease;
  position: relative;
  color: white;
  border-bottom: 1px solid #2a2d3069;
}


.bottom-bar a {
  color: #d2dce5;
}

.bottom-bar ul {
  display: flex;
}

.bottom-elements ul {
  display: flex;
  gap: 40px;
  font-weight: 400;
  color: #d2dce5;
  font-size: 18px;
}

.bottom-elements ul li {
  position: relative;
}

.bottom-elements ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px;
  width: 100%;
  height: 2px;
  background-color: #d2dce5;
  transform: scaleX(0);
  transition: transform 0.3s ease, bottom 0.3s ease;
  transform-origin: bottom;
}

.bottom-elements ul li a:hover::after {
  transform: scaleX(1);
  bottom: 0;
}

.bottom-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid #d2dce5;
  padding: 7px 0 7px 50px;
}

.menu-icon, .cross-icon {
  font-size: 24px;
  color: #d2dce5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.menu-icon {
  display: none; /* Hidden on larger screens */
}

.cross-icon {
  display: none; /* Hidden initially */
}
.Nav{ 
  justify-content: space-between;
  display:flex;
  flex-direction: row;
  width : 30%;
}

@media  (max-width:1000px) {
  .bottom-elements ul {
    display: flex;
    gap: 20px;
    font-weight: 400;
    color: #d2dce5;
    font-size: 18px;
  }

}

/* Mobile Styles */
@media (max-width: 768px) {
  .bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    transition: max-height 5.5s ease; /* Slower transition */
  }

  /* Hide navigation items and contact info initially */
  .bottom-elements, .bottom-contact {
    display: none;
  }

  /* Show the menu icon on small screens */
  .menu-icon {
    display: block;
  }

  /* Modal styling for the menu */
  .modal-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 5.5s ease; /* Slower transition */
    z-index: 1000;
  }
/* 
  .bottom-bar.active .modal-menu {
    transform: translateX(0);
  } */

  /* Stack links vertically and hide bottom contact */
  .bottom-elements ul {
    flex-direction: column;
    width: 100%;
  }
  .bottom-contact {
    display: none !important;
  }
  .Nav{ 
    justify-content: space-between;
    display:flex;
    flex-direction: row;
    width : 100%;
  }
}


/* Display bottom elements and contact in a column when active */
.bottom-bar.active {
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  overflow-x: hidden;


}


.bottom-bar.active .bottom-elements,
.bottom-bar.active .bottom-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding-top: 10px;
}

.bottom-bar.active .menu-icon {
  display: none; /* Hide menu icon when active */
}

.bottom-bar.active .cross-icon {
  display: block; /* Show cross icon when active */
}









/* hero section */
.hero-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Background image styling */
.hero-bg {
  height: 100vh;
  width: 100%;
  background-image: url(images/group1.jpg);
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: top;
  z-index: -9;
  animation: heroBg 12s linear 0s infinite;
}

/* Overlay gradient on the background image */
.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to top right,
    #285d8848,
    #0a447370,
    #1f3e5770,
    #0a447370
  );
  z-index: 1;
}

/* Background zoom-in animation */
@keyframes heroBg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero text styling */
.hero-text {
  height: 70vh;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: start;
  padding: 30px 45px 0;
  z-index: 99;
}

.hero-text h2,
.hero-text p {
  color: white;
  margin: 18px 0;
}
.hero-text h2 {
  font-size: 4rem;
}
.hero-text p {
  line-height: 1.5rem;
  letter-spacing: 1.2px;
  font-size: 1.2rem;
}

/* Moving images positioning */
#moving-image-1 {
  position: absolute;
  top: 30%;
  left: 10%;
  z-index: -1;
  animation: movingImgOne 6s linear infinite 0.1s;
}
#moving-image-2 {
  position: absolute;
  top: 20%;
  right: 10%;
  z-index: -1;
  animation: movingImgTwo 8s linear infinite 0.2s;
}
#moving-image-3 {
  position: absolute;
  bottom: 10%;
  left: 15%;
  z-index: -1;
  animation: movingImgThree 5s linear infinite 0.3s;
}

/* Media query for smaller screens (tablets and mobile) */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
  }

  .hero-text {
    height: auto;
    width: 90%;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
    line-height: 1.4rem;
    letter-spacing: 1px;
  }

  /* Adjust button size */
  .hero-text .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  /* Moving images positioning adjustments for mobile */
  #moving-image-1 {
    top: 15%;
    left: 5%;
    width: 80px; /* Scale down images */
  }

  #moving-image-2 {
    top: 10%;
    right: 5%;
    width: 80px;
  }

  #moving-image-3 {
    bottom: 5%;
    left: 5%;
    width: 80px;
  }
}

/* Triangle shape image animation */
@keyframes movingImgOne {
  to {
    transform: rotate(360deg);
  }
}

@keyframes movingImgTwo {
  to {
    transform: translate(50px, 70px);
  }
}
@keyframes movingImgThree {
  to {
    transform: rotate(170deg);
  }
}

/* SERVICE SECTION  */

/* SERVICE SECTION */

.homepage-service-section {
  padding: 0 20px;
  /* margin: 50px 0; */
  margin: 10px 0;
  overflow: hidden;
  z-index: 99;
}

.services {
  text-align: center;
  padding: 10px 20px;
}

.services-title-text {
  color: #1b1f2e;
  font-size: 24px;
  margin: 0 0 30px 0;
}

.service-desc {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-info-container {
  height: 370px;
  width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s;
}
.service-info-container:hover .service-image img {
  transform: scale(1.07);
}

.service-info-container .service-image {
  height: 85%;
}
.service-info-container .service-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s ease-out;
}

.service-title {
  color: #1b1f2e;
  background-color: white;
  position: absolute;
  bottom: 10px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 20px 15px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.service-title p {
  color: #1b1f2e;
}

.service-info-container .overlay {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to top right,
    #1f3e57b7,
    #0a4473c7,
    #1f3e57b7,
    #0a4473c7
  );
}

.overlay-text {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  padding: 20px 10px;
  z-index: 1;
}
.overlay-text h2 {
  color: white;
  font-size: 1.5rem;
  margin: 10px 0;
}
.overlay-text p {
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .homepage-service-section {
    padding: 0 15px;
  }

  .service-info-container {
    height: 300px;
    width: 300px;
  }
  
  .services-title-text {
    font-size: 22px;
  }

  .service-title {
    font-size: 1.25rem;
    padding: 15px;
  }
  
  .overlay-text h2 {
    font-size: 1.3rem;
  }
  .overlay-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .service-info-container {
    height: 250px;
    width: 60%;
  }
  
  .service-title {
    font-size: 1.1rem;
    padding: 12px;
  }
  
  .overlay-text h2 {
    font-size: 1.2rem;
  }
  .overlay-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .service-info-container {
    height: 220px;
    width: 100%;
  }
  
  .services-title-text {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 1rem;
    padding: 10px;
  }
  
  .overlay-text h2 {
    font-size: 1rem;
  }
  .overlay-text p {
    font-size: 0.85rem;
  }
}


/* service slide buttons */

.service-slider-btn {
  position: absolute;
  font-size: 2.5rem;
  border: none;
  padding: 5px;
  z-index: 5;
  cursor: pointer;
}

#btn-left {
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}
#btn-right {
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}


/* Home page About Us Section */

.homepage-aboutus {
  height: auto;
  /* margin: 70px 0; */
  margin: 10px 0;
  padding: 30px 20px; /* Reduced padding for smaller screens */
}

.about-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.about-left {
  width: 45%;
  background-image: url(images/about.png);
  background-size: cover;
  background-position: center;
}

.about-right {
  width: 50%;
  padding: 0 10px;
}

.top-lines {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.about-right h3 {
  font-size: 1rem;
  color: #7a838b;
  font-weight: 400;
}

.about-right h2 {
  font-size: 2rem;
  color: #1b1f2e;
  font-weight: 700;
  margin: 10px 0;
}

.about-upper-text {
  display: flex;
  width: 80%;
  align-items: center;
  margin: 0 -10px;
}

.about-upper-text p {
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.2rem;
}
.about-desc {
  text-align: center;
}

.about-box {
  display: flex;
  /* align-items: center; */
  gap: 100px;
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 500;
}

.box1, .box2, .box3, .box4 {
  display: flex;
  padding: 10px 0;
  gap: 8px;
}

.about-contact {
  display: flex;
  gap: 30px;
  align-items: center;
}

.about-contact-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-desc {
  width: 90%;
  font-size: 1.3rem;
  color: #7a838b;
  letter-spacing: 1px;
  line-height: 2rem;
  margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
/* 
  .about-left {
    width: 100%;
    min-height: 200px; 
    background-size: contain; 
    background-position: center;
    margin-bottom: 20px; 
  } */
  
  .about-right {
    width: 100%;
  }

  .about-right h3 {
    font-size: 0.9rem;
  }

  .about-right h2 {
    font-size: 1.5rem;
  }

  .about-upper-text {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .about-upper-text p {
    font-size: 1rem;
  }

  .about-box {
    flex-direction: column;
    gap: 0px;
  }

  .about-desc {
    width: 100%;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .about-contact {
    flex-direction: column;
    gap: 10px;
  }
}

/* team section */

.container {
  min-height: max-content;
  background-color: #fff8f8;
  padding: 20px 45px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.13);
  text-align: center;
  margin-top: 80px;
}

.members-wrapper {
  padding: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}

.members-box {
  text-align: center;
  padding: 5px;
}

.members-box h3 {
  font-size: 1.5rem;
  padding: 5px;
}

.members-box p {
  font-size: 1.2rem;
  color: #7a838b;
  margin: 5px 0;
}

.members-image {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.members-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.director,
.four-members,
.three-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.core-team {
  background-color: #f6f4f2;
  padding: 10px 0;
  text-align: center;
}

.core-team h2 {
  font-size: 2rem;
  padding: 10px;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .members-box h3 {
    font-size: 1.2rem;
  }

  .members-box p {
    font-size: 1rem;
  }

  .members-image {
    height: 100px;
    width: 100px;
  }
}

@media (min-width: 600px) {
  .four-members,
  .three-members {
    justify-content: space-around;
  }
}

@media (min-width: 768px) {
  .four-members {
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .three-members {
    justify-content: space-evenly;
  }
}

/* second hero sectio */

.hero-section-two {
  height: 90vh;
  width: 100%;
  position: relative;
}

.hero-two-content {
  width: 70%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 10px 15px;
}

.hero-two-content h2 {
  font-size: 3rem;
  line-height: 4rem;
  color: white;
  margin-bottom: 15px;
}

.hero-video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-video::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top right,
    #1f3e5786,
    #0a447386,
    #1f3e578a,
    #0a447385
  );
  z-index: 1;
}

.hero-video > video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* third hero section -> Why Choose INFORMATEX TECH */
/* General Styles */
.third-hero-section {
  /* margin: 50px 0; */
  margin: 10px 0;
  padding: 20px 50px;
}

.third-hero-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.third-left {
  display: flex;
  flex-wrap: wrap;
  width: 45%;
}

/* Styles for Each Mini Container's Background Image */
.third-left-mini-container {
  height: 50%;
  width: 50%;
  background-size: cover; /* Ensures the image covers the entire container */
  background-position: center; /* Centers the image */
  border: 1px solid white;
}

#mini-one {
  padding: 50px 25px;
  background-color: #0787d9;
}

#mini-one h3 {
  color: white;
  font-size: 1.8rem;
  width: 100%;
  letter-spacing: 1.2px;
  line-height: 2.1rem;
  text-align: center;
}

#mini-two {
  background-image: url(images/reception\ with\ bipesh.jpg);
}

#mini-three {
  background-image: url(images/riteshTeachingStaff.jpg);
}

#mini-four {
  background-image: url(images/reewaz\ cabin.jpg);
}

/* Right Section (Text) */

.third-right {
  width: 50%;
}

.third-right h2 {
  font-size: 3rem;
  padding: 10px 0;
  line-height: 3.5rem;
  color: #1b1f2e;
}

.third-right p {
  padding: 20px 0;
  width: 90%;
  letter-spacing: 1.2px;
  line-height: 1.4rem;
  color: #adb2b7;
  font-size: 1.2rem;
}

.third-right-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0;
}

.third-icon-container {
  font-size: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .third-hero-container {
    flex-direction: column;
    padding: 20px;
  }

  .third-left, .third-right {
    width: 100%;
  }

  .third-left-mini-container {
    width: 100%; /* Full width for smaller screens */
    height: 200px; /* Set a height to ensure images are visible */
    margin: 5px 0; /* Add margin for spacing */
  }

  #mini-one h3 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    width: 100%;
    text-align: center;
  }

  .third-right h2 {
    font-size: 2.5rem;
    text-align: center;
  }

  .third-right p {
    font-size: 1rem;
    text-align: center;
  }

  
}

@media (max-width: 768px) {
  .third-hero-section {
    padding: 10px 20px;
  }

  .third-left-mini-container {
    height: 150px; /* Smaller height for mobile */
  }

  #mini-one h3 {
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-align: center;
    width:100%; 

  }

  .third-right h2 {
    font-size: 2rem;
  }

  .third-right p {
    font-size: 1rem;
    padding: 10px 0;
  }

  .third-icon-container {
    font-size: 1.5rem;
    display: none;
  }
  
}

@media (max-width: 480px) {
  #mini-one h3 {
    font-size: 1rem;
    line-height: 1.4rem;

  }

  .third-right h2 {
    font-size: 1.8rem;
  }

  .third-right p {
    font-size: 0.9rem;
  }

  .third-icon-container {
    font-size: 1.2rem;
  }

  .third-right-content {
    
    gap: 10px;
  }
}


/* FOURTH HERO SECTION -> 
We’re Delivering the Best SEO & Writing Services */

.fourth-hero-section {
  width: 100%;
  /* margin: 80px 0; */
  margin: 10px 0;
}

.fourth-container {
  height: 325px;
  width: 100%;
  position: relative;
}
.fourth-bgImage {
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(images/asset\ 12.png);
}
.fourth-bgImage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #009dffc2;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.fourth-hero-content {
  width: 80%;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  font-size: 1.4rem;
  line-height: 2.5rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fourth-content-btn {
  padding: 20px 15px;
  background-color: white;
  color: #1b1f2e;
  border: none;
  font-size: 0.9rem;
  line-height: 0.8rem;
  transition: all 0.2s ease-out;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1.2px;
}
.fourth-content-btn:hover {
  background-color: #d7e8f3;
}


@media(max-width: 480px) {

  .fourth-content-btn {
    padding: 15px 10px;
    background-color: white;
    color: #1b1f2e;
    border: none;
    font-size: 0.8rem;
    line-height: 0.8rem;
    transition: all 0.2s ease-out;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1.2px;
  }
}


/* Home Contact section */

/* Main styles */
.home-contact {
  padding: 0 45px;
  /* margin-bottom: 40px; */
  margin: 10px 0;
}

.home-contact-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.home-contact-left {
  width: 40%;
  padding: 10px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.home-contact-left h3 {
  font-size: 0.8rem;
  color: #7a838b;
  letter-spacing: 1.2px;
}

.home-contact-left h2 {
  color: #1b1f2e;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
}

.home-contact-left p {
  color: #7a838b;
  font-size: 1rem;
  letter-spacing: 1.2px;
  line-height: 1.8rem;
}

.contact-content-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.home-contact-right {
  width: 50%;
  padding: 20px;
  border: 1px solid #adb2b7;
  border-top-width: 4px;
}

.home-contact-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
   
}

.home-contact-right input,
.home-contact-right textarea {
  background-color: #edf3f6;
  border: 1px solid transparent;
  outline: none;
  padding: 10px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.home-contact-right input:focus,
.home-contact-right textarea:focus {
  border: 1px solid #0787d9;
}



.input-container1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 15px;
  margin-bottom: 15px;
}
.input-container2 {
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 15px;
}

.info{
  gap: 10px;
}

.home-contact-right form button {
  width: 30%;
  margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .home-contact-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-contact-left,
  .home-contact-right {
    width: 100%;
  }

  .home-contact-left h2 {
    font-size: 2rem;
  }

  .home-contact-left p {
    font-size: 0.9rem;
    line-height: 1.6rem;
  }

  .home-contact-right input {
    width: 100%;
  }

  .input-container {
    flex-direction: column;
  }

  .home-contact-right form button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-contact {
    padding: 0 15px;
  }

  .home-contact-left h2 {
    font-size: 1.8rem;
  }

  .home-contact-left p {
    font-size: 0.85rem;
  }

  .home-contact-right {
    padding: 15px;
  }

  .home-contact-right input,
  .home-contact-right textarea {
    font-size: 0.85rem;
    padding: 8px;
  }

  .home-contact-right form button {
    font-size: 0.9rem;
    padding: 10px;
  }
}


/* --------------- Footer ------------- */

/* Base styles (PC) */
footer {
  background-color: #00294b;
  padding: 70px 5px 10px;
}

.footer-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 0 25px 0;
  margin: 10px 0;
  color: #d2dce5;
  position: relative;
}

.footer-left,
.footer-right {
  width: 45%; /* Adjusted for more flexible PC layout */
  margin-bottom: 20px;
}



.footer-logo {
  width: 80%;
  padding: 10px;
}
.footer-logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}


.footer-left-bottom {
  background-color: #002442;
  padding: 30px 40px;
}

.footer-left-top p {
  font-size: 1.05rem;
  line-height: 1.5rem;
}

.footer-right {
  display: flex;
  justify-content: space-between;
  /* border-bottom: 1px solid #adb2b7; */
  overflow-x: hidden;
}

/* .footer-services, .footer-contact {
  width: 48%;
} */

.footer-link-box {
  position: absolute;
  right: 0;
  bottom: 5px;
  display: flex;
  width: 50%;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
}

.footer-services a {
  font-size: 1rem;
  margin: 10px 0;
  line-height: 1.7rem;
  transition: all 0.2s ease-out;
  color: #adb2b7;
  display: block;
}
.footer-services a:hover {
  color: white;
}
.footer-content-text a {
  color: #adb2b7;
  transition: all 0.2 ease-in-out;
}

.footer-left-bottom form input {
  padding: 20px 15px;
  font-size: 1.2rem;
  border: 1px solid transparent;
  outline: none;
  color: #d7e8f3;
  background-color: #00284a;
  transition: all 0.2s ease-in-out;
}

.footer-left-bottom input:hover {
  border: 1px solid #0787d9;
}
.footer-left-bottom input:focus {
  border: 1px solid #0787d9;
}


.footer-link-box {
  position: absolute;
  right: 0;
  bottom: 5px;
  display: flex;
  width: 50%; /* Full width on smaller screens */
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
}

.social-media-links {
  color: white;
  font-size: 2rem;
  display: flex;
  width: 40%;
  justify-content: space-around;
}

.social-media-links i{
  color : white;
}

.footer-link-text p, .footer-link-text a {
  font-size: 0.9rem;
  color:white;
}





.footer-content-box {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.2rem;
  color: #d2dce5;
  margin: 20px 0;
  justify-content: flex-start;
}






/* Adjust font size and spacing for smaller screens */
@media (max-width: 768px) {
  .social-media-links {
    font-size: 1.5rem;
    width: 60%; /* Adjust width for smaller screens */
  }

  .social-media-links a {
    padding: 4px 6px; /* Reduce padding */
    color: white;
  }
}

@media (max-width: 480px) {
  .social-media-links {
    font-size: 1.2rem;
    width: 70%;
  }

}


.footer-copyright {
  border-top: 1px solid #adb2b7;
  padding: 10px 0 0 0;
  text-align: center;
  color: #adb2b7;
  letter-spacing: 1.2px;
  font-size: 1rem;
  line-height: 1rem;
}


.footer-content-text p {
  word-wrap: break-word; /* Allows breaking long words */
  overflow-wrap: break-word; /* Ensures long words break properly on small screens */
}

.footer-content-text {
  max-width: 100%; /* Ensures the content doesn't overflow the container */
  word-wrap: break-word;
}


/* Mobile styles */
@media (max-width: 768px) {
  .footer-content-box {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.2rem;
    color: #d2dce5;
    margin: 20px 0;
    justify-content: center;
  }
  

  footer {
    padding: 50px 20px 10px;
  }

  .footer-contents {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right,
  .footer-services,
  .footer-contact,
  .footer-left-bottom {
    width: 100%;
    padding: 0;
    margin: 20px 0;
  }

  .footer-left-top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-logo img {
    width: 60%; /* Smaller logo on mobile */
  }

  .footer-left-bottom {
    padding: 20px;
  }

  .footer-right {
    flex-direction: column;
    border-bottom: none;
  }

  .footer-services,
  .footer-contact {
    text-align: center;
  }

  .footer-link-box {
    position: static;
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .social-media-links {
    width: auto;
    margin-top: 10px;
  }
  .footer-contact {
    text-align: center; /* Center-align on smaller screens */
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  footer {
    padding: 30px 10px;
  }

  .footer-left-bottom p,
  .footer-link-text p {
    font-size: 0.9rem;
  }

  .footer-link-text a {
    font-size: 1rem;
  }

  .footer-left-top p {
    font-size: 0.9rem;
    line-height: 1.2rem;
  }

  .footer-content-box {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 1.2rem;
    color: #d2dce5;
    margin: 20px 0;
  }
  


}
