/* Google Font inclusion */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Updated font family */
}


header {
    background-color: #D3D3D3; /* Light gray background */
    color: black; /* Change text color if needed */
    height: 60px;
    display: flex;
    align-items: center;
    position: sticky; 
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5);
}


.logo img {
    height: 40px;
    margin-left: 10px;
    filter: brightness(150%); /* Adjust brightness */
}

.logo a img {
    height: 40px;
    margin-left: 10px;
    transition: transform 0.3s ease; /* Transition for smooth scaling */
}

.logo a:hover img {
    transform: scale(1.2); /* Enlarges the logo to 120% of its original size on hover */
}

#menu-icon {
    display: none;
    cursor: pointer;
    color: black; /* Ensuring the icon is visible */
}

nav {
    flex-grow: 1;
    text-align: center;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    font-family: 'Roboto', sans-serif; /* Set the font */
}

#menu li {
    padding: 10px 20px;
}

#menu li a {
    text-decoration: none;
    color: black; /* Set the color */
    transition: color 0.3s, transform 0.3s ease; /* Updated to include transform transitions */
    display: inline-block; /* Ensures transform properties are applied correctly */
}

#menu li a:hover {
    color: #1b25e3; /* Specific hover color */
    transform: scale(1.1); /* Slightly enlarge the text */
}

.auth a {
    color: black; /* Set authentication link colors */
    text-decoration: none;
    padding: 0 10px;
    display: inline-block;
}

.auth a:hover {
    color: #32e6b9; /* Adjust hover color if necessary */
    transform: scale(1.1); /* Slightly enlarge the text */
}

/* main {
    padding-top: 70px;
} */

@media (max-width: 768px) {
    #menu-icon {
        display: block;
        margin-right: 20px;
    }

    #menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #D3D3D3; /* Consistent background color for mobile */
    }

    #menu li {
        text-align: center;
        width: 100%;
    }
    .hero {
        margin-right: 10px;
        margin-left: 10px;
    }
}

/* Hero Section Styles  */

html,
body,
canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-contain: strict;
    -moz-contain: strict;
    -ms-contain: strict;
    -o-contain: strict;
    contain: strict;
}

/* html {
    overflow: hidden;
} */

body {
    margin: 0;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    -ms-overflow-style: ms-autohiding-scrollbar;
}

.credits {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    font-size: 130%;
    text-align: center;
    width: 100%;
    padding: 2rem 0.2rem 2rem;
}

.credits a {
    display: inline-block;
    color: #3bb1bc;
    font-family: Arial, sans-serif;
    line-height: 1.5em;
    text-decoration: none !important;
    white-space: nowrap;
    margin: 0 1.2em;
    padding: 0.6em 0;
    transition: color 200ms;
}

.credits a:hover {
    color: #000;
    cursor: pointer;
}

.credits-logo {
    fill: currentColor;
    display: inline-block;
    vertical-align: bottom;
    width: 1.6em;
    height: 1.6em;
    margin: 0 0.5em 0 0;
}

.hero {
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    position: relative;
    height: 400px;
    overflow: hidden;
    justify-content: center;
    text-align: center;
    border-radius: 25px;
    background: linear-gradient(135deg, #5f5f5f 0%, #46484c 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #00FFFF;
    text-align: center;
    padding: 0; /* Removed padding to allow true centering */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* This should vertically and horizontally center your content */
}

.content {
    transition: opacity 1s ease-in-out;
    width: 100%; /* Full width of the parent */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; /* Start at the top of the parent */
    left: 0; /* Align to the left */
    right: 0; /* Stretch to the right */
    bottom: 0; /* Stretch to the bottom */
    margin: 0; /* No margins */
}

.content h1 {
    font-size: 40px;
    text-align: center;
    color: #14dbd7;
}

.content p {
    color: #D3D3D3;
}

.highlight {
    color: #FFFFFF;
}

.ro {
    color: #FF5733;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #218838;
}

/* Hero section style ends */

/* About Section Starts */

.section {
    padding: 20px;
    text-align: left; /* Align text to the left for better readability */
    background-color: white;
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* border: 2px solid black; */
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .section {
        margin: 10px;
        padding: 15px;
    }

    .section h2 {
        font-size: 24px;
        text-align: center;
        justify-content: center;
    }

    .section h3 {
        font-size: 20px;
    }

    .section p, .section ul li {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .section h2, .section h3 {
        font-size: 18px;
    }

    .section p, .section ul li {
        font-size: 12px;
    }
}

/* General heading styles */
.section h2 {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
}

.section h3 {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    justify-content: center;
}

/* Paragraph styling */
.section p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 15px;
}

/* List styling */
.section ul {
    margin: 10px 0 20px 20px; /* Adds space around the list */
}

.section ul li {
    line-height: 1.5;
    list-style-type: square; /* Adds square bullets to list items */
}

/* Section Ends */


/* Base styling for services section */
/* Services section styling */
.services {

    padding: 20px;
    text-align: center;
    background-color: white;
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid black;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service {
    background: #f4f4f4;
    padding: 10px;
    width: 30%;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid black; 
    margin-bottom: 20px;
    margin-top: 10px;
    margin-right: auto;
}

/* Centered heading across the site */
.centered-heading {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 30px; /* More space below the heading */
}
.services h2 {
    color: #2a2a2a; /* Dark grey color for titles */
    margin-top: 0;
    font-size: 22px; /* Larger font size for headings */
    text-align: center;
    justify-content: center;
    margin-right: 1000px;
}

.service h3 {
    color: #2a2a2a; /* Dark grey color for titles */
    margin-top: 0;
    font-size: 22px; /* Larger font size for headings */
}

.service p {
    font-size: 16px; /* Standard font size for body text */
    color: #666; /* Lighter text color for readability */
    line-height: 1.6; /* Improved line height for better readability */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .services {
        flex-direction: column;
    }

    .service {
        flex: 1 1 100%; /* Each service card takes full width on smaller screens */
    }
}

/* Enhancing visual hierarchy and readability */
.service h3 {
    font-size: 20px;
    font-weight: bold;
    color: #2A4D69;
}

.services h2 {
    color: #333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
}

.service p {
    font-size: 16px;
    color: #4E4E50;
    margin-top: 10px;
}

/* Additional hover effects to add interactivity */
.service:hover {
    border-color: #2A4D69;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    transition: all 0.3s ease-in-out;
}

/* Styling for accessibility */
.service:focus-within {
    border-color: #2A4D69;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Adding subtle animations to enhance user experience */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service {
    animation: fadeIn 0.3s ease-out forwards;
}


/* Contact */

.content {
    flex: 1 0 auto; /* Content takes necessary space and pushes footer down */
}

.footer {
    flex-shrink: 0; /* Footer will not shrink */
    position: relative; /* Adjusted from fixed to relative */
    width: 100%; /* Full width */
    background-color: #6a11cb;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-top: 2px solid black;
}

.section#contact {
    background-color: #f0f2f5; /* Light grey background for better contrast */
    padding: 20px;
    text-align: left; /* Align text to the left for better readability */
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid black;
}

.section#contact h2 {
    color: #333;
    font-size: 28px; /* Larger font size for the heading */
    margin-bottom: 15px;
}

.section#contact p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px; /* Add space before the list */
}

.section#contact ul {
    list-style: none; /* Removes bullet points */
    padding: 0;
}

.section#contact ul li {
    margin-bottom: 5px; /* Space between list items */
    font-size: 16px; /* Uniform font size */
}

.whatsapp-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #25D366; /* WhatsApp brand color */
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px; /* Space from the last contact detail */
    transition: background-color 0.3s;
}

.whatsapp-button:hover {
    background-color: #1da851; /* Slightly darker on hover */
}