/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
    --primary-color: #0b3d91; /* FBI blue */
    --secondary-color: #b71c1c; /* FBI red */
    --accent-color: #ffde03; /* FBI gold/yellow */
    --dark-color: #10203b;
    --light-color: #f0f2f5;
    --text-color: #333;
    --light-text: #f0f2f5;
    --gradient-primary: linear-gradient(135deg, #0b3d91 0%, #10203b 100%);
    --gradient-secondary: linear-gradient(135deg, #b71c1c 0%, #7f0000 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 4px;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-transform: uppercase;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 60px 0;
    position: relative;
}

section:nth-child(even) {
    background-color: #fff;
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

/* Hero Section (Block 1) */
.hero-section {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    color: var(--light-text);
    background: var(--gradient-primary);
    /* FBI style background pattern */
    background-image:
        linear-gradient(135deg, rgba(11, 61, 145, 0.9) 0%, rgba(16, 32, 59, 0.9) 100%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-section h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-section h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.hero-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #9b0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background-color: #072a6b;
}

/* Products Section */
.products-section {
    background-color: #f9f9f9;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.product {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.product:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.product h3 {
    margin-top: 10px;
    min-height: 60px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.product ul {
    list-style: none;
    margin-bottom: 30px;
}

.product ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.product ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Article Section */
.article {
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 30px;
    border-left: 5px solid var(--accent-color);
    margin-top: 60px;
}

.article h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.article p:last-child {
    margin-bottom: 0;
}

/* Specialists Section */
.specialists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.specialist {
    flex: 1;
    min-width: 300px;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.specialist:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
}

.specialist h3 {
    margin-top: 15px;
    color: var(--primary-color);
}

.specialist p:first-of-type {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

/* Reviews Section */
.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.review {
    flex: 1;
    min-width: 300px;
    background-color: white;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.review:before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(0, 0, 0, 0.05);
    font-family: Georgia, serif;
}

.review-text {
    position: relative;
    z-index: 1;
}

.review-author {
    margin-top: 20px;
    font-weight: 500;
    color: var(--primary-color);
    text-align: right;
}

/* Form Section */
.form-section {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.form-section h2 {
    color: white;
}

.form-section h2:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
}

.form-group {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.form-section input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-section .btn {
    min-width: 120px;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-color);
    text-align: center;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .hero-section {
        padding: 60px 0;
    }

    .product, .specialist, .review {
        min-width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

    .form-section input[type="email"] {
        min-width: 100%;
    }

    .form-section .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section p {
        font-size: 1rem;
    }
}
