/* Navbar */
#navbar {
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background */
    padding: 0px 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

/* Logo Styling */
#logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

#logo img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #4CAF50;
}

/* Toggle Button - Initially Hidden */
.nav-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show toggle button only on mobile */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 15px;
        border-radius: 5px;
        width: 200px;
    }

    .nav-links.active {
        display: flex; /* Show menu when active */
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
}


/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/*hero section */
/* Hero Section */
#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #043f3b,#4ab9b1, #022d2a);
    color: white;
    padding: 80px 100px;
    height: 100vh; /* Full-screen height */
}

/* Left Side - Text Content */
.hero-content {
    width: 50%;
    text-align: left;
    padding-top: 25px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* List Styling */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px; /* Space for check icon */
    color: white;
}

.custom-list li::before {
    content: "✔"; /* White checkmark */
    color: white;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #16423C;
    padding: 12px 20px;
    margin-top: 15px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.cta-button:hover {
    background-color: #16423C   ;
    color: white;
}

/* Right Side - Fluid Background & Image */
.hero-image {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fluid Background */
.fluid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4f8d481, #a8e6a376, #81c784b6);
    border-radius: 50% 40% 40% 50%;
    transform: rotate(20deg);
    z-index: 0;
}

/* Vector Image */
.vector-image {
    max-width: 80%;
    height: auto;
    z-index: 1;
    position: relative;
}

/* Responsive Design */
@media (max-width: 1024px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
        height: auto;
    }

    .hero-content, .hero-image {
        width: 100%;
    }

    .hero-content h1,h2{
        text-align: center;
    }

    .cta-button {
        display: block;
        margin: 20px auto; /* Centers the button */
        text-align: center;
    }
    
    .hero-image {
        margin-top: 30px;
    }

    .fluid-bg {
        width: 80%;
        height: 80%;
    }
}

/* Hide Elements on Small Screens */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none; /* Hide paragraph & trust text */
    }

    .custom-list li {
        display: none; /* Hide list items */
    }
}


/* About Section */
#about {
    background-color: #ffffff;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* About Container */
.about-container {
    max-width: 1250px;
    width: 100%;
}

/* Section Title */
.about-container h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #06645e;
    margin-bottom: 15px;
}

/* About Paragraph */
.about-container p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Features Section */
.about-features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Feature Blocks */
.feature {
    flex: 1;
    min-width: 220px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px #16423c7b;
}

/* Feature Icons */
.feature span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

/* Feature Headings */
.feature h3 {
    font-size: 1.2rem;
    color: #6A9C89;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Feature Paragraphs */
.feature p {
    font-size: 1rem;
    color: #16423C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-features {
        flex-direction: column;
        gap: 20px;
    }

    .feature {
        width: 100%;
    }

    .about-container h2 {
        font-size: 1.8rem;
    }

    .about-container p {
        font-size: 1rem;
    }
}


/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: #111;
  }
  
  .services-section {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, #043f3b,#4ab9b1, #022d2a);
    text-align: center;
  }
  
  .section-title-services {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #fff;
  }
  
  /* Grid Layout */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Service Card */
  .service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .service-card:hover {
    transform: translateY(-15px);
  }
  
  .service-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 250px;
    display: flex;
    flex-direction: column;
  }
  
  /* Place image as a block-level element inside the flow */
  .service-image {
    flex: 0 0 50%; /* 50% of card height */
    background-size: cover;
    background-position: center;
    width: 100%;
    transition: all 0.5s ease;
  }
  
  /* Content block */
  .service-content {
    flex: 1;
    background: #fff;
    padding: 1rem;
    transition: transform 0.5s ease;
    z-index: 1;
  }
  
  /* On hover - image expands, text moves out */
  .service-card:hover .service-image {
    flex: 1 0 100%; /* expand to full height */
  }
  
  .service-card:hover .service-content {
    transform: translateY(100%);
  }
  
  
  /* Content Styling */
  .service-content {
    padding: 1.5rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .service-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #222;
  }
  
  .service-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
  }
  
  /* Responsive Typography */
  @media (max-width: 768px) {
    .section-title {
      font-size: 2rem;
    }
  
    .service-content h3 {
      font-size: 1.1rem;
    }
  
    .service-content p {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .services-section {
      padding: 3rem 1rem;
    }
  
    .service-image {
      height: 160px;
    }
  
    .section-title {
      font-size: 1.75rem;
    }
  }
  
/* ==== Portfolio Section Styling ==== */
#portfolio {
    text-align: center;
    padding: 4.2rem 1.5rem;
    background: #f9f9f9;
  }
  
  .section-title{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color:#029389;
  }
  
  /* 🔹 Portfolio Filter Buttons */
  .portfolio-filters {
    margin-bottom: 30px;
  }
  
  .filter-btn {
    padding: 10px 15px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background: #ddd;
    border-radius: 20px;
    transition: 0.3s;
  }
  
  .filter-btn:hover,
  .filter-btn.active {
    background: #029389;
    color: white;
  }
  
  /* ==== Portfolio Gallery Grid ==== */
  .portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center; /* Center items */
    align-items: start;
    max-width: 1200px;
    margin: auto;
  }
  
  /* 🔹 Portfolio Item Box */
  .portfolio-item {
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }
  
  /* 🔸 Image Styling */
  .portfolio-item img {
    width: 100%;
    height: auto;
    max-width: 300px; /* Controls max size */
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  /* 📏 Aspect Ratios */
  .square-item img {
    aspect-ratio: 1 / 1; /* Square shape */
  }
  
  .a4-item img {
    aspect-ratio: 3 / 4; /* A4 vertical shape */
    max-height: 400px;
  }
  
  /* Hover Effect */
  .portfolio-item:hover img {
    transform: scale(1.05);
  }
  
  /* 🔹 Caption Styling */
  .caption {
    font-size: 16px;
    color:#16423C;
    margin-top: 8px;
  }
  
  /* ==== Responsive Adjustments ==== */
  @media (max-width: 992px) {
    .portfolio-gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .portfolio-gallery {
      grid-template-columns: 1fr;
    }
  
    .portfolio-item img {
      max-width: 90%;
    }
  }
  
  #team {
    padding: 80px 20px;
    background-image: url("/background_team.jpg");
    text-align: center;
  }
  
  .section-title-team {
    font-size: 36px;
    font-weight: 700;
    color: #ffff;
    margin-bottom: 60px;
  }
  
  .team-member {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    margin-bottom: 40px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
    gap: 30px;
    max-width: 900px;
    margin-inline: auto;
  }
  
  .team-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .team-photo img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
  }
  
  .team-member:hover .team-photo img {
    transform: scale(1.05);
  }
  
  .team-info {
    text-align: left;
    max-width: 500px;
  }
  
  .team-info h3 {
    font-size: 26px;
    color: #023e4d;
    margin-bottom: 8px;
  }
  
  .team-title {
    font-size: 16px;
    font-style: italic;
    color: #00897b;
    margin-bottom: 12px;
  }
  
  .team-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
  }
  
  /* Responsive Layout */
  @media (max-width: 768px) {
    .team-member {
      flex-direction: column;
      text-align: center;
      padding: 30px 20px;
    }
  
    .team-info {
      text-align: center;
    }
  
    .team-photo img {
      width: 200px;
      height: 200px;
    }
  }
  
  /* Animation Keyframes */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .testimonials {
    padding: 50px 20px;
    background-color: #f8f8f8;
    text-align: center;
  }
  
  .testimonials h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .testimonial-container {
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
  }
  
  .testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
  }
  
  /* Each testimonial takes 1/3 of container */
  .testimonial {
    flex: 0 0 32%;
    box-sizing: border-box;
    padding: 20px;
    background: white;
    margin: 0 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .testimonial img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
  }
  
  .testimonial h3 {
    font-size: 1.1rem;
    color: #224;
  }
  
  .testimonial .company {
    font-weight: bold;
    margin: 8px 0;
    color: #666;
  }
  
  .testimonial p {
    font-size: 0.95rem;
    color: #444;
  }
  
  /* Navigation buttons - hidden on desktop */
  .nav {
    display: none;
    background-color: #223;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 5px;
  }
  
  .nav.prev {
    left: 10px;
  }
  
  .nav.next {
    right: 10px;
  }
  
  /* ===== MOBILE ===== */
  @media (max-width: 768px) {
    .testimonial {
      flex: 0 0 100%;
      margin: 0; /* No side margin on mobile */
    }
  
    .nav {
      display: block;
    }
  
    .testimonial-slider {
      width: 100%;
    }
  }
  
/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
  }
  
  /* Contact Section Styling */
.contact-section {
    background: linear-gradient(135deg, #043f3b,#4ab9b1, #022d2a);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  max-width: 800px;
  width: 100%;
  color: white;
  text-align: center;
}

.contact-info h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background-color: white;
  color: black;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

.contact-form button:hover {
  background-color: #f1f1f1;
  transform: scale(1.05);
}

/* Responsive Styling */
@media (min-width: 768px) {
  .contact-container {
    text-align: left;
    display: flex;
    gap: 50px;
    align-items: center;
  }

  .contact-info {
    flex: 1;
  }

  .contact-form {
    flex: 1;
  }
}

  
  /* Footer Section */
  .footer {
    background-color: #111;
    color: #ccc;
    padding: 40px 20px 20px 20px;
  }
  
  .footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .footer-brand p {
    font-size: 0.95rem;
    color: #999;
  }
  
  .footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 20px;
  }
  
  .footer-socials a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  
  .footer-socials a:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(0.6);
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
  }
  
  /* Responsive Design */
  @media (min-width: 600px) {
    .form-row {
      flex-direction: row;
    }
  
    .form-row input {
      width: 100%;
    }
  
    .footer-container {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  
    .footer-socials {
      margin-top: 0;
    }
  }
  