@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Titillium+Web:wght@300;400;600;700&display=swap');

:root {
    --brand-maroon: #bc1f44;
    --brand-silver: #bfbdbd;
    --brand-white: #fdfdfc;
    --text-dark: #1a1a1a;
    --text-muted: #4a4a4a;
    --bg-light: #f8f6f6;
    --bg-dark: #2a2525;
    --accent-red: #8e1733;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--brand-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--brand-maroon);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 31, 68, 0.3);
}

.btn-secondary {
    border: 2px solid var(--brand-maroon);
    color: var(--brand-maroon);
}

.btn-secondary:hover {
    background-color: var(--brand-maroon);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 40px;
}

.company-name {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--brand-maroon);
    text-transform: uppercase;
    line-height: 40px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--text-dark);
}

.nav-links a.active {
    color: var(--brand-maroon);
}

.nav-links a:hover {
    color: var(--brand-maroon);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* Subpage Banner */
.subpage-banner {
    padding: 10rem 0 6rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.subpage-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subpage-banner p {
    color: var(--brand-silver);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--brand-maroon);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--brand-silver);
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--brand-silver);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-maroon);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--brand-maroon);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* About */
.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    display: block;
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--brand-maroon);
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Heading keyword highlight */
h2 span,
h1 span {
    color: var(--brand-maroon);
}

/* Product and Service Lists */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.5rem 2rem;
    margin-top: 1.5rem;
    list-style: none !important;
    /* Remove native bullets */
    padding-left: 0;
    /* Reset padding */
}

.product-item {
    display: flex;
    /* Robust alignment with pseudo-element */
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.product-item:hover {
    transform: translateX(5px);
}

.product-item::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--brand-maroon);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.product-item span {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--brand-maroon);
}

.contact-text h4 {
    margin-bottom: 0.3rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full {
    grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    resize: none;
}

.contact-form h3,
.contact-form button {
    grid-column: span 2;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo .company-name {
    color: white;
}

.footer-logo p {
    margin-top: 1rem;
    color: var(--brand-silver);
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
    color: var(--brand-maroon);
}

.footer-contact h4 {
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.6rem;
    color: var(--brand-silver);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--brand-silver);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .about-content,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .mobile-only {
        display: block;
        width: 80%;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.22rem;
    }

    .subpage-banner h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .company-name {
        font-size: 1.5rem;
    }

    /* Contact form — single column on mobile */
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full,
    .contact-form h3,
    .contact-form button,
    [style*="grid-column: span 2"] {
        grid-column: span 1;
    }

    /* Footer bottom — stack and center */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }

    /* Stats bar — 2 columns on tablet */
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* About corporate profile inline grid — stack */
    .about-profile-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {

    /* Stats bar — single column on small mobile */
    .stats-bar-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .stat-item h4 {
        font-size: 2rem;
    }

    /* Subpage banner shrink */
    .subpage-banner {
        padding: 8rem 0 4rem;
    }

    .subpage-banner h1 {
        font-size: 1.8rem;
    }
}