/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    line-height: 1.7;
    background-color: #f8f8f8;
    color: #333;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    width: 90%; /* Slightly wider for modern screens */
    max-width: 1100px; /* Max width for readability */
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50; /* Darker heading color */
}

/* Header & Navigation */
header {
    background: #2c3e50; /* Dark blue-gray background to match the theme */
    color: #ffffff;
    padding: 0.5rem 0; /* Slightly more compact */
    border-bottom: 3px solid #0779e4; /* Accent color border */
    position: sticky; /* Makes the header stick to the top on scroll */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Logo and Text Container */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container img {
    height: 55px; /* Adjust size as needed */
    margin-right: 15px;
    vertical-align: middle;
}

.logo-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #ffffff; /* White text for contrast */
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.logo-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #bdc3c7; /* Light gray for the tagline */
    margin: 0;
    white-space: nowrap;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav li {
    display: inline-block;
    padding: 0 15px;
}

header nav a {
    color: #ecf0f1; /* Off-white for nav links */
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease-in-out;
}

header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #0779e4; /* Accent color for the underline */
    transition: width .3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

header nav a:hover::after,
header nav a.active::after {
    width: 100%;
}

header nav a:hover,
header nav a.active {
    color: #ffffff; /* Brighter white on hover/active */
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); /* Gradient background */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex; /* Use flexbox for content and image */
    justify-content: center;
    align-items: center;
}

#hero .container {
    display: flex;
    flex-direction: row; /* Content then image */
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff; /* White for readability on dark background */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Soft shadow */
}


.cta-button {
    display: inline-block;
    background: #0779e4; /* Primary blue for CTA */
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: #0568c0; /* Darker blue on hover */
    transform: translateY(-2px);
}

/* Services Section */
#services {
    padding: 60px 0;
    text-align: center;
    background-color: #fdfdfd;
}

#services h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #0779e4;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
}

/* About Content Section (for about.html) */
#about-content {
    padding: 60px 0;
    background: #fdfdfd;
}

#about-content h3 {
    font-size: 2rem;
    color: #0779e4;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

#about-content h3:first-of-type {
    margin-top: 0;
}

#about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #444;
}

/* Contact Section (bottom of index.html) */
#contact {
    background: #2c3e50; /* Darker background for contact section */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

#contact h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}


/* Page Title (for about.html, contact.html) */
.page-title {
    background: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0H16V16H0V0Z" fill="url(%23pattern0)"/%3E%3Cdefs%3E%3Cpattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"%3E%3Cuse xlink:href="%23image0" transform="scale(0.0625)"/%3E%3C/pattern%3E%3Cimage id="image0" width="16" height="16" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgYJjF/2mGgVgYmFwY1jAwYGBgGAVqgWkg1iB+B5J0g/D0AQD4iAgA1/wW3gAAAABJRU5ErkJggg%3D%3D"/%3E%3C/defs%3E%3C/svg%3E'); /* Subtle tech pattern */
    background-color: #2c3e50; /* Fallback dark background */
}

.page-title h2 {
    font-size: 3rem;
    color: #fff;
    margin: 0;
}

/* Contact Info Section (for contact.html) */
#contact-info {
    padding: 60px 0;
    background: #fdfdfd;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info on left, form on right */
    gap: 50px;
    align-items: flex-start; /* Align content to the top */
}

.contact-details h3, .contact-form h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #444;
}

.contact-details a {
    color: #0779e4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #0568c0;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: calc(100% - 22px); /* Account for padding */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in width */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0779e4;
    box-shadow: 0 0 0 3px rgba(7, 121, 228, 0.2);
    outline: none;
}

.contact-form .cta-button {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: #1a2a6c; /* Dark blue footer */
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media(max-width: 900px) {
    #hero .container {
        flex-direction: column; /* Stack content and image on smaller screens */
        text-align: center;
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    .hero-image {
        margin-top: 40px;
    }
    .hero-content h2 {
        font-size: 2.5rem;
    }
    .page-title h2 {
        font-size: 2.5rem;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Stack contact info and form */
    }
}

@media(max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    .logo-container {
        flex-direction: column; /* Stack logo icon and text on mobile */
        margin-bottom: 15px;
    }
    .logo-container img {
        margin-right: 0;
        margin-bottom: 10px; /* Space between icon and text */
    }
    .logo-text h1 {
        font-size: 1.8rem; /* Larger on mobile for prominence */
    }
    .logo-text p {
        font-size: 0.9rem;
    }
    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    header nav li {
        padding: 8px 0;
    }
    .container {
        width: 95%;
    }
}

@media(max-width: 480px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    #services h2, #contact h2, .page-title h2 {
        font-size: 2rem;
    }
    .service-card h3, .contact-details h3, .contact-form h3 {
        font-size: 1.4rem;
    }
    .cta-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

/* === Add these new styles to your style.css file === */

/* About Page - Intro Section */
#about-intro {
    padding: 60px 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2.2rem;
    color: #0779e4;
    margin-top: 0;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* About Page - Core Values Section */
#core-values {
    padding: 60px 0;
    background: #f8f8f8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.value-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.value-icon svg {
    color: #0779e4;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1rem;
    color: #555;
}


/* Responsive adjustments for about page */
@media(max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        /* Reorder for mobile: image appears first */
        order: -1;
        margin-bottom: 30px;
    }
}