/* Basic reset for margin and padding */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;

}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling */overflow-y: auto;
}


.navbar {
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 5px solid #00bcd4; /* Light blue bottom border */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 10;
    position: fixed;
}

.logo a {
    font-size: 40px;
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
    right: 70px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00bcd4; /* Slightly darker blue on hover */
}


.navbar {
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    border-bottom: 5px solid #00bcd4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 10;
    position: fixed;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    position: relative;
    right: 70px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #007BFF;
}

/* Mobile Menu Styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    right: 50px;
    z-index: 10; /* Ensures hamburger overlaps mobile-nav */
}
.bar {
    width: 35px;
    height: 4px;
    background-color: black;
    margin: 5px 0;
    transition: 0.4s;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: white;
    overflow-x: hidden;
    transition: width 0.5s ease-in-out;
    padding-top: 60px;
    text-align: center;
    z-index: 5; /* Behind hamburger */
}
.mobile-nav.show {
    display: block;
    width: 250px;
}
.mobile-nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
    font-size: 18px;
}
.mobile-nav a:hover {
    color: #00bcd4;
}

/* Close Button */
.close-btn {
    font-size: 24px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Hamburger Transformations */
.hamburger.active .bar1 {
    -webkit-transform: rotate(-45deg) translate(-8px, 6px); 
    transform: rotate(-45deg) translate(-8px, 6px);}
.hamburger.active .bar2 {
    opacity: 0;
}
.hamburger.active .bar3 {
    -webkit-transform: rotate(45deg) translate(-9px, -8px); 
    transform: rotate(45deg) translate(-9px, -8px);}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Hide mobile-nav on non-mobile dimensions */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}
.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
/* Mobile-specific styles */
@media (max-width: 768px) {
    .background-video {
        display: none; /* Hide the video on mobile */
    }

    .video-overlay {
        background-color: #00bcd4;; /* Solid color overlay on mobile */
    }
}
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.8); /* Darken the video slightly */
    transition: filter 0.3s ease;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 122, 229, 0.8); /* Light blue tint */
    pointer-events: none;

}

.overlay-text {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 1;
    width: 80%;
    max-width: 800px; /* Increase max width to make paragraph longer before line breaks */
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align all elements vertically to start at the same left position */
}

.overlay-text h1 {
    font-size: 3rem; /* Shrinking the header */
    font-weight: 600;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    white-space: nowrap; /* Keep the header on one line */
    margin-bottom: 10px; /* Reduce margin between header and paragraph */
}

.overlay-text p {
    font-size: 1.2rem; /* Increase paragraph size */
    font-weight: 100;
    line-height: 1.8; /* Increase the line height for more spacing between lines */
    text-align: left;
    width: 100%; /* Keep paragraph width 100% */
    margin-bottom: 5px; /* Reduce margin between paragraph and button */
}

.cta-button {
    background: linear-gradient(90deg, #00bcd4, #00d4ff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, box-shadow 0.3s;
    align-self: flex-start; /* Ensure button is aligned with paragraph */
    margin-top: 10px; /* Reduce margin between paragraph and button */
}

.cta-button:hover {
    background: linear-gradient(90deg, #00d4ff, #00bcd4);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .overlay-text h1 {
        font-size: 2rem;
    }
    .overlay-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .overlay-text h1 {
        font-size: 1.8rem;
    }
    .overlay-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}
























































































/* Centered header styling */
.svg-header {
    text-align: center;
    font-size: 3rem;
    color: black;
     margin: 50px 0;
    position: relative;
    top: 20px;

}
.h2 {
    text-align: center;
    font-size: 3rem;
    color: black;

}

.icon-container.fade-in, .review-message.fade-in {
    top: 1px;
    top: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease-out, transform 2s ease-out;
    
}

/* Fade-in class for when elements are in view */
.icon-container.fade-in.visible, .review-message.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.icon-section {
    display: flex;
    justify-content: space-around;
    background-color: #fff; /* Subtle background color */
    padding: 50px 0;
    position: relative;
    top: -30px;
    overflow: hidden;
}

.icon-container {
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.icon-container svg {
    width: 80px;
    height: 80px;
    fill: #00bcd4; /* Light blue color */
    transition: fill 0.3s ease;
}

.description {
    font-size: 1.2rem;
    margin-top: 10px;
    color: black;
}

.underline {
    width: 40px;
    height: 2px;
    background-color: #00bcd4;
    margin: 10px auto 0;
}

.underline {
    width: 40px;
    height: 2px;
    background-color: #00bcd4;
    margin: 10px auto 0;
}

.underline1 {
    width: 40px;
    height: 20px;
    background-color: #00bcd4;
    margin: 10px auto 0;
}


  @media (max-width: 768px) {
    .icon-section {
      flex-direction: column;
      padding: 20px;
    }
  
    .icon-container {
      margin-bottom: 20px;
    }
  }
  
/* THE PROCESS section styles */
.process-section {
    padding: 50px;
    background-color: white;
    text-align: center;
    margin-top: -110px;
}

.process-section h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: black;
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Adjust the step box width and padding for a thinner appearance */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 10px; /* Reduce padding for thinner appearance */
    width: 70%; /* Decrease width for a thinner box */
    borderr: 2px solid #213221;
    border: 2px solid #D3D3D3    ;
    transition: opacity 1s ease-out, transform 1s ease-out, border-color 0.5s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00bcd4; /* Light blue */
}

.step-line {
    width: 30px;
    height: 2px;
    background-color: #00bcd4; /* Light blue */
    margin: 5px 0;
}

/* Fade-in and Hover Effect */
.cta-button {
    background-color: #00bcd4;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}

.cta-button1, .cta-button2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 10px; /* Adds space between the buttons */
}

.cta-button1 {
    background-color: orange;
    color: white;
    border: 2px solid orange;
    flex-direction: row;
}

.cta-button1:hover {
    background-color: #00bcd4;
    color: white;
}

.cta-button1 svg {
    margin-right: 8px;
    fill: white;
}

.cta-button1:hover svg {
    stroke: white;
}

.cta-button2 {
    background-color: transparent;
    flex-direction: row;
    color: orange;
    border: 2px solid orange;
}

.cta-button2:hover {
    background-color: orange;
    color: white;
}

/* Step border animation */
.step {
    position: relative;
    border: 1px solid gray; /* Starting black border */
    overflow: hidden; /* Prevent borders from overflowing */
}

.step::before,
.step::after {
    content: '';
    position: absolute;
    transition: width 0.5s ease, height 0.5s ease;
}

/* Top and bottom borders */
.step::before {
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
}

.step::after {
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
}

/* Hover animations */
.step:hover::before {
    width: 100%; /* Animate the top border */
}

.step:hover::after {
    width: 100%; /* Animate the bottom border */
}

/* Right and left borders */
.step:hover {
    border-right-color: #00bcd4;
    border-left-color: #00bcd4;
}

/* Parallax Container */
/*.parallax-container {
    position: relative;
    background-image: url('pexels-karolina-grabowska-7875996.jpg');
    background-attachment: fixed;
    background-size: cover;
    height: 500px; /* Adjust the height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 0; /* Ensures equal spacing above and below */
}

/*

/* Text Overlay  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 122, 229, 0.5); /* Light blue tint */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}







































.about-content {
    color: white;
    max-width: 80%; /* Keeps the text from stretching too wide */
    padding: 30px; /* Added more padding for a roomier feel */
    margin: 20px auto; /* Center the content with equal spacing */
    background-color: #f4f4f4; /* Optional background for better contrast */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); /* Adds some depth */
    border-radius: 8px; /* Smooths the corners */
}

.about-content h2 {
    font-size: 3rem; /* Scaled down slightly for balance */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 20px; /* Add space below the header */
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333; /* Slightly lighter black for readability */
    text-align: center;
    margin-left: 5rem; /* Adjust the value to your preference */
    margin-right: 5rem; /* Adjust the value to your preference */
    margin-bottom: 40px;
}

@media (max-width: 769px) {
    .about-content p  {
        margin-left: 1rem; /* Adjust the value to your preference */
        margin-right: 1rem; /* Adjust the value to your preference */
        margin: 0px 0; /* Increased for better spacing */
        margin-bottom: 40px;


    }
}

/* Ensures equal distance with sections above and below */
.about-section {
    margin: 60px 0; /* Increased for better spacing */
}













































/* Styling the review section */
.review-section {
    text-align: center;
    margin: 20px;
    position: relative;
}

.review-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
}

/* Styling the container */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Styling the boxes */
.review-box {
    width: 100%;
    max-width: 300px;
    background-color: #e0f7ff;
    color: #555;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    flex: 1;
}

.review-box.show {
    opacity: 1;
    transform: translateY(0);
}

/* Circle with initials */
.review-circle {
    width: 60px;
    height: 60px;
    background-color: white;
    color: lightblue;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    margin: 0 auto 10px;
}

/* Review content */
.review-content {
    font-size: 18px;
}

.reviewer-name {
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}




@media (max-width: 768px) {
    .review-box {
        max-width: 90%;
        flex: 1 1 100%;
    }
}

/* General Styles for All Devices */
.service-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    max-width: 95%;
    overflow-x: auto;
    margin: 0 auto 22px auto;
    padding: 0 20px;
}

.service-card {
    margin-top: 2vh;
    background-color: #e0f7ff;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    width: 280px;
    height: 450px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px auto;
    background-color: #d4edff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-title {
    color: #0073a8;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-description {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.learn-more-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00b8d4;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #008ba3;
}

.section-header {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-container {
        flex-wrap: wrap; /* Allow wrapping on medium screens */
        justify-content: center;
        gap: 15px;
    }

    .service-card {
        width: 250px;
        height: auto; /* Adjust height for smaller screens */
    }
}

@media (max-width: 768px) {
    .service-container {
        padding: 0 10px;
    }

    .service-card {
        width: 90%;
        padding: 30px;
        margin-top: 2vh;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 1rem;
    }

    .learn-more-btn {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        font-size: 2rem;
    }

    .service-container {
        padding: 0 5px;
    }

    .service-card {
        width: 100%;
        padding: 20px;
    }

    .icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.9rem;
    }
}

/* Fade-up-in animation */
@keyframes fadeUpIn {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
/* Initial state before animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Fade-in effect when element is in view */
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Initial state before animation */
.fade-in1 {
    opacity: 0;
    transform: translateY(20px); /* Starts slightly below */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Fade-in effect when element is in view */
.fade-in1.is-visible {
    opacity: 1;
    transform: translateY(0); /* Moves to its original position */
}

.service-card {
    width: 100%;       /* Adjust width if necessary */
    ::-webkit-scrollbar { display: none; }}
    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }

    ::-webkit-scrollbar { display: none; }
    ::-webkit-scrollbar { display: none; }
    
.logo {font-size: 40px;}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 400px;
  width: 400px;
  margin: 0 40px;
  filter: grayscale(100%);
  
}

.kabaian-logo img {
    height: 400px;
    width: 800px;
    margin: 0 40px;
    filter: grayscale(100%);
    
  }

.about-paragraph1 {
    font-size: 10px;
    font-weight: 1000;
    color: #333;
}

.container {
    width: 960px;
    margin: 50px auto;
}

.contact-header {


    text-align: center;
    font-size: 3rem;

}
/* form styles */
form {
    width: 100%;
    margin-top: 40px;
}

form .inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form .input, form .textarea {
    width: 100%;
    position: relative;

}

form .textarea {
    width: 100%;
    position: relative;
    margin-top: 20px; /* Increased margin-top for the message area */
}
form input,
form textarea {
    width: calc(100% - 40px);
    border: 1px solid #d0d0d0;
    outline: none;
    background-color: #fafafa;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    padding: 15px 20px;
}

form textarea {
    height: 200px;
    resize: none;
}

form button[type="submit"] {
    clear: both;
    float: right;
    border: 1px solid #007c91;
    outline: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    background-color: #00bcd4;
    font-size: 18px;
    padding: 18px 30px;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s linear 0s;
    transform: translateZ(0) scale(0.9,1);
}

form .input label,
form .textarea label {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 15px 20px;
    background-color: transparent;
    color: black;
font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.2s linear 0s;
}

form .input label {
    height: calc(100% - 30px);
}

form .textarea label {
    width: calc(100% - 40px);
}

/* hover effects and elements for them */
form button[type="submit"]:before,
form button[type="submit"]:after {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    height: 100%;
    background: #fff;
    opacity: 1;
    transition: all 0.2s linear 0s;
    z-index: -1;
}

form button[type="submit"]:before {
    left: 0px;
    top: 100%;
} 

form button[type="submit"]:after {
    right: 0px;
    top: -100%;
} 

form button[type="submit"]:hover {
    color: #00bcd4;
}

form button[type="submit"]:hover:before {
    top: 0%;
}

form button[type="submit"]:hover:after {
    top: 0%;
}

form button[type="submit"]:active {
    transform: translateZ(0) scale(1,0.9);
}

form .input:hover label,
form .textarea:hover label {
    color: #00bcd4;
}

/* active effects */
form input:focus + label,
form input.active + label {
    background-color: #007c91;
    color: #fff;
    left: -120px;
}


form textarea:focus + label,
form textarea.active + label {
    background-color: #007c91;
  color: #fff;
  top: -50px;
}


form input:focus:hover + label,
form textarea:focus:hover + label,
form textarea.active:hover + label,
form input.active:hover + label {
    color: #fff;
}

form textarea:focus + label,
form textarea.active + label {
    background-color: #007c91;
    color: #fff;
    top: -50px;
}

/* Container heading and spacing */
.container h2 {
    padding: 10px 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
}

form input:focus,
form textarea:focus {
    outline: 2px solid #007c91;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}
/* Label stays outside when input is active or contains text */
form input:focus + label,
form input.active + label,
form textarea:focus + label,
form textarea.active + label {
    background-color: #007c91;
    color: #fff;
}
