/* styles.css */
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styling */
body {
    font-family: 'Poppins', sans-serif; /* Modern font */
    background-color: white;
    margin: 0;
    padding: 0;
    text-align: center;
}


header {
  
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 100;
}

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



h1 {
    font-size: 22px;
   color: red;
    margin: 0;
    font-style: italic;
}
.logo img {
    height: 400px;
    width: auto;
    margin-top: 20px; /* Moves the logo up */
    margin-left: -900px; /* Moves the logo to the left */
}

.contact-info {
    position: relative;
    top: 90px; /* Moves it slightly further down */
    right: -600px; /* Moves it slightly further to the right */
    background: whitesmoke; /* Optional: Light background for better visibility */
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Soft shadow */
    font-size: 16px;
    color: #333;
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .contact-info {
        top: 10px;
        font-size: 20px;
        padding: 8px 15px;
    }
}


/* Navigation */
nav {
    margin-left: auto; /* Pushes the nav to the right */
    margin-right: -580px; /* Adjust the spacing as needed */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 50px; /* Increases spacing between menu items */
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: lighter;
    padding: 10px 20px; /* Adds padding inside menu items */
    transition: 0.3s;
}

nav ul li a:hover {
    background: rgb(177, 177, 59);
    border-radius: 5px;
}




h2 {
    font-size: 28px;
    color: #002d62;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    color: rgb(55, 84, 95);
    line-height: 1.6;
}

.hero {
   
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
   
    font-size: 28px;
    font-weight: bold;
}


/* Unique Styling for the Container Section */
.container {
    max-width: 1700px;
    margin: 0 auto; /* Centering horizontally */
    padding: 60px 20px;
    text-align: center;
    background: white;
    border-radius: 15px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    color: black; /* Ensures readability */
    animation: fadeIn 1s ease-in-out;
    position: relative; /* Keeps it aligned properly */
    top: 0;
}

/* Heading Styles */
.container h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: darkblue;
    letter-spacing: 1.5px;
}

/* Paragraph Styles */
.container p {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: black;
    font-style: normal;
}
/* Feature Section */
.features {
    display: flex;
    justify-content: space-between; /* Distributes items evenly */
    align-items: stretch; /* Ensures equal height */
    flex-wrap: nowrap; /* Prevents wrapping to a new line */
    gap: 20px; /* Adds spacing between feature boxes */
    margin-top: 30px;
    overflow-x: auto; /* Enables scrolling if necessary */
}

/* Feature Box */
.feature-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 30%; /* Ensures each box takes equal width */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px; /* Prevents shrinking */
}

/* Hover Effect */
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* Feature Image */
.feature-img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    transition: transform 0.3s ease;
}

/* Image Hover Effect */
.feature-box:hover .feature-img {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features {
        flex-wrap: wrap; /* Allows wrapping on smaller screens */
        justify-content: center; /* Centers items in smaller screens */
    }

    .feature-box {
        width: 45%; /* Adjusts width for medium screens */
    }
}

@media (max-width: 768px) {
    .features {
        flex-direction: column; /* Stacks items vertically on small screens */
        align-items: center;
    }

    .feature-box {
        width: 90%; /* Takes full width on smaller screens */
    }
}




/* Fade-In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Vision & Mission Section */
.vision-mission {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 30px;
    text-align: center;
    background: white; /* Dark blue gradient */
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}

/* Heading Styles */
.vision-mission h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: darkblue;
    letter-spacing: 1.5px;
}

/* Paragraph Styles */
.vision-mission p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: black;
    font-style: italic;
}

/* Highlighting Bold Text */
.vision-mission p strong {
    color: #00c8ff; /* Light blue highlight */
}



/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Footer Styling */
footer {
    background: black; /* Dark modern color */
    color: #ddd;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
    margin-top: 50px;
}

.footer-container p {
    margin: 5px 0;
    color: white;
}

.footer-container strong {
    color: whitesmoke; /* Highlighted text */
}

.service-category {
    display: flex;
    align-items: center; /* Aligns icon and text properly */
    justify-content: flex-start; /* Ensures proper spacing */
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #f9f9f9;
    text-align: left;
    gap: 130px; /* Adds spacing between icon and text */
}

.icon {
    flex-shrink: 0; /* Prevents icon from shrinking */
    margin-left: 100px;
}

.icon img {
    width: 170px; /* Adjust as needed */
    height: auto;
    transition: transform 0.3s ease;
}

.icon img:hover {
    transform: scale(1.1);
}

.content {
    flex: 1; /* Makes content take the remaining space */
}

.content h3 {
    font-size: 1.5em; /* Adjust heading size */
    color: #003366; /* Dark blue for professional look */
    font-weight: bold;
    margin-bottom: 10px;

}

.content p {
    font-size: 1.1em;
    color: #444; /* Dark gray for readability */
    line-height: 1.6;
}

.product-list {
    list-style: none;
    padding: 0;
    align-items: center;
}

.product-list li {
    font-size: 1em;
    color: #222; /* Slightly darker for contrast */
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.product-list li::before {
    content: "✔";
    color: #0088cc;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 8px;
}




/* Responsive Design Enhancements */
@media (max-width: 1024px) {
    .logo img {
        height: 250px;
        margin-left: 10px; /* Centers the logo */
        margin-top: 10px;
    }

    .contact-info {
        top: 20px;
        right: 0;
        width: 90%;
        margin: auto;
        text-align: center;
    }

    nav {
        margin-right: 0;
    }

    .service-category {
        gap: 50px;
    }

    .hero {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    .icon {
        flex-shrink: 0; /* Prevents icon from shrinking */
        margin-left: 100px;
        align-items: center;
       
    }

    .logo img {
        height: 350px;
        margin: 0 auto;
    }

    .contact-info {
        position: relative;
        top: 10px;
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

  

    .hero {
        font-size: 20px;
        height: auto;
        padding: 30px 10px;
    }

    .container {
        width: 95%;
        padding: 40px 15px;
    }

    .vision-mission {
        width: 95%;
        padding: 30px 15px;
    }

    .service-category {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 15px;
    }

    .icon img {
        width: 100px;
        align-items: center;
    }

    .feature-box {
        width: 90%;
        margin-bottom: 20px;
    }

    footer {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    .hero {
        font-size: 18px;
    }

    .feature-box {
        width: 100%;
    }

    .service-category {
        padding: 10px;
    }

    .icon img {
        width: 80px;
    }

    .content h3 {
        font-size: 1.2em;
    }

    .contact-info {
        font-size: 12px;
        padding: 8px;
    }

    nav ul {
        gap: 10px;
        font-size: large;
    }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: center; /* Center the navigation bar */
        width: 100%; /* Ensure full width */
    }

    nav ul {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center the items */
        text-align: center; /* Ensure text stays centered */
        gap: 15px; /* Reduce gap */
        padding: 0;
    }

    nav ul li {
        width: 100%; /* Ensure full width for better alignment */
    }

    nav ul li a {
        font-size: 28px; /* Adjust size for mobile */
        padding: 10px 15px;
        display: block; /* Make links fill the width */
        
    }
}
