/* Styling for the tagline under the logo */
header small {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Adjusting the main container for better text readability */
.container p {
    margin-bottom: 20px;
}

/* Specific styling for the cards on the homepage */
.card h4 {
    margin-top: 0;
    font-size: 1.2rem;
    border-bottom: 2px solid #f6b024;
    display: inline-block;
    padding-bottom: 5px;
}
/* Banner Section Styling */
.banner-container {
    width: 100%;
    overflow: hidden; /* Ensures no scrollbars if image is too wide */
}

.banner-image {
    width: 100%;
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes default bottom margin of images */
    object-fit: cover; /* Ensures image covers the container */
    max-height: 500px; /* Optional: Limits banner height on large screens */
}

/* Brand Name Styling */
.brand-name {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 15px; /* Space between logo and text */
    letter-spacing: 1px;
    white-space: nowrap; /* Prevents text from wrapping on small screens */
}

/* Ensure logo doesn't get too big */
.logo-img {
    height: 45px;
    width: auto;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .brand-name {
        font-size: 1.1rem; /* Shrink text slightly on very small phones */
        margin-left: 10px;
    }
    .logo-img {
        height: 35px;
    }
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Adjust height as needed */
    width: auto;
    display: block;
}

/* Update Header to accommodate the logo */
header {
    background: #1a365d; /* Darker blue to match your logo text */
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Update accents to match the gold/yellow in your logo */
.btn, nav a:hover {
    background-color: #f6b024; /* Gold color from your logo */
    color: #fff;
}
input:focus, textarea:focus {
    outline: none;
    border: 2px solid #3498db;
    background-color: #f7fbff;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increased from 20px to 40px for more air */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px; /* Adds clickable area inside the link */
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Ensure the mobile menu still looks good */
@media (max-width: 768px) {
    nav {
        gap: 10px; /* Closer together on mobile to save vertical space */
        padding: 20px 0;
    }
    
    nav a {
        width: 100%; /* Links take full width on mobile for easier tapping */
        padding: 15px 0;
    }
}

/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }

/* Header & Navigation */
header {
    background: #1a365d;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container a { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 45px; width: auto; }
.brand-name { color: white; font-size: 1.4rem; font-weight: bold; margin-left: 12px; }

nav { display: flex; gap: 30px; align-items: center; }
nav a { color: white; text-decoration: none; font-weight: 500; transition: 0.3s; padding: 5px 0; }
nav a:hover { color: #f6b024; border-bottom: 2px solid #f6b024; }

/* Responsive Menu Toggle */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.menu-toggle span { width: 25px; height: 3px; background: white; transition: 0.3s; }

/* Banner */
.banner-container { width: 100%; height: auto; background: #000; }
.banner-image { width: 100%; height: auto; display: block; object-fit: cover; }

/* Main Content Containers */
.container { width: 90%; max-width: 1200px; margin: auto; padding: 3rem 0; }

/* Grid System (Responsive) */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 2rem;
}

.card { 
    background: #fff; border: 1px solid #eee; padding: 2rem; 
    border-radius: 10px; text-align: center; transition: 0.3s; 
}
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

/* Buttons */
.btn { 
    background: #f6b024; color: white; padding: 12px 30px; 
    text-decoration: none; border-radius: 5px; display: inline-block; font-weight: bold; 
}

/* Footer */
footer { background: #1a365d; color: white; text-align: center; padding: 2rem 0; margin-top: 3rem; }

/* MOBILE RESPONSIVE QUERIES */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    nav {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a365d;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid #2a4a7d;
    }

    nav.active { display: flex; }

    .brand-name { font-size: 1.1rem; }
    .container { padding: 2rem 0; }
    h1 { font-size: 1.8rem; }
}

.content-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

@media (max-width: 768px) {
    .content-block p {
        text-align: left;
        font-size: 1.05rem;
    }
}

/* Product Category Image Styling */
.product-cat-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
}

/* Small Button for Cards */
.btn-small {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #1a365d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.btn-small:hover {
    background-color: #f6b024;
}

/* Adjusting the card for product view */
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 20px 0; /* Remove top padding to let image hit the edges */
    overflow: hidden;
}

.card h3 {
    padding: 0 15px;
    margin-bottom: 10px;
    color: #1a365d;
}

.card p {
    padding: 0 15px;
    font-size: 0.95rem;
    color: #666;
}

/* Banner Styling */
.banner-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 54, 93, 0.6); /* Dark blue overlay */
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Contact Grid Layout */
.contact-grid {
    gap: 40px;
    margin-top: -50px; /* Pulls content up slightly over the banner */
    position: relative;
    z-index: 2;
}

.contact-info-card, .contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-details {
    margin-top: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item .icon {
    font-size: 1.5rem;
}

/* Form Styling */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #1a365d;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .banner-overlay h1 { font-size: 2rem; }
    .contact-grid { margin-top: 20px; }
}

/* Center the form wrapper and set to 50% width */
.form-wrapper {
    max-width: 500px; /* Approximately 50% of a standard container width */
    margin: 0 auto;   /* This centers the block horizontally */
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Ensure form elements take full width of the 50% container */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a365d;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* Important for width calculation */
}

/* Mobile Responsive: Allow form to be wider on small screens */
@media (max-width: 600px) {
    .form-wrapper {
        max-width: 90%; 
        padding: 20px;
    }
}