/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: 'Poppins', Helvetica, Arial, sans-serif; /* Body Text */
  --heading-font: 'Poppins', Helvetica, Arial, sans-serif; /* Headings */
  --nav-font: Helvetica, Arial, sans-serif; /* Navigation */
}

/* Global Colors */
:root {
  --background-color: #ffffff;
  --default-color: #1B2B54;
  --heading-color: #485664;
  --accent-color: #ffc107;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: #485664;
  --nav-hover-color: #ffc107;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #485664;
  --nav-dropdown-hover-color: #ffc107;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  overflow-x: hidden;
}

a {
  color: var(--default-color);
  text-decoration: none;
  transition: 0.3s;
  font-family: var(--default-font)
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
#header {
  display: flex;
  align-items: center;
  padding: 0px 20px;
  width: 100%;
  color: var(--default-color);
  background-color: var(--backgroun-color);
  transition: all 0.5s;
  z-index: 997;
  box-sizing: border-box;
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .Box {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0px;
  padding: 0px 20px;
  gap: 40px;
}

.header .logo {
  line-height: 1;
  background-color: transparent;
}

.header .logo img {
  margin-top: 10px;
  max-width: 85px;
  max-height: auto;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 26px;
  margin: 0;
  text-transform: uppercase;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 26px;
}

.header .header-social-links {
  padding: 0 0 0 15px;
}

.header .header-social-links a {
  color: var(--default-color);
  padding-left: 10px;
  display: inline-block;
  transition: 0.3s;
  font-size: 1.5rem;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .logo h1 {
    font-size: 24px;
  }

  .header .header-social-links {
    order: 2;
    padding: 0 15px 0 0;
  }

  .header .navmenu {
    order: 3;
  }
}

@media (max-width: 416px) {
  .header .Box {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin: 0px;
    padding: 0px;
    gap: 0px;
  }

  .header .logo {
    margin-left: 25px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 1.2rem;
    font-family: var(--nav-font);
    text-transform: uppercase;
    font-weight: 100;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a {
    color: var(--accent-color);
  }

  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul a {
    display: flex;
    justify-content: left;
    text-align: center;
    padding: 10px 20px;
    margin-left: 10px;
    font-size: 1.5rem;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    height: fit-content;
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 10px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    justify-content: left;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 45px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 0px;
    margin: 0px;
    background-color: var(--nav-dropdown-background-color);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------c
# Global Footer
--------------------------------------------------------------*/
.footer-links {
  max-width: 100%;
  color: var(--accent-color);
}

.social-media {
  background-color: #6351ce;
}

.footer a {
  color: var(--default-color);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent-color);
}

.footer i {
  color: white;
  font-size: 1.5rem;
}

.footer i:hover {
  color: var(--accent-color);
}

.social-text span {
  font-size: 1.5rem;
  color: white;
}

#footer-logo {
  min-width: 30%;
  height: auto;
  max-width: 200px;
}

#fic {
  color: var(--accent-color);
}

.footer-links p {
  color: var(--default-color);
}

@media(max-width:416px) {
  .footer i {
    font-size: 1rem;
  }

  .social-text span {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--background-color, #f8f9fa);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease-out;
  overflow: hidden;
}

.square-loader {
  position: relative;
  width: 10vw;
  height: 10vw;
  min-width: 40px;
  min-height: 40px;
  max-width: 80px;
  max-height: 80px;
}

.square-loader div {
  position: absolute;
  width: calc(2 * 10vw);
  height: calc(2 * 10vw);
  border: 4px solid var(--default-color, #007bff);
  border-radius: 8px;
  animation: rotate-square 1.5s cubic-bezier(0.5, 0.1, 0.1, 0.9) infinite;
  min-width: 80px;
  min-height: 80px;
  max-width: 160px;
  max-height: 160px;
}

.square-loader div:nth-child(1) {
  animation-direction: normal;
}

.square-loader div:nth-child(2) {
  animation-direction: reverse;
  animation-delay: 0.75s;
}

@keyframes rotate-square {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .square-loader {
    width: 15vw;
    height: 15vw;
  }
}

@media (max-width: 480px) {
  .square-loader {
    width: 20vw;
    height: 20vw;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Image Slider
--------------------------------------------------------------*/
main>section {
  margin: 0;
  padding: 0;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  max-height: 800px;
  object-fit: contain;
}
.swiper-slide video {
  width: 100%;
  height: 100%;
  max-height: 1200px;
  object-fit: contain; /* This is key to prevent stretching */
}
.slide-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.5rem;
  font-family: var(--heading-font);
  white-space: nowrap;
  z-index: 10;
}  
.slide-text.brochure-text{ 
 background: transparent; 
}

.swiper-slide.brochure-slide { 
  box-shadow: none;
  position: relative; 
} 

.brochure-slide .brochure-button {

  position: absolute;
  top: 90%; 
  left: 50%; 
  transform: translateX(-50%); 

  color: darkred; /* A clear, standard blue */
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  font-weight: bold;
  font-size: 0.8em;  
  font-family: var(--default-font);
  text-decoration:underline;
  white-space: nowrap; /* Ensures "View brochure" stays on one line */
} 

.brochure-slide .brochure-button:hover {
  /* Changes text color to your accent color on hover */
  color: var(--accent-color); 
}

#Sl-2,
#Sl-3,
#Sl-4,
#Sl-5,
#Sl-6 {
  bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-color);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    /* Increase size for better touch targets and add a background for visibility */
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }
  /* Adjust the size of the actual arrow icon inside the button */
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 1rem; /* Make the arrow icon smaller to fit inside the new circle */
    font-weight: bold;
  }
}
@media screen and (max-width: 768px) {
  .swiper-slide {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .swiper-slide img {
    max-width: 700px;
    object-fit: contain;
  }
}

@media screen and (max-width: 425px) {
  .swiper-slide img {
    max-height: 400px;
    object-fit: contain;
  }
}

@media screen and (max-width: 768px) {
  .slide-text {
    font-size: 1rem;
    padding: 8px 16px;
    bottom: 40px;
  }
}

@media screen and (max-width: 600px) {
  .slide-text {
    font-size: 1rem;
    padding: 6px 12px;
    bottom: 25px;
  }

  #Sl-5 {
    font-size: 12px;
  }

  #Sl-6 {
    font-size: 12px;
  }
}

@media screen and (max-width: 500px) {
  .slide-text {
    font-size: 1rem;
    padding: 6px 12px;
    bottom: 20px;
  }

  #Sl-2 {
    bottom: 12px;
    font-size: 12px;
  }

  #Sl-3 {
    bottom: 12px;
    font-size: 12px;
  }

  #Sl-4 {
    bottom: 12px;
    font-size: 10px;
  }

  #Sl-5 {
    font-size: 10px;
    bottom: 12px;
  }

  #Sl-6 {
    bottom: 12px;
    font-size: 10px;
  }
}

@media screen and (max-width: 400px) {
  .slide-text {
    font-size: 10px;
    padding: 6px 12px;
    bottom: 20px;
  }

  #Sl-2 {
    bottom: 12px;
  }

  #Sl-3 {
    bottom: 12px;
    font-size: 9px;
  }

  #Sl-4 {
    bottom: 12px;
    font-size: 10px;
  }

  #Sl-5 {
    bottom: 12px;
    font-size: 8px;
  }

  #Sl-6 {
    bottom: 15px;
    font-size: 8px;
  }
}

/*--------------------------------------------------------------
# Key achivements Section
--------------------------------------------------------------*/
#row {
  max-width: 100%;
}

.counter_container_outer {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--default-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.counter_container_outer .plus-sign {
  font-size: 1.5rem;
  color: var(--default-color);
  margin-left: 5px;
}

.counter_text {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: var(--accent-color);
  text-align: center;
  margin-top: 15px;
  padding: 0 10px;
}

.counter-box {
  padding: 25px 15px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#HF {
  border-right: none;
}

@media (max-width: 1024px) {
  .counter-box {
    border-right: none;
    margin-bottom: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .counter_container_outer {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
  }

  .counter_text {
    font-size: 1.2rem;
    margin-top: 10px;
  }
}

@media (max-width: 1000px) and (min-width: 570px) {
  .counter-box {
    border-right: none;
    flex-basis: 50%;
    padding: 10px;
  }

  .counter_container_outer {
    font-size: 1.3rem;
    margin-bottom: 8px;
  }

  .counter_text {
    font-size: 1rem;
    padding: 0 20px;
  }
}

@media (max-width: 569px) {
  .counter-box {
    padding: 10px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #HF {
    border-bottom: none;
  }

  .counter_container_outer {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-align: center;
  }

  .counter_text {
    font-size: 0.9rem;
    margin-top: 5px;
  }
}

/*---------------------
-----------------------------------------
# About us section
--------------------------------------------------------------*/
.about-us {
  position: relative;
  background-image: url("https://res.cloudinary.com/db83fql6e/image/upload/f_auto,q_auto,w_800/v1757148083/istockphoto-890163784-612x612_hkf2el.jpg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow: hidden;
}

.about-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.about-us-container {
  max-width: 100rem;
  width: 100%;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex: 1;
  display: flex;
  margin-left: 100px;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.logo img {
  max-width: 100%;
  height: auto;
  width: 200px;
}

.description {
  flex: 2;
  text-align: center;
  max-width: 400px;
}

.description h2 {
  font-family: var(--heading-font);
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--default-color);
}

.description p {
  font-family: var(--default-font);
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 20px;
  line-height: 2;
  max-width: 300px;
  margin: 0 auto 20px;
  color: var(--default-color);
}

.read-more {
  display: inline-block;
  text-decoration: none;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

.read-more:hover {
  background: var(--accent-color);
  color: #fff;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .logo img {
    width: 150px;
    margin-bottom: 20px;
    margin-right: 100px;
  }

  .description h2 {
    font-size: 1.8rem;
  }

  .description p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 120px;
  }

  .description {
    padding: 0 10px;
  }
}

/*---------------------
-----------------------------------------
# Why choose us section
--------------------------------------------------------------*/
.why-choose-us {
  position: relative;
  background-image: url("https://res.cloudinary.com/db83fql6e/image/upload/f_auto,q_auto,w_1200/v1757148050/bg_c0qgt4.jpg");
  background-size: cover;
  background-position: center;
  padding: 50px 20px;
  color: #333;
  text-align: center;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.why-choose-us h2,
.why-choose-us p,
.why-choose-us .features {
  position: relative;
  z-index: 1;
}

.why-choose-us h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: white;
}

.why-choose-us p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: white;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.feature {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 22%;
  padding: 20px;
  text-align: center;
}

.feature img {
  width: 50px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--default-color);
}

.feature p {
  font-size: 1em;
  color: var(--default-color);
}

@media (max-width: 768px) {
  .feature {
    width: 45%;
  }
}

@media (max-width: 480px) {
  .feature {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# our projects sectoion Section
--------------------------------------------------------------*/
.projects-section {
  margin: 50px 0;
}

.section-h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--default-color);
  text-transform: uppercase;
  text-align: center;
}

.projects-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  margin: 0px 50px;
}

.project-card {
  position: relative;
  flex: 0 1 33%;
  width: 100%;
  max-width: 400px;
  height: 600px;
  border: 1px solid #ddd;
  border-radius: 0;
  border: 0;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  margin: 0px auto;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
  z-index: 2;
}

.project-card:hover .card-overlay {
  opacity: 1;
}

.view-more-btn {
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
  background-color: var(--default-color);
  text-decoration: none;
  border-radius: 5px;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
  background-color: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.delivered-overlay {
  position: absolute;
  right: 10px;
  bottom: 145px;
  width: 155px;
  z-index: 1;
}

.overlay-img {
  width: 100%;
  height: auto;
  transform: rotate(-15deg);
  transform-origin: center;
  transition: transform 0.2s ease-in;
  opacity: 0.8;
}

.project-image {
  width: 100%;
  height: 80%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.project-text {
  height: 20%;
  padding: 15px;
  text-align: center;
  background: #fff;
}

.project-text h3 {
  color: var(--default-color);
}

.project-card-container:hover .project-image {
  transform: scale(1.1);
}

.project-card-container:hover .project-text {
  transform: translateY(-5px);
  transition: transform 0.5s ease-in-out;
}

.project-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.project-description {
  font-size: 0.9em;
  color: #666;
}

@media (max-width: 1200px) {
  .project-card-container {
    flex: 0 1 45%;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 993px) {
  .project-card {
    width: 100%;
    min-width: 300px;
  }

  .project-card-container {
    flex: 0 1 100%;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .project-card {
    width: 80%;
    margin-left: 25px;
    margin-right: 25px;
  }
}

/*--------------------------------------------------------------
#  contact us page - get us in touch Section
--------------------------------------------------------------*/
.contact-buttons-section {
  text-align: center;
  background-color: #f9f9f9;
  padding: 50px 20px;
}

.contact-buttons-section h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--default-color);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.button-box {
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: calc(25% - 30px);
  min-width: 200px;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s, color 0.3s;
}

.button-box:hover {
  transform: translateY(-5px);
  color: #000;
}

.button-box .icon {
  margin: 0 auto 10px auto;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-box .icon i {
  font-size: 50px;
  transition: transform 0.3s ease-in-out, color 0.3s;
}

.button-box:hover .icon i {
  transform: scale(1.1);
}

.button-box p {
  margin: 5px 0;
  font-size: 1rem;
  color: #555;
}

.button-box:nth-child(1) .icon i {
  color: #4169e1;
}

.button-box:nth-child(2) .icon i {
  color: #ffc107;
}

.button-box:nth-child(3) .icon i {
  color: #6a1b9a;
}

.button-box:nth-child(4) .icon i {
  color: #25d366;
}

@media (max-width: 768px) {
  .button-box {
    width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .button-box {
    width: 100%;
  }

  .contact-buttons-section h2 {
    font-size: 1.5rem;
  }

  .button-box p {
    font-size: 0.9rem;
  }
}

/*******************************
        Amenities
********************************/
.advantages-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.advantages-section h2 {
  font-size: 28px;
  color: #b59b6e;
  margin-bottom: 10px;
}

.advantages-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

.advantages-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.advantage {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.advantage img {
  width: 40px;
  margin-bottom: 15px;
}

.advantage h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.advantage p {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .advantage {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .advantage {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* *****************************
        Ameneties
*******************************/
.amenities-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.amenities-title {
  text-align: center;
  font-size: 26px;
  color: #2e7d32;
  margin-bottom: 20px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  padding: 0 10px;
}

.amenity {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: #f8f8f8;
}

.amenity img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.amenity h3 {
  font-size: 14px;
  color: #333;
  margin: 0;
  word-wrap: break-word;
}

.amenity:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .amenities-title {
    font-size: 22px;
  }

  .amenity img {
    width: 35px;
    height: 35px;
  }

  .amenity h3 {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .amenities-title {
    font-size: 20px;
  }

  .amenities-container {
    padding: 10px;
  }
}

/********************************
        IMAGE AND DESCRIPTION
********************************/ 

.about-container {
  display: flex;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  flex-wrap: wrap;
}

.image-container {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.image-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.description-container {
  flex: 1;
  padding: 20px;
}

.heading {
  color: #b42e37;
  font-size: 2.3rem;
  margin-bottom: 10px;
  font-family: var(--heading-font);
  text-transform: uppercase;
}

.subheading {
  color: #444;
  font-size: 1.6rem;
  margin: 15px 0 10px;
  font-family: var(--default-font);
  font-weight: 600;
}

.text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px 0;
  font-family: var(--default-font);
  color: #555;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .image-container,
  .description-container {
    flex: none;
    width: 90%;
    padding: 10px;
  }

  .heading {
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 1.3rem;
  }

  .text {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .heading {
    font-size: 1.3rem;
  }

  .subheading {
    font-size: 1.2rem;
  }

  .text {
    font-size: 0.8rem;
  }
}

/********************************
      Gallery Container code
*******************************/
.gallery-container {
  text-align: center;
  margin: 75px 0;
}

.gallery-heading {
  font-size: 2.5rem;
  padding: 20px 0;
}

.gallery-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  overflow-x: hidden;
}

.gallery-image {
  background-color: #f3f3f3;
  display: block;
  width: 200px;
  height: auto;
  border-radius: 5px;
  cursor: pointer;
}

.gallery-image:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-heading {
    font-size: 2rem;
  }

  .gallery-grid {
    gap: 12px;
  }

  .gallery-image {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .gallery-heading {
    font-size: 1.5rem;
  }

  .gallery-grid {
    gap: 10px;
  }

  .gallery-image {
    width: 120px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.modal-content:focus {
  outline: none;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    max-width: 600px;
  }

  .close {
    font-size: 35px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 95%;
    max-width: 400px;
  }

  .close {
    font-size: 30px;
  }
}

/***********************
        brochure
************************/
.pdf-button {
  display: flex;
  justify-content: center;
  font-family: var(--default-font);
  margin: auto;
  margin-bottom: 20px;
  align-items: center;
  height: auto;
  padding: 10px 20px;
  font-size: 1.5rem;
  color: white;
  background-color: var(--default-color);
  border: none;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  width: 250px;
  max-width: 80%;
}

.pdf-button:hover {
  background-color: var(--accent-color);
  color: white;
}

.question-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}

.question-heading {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 5px;
  background-color: transparent;
  color: var(--accent-color);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
  width: 200px;
  max-width: 80%;
}

.contact-button:hover {
  background-color: var(--accent-color);
  color: white;
}

@media (max-width: 768px) {
  .pdf-button {
    font-size: 1.2rem;
    padding: 8px 16px;
    width: 200px;
    max-width: 80%;
  }

  .contact-button {
    font-size: 1.2rem;
    padding: 8px 16px;
    width: 150px;
    max-width: 80%;
  }

  .question-heading {
    font-size: 1.8rem;
  }

  .question-section {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .pdf-button {
    font-size: 1rem;
    padding: 6px 12px;
    width: 150px;
    max-width: 80%;
  }

  .contact-button {
    font-size: 1rem;
    padding: 6px 12px;
    width: 125px;
    max-width: 80%;
  }

  .question-heading {
    font-size: 1.5rem;
  }

  .question-section {
    gap: 10px;
  }
}

/* about us page -------------------------------------------------------------------------- */
.motto-section {
  padding: 20px;
  margin: 40px auto;
  text-align: center;
  max-width: 100%;
}

.motto-heading {
  color: var(--accent-color);
}

.paragraph {
  position: relative;
  font-size: 18px;
  font-style: italic;
  margin: 20px auto;
  padding: 20px;
  line-height: 1.6;
  background-color: #f4f9ff;
  border-radius: 4px;
  max-width: 800px;
  text-align: center;
}

.paragraph::before {
  content: "“";
  font-size: 40px;
  color: var(--accent-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.paragraph::after {
  content: "”";
  font-size: 40px;
  color: var(--accent-color);
  position: absolute;
  bottom: -10px;
  right: 10px;
}

.owner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  margin-top: 20px;
}

.mainImg {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 50px;
}

.ownerText .headingText {
  font-size: 24px;
  font-weight: bold;
  margin: 5px 0;
}

.ownerText .subHeadingText {
  font-size: 20px;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .motto-heading {
    font-size: 30px;
  }

  .paragraph {
    font-size: 16px;
  }

  .mainImg {
    max-width: 90%;
    margin-bottom: 15px;
  }

  .owner-section {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .motto-heading {
    font-size: 24px;
  }

  .paragraph {
    font-size: 14px;
  }

  .ownerText .headingText {
    font-size: 20px;
  }

  .ownerText .subHeadingText {
    font-size: 14px;
  }

  .mainImg {
    margin-bottom: 10px;
  }
}