*{
    scroll-behavior: smooth;
}

/* Logo */
.company-logo {
    height: 60px;        /* Adjust size as needed */
    width: auto;
    object-fit: contain;
    margin: 0 0 0 0px;
  }
  .company-name{
    font-size: 1.5rem;
    color: white;
    margin-left: 0px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
  }
  
/* *********************************************************************************************************************************** */
/* General Styling */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    /* background-color: #ba3232; */
    /* background: linear-gradient(to right, #d15d5d, #1681ce); */
    background-color: #6fa0b0 ;
    background-size: cover; /* Ensure the background covers the whole page */
    background-attachment: fixed; /* Keep the background fixed during scroll */
    color: #333;
    padding-top: 90px; /* Adjust based on the height of your header */
}

 section {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 40px 20px;
    border-radius: 0;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.3);
    color: rgb(88, 70, 70);

}

/* **************************************************************************************************************************************** */

/* Header Section */
header {
    background-color: hsl(0, 5%, 30%);
    color: #ffffff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: top 0.4s ease-in-out;
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

header h1 {
    margin: 0;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center; 
    gap: 15px;
}

header nav ul li {
    margin: 0;
}

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

header nav ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* WhatsApp Button */
 .contact-us-button {
      padding: 12px 24px;
      background-color: #25D366;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: Arial, sans-serif;
    }
    .whatsapp-button img {
      width: 24px; /* Adjust size as needed */
      height: 24px;
    }
    .whatsapp-button span {
      font-weight: bold;
    }   
    
    .whatsapp-button:hover {
      transform: scale(1.1);
    }

/* *********************************************************************************************************************************** */
    /* Home Hero Section */
    #home {
    background: linear-gradient(to right, #328d9f, #7a6b28);
    color: white;
    padding: 80px 20px;
    box-sizing: border-box;
    }

    .home-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    }

    .home-left {
    flex: 1 1 500px;
    }

    .home-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    }

    .home-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    }

    .home-btn {
    display: inline-block;
    background-color: white;
    color: #0f66dd;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
    margin-bottom: 40px;
    }

    .home-btn:hover {
    background-color: #f1f1f1;
    }

    .home-features {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    }

    .feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    max-width: 200px;
    }

    .feature-box i {
    font-size: 28px;
    }

    .feature-box h4 {
    font-size: 1.2rem;
    margin: 0;
    }

    .feature-box p {
    margin: 0;
    font-size: 0.9rem;
    }

    .home-right {
    flex: 1 1 400px;
    position: relative;
    }

    .home-right img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .caption {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 0.9rem;
    max-width: 95%;
    }

    .caption small {
    display: block;
    font-size: 0.8rem;
    margin-top: 4px;
    }



/* *********************************************************************************************************************************** */

    /* Service Section */
    #services {
        padding: 60px;
        background-color: #ffffffb4;
    }

    #services h2 {
        text-align: center;
        margin-bottom: 40px;
        font-size: 2.5rem;
    }


    .service-slider {
        display: flex;
        gap: 10px;
        overflow-x: scroll;
    }
    
    .service-card {
        background-color: #f0f0f0;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        transition: transform 0.3s;
    }

    .service-card-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    }

    .service-card-link:hover {
    color: inherit;
    }

    /* Service Images */
    .service-card img {
        width: 100px; 
        height: 100px; 
        object-fit: cover; 
        margin-bottom: 20px;
    }


    .service-card h3 {
        margin-bottom: 10px;
    }

    .service-card:hover {
        transform: translateY(-10px);
    }



/* *********************************************************************************************************************************** */

    /* Hero Section  */
    #hero {
        display: flex;
        justify-content: center;
        align-items: center;
        color: rgb(20, 18, 18);
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    button {
        padding: 10px 20px;
        background-color: #ff5e00;
        border: none;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    button:hover {
        background-color: #ff793f;
    }


/* *********************************************************************************************************************************** */
    /* Client Logos Section */
    .clients-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.clients-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
}

.client-row {
    display: flex;
    justify-content: center;
}

.logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
}

.client-row img {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    transition: filter 0.3s;
}




/* *********************************************************************************************************************************** */

    /* Reviews Section */
    #reviews {
        background-color: #333;
        color: white;
        padding: 60px;
        text-align: center;
    }

    .review-slider {
        display: flex;
        gap: 10px;
        overflow-x: scroll;
    }

    .review {
        background-color: #444;
        padding: 20px;
        border-radius: 10px;
        min-width: 300px;
    }

    .review h4 {
        margin-top: 10px;
    }

    .review img.review-photo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #f06b0b;
        margin-bottom: 10px;
    }

    .review p {
        font-style: italic;
        color: #ccc;
        margin-bottom: 10px;
    }   
    .review .rating {
        color: #f5d87c;
        font-size: 1.2rem;
    }





/* *********************************************************************************************************************************** */

    /* About Us Section */
    #about-us {
    background-color: #f5f5f5;
    padding: 60px 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    }

    .about-intro {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
    }

    .about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    }

    .about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    }

    .about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 40px 0;
    }

    .about-card {
    background-color: rgb(255, 255, 255);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    }

    .about-card:hover {
    transform: translateY(-5px);
    }

    .icon-circle {
    width: 60px;
    height: 60px;
    background-color: #204291;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    margin: 0 auto 16px;
    }

    .about-card h2 {
    color: #f06b0b;
    font-size: 2rem;
    margin-bottom: 8px;
    }

    .about-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    }

    .about-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    }

    .chairman-section {
    background-color: #f8f9fccc;
    padding: 60px 20px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    }

    .chairman-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f5d87c;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .chairman-info h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    }

    .chairman-info .role {
    font-size: 1rem;
    color: #888;
    margin-bottom: 20px;
    }

    .chairman-info .bio {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #444;
    }

    .chairman-info blockquote {
    font-style: italic;
    color: #222;
    font-size: 1.1rem;
    margin-top: 20px;
    border-left: 4px solid #f5d87c;
    padding-left: 15px;
    }


    /* Director Layout */
    .director-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 60px;
    gap: 30px;
    }

    .director-row.reverse {
    flex-direction: row-reverse;
    }

    .director-image {
    flex: 1 1 40%;
    text-align: center;
    }

    .director-image img {
    width: 100%;
    max-width: 400px;
    height: 280px; /* Shortened height */
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .director-info {
    flex: 1 1 55%;
    padding: 0 10px;
    }

    .director-info h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    }

    .director-info .role {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
    }

    .director-info .bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    }

    .director-info blockquote {
    font-style: italic;
    color: #559cd6;
    font-size: 1.1rem;
    border-left: 4px solid #25D366;
    padding-left: 15px;
    }


/* *********************************************************************************************************************************** */

    /* Blog Section */
    #blog {
        padding: 60px;
        background-color: #fff;
    }

    #blog h2{
        text-align: center;
        margin-bottom: 40px;
        font-size: 2.5rem;
    }

    #blog h5 {
        color: #7e736f;
        text-align: center;
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    #blog h6 {
        color: #7e736f;
        text-align: center;
        margin-bottom: 30px;
        font-size: 1.2rem;
    }

    #blog article {
        margin-bottom: 40px;
    }

    #blog h3 {
        margin-bottom: 10px;
    }


    .blog-post {
        margin-bottom: 20px;
    }

    .blog-preview {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .blog-full-content {
        display: none;
        margin-top: 10px;
    }

    .read-more {
        color: #ff5e00;
        text-decoration: none;
        font-weight: bold;
        cursor: pointer;
        display: block;
        margin-top: 10px;
    }

    .read-more:hover {
        color: #ff793f;
    }

/* *********************************************************************************************************************************** */

    /* Thank You Section */
    #thank-you {
        background-color: #f4f4f4;
        padding: 60px;
        text-align: center;
    }

    .thank-you h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .thank-you p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }

    .thank-you .cta-button {
        background-color: #ff5e00;
        color: #fff;
        padding: 10px 20px;
        text-decoration: none;
        border-radius: 5px;
        font-size: 1rem;
        transition: background-color 0.3s;
    }

    .thank-you .cta-button:hover {
        background-color: #ff793f;
    }

/* *********************************************************************************************************************************** */

    /* Footer */
    .unified-footer {
    background-color: #0d131e;
    color: #ccc;
    padding: 50px 20px 20px;
    }

    .footer-container {
    max-width: 1200px;
    margin: auto;
    }

    /* Contact Cards */
    .footer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    }

    .footer-card {
    background-color: #1c2431;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .footer-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    }

    .footer-card a {
    color: #4da6ff;
    text-decoration: none;
    }

    .footer-card .emergency {
    color: #00e676;
    font-weight: bold;
    }

    .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    margin-bottom: 10px;
    }

    .blue { background-color: #2962ff; }
    .red { background-color: #e53935; }
    .purple { background-color: #8e24aa; }
    .green { background-color: #00c853; }

    /* Footer Grid */
    .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    }

    .footer-logo {
    height: 40px;
    margin-bottom: 15px;
    }

    .footer-col h4 {
    color: white;
    margin-bottom: 15px;
    }

    .footer-col ul {
    list-style: none;
    padding: 0;
    }

    .footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    }

    .footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    }

    .footer-col ul li a:hover {
    color: #fff;
    }

    .social-icons a {
    color: #ccc;
    margin-right: 10px;
    font-size: 18px;
    transition: 0.3s;
    }

    .social-icons a:hover {
    color: white;
    }

    /* Bottom */
    .footer-bottom {
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    color: #888;
    }

    .footer-bottom-links a {
    color: #888;
    margin-left: 15px;
    text-decoration: none;
    }

    .footer-bottom-links a:hover {
    color: #fff;
    }


/* *********************************************************************************************************************************** */

    /* Hamburger Menu Styling */
    .hamburger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

      /* Hamburger animation when active */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }


/* *********************************************************************************************************************************** */

    /* Modal Styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 30px;
        width: 100%;
        height: 70%;
        overflow: auto;
        pointer-events: auto;
        
    }

    .modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #ddd;
        width: 90%;
        max-width: 600px;
        border-radius: 8px;
        position: relative;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        background-color: whitesmoke;
        z-index: 1001; /* Ensure modal content is above other elements */
    }


    .close {
        color: #aaa;
        float: right;
        font-size: 24px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    /* Form Styles */

    .form-appear {
        animation: slideDown 0.5s forwards;
    }

    @keyframes slideDown {
        from {
            transform: translateY(-100%); /* Start from above the viewport */
            opacity: 0; /* Start invisible */
        }
        to {
            transform: translateY(0); /* End at the normal position */
            opacity: 1; /* End visible */
        }
    }


    #bookingForm {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 15px;
    }

    .form-group label {
        font-weight: 600;
        margin-bottom: 5px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group textarea {
        resize: vertical;
    }

    #bookingForm input[type="submit"] {
        padding: 12px;
        background-color: #ff5e00;
        border: none;
        color: #fff;
        cursor: pointer;
        font-size: 1rem;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    #bookingForm input[type="submit"]:hover {
        background-color: #ff793f;
    }


/* *********************************************************************************************************************************** */

    /* responsive menu for mobile view  */

    @media (max-width: 480px) {
        /* General section styles */
        section {
            margin-top: 5px; /* Reduced margin for smaller screens */
            margin-bottom: 5px; /* Reduced margin for smaller screens */
            padding: 15px; /* Adjusted padding for smaller screens */
            width: 100%; /* Ensure all sections fit within the viewport */
            box-sizing: border-box; /* Include padding in width calculation */
        }

        /* Specific adjustments for each section */
        #about {
            padding: 20px;  /* Padding for the about section */
        }

        #services {
            padding: 20px; /* Padding for services section */
            background-color: #ffffffb4; /* Retain background color */
        }

        #blog {
            padding: 20px; /* Padding for blog section */
        }

        #reviews {
            padding: 20px; /* Padding for reviews section */
        }

        #thank-you {
            padding: 20px; /* Padding for thank-you section */
        }

        /* Font sizes for better readability */
        #about h2,
        #services h2,
        #blog h2,
        #reviews h2,
        #thank-you h2 {
            font-size: 1.8rem; /* Adjust heading size for mobile */
        }

        #about p,
        #services p,
        #blog p,
        #reviews p,
        #thank-you p {
            font-size: 1rem;  /* Adjust paragraph font size */
            line-height: 1.4; /* Better line spacing for mobile */
        }

        .blog-preview {
            white-space: wrap; 
        }

        .modal-content {
            width: 60%; /* Take 60% of the screen width */
            margin: 20% auto; /* 20% margin from both sides */
        }

        .chairman-image img {
            width: 100px;
            height: 100px;
        }

        .chairman-info h3 {
            font-size: 1.2rem;
        }

        .chairman-info .role {
            font-size: 0.9rem;
        }

        .chairman-info .bio,
        .chairman-info blockquote {
            font-size: 0.9rem;
        }

        .director-row,
        .director-row.reverse {
            flex-direction: column;
        }

        .director-info,
        .director-image {
            flex: 1 1 100%;
            text-align: center;
        }

        .director-info {
            padding: 0;
        }

        .director-info blockquote {
            border-left: none;
            padding-left: 0;
        }

        .director-image img {
            max-width: 100%;
            height: auto;
        }

        .blog-preview {
            white-space: wrap; 
            }

        .modal-content {
            width: 60%; /* Take 60% of the screen width */
            margin: 20% auto; /* 20% margin from both sides */
        }

            
        /* Reduce padding on mobile */
        .unified-footer {
            padding: 40px 15px 15px;
        }

        /* Stack cards vertically */
        .footer-cards {
            grid-template-columns: 1fr;
        }

        .footer-card {
            padding: 16px;
        }

        .home-container {
            flex-direction: column;
            }

        .home-left h1 {
            font-size: 2rem;
        }

        .feature-box {
            max-width: 100%;
        }

        /* Stack footer grid vertically */
        .footer-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .footer-col {
            text-align: left;
        }

        .footer-logo {
            height: 36px;
        }

        .footer-bottom {
            flex-direction: column;
            gap: 10px;
            text-align: center;
        }

        .footer-bottom-links {
            margin-top: 10px;
        }

        .footer-bottom-links a {
            display: inline-block;
            margin: 0 8px;
                }

        .social-icons {
            margin-top: 10px;
        }
        .logos {
            gap: 20px;
            animation-duration: 30s;
        }

        .client-row img {
            width: 70px;
        }

        .clients-section {
            padding: 40px 10px;
        }

        .clients-section h2 {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }


    }


/* *********************************************************************************************************************************** */    

/* responsive menu for tablet view  */

    @media (max-width: 768px) {
        
        header .container {
            justify-content: space-between;
        }

        header h1{
            margin-left: 20px;
        }

        .bg_image {
            background: url('./images/Home-Image-Mobile.jpeg') no-repeat center center/cover;
        }

        header nav ul {
            flex-direction: column;
            background-color: #333;
            position: absolute;
            top: 60px;
            right: -200px; /* Start off-screen to the right */
            width: 200px;
            height: calc(100vh - 60px);
            margin: 0;
            padding: 20px;
            display: flex; /* Use flex to align items */
            opacity: 0; /* Start with opacity 0 */
            transform: translateY(-20px); /* Slide in effect */
            transition: right 0.3s ease, opacity 0.3s ease; /* Smooth transition */
        }
        
        nav.active ul {
            right: 0; /* Slide in to position */
            opacity: 1; /* Fade in */
            transform: translateY(0); /* Move to original position */
        }

        header nav ul li {
            margin: 20px 0;
        }

        .hamburger {
            display: flex;
        }

        section {
            margin-top: 5px; /* Uniform margin for all sections */
            margin-bottom: 5px; /* Uniform margin for all sections */
            padding: 15px; /* Reduced padding for smaller screens */
            width: 100%; /* Ensure all sections fit within the viewport */
            box-sizing: border-box; /* Include padding in width calculation */
            max-width: 1200px; 
            border-radius: 8px;
            color: rgb(0, 0, 0);
            background-color: #ffe0b2;
        }

        .chairman-section {
            padding: 40px 15px;
        }

        .chairman-image img {
            width: 130px;
            height: 130px;
        }

        .chairman-info h3 {
            font-size: 1.4rem;
        }

        .chairman-info .bio {
            font-size: 0.95rem;
            padding: 0 10px;
        }

        .chairman-info blockquote {
            font-size: 1rem;
            padding-left: 12px;
        }

      .logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        }

        .client-row img {
            height: 60px;
        }

        .clients-section h2 {
            font-size: 1.5rem;
        }
    }
