
/* Enhanced Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'garanond', 'didot';
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}
p{
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-family: 'garanond', 'didot';
    font-size: 3.5rem;
    font-weight: 600;
    color: #1a1a1a;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #6c757d, #495057);
    border-radius: 2px;
}

@keyframes fadeInUp {
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes slideInLeft {
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

@keyframes zoomIn {
    to {
    opacity: 1;
    transform: scale(1);
    }
}

/* Enhanced Header */
#siteHeader {
      background: rgba(255, 255, 255);
      backdrop-filter: blur(10px);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

.logo {
    height: 50px;
    width: 100px;
}
/* header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
} */

nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 0;
      
    }

    .navbar-brand {
      font-size: 2rem;
      font-weight: bold;
      color: #1a1a1a;
      text-decoration: none;
      letter-spacing: -1px;
      transition: all 0.3s ease;
    }

    .navbar-brand:hover {
      color: #666;
      transform: scale(1.05);
    }

    .navbar-nav {
      display: flex;
      list-style: none;
      gap: 30px;
    }

    .navbar-nav a {
      color: #444;
      text-decoration: none;
      font-weight: 400;
      position: relative;
      padding: 10px 0;
      transition: all 0.3s ease;
      text-transform: capitalize;
    }

    .navbar-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #ddd, #999);
      transition: width 0.3s ease;
    }

    .navbar-nav a:hover::after {
      width: 100%;
    }

    .navbar-nav a:hover {
      color: #1a1a1a;
    }


/* Hamburger Menu Icon */
.hamburger-menu {
    display: block; /* Show on mobile by default */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above other header content */
    transition: all 0.3s ease-in-out;
    flex-shrink: 0; /* Prevents it from shrinking if space is constrained */
    /* border: 1px solid red; /* Debugging border - remove in projection */
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1f2937; /* Color of the hamburger lines */
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 8px; }
.hamburger-menu span:nth-child(3) { top: 16px; }

/* Animation for active (X) state */
.hamburger-menu.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

        
/* Mobile Navigation Menu */
/* Hide mobile nav by default */
.mobile-nav-menu {
    display: none;
    background-color: white;
    position: absolute;
    top: 60px; /* adjust according to your navbar height */
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Show mobile nav when .open is added */
.mobile-nav-menu.open {
     padding-top: 30px;
    display: block;
}

/* Style the menu links */
.mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu ul li {
    border-bottom: 1px solid #ddd;
}

.mobile-nav-menu ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
}

/* Optional: smooth transition */
@media (max-width: 767px) {
    .navbar-nav {
        display: none; /* hide desktop menu on mobile */
    }
}

/* Hero Section */
/* Styles for the main hero section container */
.hero-section {
    position: relative; /* Essential for positioning the hero-image child */
    min-height: 600px; /* **Set a height for your hero section.** Adjust as needed (e.g., 80vh for 80% of viewport height) */
    display: flex; /* Helps align content within the hero */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Ensure text is centered */
    overflow: hidden; /* Important: Hides any part of the image that goes beyond the hero-section boundaries */
    color: white; /* Example: Assuming you want white text on your background image */
    z-index: 1; /* Ensure hero section is above other page content, but below its own overlay */
}

/* Styles for the hero-image div acting as the background container */
.hero-image {
    position: absolute; /* Take it out of flow, position relative to .hero-section */
    top: 0;
    left: 0;
    width: 100%; /* Make it fill the width of .hero-section */
    height: 100%; /* Make it fill the height of .hero-section */
    z-index: -1; /* Place it *behind* the actual content of .hero-section */
    overflow: hidden; /* Hide any overflow of the image itself */
}

/* Styles for the <img> tag inside hero-image */
.hero-image img {
    width: 100%; /* Make the image fill the width of its parent (.hero-image) */
    height: 100%; /* Make the image fill the height of its parent (.hero-image) */
    object-fit: cover; /* **This is crucial!** It scales the image to cover the entire container while maintaining its aspect ratio, cropping if necessary. */
    object-position: center; /* Centers the image within the container */
    display: block; /* Removes any extra space below the image */
}

/* --- Optional: Overlay for Text Readability --- */
/* If your background image is busy, add a semi-transparent overlay */
.hero-section::after { /* Using ::after here to be different from ::before in previous example */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for light text */
    /* Or rgba(255, 255, 255, 0.3); for a light overlay if you have dark text */
    z-index: 0; /* Place it between the hero-image (-1) and the hero content (1 or higher) */
}

/* Ensure your hero content is visible above the overlay */
.hero-section h1,
.hero-section p,
.hero-section button {
    position: relative; /* Ensures these elements respect z-index */
    z-index: 2; /* Higher than the hero-section's z-index and the overlay's z-index */
    /* Add any specific styles for your text/buttons here, e.g., font-size, color */
}

/* --- */

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'garanond', 'didot';
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #6c757d;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Filter Navigation */
.filter-nav {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s both;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons when wrapped */
    background: #ffffff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'garanond', 'didot';
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #495057, #6c757d);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-family: 'garanond', 'didot';
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: #333;;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f8f9fa;
}

.project-meta .location {
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta .area {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Read More Button and Line Clamping */
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 10; /* change number of lines to clamp */
  line-clamp: 5; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.read-more-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  margin-top: 4px;
}


/* Featured Project Section */
.featured-project {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 60px;
    margin: 80px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease forwards;
}

.featured-text h2 {
    font-family: 'garanond', 'didot';
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.featured-text p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-family: 'garanond', 'didot';
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
    display: block;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.featured-image {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
    position: relative;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, #e9ecef, #f8f9fa);
    border-radius: 20px;
    z-index: -1;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
    color: white;
    text-align: center;
    border-radius: 30px;
    padding: 80px 60px;
    margin: 80px 0;
}

.cta-section h2 {
    font-family: 'garanond', 'didot';
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Footer */
    footer {
      background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
      color: #ffffff;
      text-align: center;
      padding: 40px 0;
    }

    footer p {
      margin-bottom: 10px;
      opacity: 0.9;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    footer a:hover {
      opacity: 0.7;
    }



/* Container for the entire carousel within the project card */
.project-image-carousel {
    position: relative;
    width: 100%; /* Make it take the full width of its parent (.project-card) */
    height: 250px; /* Or any fixed height you prefer for consistent image display */
    overflow: hidden; /* CRUCIAL: Hides the images that are not currently visible */
    margin-bottom: 10px; /* Adds some space below the image area */
    border-radius: 8px; /* Matches your project card styling */
}

/* The wrapper that holds all your actual images/slides */
.project-image-wrapper {
    display: flex; /* CRUCIAL: Makes images sit side-by-side horizontally */
    width: 100%; /* Will be dynamically adjusted by JS, but starts at 100% */
    height: 100%; /* Makes the wrapper take the full height of its parent (.project-image-carousel) */
    transition: transform 0.5s ease-in-out; /* CRUCIAL: Smooth sliding animation */
}

/* Each individual image within the carousel */
.project-slide {
    min-width: 100%; /* CRUCIAL: Ensures each image takes up the full width of the visible area */
    height: 100%;
    object-fit: cover; /* Prevents image distortion and covers the area */
    display: block; /* Removes any default inline spacing below images */
}

/* Styling for the navigation buttons (prev/next) */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 50%; /* Makes them circular */
    z-index: 10; /* Ensures buttons appear above the images */
    transition: background-color 0.3s ease;
    display: flex; /* Helps center the arrow symbol */
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-button.prev-project {
    left: 10px;
}

.nav-button.next-project {
    right: 10px;
}

/* Styling for the navigation dots */
.project-dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; /* Arranges dots horizontally */
    gap: 6px; /* Space between dots */
    z-index: 2;
}

.project-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-dot.active {
    background-color: white; /* Active dot is solid white */
}


/* Contact Section */
    #contact {
      background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    #contact p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #555;
      text-align: center;
      max-width: 700px;
      margin: 0 auto 30px;
    }

    .image-row-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 50px;
    }

    .image-row-item {
      background: rgba(255, 255, 255, 0.8);
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      backdrop-filter: blur(10px);
    }

    .image-row-description p {
      margin-bottom: 15px;
      color: #444;
      font-size: 1rem;
    }

    .image-row-description strong {
      color: #1a1a1a;
    }

    iframe {
      border-radius: 10px;
      filter: grayscale(100%) contrast(1.2);
      transition: filter 0.3s ease;
    }

    iframe:hover {
      filter: grayscale(0%) contrast(1);
    }


/* --- Media Queries --- */
@media (max-width: 479px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2+ columns */
    }
  .image-row-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 15px;
    margin-top: 30px;
  }

  .image-row-item {
    padding: 15px;
  }

  .image-row-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  iframe {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 8px;
  }
}

/* Small devices (landscape phones, 480px and up) */
@media (min-width: 480px) {
    /* project Cards */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2+ columns */
    }
    .image-row-grid {
    grid-template-columns: 1fr; /* Stack content vertically */
    gap: 20px;
  }

  .image-row-item {
    padding: 20px;
  }

  iframe {
    width: 100%;
    height: 220px;
    display: block;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Header Navigation */
    header nav {
        flex-direction: row; /* Horizontal navigation */
    }
    header a.navbar-brand {
        margin-bottom: 0; /* Remove bottom margin */
    }
    header ul.navbar-nav {
        display: flex; /* Show desktop nav */
        flex-wrap: nowrap; /* Prevent wrapping */
        margin-top: 0; /* Remove top top margin */
    }
    header ul.navbar-nav li {
        margin-left: 25px; /* Restore original spacing */
        margin-right: 0; /* No right margin */
    }
    .hamburger-menu {
        display: none; /* Hide hamburger on desktop */
    }
    .mobile-nav-menu {
        display: none; /* Hide mobile menu on desktop */
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 3.5rem; /* Larger font for tablets */
    }
    .hero-content p {
        font-size: 1.35rem;
    }

    /* Filter Section */
    .filter-buttons {
        flex-wrap: nowrap; /* Prevent wrapping on larger screens */
    }
    .filter-btn {
        padding: 15px 30px; /* Restore original padding for larger screens */
    }

    /* project Cards */
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* 2-3 columns */
    }

    /* Image Row Grid */
    .image-row-grid {
        grid-template-columns: repeat(3, 1fr); /* 2 columns for images */
    }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
    /* Hero Section */
    .hero-content h1 {
        font-size: 5.5rem; /* Even larger font for desktops */
    }
    .hero-content p {
        font-size: 1.6rem;
    }

    /* project Cards */
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on large desktops */
        gap: 50px; /* More gap for larger screens */
    }

    /* Image Row Grid */
    .image-row-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for images */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 30px; /* More padding on very large screens */
    }
    .image-row-grid {
        grid-template-columns: repeat(2, 1fr); /* 3 columns for images */
    }

    /* project Cards */
    .projects-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns for extra large screens */
    }
}

/* Enhanced Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'garanond', 'didot';
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
  }
p{
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles (UNCHANGED FROM ORIGINAL SNIPPET 1) */
#siteHeader {
    background: rgba(255, 255, 255);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  #siteHeader.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Adjusted padding */
  }
  
  .navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -1px;
    transition: all 0.3s ease;
    /* Centering the logo on mobile */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .navbar-brand:hover {
    color: #666;
    transform: translateX(-50%) scale(1.05); /* Adjust transform for centering */
  }
  
  .navbar-nav {
    display: none; /* Hide desktop menu by default */
    list-style: none;
    gap: 30px;
  }
  
  .navbar-nav a {
    color: #444;
    text-decoration: none;
    font-weight: 400;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
    text-transform: capitalize;
  }
  
  .navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ddd, #999);
    transition: width 0.3s ease;
  }
  
  .navbar-nav a:hover::after {
    width: 100%;
  }
  
  .navbar-nav a:hover {
    color: #1a1a1a;
  }
  
  /* Hamburger Menu Icon (UNCHANGED FROM ORIGINAL SNIPPET 1) */
  .hamburger-menu {
    display: block; /* Show on mobile */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px; /* Space from left edge */
  }
  
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1f2937;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
  }
  
  .hamburger-menu span:nth-child(1) {
    top: 0;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
  }
  
  .hamburger-menu span:nth-child(2) {
    top: 8px;
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu span:nth-child(3) {
    top: 16px;
  }
  
  .hamburger-menu.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
  }
  
  /* Phone Icon (UNCHANGED FROM ORIGINAL SNIPPET 1) */
  .phone-icon {
    display: block; /* Show on mobile */
    color: #ffffff; /* Changed color to white */
    font-size: 1.5rem;
    text-decoration: none;
    margin-right: 10px; /* Space from right edge */
    z-index: 1001;
    flex-shrink: 0;
    background-color: #6c757d; /* Changed background color to a grey */
    border-radius: 50%; /* Make it round */
    padding: 8px; /* Add padding */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Set a fixed width and height for the circle */
    height: 40px;
  }
  .phone-icon i{
    color: white;
  }
  
  /* Hide the original phone button on mobile (UNCHANGED FROM ORIGINAL SNIPPET 1) */
  .phone-button {
    display: none;
  }
  
  /* Mobile Navigation Menu (UNCHANGED FROM ORIGINAL SNIPPET 1) */
  /* Hide mobile nav by default */
  .mobile-nav-menu {
    display: none;
    background-color: white;
    position: fixed;
    top: 60px; /* adjust according to your navbar height */
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Show mobile nav when .open is added */
  .mobile-nav-menu.open {
    padding-top: 30px;
    display: block;
  }
  
  /* Style the menu links */
  .mobile-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-nav-menu ul li {
    border-bottom: 1px solid #ddd;
  }
  
  .mobile-nav-menu ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
  }
  
  /* Hero Section */
  .logo {
    height: 50px;
    width: 100px;
  }
/* Hero Section */
/* Styles for the main hero section container */
.hero-section {
    position: relative; /* Essential for positioning the hero-image child */
    min-height: 600px; /* **Set a height for your hero section.** Adjust as needed (e.g., 80vh for 80% of viewport height) */
    display: flex; /* Helps align content within the hero */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Ensure text is centered */
    overflow: hidden; /* Important: Hides any part of the image that goes beyond the hero-section boundaries */
    color: white; /* Example: Assuming you want white text on your background image */
    z-index: 1; /* Ensure hero section is above other page content, but below its own overlay */
}

/* Styles for the hero-image div acting as the background container */
.hero-image {
    position: absolute; /* Take it out of flow, position relative to .hero-section */
    top: 0;
    left: 0;
    width: 100%; /* Make it fill the width of .hero-section */
    height: 100%; /* Make it fill the height of .hero-section */
    z-index: -1; /* Place it *behind* the actual content of .hero-section */
    overflow: hidden; /* Hide any overflow of the image itself */
}

/* Styles for the <img> tag inside hero-image */
.hero-image img {
    width: 100%; /* Make the image fill the width of its parent (.hero-image) */
    height: 100%; /* Make the image fill the height of its parent (.hero-image) */
    object-fit: cover; /* **This is crucial!** It scales the image to cover the entire container while maintaining its aspect ratio, cropping if necessary. */
    object-position: center; /* Centers the image within the container */
    display: block; /* Removes any extra space below the image */
}

/* --- Optional: Overlay for Text Readability --- */
/* If your background image is busy, add a semi-transparent overlay */
.hero-section::after { /* Using ::after here to be different from ::before in previous example */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for light text */
    /* Or rgba(255, 255, 255, 0.3); for a light overlay if you have dark text */
    z-index: 0; /* Place it between the hero-image (-1) and the hero content (1 or higher) */
}

/* Ensure your hero content is visible above the overlay */
.hero-section h1,
.hero-section p,
.hero-section button {
    position: relative; /* Ensures these elements respect z-index */
    z-index: 2; /* Higher than the hero-section's z-index and the overlay's z-index */
    /* Add any specific styles for your text/buttons here, e.g., font-size, color */
}

/* --- */

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'garanond', 'didot';
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 400;
    color: #6c757d;
    animation: fadeInUp 1s ease 0.5s both;
}

/* Filter Navigation */
.filter-nav {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s both;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center; /* Center buttons when wrapped */
    background: #ffffff;
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'garanond', 'didot';
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(45deg, #495057, #6c757d);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.project-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-family: 'garanond', 'didot';
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-content p {
    color: #333;;
    line-height: 1.6;
    margin-bottom: 0;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f8f9fa;
}

.project-meta .location {
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-meta .area {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Read More Button and Line Clamping */
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 10; /* change number of lines to clamp */
  line-clamp: 5; /* standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}
.read-more-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-weight: bold;
  padding: 0;
  margin-top: 4px;
}


/* Featured Project Section */
.featured-project {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 60px;
    margin: 80px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-text {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease forwards;
}

.featured-text h2 {
    font-family: 'garanond', 'didot';
    font-size: 2.8rem;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 600;
}

.featured-text p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-family: 'garanond', 'didot';
    font-size: 2.5rem;
    font-weight: 700;
    color: #495057;
    display: block;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.featured-image {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease forwards;
    position: relative;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, #e9ecef, #f8f9fa);
    border-radius: 20px;
    z-index: -1;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%);
    color: white;
    text-align: center;
    border-radius: 30px;
    padding: 80px 60px;
    margin: 80px 0;
}

.cta-section h2 {
    font-family: 'garanond', 'didot';
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: #ffffff;
    color: #495057;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Footer */
    footer {
      background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
      color: #ffffff;
      text-align: center;
      padding: 40px 0;
    }

    footer p {
      margin-bottom: 10px;
      opacity: 0.9;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
      transition: opacity 0.3s ease;
    }

    footer a:hover {
      opacity: 0.7;
    }



/* Container for the entire carousel within the project card */
.project-image-carousel {
    position: relative;
    width: 100%; /* Make it take the full width of its parent (.project-card) */
    height: 250px; /* Or any fixed height you prefer for consistent image display */
    overflow: hidden; /* CRUCIAL: Hides the images that are not currently visible */
    margin-bottom: 10px; /* Adds some space below the image area */
    border-radius: 8px; /* Matches your project card styling */
}

/* The wrapper that holds all your actual images/slides */
.project-image-wrapper {
    display: flex; /* CRUCIAL: Makes images sit side-by-side horizontally */
    width: 100%; /* Will be dynamically adjusted by JS, but starts at 100% */
    height: 100%; /* Makes the wrapper take the full height of its parent (.project-image-carousel) */
    transition: transform 0.5s ease-in-out; /* CRUCIAL: Smooth sliding animation */
}

/* Each individual image within the carousel */
.project-slide {
    min-width: 100%; /* CRUCIAL: Ensures each image takes up the full width of the visible area */
    height: 100%;
    object-fit: cover; /* Prevents image distortion and covers the area */
    display: block; /* Removes any default inline spacing below images */
}

/* Styling for the navigation buttons (prev/next) */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 50%; /* Makes them circular */
    z-index: 10; /* Ensures buttons appear above the images */
    transition: background-color 0.3s ease;
    display: flex; /* Helps center the arrow symbol */
    align-items: center;
    justify-content: center;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-button.prev-project {
    left: 10px;
}

.nav-button.next-project {
    right: 10px;
}

/* Styling for the navigation dots */
.project-dots-container {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; /* Arranges dots horizontally */
    gap: 6px; /* Space between dots */
    z-index: 2;
}

.project-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6); /* Semi-transparent white */
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.project-dot.active {
    background-color: white; /* Active dot is solid white */
}


/* Contact Section */
    #contact {
      background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }

    #contact p {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #555;
      text-align: center;
      max-width: 700px;
      margin: 0 auto 30px;
    }

    .image-row-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 50px;
    }

    .image-row-item {
      background: rgba(255, 255, 255, 0.8);
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      backdrop-filter: blur(10px);
    }

    .image-row-description p {
      margin-bottom: 15px;
      color: #444;
      font-size: 1rem;
    }

    .image-row-description strong {
      color: #1a1a1a;
    }

    iframe {
      border-radius: 10px;
      filter: grayscale(100%) contrast(1.2);
      transition: filter 0.3s ease;
    }

    iframe:hover {
      filter: grayscale(0%) contrast(1);
    }


/*-media-*/
  
@media (max-width: 767px) {
    /* For mobile, arrange items in nav (UNCHANGED FROM ORIGINAL SNIPPET 1) */
    header nav {
      justify-content: space-between; /* Distribute space */
      padding: 10px 15px; /* Add padding to edges */
      position: relative; /* Needed for absolute positioning of logo */
    }
  
    .navbar-brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
    }
  
    .navbar-nav {
      display: none; /* Hide desktop menu */
    }
  
    .hamburger-menu {
      display: block; /* Show hamburger */
      order: 1; /* Place hamburger first */
    }
  
    .phone-icon {
      display: flex; /* Show phone icon */
      order: 3; /* Place phone icon last */
      background-color: #6c757d; /* Ensure grey background on mobile */
    }
  
    .phone-button {
      display: none; /* Hide desktop phone button */
    }
  
    .logo {
      height: 40px; /* Adjust logo size for mobile */
      width: auto;
    }
  
    .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 2+ columns */
    }
    .image-row-grid {
      grid-template-columns: 1fr; /* Stack content vertically */
      gap: 20px;
    }
  
    .image-row-item {
      padding: 20px;
    }
  
    iframe {
      width: 100%;
      height: 220px;
      display: block;
    }
  }
  
  /* New: Extra small devices (portrait phones, 479px and below) */
  @media (max-width: 479px) {
    .projects-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .image-row-grid {
      grid-template-columns: 1fr;
      gap: 15px;
      margin-top: 30px;
    }
  
    .image-row-item {
      padding: 15px;
    }
  
    .image-row-description p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 10px;
    }
  
    iframe {
      width: 100%;
      height: 200px;
      display: block;
      border-radius: 8px;
    }
  }
  
  /* Small devices (landscape phones, 480px and up) (New in Snippet 2, but adjusted to avoid overlap with 479px) */
  @media (min-width: 480px) and (max-width: 767px) {
    .project-grid {
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .image-row-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  
    .image-row-item {
      padding: 20px;
    }
  
    iframe {
      width: 100%;
      height: 220px;
      display: block;
    }
  }
  
  
  /* Medium devices (tablets, 768px and up) */
  @media (min-width: 768px) {
    /* Header Navigation (UNCHANGED FROM ORIGINAL SNIPPET 1) */
    header nav {
      flex-direction: row; /* Horizontal navigation */
      justify-content: space-between; /* Space out items */
      padding: 15px 0;
      position: static; /* Remove absolute positioning */
    }
  
    .navbar-brand {
      position: static; /* Remove absolute positioning */
      transform: none; /* Remove transform */
    }
  
    header a.navbar-brand {
      margin-bottom: 0; /* Remove bottom margin */
    }
  
    header ul.navbar-nav {
      display: flex; /* Show desktop nav */
      flex-wrap: nowrap; /* Prevent wrapping */
      margin-top: 0; /* Remove top top margin */
    }
  
    header ul.navbar-nav li {
      margin-left: 25px; /* Restore original spacing */
      margin-right: 0; /* No right margin */
    }
  
    .hamburger-menu {
      display: none; /* Hide hamburger on desktop */
    }
  
    .mobile-nav-menu {
      display: none; /* Hide mobile menu on desktop */
    }
  
    .phone-icon {
      display: none; /* Hide phone icon on desktop explicitly */
    }
  
    .phone-button {
      display: block; /* Show desktop phone button */
      background-color: #6c757d; /* Changed background color to a grey */
      color: white; /* Changed text color to white */
      padding: 10px 20px; /* Adjust padding */
      border-radius: 5px; /* Add border radius */
      text-decoration: none; /* Remove underline */
      transition: background-color 0.3s ease;
      border: none;
      cursor: pointer;
    }
  
    .phone-button:hover {
      background-color: #5a6268; /* Darker grey on hover */
    }
  
    .logo {
      height: 50px; /* Restore desktop logo size */
      width: auto;
    }
  
    /* Hero Section */
    .hero-content h1 {
      font-size: 4rem; /* Larger font for tablets (from Snippet 2) */
    }
  
    .hero-content p {
      font-size: 1.5rem; /* Same as Snippet 2 */
    }
  
    /* Filter Section (no changes needed as these were not in Snippet 2 for 768px+) */
    .filter-buttons {
      flex-wrap: nowrap;
    }
    .filter-btn {
      padding: 15px 30px;
    }
  
    /* project Cards */
    .project-grid {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
  
    /* Image Row Grid */
    .image-row-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Large devices (desktops, 1024px and up) */
  @media (min-width: 1024px) {
    /* Hero Section */
    .hero-content h1 {
      font-size: 5.5rem; /* Even larger font for desktops (from Snippet 2) */
    }
  
    .hero-content p {
      font-size: 1.6rem; /* Larger font (from Snippet 2) */
    }
  
    /* project Cards */
    .project-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 50px;
    }
  
    /* Image Row Grid */
    .image-row-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }