/* General Styling */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    
}


/* Image Background Section */
.image-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('https://img.freepik.com/free-vector/blue-copy-space-digital-background_23-2148821698.jpg?ga=GA1.1.1083888277.1742803658&semt=ais_hybrid&w=740');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

section.about {
    position: relative;
    padding: 60px 20px;
    color: #fff;
    z-index: 1;
}

section.about h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: white; /* Ensure the h1 color is set to white */
}

/* Adjusted Paragraph styles */
section.about p {
    position: relative;
    font-size: 1.6rem; /* Adjusted font size for better readability */
    max-width: 85%;
    margin: 0 auto;
    line-height: 1.8;
    color: #fff;
    transform: translateY(100px); /* Start position (below) */
    opacity: 0; /* Start hidden */
    animation: slideUp 1s ease-in forwards; /* Animation */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Transition for hover effect */
}

/* Add hover effect for paragraph */
section.about p:hover {
    transform: translateY(-10px); /* Move up on hover */
    opacity: 1; /* Ensure it's fully visible on hover */
}

/* Keyframes for slide-up animation */
@keyframes slideUp {
    0% {
        transform: translateY(100px); /* Start from below */
        opacity: 0; /* Fully transparent */
    }
    100% {
        transform: translateY(0); /* Move to original position */
        opacity: 1; /* Fully visible */
    }
}



/* Our Services Section */
.services {
    background-color: #ffffff;
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 12px;
    border: 2px solid #007b5e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    text-align: center;
}

.services h2 {
    color: #007b5e;
    margin-bottom: 30px;
    font-size: 2rem; /* Adjusted for mobile readability */
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 30%); /* 3 items in a row with 30% width */
    justify-content: space-between; /* Even spacing between items */
    gap: 20px;
}

.service-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 80px; /* Set width for icon size */
    height: 80px; /* Set height for icon size */
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-item h3 {
    color: #007b5e;
    margin: 15px 0;
    font-size: 1.5rem; /* Adjusted for mobile */
}

.service-item p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem; /* Adjusted for readability on smaller screens */
}

/* Responsive Design for Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .services-container {
        grid-template-columns: repeat(3, 30%);
    }
}

/* Responsive Design for Medium Screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .services-container {
        grid-template-columns: repeat(2, 45%); /* 2 items in a row */
    }
}

/* Responsive Design for Small Screens (Mobile) */
@media (max-width: 767px) {
    .services-container {
        grid-template-columns: 1fr; /* 1 item in a row */
    }

    .service-item {
        padding: 15px; /* Compact padding for mobile */
    }

    .service-image {
        width: 60px; /* Adjust icon size for mobile */
        height: 60px;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}



/* CEO Vision Section */
.ceo-vision {
    background-color: #ffffff;
    padding: 40px 20px;
    margin: 40px auto;
    border-radius: 12px;
    border: 2px solid #007b5e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    text-align: center;
}

.ceo-vision h2 {
    color: #007b5e;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.ceo-content p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 20px 0;
}

.ceo-image-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.ceo-image {
    width: 200px; /* Adjust size as needed */
    border-radius: 10px;
}

.ceo-name {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #333; /* Use a suitable color for contrast */
    font-weight: bold;
}


/* Our History Section */
.our-history {
    background-color: #f5f5f5; /* Light gray background for a professional look */
    padding: 40px 20px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left; /* Align text to the left */
}

.our-history h2 {
    color: #007b5e; /* Match brand or theme color */
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center; /* Center align the heading */
}

.our-history p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333; /* Dark gray for readability */
    margin-bottom: 15px;
}

.our-history p strong {
    color: #007b5e; /* Highlight strong text with theme color */
    font-weight: bold;
}









/* Responsive Design */
@media (max-width: 1200px) {

    .ceo-vision,
    
    .services {
        width: 95%;
    }
   
}

@media (max-width: 992px) {
    section.about h1 {
        font-size: 2.5rem;
    }
    section.about p {
        font-size: 1rem;
    }
    .ceo-vision,
    
    
    .services {
        width: 95%;
    }
}

@media (max-width: 768px) {
   
    section.about h1 {
        font-size: 2rem;
    }
    .ceo-vision,
    .services {
        width: 98%;
    }
}

@media (max-width: 576px) {
   

    section.about h1 {
        margin-top: -100px;
        font-size: 1.5rem;
    }

    section.about p {
        font-size: 0.9rem;
        margin-top: 50px;
    }

    .ceo-vision h2,
   
    .services h2 {
        font-size: 1.5rem;
    }
    .service-item {
        padding: 15px;
    }

    .service-item h3 {
        font-size: 1.2rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
/* Keyframe Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Animation for Services Section */
@media (max-width: 768px) {
    .service-item {
        animation: slideIn 0.5s ease forwards;
        opacity: 0; /* Start invisible for animation */
    }

    .service-item:nth-child(1) { animation-delay: 0.1s; }
    .service-item:nth-child(2) { animation-delay: 0.2s; }
    .service-item:nth-child(3) { animation-delay: 0.3s; }
    .service-item:nth-child(4) { animation-delay: 0.4s; }
    .service-item:nth-child(5) { animation-delay: 0.5s; }
    .service-item:nth-child(6) { animation-delay: 0.6s; }
}
.icon {
    width:40px; /* Set a width for the icons */
    height: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between icon and text */
    vertical-align: middle; /* Align icon vertically with text */
}
   
/* General Section Styling */
.legal-section {
    max-width: 90%;
    margin: 40px auto;
    padding: 30px 25px;
    background-color: #f9f9f9;
    border-left: 6px solid   #007b5e; /* Green left border */;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #333;
}

/* Section Headings */
.legal-section h2 {
    font-size: 26px;
    color: #444;
    margin-bottom: 15px;
    border-bottom: 2px solid #007b5e;
    padding-bottom: 5px;
}

/* Paragraph Styling */
.legal-section p {
    font-size: 16px;
    text-align: justify;
}

/* Highlight Important Text */
.legal-section strong {
    color: #000;
}

/* Links */
.legal-section a {
    color:  #007b5e;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-section {
        padding: 20px 15px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section p {
        font-size: 15px;
    }
}
 /* View on scroll animation styles */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    will-change: opacity, transform;
  }
  .animate-on-scroll.visible {
    opacity: 1;
    transform: none;
  }

  .why-choose-us {
        background: #f7f7f7;
        padding: 50px 0 30px 0;
        text-align: center;
      }
      .choose-us-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-top: 30px;
      }
      .choose-card {
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 16px rgba(0,0,0,0.07);
        padding: 30px 24px 20px 24px;
        max-width: 270px;
        flex: 1 1 220px;
        min-width: 220px;
        transition: box-shadow 0.3s;
      }
      .choose-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.13);
      }
      .choose-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
      }
      .faqs-section {
        background: #fff;
        padding: 50px 0 30px 0;
        text-align: center;
      }
      .faqs-container {
        max-width: 700px;
        margin: 0 auto;
        text-align: left;
      }
      .faq-item {
        margin-bottom: 18px;
        border-radius: 8px;
        background: #f7f7f7;
        box-shadow: 0 1px 6px rgba(0,0,0,0.04);
        overflow: hidden;
      }
      .faq-question {
        width: 100%;
        background: none;
        border: none;
        outline: none;
        font-size: 1.1rem;
        font-weight: 600;
        padding: 18px 20px;
        cursor: pointer;
        text-align: left;
        transition: background 0.2s;
      }
      .faq-question:hover {
        background: #e0e0e0;
      }
      .faq-answer {
        max-height: 0;
        overflow: hidden;
        background: #fff;
        padding: 0 20px;
        font-size: 1rem;
        color: #333;
        transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
      }