/* Global Styles */
* {
    box-sizing: border-box; /* Ensure padding and borders are included in width/height */
}

body {
    margin: 0; /* Remove default margin */
    font-family: Arial, sans-serif;
    line-height: 1.6; /* Improved line spacing for readability */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Header Styles */
.header {
    position: sticky; /* Makes the header sticky */
    top: 0; /* Sticks the header to the top */
    width: 100%; /* Full width */
    background: white; /* Solid white background */
    z-index: 1000; /* Ensures the header stays above other content */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* Increased padding for better spacing */
}

.logo {
    font-size: 1.8em; /* Increased logo font size */
    font-weight: bold; /* Bold text for logo */
    line-height: 0; /* remove the line height to make the alignment center */
}

.logo>img {
    height: 44px;
    width: auto;
}

/* Navigation Styles */
.nav {
    display: flex; /* Set to flex to align items */
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Center items vertically */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

.nav li {
    list-style: none; /* Remove bullet points */
    margin-left: 20px; /* Space between navigation items */
    position: relative; /* For dropdown positioning */
}

.nav a {
    text-decoration: none; /* Remove underline */
    color: #673ab7; /* Dark gray color for text */
    padding: 10px 15px; /* Padding for clickable area */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.nav a:hover {
    background-color: #673ab7; /* Change background on hover */
    color: white; /* Change text color on hover */
}

.nav a.active {
    background-color: #673ab7; /* Highlight for active link */
    color: white; /* Keep text white for visibility */
}

/* Hamburger Menu Styles */
.hamburger {
    display: none; /* Hide hamburger icon on larger screens */
    font-size: 1.5em; /* Increase size for better visibility */
    cursor: pointer; /* Pointer cursor for clickability */
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav {
        display: none; /* Hide nav by default on mobile */
        flex-direction: column; /* Stack menu items vertically */
        position: absolute; /* Position absolutely */
        top: 60px; /* Below the header */
        right: 0;
        background: white; /* White background */
        width: 100%; /* Full width */
        z-index: 999; /* Ensure visibility */
        overflow: hidden; /* Prevent overflow */
        max-height: 0; /* Initially hidden */
        opacity: 0; /* Initially hidden */
        transition: max-height 0.5s ease, opacity 0.5s ease; /* Smooth transition */
    }

    .nav.active {
        display: flex; /* Show nav when active */
        max-height: 300px; /* Set maximum height when active */
        opacity: 1; /* Show opacity */
    }

    .nav li {
        width: 100%; /* Full width for items */
        text-align: left; /* Align text to the left */
    }

    .nav a {
        padding: 15px; /* Padding for mobile */
        display: block; /* Makes links fill the width */
        border-bottom: 1px solid #ccc; /* Border for separation */
        margin-right: 20px; /* space in right corner */
    }

    .nav a:last-child {
        border-bottom: none; /* Remove border from last item */
    }

    .hamburger {
        display: flex; /* Show hamburger in mobile view */
        cursor: pointer; /* Pointer on hover */
        transition: transform 0.3s ease; /* Add transition for hamburger icon */
    }

    .hamburger.active {
        transform: rotate(90deg); /* Rotate when active */
    }
}


/* Banner Styles */
.banner {
    height: 100vh; /* Full viewport height */
    background: url('../images/banner.jpg') center center/cover no-repeat; /* Background image */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text */
    color: white; /* White text color */
}

.banner-content {
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent background for text */
    padding: 20px; /* Padding around the content */
    border-radius: 8px; /* Rounded corners */
}

.banner h1 {
    font-size: 2.5em; /* Adjust the font size */
    margin-bottom: 10px; /* Space between heading and tagline */
}

.banner p {
    font-size: 1.2em; /* Adjust the tagline font size */
}

.reach-us-button {
    display: inline-block; /* Make the link behave like a button */
    background-color: #673ab7; /* Button background color */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding around the text */
    font-size: 1.1em; /* Font size */
    text-decoration: none; /* Remove underline */
    border-radius: 5px; /* Rounded corners */
    margin-top: 20px; /* Space above the button */
    transition: background-color 0.3s; /* Smooth background color transition */
}

.reach-us-button:hover {
    background-color: #4e209f; /* Darker shade on hover */
}

/* about us  */
#about-us {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 60px 20px; /* Padding around the section */
    text-align: center; /* Center-align text */
}

.about-content {
    display: flex; /* Flexbox for horizontal layout */
    flex-wrap: wrap; /* Wrap items on smaller screens */
    justify-content: center; /* Center items */
    align-items: center; /* Align items vertically */
    margin-bottom: 40px; /* Space below the content */
}

.about-text {
    flex: 1; /* Take available space */
    padding: 20px; /* Padding around text */
    max-width: 500px; /* Limit width of text */
}

.about-image {
    flex: 1; /* Take available space */
    max-width: 500px; /* Limit width of image */
    margin: 20px; /* Margin for spacing */
}

.about-image img {
    width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Shadow effect */
}

/* Media query for small devices */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack elements vertically */
    }
    
    .about-text, .about-image {
        max-width: 100%; /* Full width on small devices */
    }
    
    .about-image {
        margin: 0; /* Remove margin on small devices */
    }

    h2 {
        font-size: 1.8rem; /* Smaller heading for mobile */
    }

    p {
        font-size: 0.9rem; /* Smaller text for better readability */
    }
}

.core-values {
    background-color: #ffffff; /* White background for contrast */
    padding: 40px 20px; /* Padding around the section */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Shadow for depth */
    margin-top: 40px; /* Space above core values */
}

.core-values h3 {
    margin-bottom: 30px; /* Space below heading */
    font-size: 2rem; /* Size of the core values heading */
    color: #333; /* Dark color for readability */
}

.values {
    display: flex; /* Flexbox for core values layout */
    justify-content: center; /* Center values */
    flex-wrap: wrap; /* Wrap values on smaller screens */
}

.value {
    background-color: #fff; /* Light blue background for each value */
    border: 1px solid #673ab7; /* Border to highlight */
    border-radius: 8px; /* Rounded corners */
    margin: 15px; /* Margin around each value */
    padding: 20px; /* Padding inside value boxes */
    flex: 1 1 200px; /* Allow flex items to grow and shrink */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
}

.value:hover {
    transform: scale(1.05); /* Scale up on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.value i {
    font-size: 50px; /* Larger icon size */
    color: #673ab7; /* Color for icons */
    margin-bottom: 15px; /* Space below icons */
}

.value h4 {
    font-size: 1.5rem; /* Size of core value headings */
    margin: 10px 0; /* Margin above and below heading */
    color: #673ab7; /* Color for headings */
}

.value p {
    font-size: 1rem; /* Size of core value text */
    color: #555; /* Slightly lighter color for paragraph text */
    text-align: center; /* Center text */
}

/* what we do style  */
#what-we-do {
    background-color: #f9f9f9; /* Light grey background */
    padding: 60px 20px; /* Section padding */
    text-align: center; /* Center text */
}

.services-content {
    display: flex; /* Flexbox layout */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
}

.service {
    display: flex; /* Flex for alignment */
    align-items: center; /* Center items vertically */
    margin: 40px 0; /* Space between services */
    max-width: 1200px; /* Maximum width for the section */
    width: 100%; /* Full width of container */
    padding: 0 20px; /* Horizontal padding */
}

.service-image {
    flex: 1; /* Image takes one part of the flex */
    margin: 20px; /* Margin around image */
}

.service-image img {
    width: 100%; /* Full width of the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
}

.service-description {
    flex: 2; /* Description takes two parts of the flex */
    padding: 20px; /* Padding around text */
}

.service h3 {
    font-size: 1.5rem; /* Heading size */
    margin: 0; /* Remove default margin */
    color: #333; /* Darker heading color */
}

.service p {
    font-size: 1rem; /* Paragraph size */
    color: #555; /* Lighter paragraph color */
}

/* Media query for small devices */
@media (max-width: 768px) {
    .service {
        flex-direction: column; /* Stack vertically on small screens */
        text-align: center; /* Center align text */
    }

    .service-image {
        margin: 0; /* Remove margins on small screens */
        margin-bottom: 20px; /* Space below image */
    }

    .service-description {
        padding: 10px; /* Less padding on smaller screens */
    }
}

/* reach us  */
#reach-us {
    background-color: #f4f4f4; /* Light grey background */
    padding: 80px 20px; /* Section padding */
    text-align: center; /* Center text */
}

.reach-us-content {
    display: flex; /* Flexbox layout */
    justify-content: center; /* Center the form */
    align-items: center; /* Align items in center */
    flex-direction: column; /* Stack items vertically */
    max-width: 600px; /* Max width for the form container */
    margin: 0 auto; /* Center the content */
}

.contact-form {
    padding: 20px; /* Padding */
    width: 100%; /* Full width */
}

.contact-form h3 {
    margin-bottom: 20px; /* Space below heading */
}

.contact-form input,
.contact-form textarea {
    width: 100%; /* Full width */
    padding: 10px; /* Padding */
    margin: 10px 0; /* Space between inputs */
    border: 1px solid #ccc; /* Border */
    border-radius: 5px; /* Rounded corners */
}

.contact-form button {
    background-color: #673ab7; /* Button color */
    color: white; /* Button text color */
    padding: 10px; /* Padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
}

.contact-form button:hover {
    background-color: #4e209f; /* Darker button on hover */
}

/* Media query for small devices */
@media (max-width: 768px) {
    .reach-us-content {
        width: 90%; /* Adjust width on small screens */
        padding-bottom: 10px;
    }
}

/* footer */
footer {
    background-color: #673ab7; /* Dark background */
    color: white; /* White text */
    text-align: center; /* Center text */
    padding: 5px 20px; /* Reduced padding for height */
}

.footer-content {
    max-width: 1200px; /* Max width for footer content */
    margin: 0 auto; /* Center footer content */
}

.footer-info {
    margin: 0; /* Remove margin for compactness */
    font-size: 12px; /* Set smaller font size */
}

/* Section Styles */
.about-us, .what-we-do, .reach-us {
    padding: 50px 20px; /* Padding for sections */
    text-align: center; /* Center text */
    background-color: #f9f9f9; /* Light gray background for sections */
    border-bottom: 1px solid #ccc; /* Bottom border for separation */
}

h2 {
    font-size: 2em; /* Section heading size */
    margin-bottom: 20px; /* Space below heading */
}

ul {
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
}

.success-message {
    display: none; /* Hide by default */
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Green border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px; /* Padding */
    margin: 20px 0; /* Space around the message */
    font-size: 1rem; /* Font size */
    text-align: center; /* Center the text */
    animation: fadeIn 0.5s ease-in; /* Add a fade-in effect */
}

/* Animation for fading in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.btn-submit{
    margin-top: 20px;
}

a {
    color: #ffd740;
    text-decoration: none;
    font-weight: bolder;
}

input:focus, textarea:focus {
    outline: none !important;
    border:2px solid #673ab7;
}