/* styles.css */
:root {
    --blue: #003366; /* Navy Blue */
    --gray: #f2f2f2; /* Light Gray */
    --orange: #ff9933; /* Soft Orange */
  }
  *{
    font-family: "Arial", sans-serif;
    box-sizing: border-box;
  }
  /* Basic reset */
  body {
    background-color: var(--gray);
    margin: 0;
  }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--blue);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .navbar-brand {
    font-size: 20px;
    font-weight: bold;
    color: var(--orange);
    text-decoration: none;
  }
  .navbar-nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .navbar-nav li {
    margin-left: 20px;
  }
  .navbar-nav a {
    color: var(--orange);
    text-decoration: none;
  }
  .toggle {
    display: none;
  }
  .navbar-nav.show {
    display: flex;
    flex-direction: column;
  }
  
  @media (max-width: 800px) {
    .navbar-nav {
      display: none;
    }
  
    .navbar-toggle {
      display: block;
      background-color: transparent;
      border: none;
      color: var(--orange);
      font-size: 24px;
      cursor: pointer;
      
    }
  
    .navbar-nav.show {
      display: flex;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      background-color: var(--blue);
      padding: 10px 0;
      align-items: center;
    }
  }
   .social-links a {
       color: #ccc;

   }
  
  /* Background image slideshow */
  
  .background-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the image */
    animation: backgroundTransition 20s infinite;
  }
  
  @keyframes backgroundTransition {
    0% { background-image: url('images/1.jpg'); }
    33% { background-image: url('images/2.jpg'); }
    66% { background-image: url('images/1.jpg'); }
    100% { background-image: url('images/2.jpg'); }
  }
  
  .background-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* Adjust opacity for better visibility */
  }
  
  .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
  }
  
  h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--orange);
  }
  
  h2 {
    font-size: 1.5rem;
    color: var(--gray);
  }
  /* Services section */
  #services {
    background-color: var(--gray);
  }
  
  .container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .box {
    width: calc(33% - 20px);
    border: 1px solid goldenrod;
    background-color: var(--blue);
    border-radius: 15px;
    margin: 30px 0;
    overflow: hidden;
    transition: transform 0.3s;
  }
  .boxContent{
    padding: 1rem;
    color: var(--orange);
  
  }
  .title{
    color: var(--orange);
    align-items: center;
  }
  .box:hover {
    transform: scale(1.05);
  }
  
  .box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  /* Contact form styles */
  #contact h2{
    color: var(--orange);
  
  }
  .contact-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
  }
  
  .info-container {
    width: 45%;
    background-color: var(--orange);
    padding: 10px;
    color: var(--blue);
    margin: 20px;
  
  }
  .info-container h1 {
   
    color: var(--blue);
  
  }
  
  .form-container {
    width: 45%;
  }
  
  .form-container form {
    display: flex;
    flex-direction: column;
  }
  
  .form-container input,
  .form-container textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .form-container button {
    padding: 10px;
    background-color: var(--blue);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .form-container button:hover {
    background-color: var(--orange);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
      align-items: center;
    }
    
    .box {
      width: 90%;
    }
  
    .contact-container {
      flex-direction: column;
    }
  
    .info-container, .form-container {
      width: 100%;
      align-items: center;
    }
    .info-container {
      margin-left: 20px;
    }
  }
  /* testimony styles.css */
  #testimonials h2 {
    color: var(--orange);
    text-align: center; /* Center the heading */
    margin-bottom: 30px;
}

.testimonial-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex; /* Use flexbox to align arrows and container */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Horizontally center items */
}

.testimonial-container {
    display: flex;
    gap: 20px; /* Space between testimonials */
    padding: 10px; /* Add padding for aesthetics */
    overflow-x: scroll; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-behavior: smooth; /* Smooth scroll when JavaScript moves it */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for Internet Explorer/Edge */
    width: calc(100% - 80px); /* Adjust width to make space for arrows */
    max-width: 1200px; /* Optional: limit max width for larger screens */
}

/* Hide scrollbar for Chrome, Safari, and Opera */
.testimonial-container::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background: var(--gray);
    border: 1px solid var(--gray);
    border-radius: 5px;
    padding: 20px;
    width: 300px; /* Minimum width for each testimonial */
    flex: 0 0 auto; /* Prevent flex items from shrinking */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--blue);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.nav-arrow {
    background-color: var(--orange);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    position: absolute; /* Position arrows relative to the wrapper */
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Ensure arrows are above testimonials */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.nav-arrow:hover {
    background-color: var(--blue); /* Darken on hover */
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

/* Responsive styles */
@media (max-width: 768px) { /* Adjust breakpoint for typical tablet/mobile */
    .testimonial-container {
        width: calc(100% - 80px); /* Maintain width for arrows */
    }

    .testimonial {
        min-width: 280px; /* Slightly smaller min-width for smaller screens */
        padding: 15px;
    }

    .testimonial-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) { /* Styles for smaller mobile devices */
    .testimonial-container {
        width: calc(100% - 60px); /* Further reduce width to fit arrows on very small screens */
        gap: 15px;
    }
    .testimonial {
        min-width: 250px; /* Adjust min-width for very small screens */
    }
    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    .prev-arrow {
        left: 5px;
    }
    .next-arrow {
        right: 5px;
    }
}
  .partner-container {
    display: flex; /* Use Flexbox for horizontal layout */
    overflow-x: auto; /* Enable horizontal scrolling */
    padding: 10px 0; /* Vertical padding */
    white-space: nowrap; /* Prevent wrapping */
    overflow-x: hidden;
  }
  
  .partner-image {
    width: 150px; /* Adjust size as needed */
    height: 50px; /* Maintain aspect ratio */
    margin-right: 20px; /* Space between images */
    transition: transform 0.3s; /* Smooth scaling effect */
    border-radius: 20%;
  }
  
  .partner-image:hover {
    transform: scale(1.1); /* Scale effect on hover */
  }
  .footer {
    background-color: var(--blue);
    color: var(--orange);
    padding: 20px;
    text-align: center;
  }
  

/* Define your CSS variables (if you haven't already) */
:root {
    --dark-gray: #f2f2f2;
    --light-gray: #f8f8f8;
    --blue: #003366; /* Navy Blue */
    --gray: ; /* Light Gray */
    --orange: #ff9933; /* Soft Orange */
}

/* Basic body and main layout styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

/* Styles that were in the original header/footer but removed from PHP for brevity of this combined code */
header {
    background-color: var(--blue);
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow navigation items to wrap */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--orange);
    border-radius: 4px;
}

footer {
    background-color: var(--blue);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 50px;
}


/* --- Our Work Section Styles --- */
#our-work {
    padding: 50px 20px;
    background-color: var(--light-gray);
    text-align: center;
}

#our-work h2 {
    color: var(--blue);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer; /* Indicate clickability */
}

.project-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    display: block;
}

.project-info {
    padding: 20px;
    flex-grow: 1;
}

.project-info h3 {
    color: var(--orange);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-info p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.project-info p strong {
    color: var(--blue);
}

/* Optional: Button for "View All Projects" */
.view-more-projects {
    margin-top: 50px;
}

.view-more-projects .btn {
    display: inline-block;
    background-color: var(--blue);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.view-more-projects .btn:hover {
    background-color: var(--orange);
}

/* --- Custom Modal Styles --- */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.custom-modal.active {
    display: flex; /* Show when active */
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: transparent; /* Transparent background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's total width and height */
}

#modal-image {
    max-width: 100%;
    max-height: 80vh; /* Max height relative to viewport height */
    display: block; /* Remove extra space below image */
    object-fit: contain; /* Ensure image fits without cropping */
    margin: 0 auto;
    border-radius: 5px; /* Optional: subtle rounded corners */
}

.close-button {
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
    z-index: 1010; /* Above everything else */
    line-height: 1; /* Adjust vertical alignment */
}

.close-button:hover,
.close-button:focus {
    color: #ccc;
    text-decoration: none;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
    pointer-events: none; /* Allow clicks to pass through to buttons */
}

.modal-nav button {
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    user-select: none; /* Prevent text selection on button */
    pointer-events: all; /* Re-enable clicks for buttons */
    transition: background-color 0.3s ease;
    width: 50px; /* Fixed width for consistent circles */
    height: 50px; /* Fixed height for consistent circles */
    display: flex;
    align-items: center;
    justify-content: center;
}

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

#modal-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.1em;
    padding: 0 20px;
    max-width: 80%; /* Limit width of caption */
}

/* Optional: Fade in animation */
.custom-modal {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.custom-modal.active {
    opacity: 1;
}

/* Responsive adjustments for modal */
@media (max-width: 768px) {
    /* General adjustments */
    header h1 {
        font-size: 1.8rem;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 5px 0;
    }

    /* Our Work adjustments */
    #our-work {
        padding: 40px 15px;
    }
    #our-work h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .project-item img {
        height: 180px;
    }
    .project-info {
        padding: 15px;
    }
    .project-info h3 {
        font-size: 1.2rem;
    }
    .project-info p {
        font-size: 0.9rem;
    }

    /* Modal adjustments */
    .close-button {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    .modal-nav button {
        padding: 8px 12px;
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    #modal-caption {
        font-size: 1em;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    /* General adjustments */
    header h1 {
        font-size: 1.6rem;
    }
    nav ul li {
        margin: 3px 0;
    }

    /* Our Work adjustments */
    #our-work {
        padding: 30px 10px;
    }
    #our-work h2 {
        font-size: 1.8rem;
    }
    .project-gallery {
        grid-template-columns: 1fr; /* Stack items vertically on very small screens */
        padding: 0 10px;
    }
    .project-item img {
        height: 160px;
    }
    .project-gallery img {
        height: 200px;
    }
}
/*
//////////////////////////////////////////////////////////////////////////  */















