/* General Reset */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #003566;
    line-height: 1.6;
}

/* Header Styling */
header {
    background: linear-gradient(90deg, #003566, #005792);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.main-logo {
    width: 400px;
    height: auto;
    margin-bottom: 20px;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-header {
    background-color: #ffcc00;
    color: #003566;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-header:hover {
    background-color: #003566;
    color: #ffcc00;
    transform: scale(1.1);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background-color: #ffcc00;
    color: #003566;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 25px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #003566;
    transition: all 0.3s;
}

.dropdown-content a:hover {
    background-color: #ffcc00;
    color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Hero Section */
.hero {
    background-color: #e6f4ff;
    text-align: center;
    padding: 80px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5rem;
    margin: 20px 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #003566;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #005792;
}

/* Section Styling */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.section h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.section-box {
    max-width: 800px;
    margin: 20px auto;
    background-color: #f2faff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	font-size: 1.1rem; /* Increased font size */
    line-height: 1.8;  /* Improved readability */
}
.section-box p {
    margin-bottom: 15px; /* Space between paragraphs */
}

/* Section Image */
.section-image {
    width: 80%;
    max-width: 500px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

/* Our Brands Section */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px; /* Spacing between items */
    justify-items: center; /* Center items in their grid cells */
    text-align: center;
}

.brand-card {
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    max-width: 250px;
    width: 100%; /* Ensures cards are evenly sized */
}

.brand-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.brand-card p {
    font-weight: bold;
    font-size: 1.1rem;
    color: #003566;
}

/* Contact Form */
.contact form {
    text-align: center;
}

.btn-submit {
    display: block;
    background-color: #003566;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    margin: 20px auto;
    font-size: 1.1rem;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #005792;
}

/* Projects and Customers */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.list-box {
    background-color: #f2faff;
    padding: 20px;
    border-radius: 8px;
    max-width: 900px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.list-item {
    background: #ffffff;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.marker {
    color: #003566;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #003566;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.footer-content h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffcc00;
}

.footer-address {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.footer-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-item p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

footer p {
    margin-top: 20px;
    font-size: 0.9rem;
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-logo {
        width: 200px;
    }

    .btn-header,
    .dropdown-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .list-item {
        font-size: 1rem;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-header,
    .dropdown-btn {
        width: 90%;
        text-align: center;
        font-size: 1rem;
        padding: 10px 20px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .list-item {
        font-size: 0.9rem;
        padding: 6px;
    }

    .marker {
        font-size: 1.2rem;
    }
	
	@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    }
}

@media (max-width: 480px) {
    .brand-grid {
        grid-template-columns: 1fr; /* Single column for mobile screens */
    }
}
}
