/* --- Google Fonts Import (Alternative to HTML link) --- */
/* @import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap'); */

/* --- CSS Variables (Easy Themeing) --- */
:root {
    --primary-color: #007bff; /* Bright Blue */
    --secondary-color: #6c757d; /* Medium Gray */
    --accent-color: #fd7e14; /* Softer Orange */
    --success-color: #28a745; /* Green */
    --light-bg: #f8f9fa; /* Very Light Gray */
    --dark-text: #212529; /* Near Black */
    --body-text: #343a40; /* Dark Gray */
    --light-text: #f8f9fa; /* Light Gray/White */
    --border-color: #dee2e6; /* Light Border Gray */
    --white-color: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
    --default-border-radius: 8px;
    --soft-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Global Styles & Resets --- */
body {
    font-family: var(--body-font);
    margin: 0;
    padding: 0;
    line-height: 1.7; /* Slightly increased line height */
    color: var(--body-text);
    background-color: var(--light-bg);
    font-size: 16px; /* Base font size */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark-text);
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 1.5rem; /* Increased bottom margin */
    font-weight: 700; /* Bold headings */
}

h1 {
    font-size: 2.8rem; /* Slightly larger */
    font-weight: 700;
}

h2 {
    font-size: 2.2rem; /* Slightly larger */
    border-bottom: 3px solid var(--accent-color); /* Accent color border */
    padding-bottom: 0.75rem;
    margin-top: 2.5rem; /* More space above H2 */
    font-weight: 600;
}

h3 {
    font-size: 1.6rem; /* Slightly larger */
    color: var(--primary-color); /* Use primary color for H3 */
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem; /* More space below paragraphs */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: darken(var(--primary-color), 10%); /* Darken blue on hover */
    text-decoration: none; /* Keep underline off by default */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevent bottom space */
}

section {
    padding: 60px 0; /* Increased section padding */
}

ul, ol {
    padding-left: 25px; /* Standard indent */
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem; /* Space between list items */
}

/* --- Header --- */
header {
    background-color: var(--white-color);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Subtle shadow */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-height: 55px; /* Slightly smaller logo */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Vertically align items */
}

header nav ul li {
    margin-left: 30px; /* More space between nav items */
}

header nav ul li a {
    color: var(--body-text);
    font-weight: 700; /* Bolder nav links */
    font-size: 1rem;
    padding-bottom: 5px; /* Space for potential border */
    border-bottom: 2px solid transparent; /* Prepare for hover effect */
    transition: color 0.3s ease, border-color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active /* Add class 'active' dynamically if needed */
{
    color: var(--primary-color); /* Primary color on hover/active */
    border-bottom-color: var(--primary-color); /* Underline effect */
    text-decoration: none;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-text); /* Use near-black */
    color: var(--light-text);
    text-align: center;
    padding: 30px 0; /* More padding */
    margin-top: 60px; /* More space above footer */
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #adb5bd; /* Lighter gray for footer text */
}

/* --- Common Page Elements --- */
.page-title {
    background: linear-gradient(rgba(0, 123, 255, 0.8), rgba(0, 123, 255, 0.8)), url('../images/hero-bg-placeholder.jpg') center center/cover no-repeat; /* Placeholder for potential bg image */
    background-color: var(--primary-color); /* Fallback */
    color: var(--white-color);
    padding: 40px 0;
    text-align: center;
}

.page-title h1 {
    color: var(--white-color);
    margin: 0;
    border-bottom: none;
    font-size: 2.5rem;
}

.image-placeholder {
    margin: 30px 0; /* More margin */
    text-align: center;
}

.image-placeholder img {
     border: none; /* Remove dashed border */
     padding: 0;
     background-color: transparent;
     margin-bottom: 10px; /* Space between img and caption */
     border-radius: var(--default-border-radius); /* Rounded corners */
     box-shadow: var(--soft-shadow); /* Soft shadow */
     display: inline-block; /* Center if needed */
}

.image-placeholder p {
    font-style: italic;
    color: var(--secondary-color); /* Medium gray for placeholder text */
    font-size: 0.9rem;
    margin-top: 0;
}

/* --- Landing Page (index.html) --- */
.hero {
    /* Consider a background image or gradient */
    background: linear-gradient(rgba(0, 123, 255, 0.85), rgba(0, 86, 179, 0.85)), url('../images/hero-bg-placeholder.jpg') center center/cover no-repeat; /* Placeholder for potential bg image */
    background-color: var(--primary-color); /* Fallback */
    color: var(--white-color);
    text-align: center;
    padding: 80px 0; /* More hero padding */
}

.hero h1 {
    color: var(--white-color);
    font-size: 3.2rem; /* Larger hero heading */
    margin-bottom: 1rem;
    border-bottom: none;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); /* Subtle text shadow */
}

.hero p {
    font-size: 1.3rem; /* Larger hero text */
    margin-bottom: 2.5rem; /* More space below text */
    max-width: 700px; /* Limit width for readability */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9; /* Slightly transparent */
}

.hero-image {
    max-width: 65%; /* Adjust as needed */
    margin: 1rem auto 2.5rem auto;
    display: block;
    border-radius: var(--default-border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Stronger shadow */
}

/* Optional: Section for quick benefit icons below hero */
.quick-benefits {
    padding: 40px 0;
    background-color: var(--white-color);
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}
.quick-benefit-item {
    /* Style with icons later */
}
.quick-benefit-item h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.quick-benefit-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.intro {
    text-align: center;
    background-color: var(--white-color); /* White section */
    padding: 60px 0;
}
.intro h2 {
    margin-top: 0; /* No top margin if first element */
}

.benefits {
    background-color: var(--light-bg); /* Use light gray bg */
}

.benefits h2 {
    text-align: center; /* Center benefits title */
    border-bottom: none; /* Remove border if centered */
    margin-bottom: 3rem; /* More space below title */
}
.benefits h2::after { /* Optional: add a small centered underline */
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0 auto;
}


.benefits .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Slightly wider min */
    gap: 35px; /* Increase gap */
}

.benefit-item {
    background-color: var(--white-color);
    padding: 30px 25px; /* Adjust padding */
    border-radius: var(--default-border-radius);
    box-shadow: var(--soft-shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color); /* Add colored top border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); /* Slightly stronger shadow on hover */
}


.benefit-item h3 {
    font-size: 1.4rem; /* Adjust size */
    color: var(--dark-text); /* Darker color for benefit title */
    margin-bottom: 0.75rem;
}

.cta {
    background-color: var(--accent-color); /* Accent color background */
    color: var(--white-color);
    text-align: center;
}

.cta h2 {
    color: var(--white-color);
    border-bottom: none;
    font-size: 2rem;
}
.cta p {
    color: var(--light-text);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--success-color); /* Green primary button */
    color: var(--white-color) !important; /* Ensure text is white, override link color */
    padding: 14px 30px; /* Larger padding */
    border-radius: var(--default-border-radius);
    text-decoration: none;
    font-weight: bold;
    margin: 10px 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: darken(var(--success-color), 10%);
    color: var(--white-color) !important;
    text-decoration: none;
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-secondary {
    background-color: var(--primary-color); /* Blue */
}

.btn-secondary:hover {
    background-color: darken(var(--primary-color), 10%);
}

.btn-outline-light { /* Example for CTA section */
    background-color: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color) !important;
}
.btn-outline-light:hover {
    background-color: var(--white-color);
    color: var(--accent-color) !important; /* Orange text on hover */
    transform: none; /* No lift needed for outline */
    box-shadow: none;
}


/* --- About Us Page (about.html) --- */
.about-content {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--default-border-radius);
    box-shadow: var(--soft-shadow);
}
.about-content article ul li strong {
    color: var(--accent-color); /* Accent color for names/roles */
    font-weight: 700;
}
/* Consider layout with image */
.about-content .container {
    display: flex; /* Example: side-by-side layout */
    gap: 40px;
    align-items: flex-start;
}
.about-content article {
    flex: 2; /* Text takes more space */
}
.about-image-container { /* Wrap the image placeholder */
    flex: 1;
    max-width: 350px; /* Limit image width */
}
.about-image-container .image-placeholder img {
    box-shadow: none; /* Remove shadow if inside flex */
}


/* --- Technology Page (technology.html) --- */
.technology-details {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--default-border-radius);
    box-shadow: var(--soft-shadow);
}
.technology-details article ol,
.technology-details article ul {
    margin-bottom: 2rem; /* More space after lists */
    padding-left: 25px;
}

.technology-details article li {
    margin-bottom: 1rem; /* More space between items */
}
.technology-details article li::marker { /* Style list markers if needed */
    font-weight: bold;
    color: var(--primary-color);
}


/* --- Contact Us Page (contact.php) --- */
.contact-form-section {
    background-color: var(--white-color);
    padding: 50px 40px; /* More padding */
    border-radius: var(--default-border-radius);
    box-shadow: var(--soft-shadow);
    max-width: 800px; /* Limit form width */
    margin: 40px auto; /* Center form */
}

.contact-form-section p {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.75rem; /* More space between fields */
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem; /* More space below label */
    font-weight: bold;
    color: var(--body-text); /* Slightly darker label */
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px; /* More padding */
    border: 1px solid var(--border-color);
    border-radius: var(--default-border-radius);
    box-sizing: border-box;
    font-size: 1rem;
    font-family: var(--body-font);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Focus ring */
    outline: none;
}


.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Taller textarea */
}

/* Basic custom select arrow - replace default */
.form-group select {
    appearance: none;
    background-color: var(--white-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
}

.form-group button.btn {
    width: auto;
    padding: 14px 35px; /* Match input padding vertical, wider horizontal */
    font-size: 1.1rem; /* Slightly larger button text */
}

/* Form Messages */
.message-area {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--default-border-radius);
    border: 1px solid transparent;
    font-size: 1rem;
}

.success-message {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.error-message {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* --- Responsive Design --- */

/* Tablets (e.g., iPads) */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.2rem; }

    .about-content .container {
        flex-direction: column; /* Stack about content and image */
        align-items: center;
    }
    .about-image-container {
        margin-top: 30px;
        max-width: 80%; /* Allow image to be wider */
    }
}


@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }

    section { padding: 40px 0; }
    footer { padding: 25px 0; margin-top: 40px; }


    header .container {
        flex-direction: column;
        align-items: center;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    header nav ul li {
        margin: 5px 12px;
    }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    .hero-image { max-width: 80%; }

    .benefits .container {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }

    .contact-form-section {
        padding: 30px 25px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    body { font-size: 15px; } /* Slightly smaller base font */
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .container {
        width: 95%;
    }

    header nav ul li {
        margin: 5px 8px;
    }

    header nav ul li a {
        font-size: 0.95rem;
    }

    .hero { padding: 40px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-image { max-width: 90%; }

    .benefits .container {
        grid-template-columns: 1fr; /* Stack benefits vertically */
        gap: 20px;
    }
    .benefit-item {
        padding: 25px 20px;
    }


    .cta .btn {
        display: block; /* Stack buttons */
        width: 90%;
        margin: 10px auto;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select,
    .form-group textarea {
        padding: 12px 14px; /* Adjust padding for mobile */
    }

    .contact-form-section {
        padding: 25px 20px;
    }

    .about-content {
        padding: 25px;
    }
    .about-image-container {
        max-width: 100%;
    }
      
/* Specific style for the restocking image on technology page */
.restocking-image-container {
    max-width: 450px; /* Adjust this value as needed (e.g., 400px, 500px) */
    margin-left: auto;  /* Center the container */
    margin-right: auto; /* Center the container */
}

/* Optional: Ensure the image inside scales correctly (usually already handled by global img styles) */
/* .restocking-image-container img { */
   /* max-width: 100%; */ /* This should already be default */
   /* height: auto; */ /* This should already be default */
/* } */