/***** Color Scheme Presets *****/
:root{
    --Text: #000000;
    --Background: #FFFFFF;
    --Primary: #223b52;
    --Accent: #b9bdc8;
    --Headings: #2e2e2e;
}

/***** Font Size Presets For Headings *****/
h1 {font-size: 3.813rem; /* 61px */
    font-weight: 600;
}

h2 {font-size: 2.625rem; /* 42px */}

h3 {font-size: 1.938rem; /* 31px */}

h4 {font-size: 1.25rem; /* 20px */}

/***** Font Styles and Wheighting *****/

h1, h2, h3, h4{
    font-family: "Montserrat", sans-serif;
    color: var(--Headings);
}

/***** Global HTML and Body Changes *****/
html{
    font-size: 100%;

}

body{
    background-color: var(--Background);
    color: var(--Text);
    font-family: "Source Sans 3", sans-serif;
    

}

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

.container{
    grid-template-columns: repeat(12, 1fr);
    display: grid;
    gap: 20px;
    margin: 40px 125px;
    
}

h2{
  grid-column: span 12;
  padding: 1.2rem 0;
}




nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--Background);
  padding: 10px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000; /* keeps above other content */
}

/* Logo */
.logo img {
  height: 100px;
}

/* Nav links */

nav > * {
  transition: all 0.3s ease;
}

.logo img {
  transition: height 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.nav-links li a:hover {
  color: var(--Primary);
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #000; /* your link color */
  padding: 5px 0;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px; /* thickness of the underline */
  width: 0%;
  background-color: var(--Primary); /* underline color */
  transition: width 0.4s ease;
}

nav ul li a:hover {
  color: var(--Headings); /* optional text color change */
}

nav ul li a:hover::after {
  width: 100%;
}

/* Phone Button */
.phone-btn {
  background: var(--Primary);
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.phone-btn:hover {
  background: #0f2538;
  transform: translateY(-2px);
}

/* Hamburger - Improved spacing */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1000;
  margin-left: 15px;
  padding: 5px;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--Primary);
  margin: 4px 0;
  border-radius: 5px;
  transition: 0.4s;
}

/* Animate to "X" */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}


/***** Hero Section *****/
.hero {
  position: relative;
  width: 100%;
  height: 90vh; /* fills most of screen */
  background: url('/imgs/all/etienne-girardet-sgYamIzhAhg-unsplash\(1\).jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay for readability */
}

.hero-content {
  position: relative;
  z-index: 1; /* keep text above overlay */
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  color: var(--Text);
  font-weight: 600;
  margin-bottom: 40px;
  line-height: 1.3;
}

.cta-btn, .phone-btn, #hero-btn {
    background: var(--Primary);
    color: #fff;
    padding: 15px 24px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.4s ease;
    border: 2px solid var(--Primary);
}

#hero-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.phone-btn:hover, .cta-btn:hover{
  background: transparent;
    color: var(--Primary);
    border-color: var(--Primary);
    transform: translateY(-2px);
}
/***** Our Services Section *****/

#Our_Core_Services > p {
  grid-column: span 12;
  line-height: 1.5;
  padding-bottom: 1.2rem;
  font-size: 1.1rem;
  ;
}

/* Desktop layout (≥ 768px) */
.img1 {
  grid-column: 1 / 7;  /* first half */
}
.text1 {
  grid-column: 7 / 13;  /* second half */
}

.text2 {
  grid-column: 1 / 7;  /* left side */
}
.img2 {
  grid-column: 7 / 13;  /* right side */
}

.service-img >img{
  width: 100%;
  border-radius: 10px;
  height: 500px;;
}

.service-text {
  display: flex;
  flex-direction: column;
  margin: auto 0;
  padding: 20px;
}

.service-text > p{
  line-height: 1.5;
  font-size: 1.1rem;
}

.our_core_services > a{
  margin-top: 1.5rem;
}

#Our_Core_Services > a {
  grid-column: span 12;
  justify-self: center;
  }

.service-text > h3{
  padding: 1rem 0;
}

/***** Project Card Styling ******/
.projects >p{
  grid-column: span 12;
  line-height: 1.5;
  padding-bottom: 1.2rem;
  font-size: 1.1rem;
}

.project-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1; /* dark overlay for readability */
}


.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
}

.overlay h3 {
  margin: 0;
  color: #fff;
  padding-bottom: 0.6rem;
}

.overlay h4 {
  color: #fff;
}

/* Desktop Layout (12-column system) */
.project-card.large {
  grid-column: span 6;
  height: 300px;
}

.project-card {
  grid-column: span 3;
  height: 300px;
}

.project-card.medium {
  grid-column: span 5;
  height: 300px;
}

.project-card.largest {
  grid-column: span 7;
  height: 300px;
}

/* CTA Button */
.projects > a {
  grid-column: span 12;
  justify-self: center;
  margin-top: 1.5rem;
  
}

.testimonials{
  margin: 0 125px ;
  margin-bottom: 40px;
}
.testimonials > p{
  line-height: 1.5;
  padding-bottom: 1.2rem;
}

.testimonial-card {
  background: var(--Primary);
  color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  margin: 10px 10px 10px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.profile-desc .name {
  font-weight: bold;
  font-size: 1.2rem;
  display: block;
  text-align: center;
}

.profile-desc .title {
  font-size: 1.1rem;
  color: #ccc;
  text-align: center;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  max-width: 400px;
}


/***** Footer Styling *****/
.footer {
  background-color: #fff;
  padding: 40px 125px;
  border-top: 1px solid #ddd;
}

.footer h3{
  color: var(--Primary);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1 1 250px;
}

.footer-logo img {
  width: 25%;
  height: auto;
}

.footer-column {
  flex: 1 1 1px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  
}

.footer-column li,
.footer-column p {
  margin: 5px 0;
  font-size: 0.95rem;
  color: #222;
  text-align: center;
}

footer a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s;
}

/*** Modal Styling ***/
/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 1000px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(255,255,255,0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.close:hover {
  background: rgba(255,255,255,1);
}

/* Gallery grid inside modal */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 150px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Lightbox/Enlarged Image Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 1100;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: white;
  margin-top: 15px;
  font-size: 1.2rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1101;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 1101;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.4);
}

/* Hide navigation when only one image */
.lightbox-single .lightbox-nav {
  display: none;
}



/* Medium Desktop: 1200px - 992px */
@media (max-width: 1200px) {
  .container{
    margin: 40px 100px;
  }

  
  
  .logo img {
    height: 90px;
  }

  /**Hero Changes**/
  .hero h1 {
    font-size: 3.2rem; /* Slightly smaller heading */
  }

/** Our Services Changes**/
.service-img > img {
    height: 450px;
  }
  
  .service-text {
    padding: 18px;
  }
  
  .service-text > p {
    font-size: 1.05rem;
  }

/** projects changes **/
 .project-card.large,
  .project-card,
  .project-card.medium,
  .project-card.largest {
    height: 280px; /* Slightly reduce height */
  }

/**Testimonial Changes**/
.testimonial-card {
    min-height: 300px;
    padding: 25px 18px;
  }
  
  .profile-image {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .profile-desc .name {
    font-size: 1.1rem;
  }
  
  .profile-desc .title {
    font-size: 1rem;
  }
  
  .testimonial-text {
    font-size: 0.95rem;
    max-width: 350px;
  }

/**Footer**/
.footer {
    padding: 35px 100px;
  }
  
  .footer-container {
    gap: 30px;
  }
  
  .footer-logo img {
    width: 20%;
  }
}




/* Tablet: 991px - 768px */
@media (max-width: 992px) {
  .container{
    margin: 40px 80px;
  }

    .phone-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
  
  .logo img {
    height: 80px;
  }
  
  .nav-links {
    gap: 15px;
  }

  /**Hero Changes**/
  .hero {
    height: 80vh; /* Reduce height for tablets */
  }
  
  .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }
  
  .hero-content {
    max-width: 90%;
    padding: 15px;
  }

/** Our Services Changes**/
   .service-img > img {
    height: 400px;
  }
  
  .service-text {
    padding: 15px;
  }
  
  .service-text > p {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.7rem;
  }

/**Project Changes **/
/* Adjust grid layout for tablet */
  .project-card.large {
    grid-column: span 8;
  }
  
  .project-card {
    grid-column: span 4; /* 3 cards per row instead of 4 */
  }
  
  .project-card.medium {
    grid-column: span 6; /* Make medium cards full width on their row */
  }
  
  .project-card.largest {
    grid-column: span 12;
  }
  
  .project-card.large,
  .project-card,
  .project-card.medium,
  .project-card.largest {
    height: 250px;
  }
  
  .overlay {
    padding: 15px;
  }
  
  .overlay h3 {
    font-size: 1.3rem;
  }
  
  .overlay h4 {
    font-size: 1rem;
  }

/**Testimonial Changes**/
.testimonials {
    margin: 0 80px 40px;
  }
  
  .testimonial-card {
    min-height: 280px;
    padding: 20px 15px;
    margin: 8px 8px 8px 0;
  }
  
  .profile-image {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
    margin-bottom: 8px;
  }
  
  .profile {
    margin-bottom: 15px;
  }
  
  .profile-desc .name {
    font-size: 1rem;
  }
  
  .profile-desc .title {
    font-size: 0.9rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.4;
  }
  
  .owl-nav {
    margin-top: 15px;
  }
  
  .owl-prev, .owl-next {
    width: 35px;
    height: 35px;
  }
/**Footer Changes**/
.footer {
    padding: 30px 80px;
  }
  
  .footer-container {
    gap: 25px;
  }
  
  .footer-logo {
    flex: 1 1 200px;
  }
  
  .footer-logo img {
    width: 18%;
  }
  
  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  
  .footer-column li,
  .footer-column p {
    font-size: 0.9rem;
    margin: 4px 0;
  }

}


@media (max-width: 768px) {
  .container{
    margin: 40px 60px;
  }

  nav {
    padding: 10px 15px;
    gap: 15px;
  }

  .logo img {
    height: 70px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 0 0 8px 8px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li a {
    font-size: 1.1rem;
    padding: 10px 0;
    display: block;
  }

  .hamburger {
    display: flex;
    margin-left: 15px;
  }

  .phone-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-left: auto;
  }

  /**hero changes**/
  .hero {
    height: 70vh; /* Further reduce height for mobile */
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
  }
  
  .cta-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .hero-content {
    max-width: 95%;
    padding: 10px;
  }

 /** Our Services Changes**/
   /* Stack all elements vertically on mobile */
  .img1, .text1, .img2, .text2 {
    grid-column: 1 / -1; /* Full width */
  }
  
  /* Reorder for better mobile flow: Image first, then text */
  .img1 {
    order: 1;
  }
  .text1 {
    order: 2;
  }
  .img2 {
    order: 3;
  }
  .text2 {
    order: 4;
  }
  
  .service-img > img {
    height: 350px;
    border-radius: 8px;
  }
  
  .service-text {
    padding: 15px 0;
    text-align: center;
  }
  
  .service-text > h3 {
    padding: 0.8rem 0;
  }
  
  .service-text > p {
    font-size: 0.95rem;
    line-height: 1.4;
  }
  
  h2 {
    font-size: 2rem;
    padding: 1rem 0;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Remove line breaks in service description for mobile */
  #Our_Core_Services > p br {
    display: none;
  } 

/** Project Changes**/
/* Stack all cards to full width on mobile */
  .project-card.large,
  .project-card,
  .project-card.medium,
  .project-card.largest {
    grid-column: 1 / -1; /* Full width */
    height: 220px;
  }
  
  .overlay {
    padding: 12px;
  }
  
  .overlay h3 {
    font-size: 1.2rem;
    padding-bottom: 0.4rem;
  }
  
  .overlay h4 {
    font-size: 0.95rem;
  }
  
  /* Remove line breaks in project description */
  .projects > p br {
    display: none;
  }
  
  .projects > p {
    text-align: center;
    font-size: 1rem;
  }
  
  h2 {
    text-align: center;
    font-size: 2rem;
  }


  /**Footer Changes**/

  .footer {
    padding: 25px 60px;
  }
  
  /* Switch to single column layout */
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  
  .footer-logo {
    flex: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .footer-logo img {
    width: 80px; /* Fixed smaller size for mobile */
  }
  
  .footer-logo h3 {
    font-size: 1.2rem;
    text-align: center;
  }
  
  .footer-column {
    flex: none;
    width: 100%;
  }
  
  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .footer-column li,
  .footer-column p {
    font-size: 0.85rem;
    margin: 3px 0;
  }
  
  /* Show mobile-hidden columns on mobile in compact form */
  .hide-mobile {
    display: block;
  }

/**Testimonial Section**/
.testimonials {
    margin: 0 60px 30px;
  }
  
  .testimonial-card {
    min-height: 260px;
    padding: 18px 12px;
    margin: 6px 6px 6px 0;
  }
  
  .profile-image {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    margin-bottom: 6px;
  }
  
  .profile {
    margin-bottom: 12px;
  }
  
  .profile-desc .name {
    font-size: 0.95rem;
  }
  
  .profile-desc .title {
    font-size: 0.85rem;
  }
  
  .testimonial-text {
    font-size: 0.85rem;
    max-width: 280px;
    line-height: 1.4;
  }
  
  .testimonials > p {
    text-align: center;
    font-size: 1rem;
  }
  
  .testimonials > h2 {
    text-align: center;
    font-size: 2rem;
  }
  
  /* Remove line breaks in testimonials description */
  .testimonials > p br {
    display: none;
  }
  
  .owl-nav {
    margin-top: 12px;
    gap: 15px;
  }
  
  .owl-prev, .owl-next {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

      .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery img {
        height: 120px;
    }
}

/* Mobile Portrait: 575px and below */
@media (max-width: 576px) {
  .container{
    margin: 30px 40px;
  }

 nav {
    padding: 8px 10px;
    gap: 10px;
  }

  .logo img {
    height: 50px;
  }

  .phone-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .hamburger {
    margin-left: 10px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  /**hero Changes**/
  .hero {
    height: 60vh; /* Optimal height for mobile portrait */
  }
  
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .cta-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  /* Remove line breaks in heading for mobile */
  .hero h1 br {
    display: none;
  }

  /** Our Services Changes**/
   .service-img > img {
    height: 280px;
  }
  
  .service-text {
    padding: 12px 0;
  }
  
  h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .service-text > p {
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  #Our_Core_Services > p {
    font-size: 1rem;
    text-align: center;
    padding-bottom: 1rem;
  }

/**Project Changes**/
.project-card.large,
  .project-card,
  .project-card.medium,
  .project-card.largest {
    height: 200px;
  }
  
  .overlay {
    padding: 10px;
  }
  
  .overlay h3 {
    font-size: 1.1rem;
  }
  
  .overlay h4 {
    font-size: 0.9rem;
  }
  
  .projects > p {
    font-size: 0.95rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .cta-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

/**Testimonial Changes**/
.testimonials {
    margin: 0 40px 25px;
  }
  
  .testimonial-card {
    min-height: 240px;
    padding: 15px 10px;
    margin: 5px 5px 5px 0;
  }
  
  .profile-image {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .profile {
    margin-bottom: 10px;
  }
  
  .profile-desc .name {
    font-size: 0.9rem;
  }
  
  .profile-desc .title {
    font-size: 0.8rem;
  }
  
  .testimonial-text {
    font-size: 0.8rem;
    max-width: 250px;
    line-height: 1.4;
  }
  
  .testimonials > p {
    font-size: 0.95rem;
  }
  
  .testimonials > h2 {
    font-size: 1.8rem;
  }
  
  .owl-nav {
    margin-top: 10px;
    gap: 12px;
  }
  
  .owl-prev, .owl-next {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

/**Footer Changes**/
.footer {
    padding: 20px 40px;
  }
  
  .footer-container {
    gap: 15px;
  }
  
  .footer-logo img {
    width: 70px;
  }
  
  .footer-logo h3 {
    font-size: 1.1rem;
  }
  
  .footer-column h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  
  .footer-column li,
  .footer-column p {
    font-size: 0.8rem;
    margin: 2px 0;
  }

  .gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery img {
        height: 150px;
    }
    
    .lightbox-nav {
        padding: 0 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
  
}

/* Extra Small Mobile Devices */
@media (max-width: 400px) {
  .container{
    margin: 20px 20px;
  }

  /**hero Changes**/
  .hero {
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .cta-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  /** Our sercives Changes **/
  .service-img > img {
    height: 220px;
  }
  
  .service-text {
    padding: 10px 0;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .service-text > p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .cta-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  #Our_Core_Services > p {
    font-size: 0.9rem;
  }

/** Project Changes **/
.project-card.large,
  .project-card,
  .project-card.medium,
  .project-card.largest {
    height: 180px;
  }
  
  .overlay {
    padding: 8px;
  }
  
  .overlay h3 {
    font-size: 1rem;
  }
  
  .overlay h4 {
    font-size: 0.85rem;
  }
  
  .projects > p {
    font-size: 0.9rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .cta-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

/**Testimonial Changes**/
.testimonials {
    margin: 0 20px 20px;
  }
  
  .testimonial-card {
    min-height: 220px;
    padding: 12px 8px;
    margin: 4px 4px 4px 0;
  }
  
  .profile-image {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .profile {
    margin-bottom: 8px;
  }
  
  .profile-desc .name {
    font-size: 0.85rem;
  }
  
  .profile-desc .title {
    font-size: 0.75rem;
  }
  
  .testimonial-text {
    font-size: 0.75rem;
    max-width: 220px;
    line-height: 1.3;
  }
  
  .testimonials > p {
    font-size: 0.9rem;
  }
  
  .testimonials > h2 {
    font-size: 1.6rem;
  }
  
  .owl-nav {
    margin-top: 8px;
    gap: 10px;
  }
  
  .owl-prev, .owl-next {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }.project-card
/**Footer Changes**/
.footer {
    padding: 15px 20px;
  }
  
  .footer-container {
    gap: 12px;
  }
  
  .footer-logo {
    gap: 8px;
  }
  
  .footer-logo img {
    width: 60px;
  }
  
  .footer-logo h3 {
    font-size: 1rem;
  }
  
  .footer-column h4 {
    font-size: 0.9rem;
  }
  
  .footer-column li,
  .footer-column p {
    font-size: 0.75rem;
  }

      .gallery img {
        height: 120px;
    }
}