/* --- VARIABLES & GLOBAL STYLES --- */
:root {
    --primary-color: #8B0000; /* Crimson Red */
    --brand-gold-color: #FFD700; /* Gold */
    --dark-color: #222222;    /* Charcoal for text */
    --light-color: #FFFFFF;
    --grey-color: #F4F4F4;
    --text-color: #333333;
    --font-family: 'Poppins', sans-serif;
    --container-width: 1100px;
    --header-height: 90px; /* Increased for better logo alignment */
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER & NAVIGATION --- */
.header {
    background-color: var(--primary-color);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo:hover { text-decoration: none; }

.logo-img-wrapper {
    background-color: var(--light-color);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    min-width: 76px;
    min-height: 76px;
}
.logo-img-wrapper img { 
    display: block; 
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-gold-color);
    text-transform: lowercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-nav .nav-list {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--light-color);
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    opacity: 0.9;
}

.main-nav a:hover {
    opacity: 1;
    text-decoration: none;
}

.main-nav a.active {
    border-bottom-color: var(--light-color);
    opacity: 1;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-color);
    color: #A0A0A0;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* --- HOME PAGE: HERO --- */
.hero {
    background-color: var(--grey-color);
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: lowercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
    color: #555;
}

/* --- HOME PAGE: SECTIONS --- */
section { padding: 4rem 0; }
.about-us { text-align: center; }
.section-intro { max-width: 800px; margin: 0 auto; font-size: 1.1rem; }

.core-business { background-color: var(--grey-color); }
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.card-icon {
    width: 60px; 
    height: 60px; 
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 3px 10px rgba(139,0,0,0.3);
}
.card-icon svg { 
    stroke: var(--light-color); 
    width: 30px; 
    height: 30px; 
}

.why-us ul {
    list-style-type: '✓';
    padding-left: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0;
}
.why-us li { 
    padding-left: 1rem; 
    margin-bottom: 1rem; 
    font-size: 1.1rem; 
}

.mission-vision { background-color: var(--grey-color); }
.mission-vision-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
}
.mission h3, .vision h3 { 
    border-left: 4px solid var(--primary-color); 
    padding-left: 1rem; 
}

/* --- GENERIC CONTENT PAGES --- */
.page-header {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0;
}
.page-header h1 { 
    color: var(--light-color); 
    font-size: 2.2rem; 
}
.page-header .subtitle { 
    color: #ccc; 
    margin-top: -0.5rem; 
}

.content-page { padding: 3rem 0 1rem; }
.contact-details { 
    list-style: none; 
    margin-top: 1.5rem; 
}
.contact-details li { 
    font-size: 1.1rem; 
    margin-bottom: 1rem; 
}

.text-content { max-width: 800px; }
.text-content h3 { margin-top: 2.5rem; }
.text-content ul { 
    list-style: disc; 
    padding-left: 2rem; 
    margin-bottom: 1rem; 
}
.text-content ul li { margin-bottom: 0.5rem; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    :root {
        --header-height: 80px; /* Slightly smaller on mobile */
    }
    
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.6rem; }

    .logo-img-wrapper {
        padding: 6px;
        min-width: 68px;
        min-height: 68px;
    }
    .logo-img-wrapper img {
        width: 56px;
        height: 56px;
    }
    .logo-text {
        font-size: 1.6rem;
    }

    .main-nav {
        position: fixed; 
        top: 0; 
        right: -100%;
        width: 70%; 
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
        transition: right 0.5s ease-in-out;
        display: flex;
    }
    .main-nav.active { right: 0; }
    .main-nav .nav-list { 
        flex-direction: column; 
        text-align: center; 
    }
    .main-nav a { 
        color: var(--light-color); 
        font-size: 1.2rem; 
        border: none; 
        opacity: 1; 
    }
    .main-nav a:hover, .main-nav a.active { 
        color: var(--primary-color); 
    }

    .mobile-nav-toggle { display: block; }
    .mobile-nav-toggle.active span:nth-child(1) { 
        transform: rotate(45deg) translate(5px, 5px); 
    }
    .mobile-nav-toggle.active span:nth-child(2) { 
        opacity: 0; 
    }
    .mobile-nav-toggle.active span:nth-child(3) { 
        transform: rotate(-45deg) translate(7px, -6px); 
    }

    .cards-grid, .mission-vision-grid { 
        grid-template-columns: 1fr; 
    }
}

@media (max-width: 480px) {
    .logo {
        gap: 8px;
    }
    .logo-text {
        font-size: 1.4rem;
    }
    .logo-img-wrapper {
        min-width: 60px;
        min-height: 60px;
        padding: 5px;
    }
    .logo-img-wrapper img {
        width: 50px;
        height: 50px;
    }
}