/* 1. GLOBAL RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8f9fc;
    color: #921a1a; /* Corporate deep red/brown theme */
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* 2. HEADER & NAVIGATION - FLUSH LEFT LOGO */
header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(146, 26, 26, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Specific container to move logo/heading to the far edges */
.header-container {
    width: 96%; /* Increased width to move items to the far corners */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Grouping logo and text for perfect side-by-side alignment */
.logo-group a {
    display: flex;
    align-items: center;
    gap: 12px; 
    text-decoration: none;
}

.site-logo {
    max-height: 45px; /* Standard logo height */
    width: auto;
}

.logo {
    margin: 0;
    font-size: 20px; /* Reduced to match logo height in the corner */
    font-weight: 700;
    color: #921a1a;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #921a1a;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    opacity: 0.7;
}

/* 3. HERO & PAGE HEADERS */
.hero, .page-header {
    background: linear-gradient(135deg, #921a1a, #530101);
    color: white !important;
    text-align: center;
    padding: 100px 20px;
}

.hero h2, .page-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: white;
}

/* 4. BUTTONS */
.btn {
    display: inline-block;
    background: #f4a261; /* Professional orange accent */
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn:hover {
    background: #e76f51;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 5. SECTIONS & CONTENT CARDS */
section {
    padding: 80px 0;
}

.content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(146, 26, 26, 0.1);
}

h3 {
    margin: 20px 0 10px;
    color: #921a1a;
}

/* Services Grid */
.services-overview .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(146, 26, 26, 0.08);
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #f4a261;
}

/* 6. CONTACT FORM */
form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(146, 26, 26, 0.15);
    max-width: 700px;
    margin: auto;
}

form input, form textarea, form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

form input:focus, form textarea:focus {
    border-color: #921a1a;
}

/* 7. FOOTER */
footer {
    background: #921a1a;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

/* 8. ANIMATIONS */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul li {
        margin: 0 10px;
    }

    .hero h2 {
        font-size: 30px;
    }
}