﻿/* General Reset */
.overflow {
  overflow: hidden;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  transition: background 0.3s, color 0.3s;
}

html {
  scroll-behavior: smooth;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.two-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1100px) {
  .two-grid {
    grid-template-columns: 1fr;
  }
}

.three-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1100px) {
  .three-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .three-grid.responsive {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .three-grid.responsive {
    grid-template-columns: 1fr;
  }
}

.four-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 1100px) {
  .four-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .four-grid {
    grid-template-columns: 1fr;
  }
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  width: 120px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.nav-links a:hover {
  color: #A98A5F;
  transition: 0.3s ease-in-out;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  .nav-links {
    display: flex;
    gap: unset;
  }
  .nav-links.active {
    display: flex;
    z-index: 4;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links a {
    border-top: solid #f0f0f0 1px;
    padding: 21px;
  }
}
.hero-container {
  height: 100vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

@keyframes scalePulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.hero-img {
  background-position: center;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1.1);
  animation: scalePulse 4s ease-in-out;
}

.hero-shade {
  background: linear-gradient(270deg, rgba(38, 104, 166, 0) 17%, rgb(22, 62, 100) 100%);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 100%;
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media (max-width: 768px) {
  .hero-content {
    top: 40%;
  }
}
.hero-content .hero-h1 {
  color: white;
  font-size: 65px;
  width: 50%;
  font-weight: bold;
  margin-top: 20px;
  line-height: 80px;
}
@media (max-width: 768px) {
  .hero-content .hero-h1 {
    font-size: 33px;
    width: 90%;
    line-height: normal;
  }
}
.hero-content .hero-p {
  color: white;
  width: 60%;
  line-height: 25px;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .hero-content .hero-p {
    width: 90%;
  }
}
.hero-content .sub-title {
  color: white;
}
.hero-content .sub-title svg path {
  stroke: white;
  fill: none;
}
.hero-content .button {
  background: white;
}
.hero-content .button svg rect {
  fill: #14324E !important;
}
.hero-content .button svg path {
  fill: white !important;
}
.hero-content .button a {
  color: #14324E;
}

.section-title {
  color: #14324E;
  margin: 25px 0;
  font-size: 32px;
}
@media (max-width: 1100px) {
  .section-title {
    font-size: 25px;
    margin: 15px 0;
  }
}

.sub-title {
  color: black;
  display: flex;
  align-items: center;
  font-size: 14px;
  letter-spacing: 5px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .sub-title {
    font-size: 12px;
    letter-spacing: 3px;
  }
}
.sub-title svg {
  margin-right: 10px;
}
.sub-title svg path {
  stroke: black;
  fill: none;
}

.button {
  background: #14324E;
  color: white;
  display: inline-block;
  border-radius: 30px;
  padding: 15px 35px;
  margin-top: 30px;
}
.button:hover svg {
  margin-left: 20px;
  transition: 0.3s ease-in-out;
}
.button a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: end;
}
.button svg {
  margin-left: 10px;
  transition: 0.3s ease-in-out;
}
.button svg rect {
  fill: white;
}
.button svg path {
  fill: #14324E;
}

img {
  border-radius: 10px;
}

.rotating-text {
  display: inline-block;
  background: #A98A5F;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.rotating-text svg {
  animation: spin 10s linear infinite;
}
@media (max-width: 700px) {
  .rotating-text {
    transform: translate(-50%, -50%) scale(0.5);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
textPath {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 10px;
  fill: white;
}

.logoi {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.logoi img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.image-side {
  position: relative;
}

.dual-grid-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 90px 0;
}
@media (max-width: 1100px) {
  .dual-grid-section {
    grid-template-columns: 1fr;
    padding: 50px 0;
  }
}

.image-grid {
  display: flex;
  gap: 20px;
  height: 500px;
}
@media (max-width: 700px) {
  .image-grid {
    height: 300px;
  }
}

.image-grid img {
  border-radius: 10px;
  object-fit: cover;
}

.tall-img {
  width: 50%;
  height: 100%;
}

.stacked-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.stacked-images img {
  height: calc(50% - 10px);
  width: 100%;
}

.text-side {
  padding: 20px;
}
@media (max-width: 1100px) {
  .text-side {
    padding: 0;
  }
}
.text-side p {
  font-size: 16px;
  line-height: 32px;
}
@media (max-width: 1100px) {
  .text-side p {
    font-size: 14px;
    line-height: 28px;
  }
}

.center {
  text-align: center;
}

.graybg {
  background: #F3F3F3;
  padding: 90px 0;
}
.graybg .graybg-p {
  background: white;
}
@media (max-width: 700px) {
  .graybg {
    padding: 50px 0;
  }
}

.autom {
  margin: 25px auto;
  width: 600px;
  justify-content: center;
}
@media (max-width: 700px) {
  .autom {
    width: 90%;
  }
}

.each-service {
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  height: 160px;
  margin: 15px;
}
.each-service h3 {
  color: #14324E;
}
.each-service h1 {
  position: absolute;
  left: 20px;
  font-size: 106px;
  color: #F3F3F3;
}

.quarter-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 30px;
  margin: 90px 0;
}
@media (max-width: 1000px) {
  .quarter-grid {
    grid-template-columns: 1fr;
    margin: 50px 0;
  }
}
.quarter-grid img {
  width: 100%;
  object-fit: cover;
}

.graybg-p {
  background: #F3F3F3;
  margin: 10px 0;
  padding: 15px;
  border-radius: 10px;
  display: flex;
}
.graybg-p img {
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.approach-section {
  background-image: url(../img/our-approach-bg.jpg);
  padding: 90px 0;
}
@media (max-width: 1100px) {
  .approach-section {
    padding: 30px 0;
  }
}

.custom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 40px 20px;
}
@media (max-width: 1100px) {
  .custom-section {
    grid-template-columns: 1fr;
    padding: 20px 20px;
  }
}

.image-container {
  position: relative;
  z-index: 1;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.text-cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: -120px; /* Pulls the cards to overlap the image */
}
@media (max-width: 1100px) {
  .text-cards {
    margin-left: 0;
    margin-top: 30px;
  }
}

.card {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  width: 100%;
  display: grid;
  grid-template-columns: 60px 1fr;
  grid-gap: 25px;
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  line-height: 25px;
}
.card img {
  width: 100%;
}

.custom-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 90px auto;
  align-items: start;
}
@media (max-width: 1100px) {
  .custom-layout {
    grid-template-columns: 1fr;
    margin: 50px auto;
  }
}

.left-side .top-img {
  width: 100%;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 20px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bottom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gray-box {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.gray-box h3 {
  font-size: 45px;
}
.gray-box p {
  color: #14324E;
}

.right-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.each-i {
  display: grid;
  grid-template-columns: 50px 1fr;
  margin: 20px 20px;
}

.mini-contact {
  background: #A98A5F;
  padding: 50px;
  color: white;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 3fr 1fr;
}
@media (max-width: 1100px) {
  .mini-contact {
    grid-template-columns: 1fr;
  }
}
.mini-contact h2 {
  margin-bottom: 20px;
}

.sgrid {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-gap: 10px;
  margin-top: 20px;
}
.sgrid:nth-child(1) {
  border-right: 1px solid #e1caa9;
  margin-right: 44px;
  height: 45px;
}
@media (max-width: 1100px) {
  .sgrid:nth-child(1) {
    border-right: none;
  }
}
.sgrid img {
  width: 100%;
}

.cimg {
  width: 100%;
}
@media (max-width: 1100px) {
  .cimg {
    margin-top: 30px;
  }
}

.arr {
  margin-top: -60px;
}
@media (max-width: 1100px) {
  .arr {
    display: none;
  }
}

footer {
  background: #14324E;
  padding: 90px 0;
  margin-top: 50px;
  color: white;
  border-bottom: solid 1px white;
}
@media (max-width: 1100px) {
  footer {
    padding: 50px 0;
  }
}
footer .logof {
  width: 200px;
  margin-bottom: 20px;
}
footer p {
  width: 90%;
  line-height: 25px;
}
footer p img {
  width: 30px;
  border-radius: 0;
  margin-right: 15px;
}
footer .footer2 .page-link {
  line-height: 40px;
}
footer .footer2 .page-link img {
  width: 14px;
}
footer .footer2 .page-link a {
  color: white;
  text-decoration: none;
}
footer .footer2 .page-link a:hover {
  color: #A98A5F;
}

.right {
  background: #14324E;
  color: white;
  padding: 10px;
  text-transform: capitalize;
}
@media (max-width: 1100px) {
  .right p {
    line-height: 30px;
  }
}
.right p:nth-child(2) {
  text-align: right;
}
@media (max-width: 1100px) {
  .right p:nth-child(2) {
    text-align: left;
  }
}

.page-banner {
  height: 280px;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
  color: white;
}
.page-banner .wrapper {
  position: relative;
  z-index: 2;
  top: 135px;
}
.page-banner h1 {
  font-size: 40px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
@media (max-width: 700px) {
  .page-banner h1 {
    font-size: 30px;
  }
}
.page-banner p {
  text-transform: capitalize;
}

.m0 {
  margin: 0 !important;
}

.image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  display: inline-block;
}
.image-container .main-image {
  width: 440px;
  display: block;
}
@media (max-width: 700px) {
  .image-container .main-image {
    width: 340px;
  }
}
.image-container .small-image {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  border: solid white 10px;
  border-radius: 30px;
}
@media (max-width: 700px) {
  .image-container .small-image {
    width: 200px;
    left: -40px;
  }
}

.p90 {
  padding: 90px 0;
}
@media (max-width: 1000px) {
  .p90 {
    padding: 50px 0;
  }
}

.each-approach {
  background: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  margin: 10px;
}
@media (max-width: 1000px) {
  .each-approach {
    padding: 20px;
  }
}
.each-approach img {
  width: 50px;
  margin-bottom: 20px;
}
.each-approach p {
  width: 80%;
  margin: auto;
}
@media (max-width: 1000px) {
  .each-approach p {
    width: 90%;
  }
}

.white {
  color: white;
}
.white svg path {
  stroke: white;
}

.peopel {
  padding: 90px 0;
}
@media (max-width: 1000px) {
  .peopel {
    padding: 50px 0;
  }
}
.peopel img {
  width: 100%;
}
.peopel p {
  text-align: center;
  width: 90%;
  margin: auto;
  margin-bottom: 20px;
  line-height: 25px;
}
@media (max-width: 1000px) {
  .peopel p {
    width: 100%;
  }
}

.service-box {
  background: #F3F3F3;
  padding: 30px;
  border-radius: 10px;
  margin-right: 20px;
  margin-bottom: 20px;
}
.service-box p {
  margin: 10px 0;
  line-height: 25px;
}
.service-box p span {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
}
.service-box h3 {
  color: #14324E;
}

.detail-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 20px;
}
@media (max-width: 1000px) {
  .detail-container {
    grid-template-columns: 1fr;
  }
}
.detail-container .main-service p {
  line-height: 25px;
}
.detail-container .main-service a {
  color: #A98A5F;
}
.detail-container .main-service img {
  width: 100%;
  margin-top: 20px;
}
.detail-container .main-service ul {
  padding-left: 15px;
  line-height: 25px;
  margin: 15px 0;
}
.side-service .mini-contact {
  display: block;
}
.side-service .mini-contact .three-grid {
  display: block;
}
.side-service .mini-contact .arr {
  display: none;
}
.side-service .sgrid:nth-child(1) {
  border: none;
}
.side-service .cimg {
  margin-top: 20px;
}

.contact-box {
  margin: 90px auto;
  padding: 100px;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  .contact-box {
    margin: 50px 20px;
    padding: 50px 20px;
  }
}
.contact-box p {
  line-height: 25px;
  display: flex;
}
@media (max-width: 1000px) {
  .contact-box p {
    display: block;
  }
}
.contact-box p img {
  margin-right: 10px;
  width: 14px;
  height: 20px;
  margin-top: 2px;
}
.contact-box h3 {
  text-transform: uppercase;
  align-items: center;
  margin-top: 30px;
}
.contact-box h3 img {
  border-radius: 0;
  width: 25px;
  margin-right: 20px;
  margin-top: 20px;
}
.contact-box h4 {
  border-bottom: solid 1px #a6a6a6;
  font-size: 19px;
  padding: 14px 0;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 20px;
}

.contact-form {
  padding: 50px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
@media (max-width: 1000px) {
  .contact-form {
    padding: 20px;
  }
}

.contact-form h2 {
  color: #A98A5F;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
  border-radius: 5px;
  border: none;
  border-bottom: 1px solid #ccc;
}

.contact-form button {
  background-color: #14324E;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #A98A5F;
}

.contact-left {
  padding: 100px;
}
@media (max-width: 1000px) {
  .contact-left {
    padding: 20px;
  }
}

.hover-effect-image {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.hover-effect-image img {
  display: block;
  width: 100%;
  height: 100%;
}
.hover-effect-image::before, .hover-effect-image::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 100%;
  background: white;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.8s ease;
  opacity: 0;
  z-index: 2;
}
.hover-effect-image::before {
  top: 50%;
  left: 50%;
}
.hover-effect-image::after {
  top: 50%;
  left: 50%;
}
.hover-effect-image:hover::before {
  transform: translate(-300%, 300%) rotate(45deg);
  opacity: 1;
}
.hover-effect-image:hover::after {
  transform: translate(200%, -200%) rotate(45deg);
  opacity: 1;
}
