*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cabin", sans-serif;
    color: #111;
    scroll-behavior: smooth;
}

:root{
    --primary:#00e5ff;
    --accent:#ccf9ff;
    --grey:#e2e1e1;
    --blue:#1c274c;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
    padding: 10px;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2);
    /* border: 1px solid red; */
}
nav .logo{
    width: 35px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
nav .logo p{
    font-weight: 600;
    font-size: 20px;
}
nav .logo img{
    width: 100%;
}
nav ul{
display: flex;
/* border: 1px solid red; */
gap: 20px;
}
nav ul .link{
    list-style-type: none;
}
nav ul .link a{
font-size:18px;
text-decoration: none;
color: #333;
padding: 4px;
}
nav ul .link a:hover{
    color: #222;
    border-radius: 8px;
    background-color: var(--grey);
}

nav .menu-toggle {
    display: none; /* Hidden by default (desktop) */
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 100; 
}
nav .menu-toggle .hamburger {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}
nav .menu-toggle .hamburger::before,
nav .menu-toggle .hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease-in-out;
}
nav .menu-toggle .hamburger::before {
    transform: translateY(-8px);
}
nav .menu-toggle .hamburger::after {
    transform: translateY(8px);
}

/* banner styles */
.banner{
    /* border: 1px solid red; */
    width: 80%;
    margin: auto;
    margin-top: 30px;
}
.banner .banner-img{
    width: 40%;
    margin: auto;
}
.banner .banner-img img{
    width: 100%;
    /* border: 1px solid red; */
}
.banner p{
    text-align: center;
    width: 60%;
    font-size: 20px;
    margin: auto;
    margin-top: 30px;
    /* border: 1px solid black; */
}
.banner-icons{
    width: fit-content;
    margin: auto;
    display: flex;
    margin-top: 50px;
    gap: 10px;
    /* border: 1px solid black; */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.2);
}
.b-icon{
    /* border: 1px solid rgb(196, 30, 30); */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 130px;
    
}
.b-icon img{
    width: 30px;
    /* border: 1px solid red; */
}
.b-icon p{
    font-size: 12px;
    margin-top: 0;
}
.banner-cta{
    /* border: 1px solid red; */
    width: fit-content;
    margin: auto;
    margin-top: 30px;
}
.banner-cta button{
    background-color: #111;
    color: #fff;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
}
.banner-cta button:hover{
    box-shadow: 0px 0px 20px 2px var(--blue);
}



/* --- About Section Styling --- */
.about-section {
    background:linear-gradient(to bottom#f8f8f8,#fff) ; 
    margin-top: 50px;
    padding: 30px 20px;
    text-align: center;
}

.about-container {
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.about-section h2 {
    font-size: 2rem;
    font-weight: 700;
    /* width: 50%; */
    margin: auto;
    margin-bottom: 20px;
}

.about-section .lead-text {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 30px;
    color: rgba(51, 51, 51, 0.85); 
    /* border: 1px solid red; */
}

/* --- Button Styling (Reusing primary color) --- */
.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    font-weight: 600;
    text-decoration: none;
    /* color: var(--primary);  */
    border: 1px solid #333;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #111;
    color: white; /* Change text color for contrast on hover */
}



/* services */
.services h2{
    font-size: 2.4rem;
    font-weight: 700;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 30px;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  

  .grid-item {
    padding: 40px;
    border-right: 1px solid #444;
    border-bottom: 1px solid #444;
  }
  
  /* Remove the right border on the last item of each row (3rd and 6th) */
  .grid-item:nth-child(3n) {
    border-right: none;
  }
  
  /* Remove the bottom border on the items in the last row (4th, 5th, 6th) */
  .grid-item:nth-child(n + 4) {
    border-bottom: none;
  }
  
  /* --- CARD CONTENT STYLES --- */
  .icon-placeholder {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }
  
  .icon {
    fill: var(--icon-color);
    width: 100%;
    height: 100%;
  }
  
  .title {
    font-size: 1.5rem;
    font-weight: 700;
    /* color: var(--blue); */
    line-height: 1.3;
    margin: 0 0 15px 0;
  }
  
  .description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  
  /* --- RESPONSIVENESS (for smaller screens) --- */
  

.work-methods{
    width: 100%;
    margin: auto;
    margin-top: 50px;
    padding: 0%;
}
.work-methods h2{
    font-size: 2.4rem;
    font-weight: 700;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
}
.work-methods h2{
    font-size: 2rem;
    font-weight: 700;
    margin: auto;
    /* margin-bottom: 10px; */
    text-align: center;
    color: #fff;
}
.howheader{
    background-image:linear-gradient(rgb(0,0,0,0.6),rgb(0,0,0,0.98)), url(./images/pexels-cookiecutter-1148820.jpg);
    height: 250px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* border: 1px solid red; */
    justify-content: center;
    background-attachment: fixed;
}
.steps{
    padding: 10px 20px;
/* border: 1px solid rgb(216, 13, 108); */
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0px;
align-items: stretch;
}

.step{
display: flex;
font-size: 18px;
border-radius: 12px;
gap: 20px;
padding: 10px 20px;
flex-direction: column;
/* border: 1px solid red; */
width: 33%;
margin-top: 20px;
}
.step .heading{
    /* border: 1px solid #000; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: auto;
    background-color: #1c274c;
}
.step .heading h3{
    font-size: 26px;
    color: #fff;
}
.step-title{
    text-align: center;
    font-size: 24px;
}

.step .detail{
    text-align: center;
    line-height: 25px;
    font-size: 16px;
}



.contact{
    width: 100%;
    background-color: #0e0e0e;
    padding: 40px;
}
.contact h2{
    text-align: center;
    font-size: 50px;
    color: #fff;
}
.contact h3{
    text-align: center;
    color: #fff;
}
.contact-grid{
    display: flex;
    justify-content: space-evenly;
    gap: 10px;
    width: 90%;
    flex-wrap: wrap;
    margin: 0 auto;
    /* border: 1px solid white; */
    margin-top: 20px;
}
.contact-item{
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding:20px;
    gap: 10px;
    background-color: #000;;
    border-radius: 10px;
    width: 40%;
    
}
.contact-icon{
    width: 40px;
}
.contact-item img{
    width: 100%;
}
.contact-item p {
    text-align: center;
    font-size: 18px;
    color: #fff;
}
.contact-item a{
    color: #fff;
    font-size: 22px;
}
.copyright{
    background-color: #222;
}
.copyright p{
    text-align: center;
    color: #fff;
    padding: 4px;
}




#projects {
    padding: 40px 20px;
    text-align: center;
}

#projects h1 {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
}

/* Projects Container - Flexbox setup for layout */
.projects-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    gap: 30px; /* Space between cards */
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Project Card Styling */
.project-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ensures image corners are rounded */
    width: 100%; /* Default to full width on mobile */
    max-width: 350px; /* Maximum size for a single card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Makes the card's content stack vertically */
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.project-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Text Content Styling */
.project-content {
    padding: 20px;
    flex-grow: 1; /* Allows content to take up remaining space */
    text-align: left;
    display: flex;
    flex-direction: column;
}

.project-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.project-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

/* Link Styling */
.project-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start; /* Aligns link to the left */
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s ease, color 0.2s ease;
}

.project-link:hover {
    color: #1e628a;
    border-bottom: 2px solid #2980b9;
}

/* --- Media Query for Responsiveness --- */
@media (max-width: 768px) {
    .project-card {
        /* On smaller screens, the max-width makes it look better */
        margin-bottom: 20px;
    }

    #projects h1 {
        font-size: 2em;
    }
}
/* --- Mobile Adjustment (optional, to keep text centered) --- */
@media (max-width: 600px) {
    .about-section h2 {
        font-size: 1.5rem;
    }
}

  /* Tablet/Medium Screens: Change to 2 columns */
  @media (max-width: 900px) {
    .grid-container {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Reset borders for the 2-column layout */
    .grid-item {
      border-right: 1px solid #444;
      border-bottom: 1px solid #444;
    }
  
    /* Remove right border on the new last item of each row (2nd, 4th, 6th) */
    .grid-item:nth-child(3n) { /* Re-enable right border for former 3n elements */
        border-right: 1px solid #444
    }
    .grid-item:nth-child(2n) {
      border-right: none;
    }
  
    /* Remove bottom border on items in the last row (5th and 6th) */
    .grid-item:nth-child(n + 5) {
      border-bottom: none;
    }
  }
  
  /* Mobile/Small Screens: Change to 1 column */
  @media (max-width: 600px) {
    .grid-container {
      grid-template-columns: 1fr;
    }
  
    /* Reset borders for the 1-column layout */
    .grid-item {
      border-right: none; /* No vertical borders */
      padding: 20px 30px;
    border-bottom: none;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2);
    }
  
    .grid-item:nth-child(3n), .grid-item:nth-child(2n), .grid-item:nth-child(n + 4), .grid-item:nth-child(n + 5) {
       border-right: none;
       /* border-bottom: 1px solid #444; */
    }
    .title {
        font-size: 20px;
        font-weight: 700;
        /* color: var(--blue); */
        line-height: 1.3;
        margin: 0 0 15px 0;
      }
      
      .description {
        font-size: 1rem;
        line-height: 1.6;
      }
  }
/* --- MEDIA QUERY FOR MOBILE STYLES --- */
@media (max-width: 768px) {

    nav {
        width: 100%;
        padding: 10px 20px; 
    }

    nav .menu-toggle {
        display: block;
    }

    nav ul {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; 
        background-color: var(--color-background, white); 
        padding-top: 80px; 
        z-index: 99;
        gap: 0;
    }
    nav ul .link {
        width: 100%;
        border-bottom: 1px solid var(--grey);
        text-align: center;
    }

    nav ul .link a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    nav ul.active {
        display: flex;
    }
    
    /* banner styles */
.banner{
    width: 100%;
    margin-top: 50px;
    /* border: 1px solid blue; */
}
.banner .banner-img{
    width: 96%;

}
.banner p{
    text-align: center;
    width: 90%;
    font-size: 20px;
    margin: auto;
    margin-top: 40px;
    /* border: 1px solid black; */
}
.banner-icons{
    width: 90%;
    flex-wrap: wrap;
    margin-top: 50px;
    justify-content: space-around;
    gap: 20px;
    box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.1);
}


.b-icon p{
    font-size: 12px;
    margin-top: 0;
}
.b-icon{
    width: 100px;
}
.banner-cta{

    margin-top: 50px;
}


.about-section .lead-text {
    color: rgba(51, 51, 51, 0.85); 
}

.work-methods{
    width: 100%;
    margin: auto;
    margin-top: 50px;
    padding: 0;
    background-color:rgba(0, 0, 0, 0.99);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}
.work-methods h2{
    font-size: 2rem;
    font-weight: 700;
    margin: auto;
    /* margin-bottom: 10px; */
    text-align: center;
    color: #fff;
}
.howheader{
    background-image:linear-gradient(rgb(0,0,0,0.5),rgb(0,0,0,0.98)), url(./images/pexels-cookiecutter-1148820.jpg);
    height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    align-items: center;
    /* border: 1px solid red; */
    justify-content: center;
}

.steps{
flex-direction: column;
justify-content: space-between;
gap: 0px;
align-items: stretch;
}

.step{
/* border: 1px solid red; */
width:100% ;
margin-top: 20px;
box-shadow:none
}
.step .heading{
    /* border: 1px solid #000; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
    background-color: #fff
}
.step .heading h3{
    color: #111;
}
.step-title{
    color: #fff;
    font-size: 20px;
}
.step .detail{
    text-align: center;
    line-height: 25px;
    color: #fff;
    font-size: 16px;
}
.contact{
    padding: 20px;
    background-color: #080808;
}
.contact h2{
    font-size: 30px;
}
.contact h3{
    font-size: 16px;
    margin-top: 20px;
}
.contact-grid{
    flex-direction: column;
}
.contact-item{
padding: 10px;
    width: 100%;
    background-color: transparent;
}
.contact-item a{
    font-size: 18px;
}
.contact-icon{
    width: 20px;
}
.contact-item img{
    width: 100%;
}
}


.about-us-section {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: auto;
}

.aboutus-container {
    width: 100%;
    background: #ffffff;
    padding: 40px;
}

/* --- Headings & Mission --- */
.about-title {
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-align: center;
}

.values-title {
    font-size: 24px;text-align: center;
    margin-top: 30px;
    margin-bottom: 15px;
}

.mission-statement p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}



/* --- Values List (Single, Clean Style) --- */
.values-list {
    padding: 0;
    margin-top: 20px;
}
.values-block p{
    line-height: 24px;
}
.values-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #e9ecef;
    font-size: 16px;
    line-height: 24px;

}

.values-list li:last-child {
    border-bottom: none;
}

.values-list li strong {
    color: #007bff; /* Blue for key differentiators */
}

/* --- Process Block and Horizontal Rule --- */
.process-block {
    margin-top: 10px;
    padding-top: 20px;
}
.process-block p{
    line-height: 24px;
}
hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 123, 255, 0.75), rgba(0, 0, 0, 0));
    margin: 30px 0;
}

/* --- Call to Action --- */
.call-to-action {
    margin-top: 40px;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.call-to-action p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: var(--blue);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .aboutus-container {
        padding: 25px;
    }
    .about-us-section {

  
        width: 90%;

    }
    .about-title {
        font-size: 2em;
    }
}