:root {
    --primary: #D50000;
    --black: #000000;
    --dark-gray: #222222;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: inline-block;
    margin-right: 10px;
}

.logo-shield {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    transform: rotate(45deg);
    transition: transform 0.5s ease;
    box-shadow: 0 0 15px rgba(213, 0, 0, 0.3);
}

.logo-shield:hover {
    transform: rotate(225deg);
    box-shadow: 0 0 20px rgba(213, 0, 0, 0.8);
}

.logo-text {
    color: var(--white);
    font-weight: 900;
    font-size: 16px;
    transform: rotate(-45deg);
    letter-spacing: -1px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.logo-full {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--white), #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    padding: 5px 0;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

/* Fix hero section centering */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://via.placeholder.com/1920x1080') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background-attachment: fixed;
}


.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.fade-in-stagger {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-stagger.active {
    animation: fadeIn 0.8s ease forwards;
}

.service-box {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    width: 260px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
}

.service-box.active {
    animation: fadeIn 0.8s ease forwards;
}

/* Add staggered delay classes */
.stagger-delay-1 { animation-delay: 0.1s; }
.stagger-delay-2 { animation-delay: 0.2s; }
.stagger-delay-3 { animation-delay: 0.3s; }
.stagger-delay-4 { animation-delay: 0.4s; }

/* Add a subtle hover effect to the testimonials */

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}




.testimonial {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.fade-in-stagger {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-stagger.active {
    animation: fadeIn 0.8s ease forwards;
}

.service-box {
    opacity: 0;
    transform: translateY(20px);
}

.service-box.active {
    animation: fadeIn 0.8s ease forwards;
}


.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background-color: #b30000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(213, 0, 0, 0.3);
}

.container {
    padding: 40px 20px;
}

.section {
    margin: 60px auto;
    max-width: 1200px;
    padding: 60px;
    background-color: var(--dark-gray);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 18px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background-color: var(--black);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(213, 0, 0, 0.3);
}

.image-placeholder i {
    font-size: 80px;
    color: var(--primary);
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-box {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    width: 260px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: var(--primary);
    transition: height 0.5s ease;
    z-index: -1;
    opacity: 0.1;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-box:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(213, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
}

.service-box h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-box p {
    font-size: 14px;
    color: #ccc;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    width: 250px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial {
    background-color: var(--black);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
}

.quote {
    position: absolute;
    top: -15px;
    left: 30px;
    color: var(--primary);
    font-size: 30px;
    background-color: var(--dark-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary);
    margin-right: 20px;
    width: 30px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--black);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--white);
    font-family: 'Roboto', Arial, sans-serif;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(213, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.7);
}

.submit-button {
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: #b30000;
}

footer {
    background-color: var(--black);
    padding: 60px 40px 20px;
    border-top: 3px solid var(--primary);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 700;
    margin-left: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #777;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .section {
        padding: 40px 20px;
    }

    .service-box {
        width: 100%;
        max-width: 300px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links, .social-links {
        margin-top: 20px;
    }
}

/* Team section styles */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--black);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}


.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}


.team-member.active {
    opacity: 1;
    transform: translateY(0);
}

.member-image {
    margin-bottom: 20px;
}

.member-image .image-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

/* Preloader styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.large-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}
@keyframes pulse {
    0% {
        transform: scale(1) rotate(45deg);
        box-shadow: 0 0 0 0 rgba(213, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1.05) rotate(45deg);
        box-shadow: 0 0 0 15px rgba(213, 0, 0, 0);
    }
    
    100% {
        transform: scale(1) rotate(45deg);
        box-shadow: 0 0 0 0 rgba(213, 0, 0, 0);
    }
}

.large-logo .logo-text {
    transform: rotate(-45deg);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: #333;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary);
    animation: loading 2s ease forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}
