/* Reset */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}


header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}


h3{
    font-size: clamp(1.75rem, 2vw, 4rem); 
  font-weight: 700; 
  font-family: 'Poppins', sans-serif; 
  text-align: left; 
  margin-top: 25px; 
  margin-bottom: 25px; 
  letter-spacing: 1px; 
  line-height: 1.4; 
  background: linear-gradient(90deg, #4b6cb7, #182848); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
    
    
    
}
header nav a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 0.95rem;
}

header nav a:hover {
  color: #38bdf8; /* muted blue */
}

/* Hero */
.hero {
  background: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 41, 59, 0.6); /* dark overlay */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background: #38bdf8;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
}

.btn:hover {
  background: #0ea5e9;
}

/* Sections */
section {
  padding: 20px 2%;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #1e293b;
  font-weight: 600;
}

.section-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

/* Properties */
.properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  transition: box-shadow 0.2s ease;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h4 {
  padding: 15px;
  font-size: 1rem;
  color: #1e293b;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Why Us */
.why-us {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.why-us div {
  padding: 20px;
  border-left: 3px solid #38bdf8;
  background: #f9fafb;
  border-radius: 4px;
}

.why-us h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #1e293b;
}

/* Contact */
.contact form {
  max-width: 600px;
  margin: auto;
  display: grid;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.95rem;
}

.contact button {
  background: #1e293b;
  color: #ffffff;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.contact button:hover {
  background: #334155;
}

/* Footer */
/*footer {*/
/*  background: #1e293b;*/
/*  color: #94a3b8;*/
/*  text-align: center;*/
/*  padding: 20px 10px;*/
/*  font-size: 0.9rem;*/
/*}*/


body {
  font-family: sans-serif;
  margin: 0;
}

.slider-wrapper {
  width: 100%; 
  overflow: hidden;
  position: relative;
}

.ms-slider-container {
  margin: 0; 
  width: 100%; 
  overflow: hidden;
  position: relative; 
}

.ms-slider {
  display: flex;
  width: 300%; 
  transition: transform 1s ease-in-out;
}

.ms-slide {
  width: calc(100% / 3); 
  height: 450px; 
  background-size: cover;
  background-position: center;
  position: relative; 
}

.ms-prev, .ms-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); 
  width: 50px;
  height: 50px; 
  font-size: 25px;
  cursor: pointer;
  user-select: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999; 
}
.ms-prev { left: 0; }
.ms-next { right: 0; }

.content-wrapper {
  width: 100%; 
  display: flex; 
  justify-content: center;
  position: absolute; 
  top: 0; 
  left: 0;
  height: 100%; 
  pointer-events: none; 
}

.ms-slide-content {
  background-color: rgba(0, 0, 0, 0.5); 
  color: #fff;
  padding: 1rem;
  width: 65%;
  max-width: 500px; 
  position: absolute;
  bottom: 0px; 
  left: 0px; 
  transition: opacity 0.5s ease-in-out;
  pointer-events: auto; 
  opacity: 0; 
  z-index: 999;
}

.ms-slide-content.active {
  opacity: 1; 
}

.ms-slide-content h2 {
  color: white; 
  margin: 0.5rem 0; 
  font-size: 1.5rem; 
}

.ms-slide-content p {
  color: white; 
  margin: 0.5rem 0; 
  font-size: 1rem;
}

main {
  position: relative; 
  overflow: hidden;  
}

.info-image video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;       
}

.content-overlay {
  position: relative;
  z-index: 1;         
  
}

.professional-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 1%;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
  border: 2px solid #000000;
}

.content {
    flex: 1 1 60%;
    padding: 20px;
    background-color: transparent;
    border-radius: 10px;
}

.contact-aside {
    flex: 1 1 35%;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.content h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 10px;
}

.content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

.content h3 {
    font-size: 1.75em;
    color: #333;
    margin-bottom: 10px;
}

.content ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 5px;
}

.content li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
    display:flex;
    gap:0.5rem;
}

.input-field-contact {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.disclaimer-contact {
    font-size: 12px;
    color: #777;
}

.image-container {
    flex: 1 1 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {

    .image-container {
    flex: 1 1 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    display:none;
}

}


.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  margin: 1%;
  width: 100%;
}

.p-grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(0, 68, 255);
  font-size: 24px;
  padding: 1%;
  box-sizing: border-box;
  font-weight: 500;
  text-decoration: none !important;
  background-color: white;
  padding: 0px; /* Adjust padding to suit your design */
}

.p-grid-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#p-grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  padding: 1%;
  box-sizing: border-box;
  font-weight: 1000;
}

#p-grid-item:hover {
  text-decoration: underline;
  color: #000000;
  cursor: pointer;
}

#p-grid-item li a {
  color: #000000;
  cursor: pointer;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .p-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .p-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .p-grid {
      grid-template-columns: 1fr;
  }
}

  .disclaimer {
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 800px;
    border-left: 4px solid #555;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  }

  .disclaimer p {
    margin: 0;
    line-height: 1.6;
  }

  .disclaimer strong {
    font-weight: 600;
  }
  
    .disclaimer-box {
    max-width: 900px;
    margin: 40px auto;
    padding: 18px 28px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-in-out;
  }

  .disclaimer-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
  }

  .disclaimer-box strong {
    font-weight: 600;
    color: #111;
  }
  
  .l-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
h1 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #222;
  text-align: left;
}
p {
  text-align: left;
  color: #666;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.card-image-container {
  height: 160px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-info {
  padding: 12px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 5px;
}

.card-date {
  font-size: 0.85rem;
  color: #999;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 25px 0;
}

.pagination a {
  background: #007185;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.pagination a:hover {
  background: #005f66;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin: 20px 0;
}



/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px;
    padding: 10px;
    justify-items: center; /* Center items horizontally */
    align-items: start; /* Align items to the top */
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr); /* 2 equal columns on medium screens */
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}

/* Card Styles */
.card {
    position: relative;
    overflow: hidden;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0.6)), url(''); /* Add your background image */
    background-size: cover;
    background-position: center;
    height: 200px; /* Fixed height for consistency */
    width: 100%; /* Responsive width */
    max-width: 350px; /* Maximum width for larger screens */
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Rounded corners for a more modern look */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Add subtle shadow for depth */
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.card .background {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    
}

.card .background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 27.4%, rgba(0, 0, 0, 0.56) 58.85%, rgba(0, 0, 0, 0.8) 100%);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.card:hover .background::after {
    opacity: 1;
}

/* Status at the top-right */
.card .status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background-color: #007185; /* Semi-transparent green */
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    z-index: 2;
    letter-spacing: 1px;
}

/* Content at the bottom */
.card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    /*width: 92%;*/
    /*padding: 1.5rem;*/
    /*background: rgba(0, 0, 0, 0.7);*/
    z-index: 2;
    text-align: left;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 27.4%, rgba(0, 0, 0, 0.56) 58.85%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 1;
}

/* Project Name */
.card .content .heading {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Avoid overflow */
}

/* Address */
.card .content .tagl {
    font-size: 1.1rem;
    line-height: 1.3;
    color: #ddd;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Avoid overflow */
}

/* Price */
.card .content .pp {
    font-size: 1.25rem;
    line-height: 0;
    color: #ffd700; 
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 100%;
        margin: 10px auto;
    }

    .card .content .heading {
        font-size: 1.25rem;
    }

    .card .content .tagl {
        font-size: 1rem;
    }

    .card .content .pp {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .card .content .heading {
        font-size: 1.2rem;
    }

    .card .content .tagl {
        font-size: 1rem;
    }

    .card .content .pp {
        font-size: 1rem;
    }
}


/* General section styling */
.about {
  /*padding: 60px 20px;*/
  /*background-color: #f9f9f9;*/
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Container for image + text */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Image styling */
.about-image img {
  width: 100%;
  max-width: 500px;
  max-height: 300px;        /* Limit height */
  object-fit: cover;        /* Crop nicely if needed */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.03);   /* subtle hover effect */
}

/* Text styling */
.about-text {
  flex: 1;
}

/* Section heading with fluid typography */
.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem); /* scales on different screens */
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

/* Paragraph with readable line height */
.about-text p {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555;
}

.btn {
  display: inline-block;
  /*padding: 14px 32px;*/
  background: linear-gradient(135deg, #007185, #000000); /* modern gradient */
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.btn:hover {
  background: linear-gradient(135deg, #0056b3, #003f7f);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    margin-top: 25px;
  }

  .about-image img {
    max-width: 100%;
    max-height: 220px;
  }
}