/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0056b3;
    --secondary-color: #e63946;
    --accent-color: #4caf50;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #fff;
    --bg-light: #f5f5f5;
    --bg-dark: #1d3557;
    --padding-section: 5rem 0;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #004494;
    color: white;
}

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

.secondary-btn:hover {
    background-color: #d32f2f;
    color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(29, 53, 87, 0.8), rgba(29, 53, 87, 0.9)), url('../images/hero-background.jpg');
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0 5rem;
    text-align: center;
    margin-top: 76px;
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Products Section */
.products {
    padding: var(--padding-section);
    background-color: var(--bg-light);
}

.product-featured {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.product-image {
    flex: 1;
    min-height: 300px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image:empty::after {
    content: 'MIRT - Major Incident Response Trainer';
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    padding: 2rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
}

.product-info h4 {
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.product-features li {
    margin-bottom: 0.5rem;
}

.future-products {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.future-products h3 {
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: var(--padding-section);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.values {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.value-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.value-item h4 {
    color: var(--primary-color);
}

/* Icons for values */
.icon {
    display: inline-block;
    width: 60px;
    height: 60px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.quality::after,
.innovation::after,
.impact::after,
.email::after,
.phone::after,
.location::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-align: center;
}

.quality::after {
    content: 'Q';
}

.innovation::after {
    content: 'I';
}

.impact::after {
    content: 'I';
}

.email::after {
    content: '@';
}

.phone::after {
    content: '#';
}

.location::after {
    content: '📍';
}

/* Contact Section */
.contact {
    padding: var(--padding-section);
    background-color: var(--bg-light);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 2rem;
}

.contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Icons for contact */
.email {
    background-image: url('../images/email-icon.png');
}

.phone {
    background-image: url('../images/phone-icon.png');
}

.location {
    background-image: url('../images/location-icon.png');
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links,
.footer-products,
.footer-social {
    flex: 1;
    min-width: 200px;
}

footer h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer ul li a {
    color: #ddd;
}

footer ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media screen and (max-width: 991px) {
    .product-featured {
        flex-direction: column;
    }
    
    .product-image {
        min-height: 200px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 9rem 0 4rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .value-item {
        min-width: 100%;
    }
    
    .contact-info, .contact-form {
        min-width: 100%;
    }
} 