* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: white;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    height: 150px;
}
html {
    scroll-behavior: smooth;
}

section {
    padding: 80px;
}
.nav_logo{
    width: 50%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.nav_logo img{
    max-width: 150px;
}

.nav-links {
    display: flex;
    align-items: center; /* Use this instead of align-content */
    gap: 30px;
    width: 80%;
}

.nav-links a {
    text-decoration: none;
    color: #444;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ee0101;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
}

.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #666;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    transition: 0.3s;
    font-weight: bold;
}

.primary {
    background: #d10000;
    color: white;
}

.primary:hover {
    background: #a80000;
}

.secondary {
    border: 2px solid #d10000;
    color: #d10000;
}

.secondary:hover {
    background: #a80000;
    color: white;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
}

/* Responsive */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .main {
        flex-direction: column;
        text-align: center;
    }

    .buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-text h1 {
        font-size: 2.3rem;
    }
    
}

/* Responsive */
@media (max-width: 900px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

a{
    text-decoration: none;
    margin-left: 10px;
}
.footer {
    background: #271111;
    color: #ffffff;
    padding: 60px 10% 20px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-brand h2 {
    margin-bottom: 15px;
    color: #fff;
}

.footer-brand p {
    color: #b0b0b0;
    line-height: 1.8;
    max-width: 350px;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 180px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 15px;
}

.footer-links a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color .3s;
}

.footer-links a:hover {
    color: #ee0101;
}

.footer-contact p {
    color: #b0b0b0;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #5a3636;
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.95rem;
}

.footer-contact img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.about-image{
 width: 100%;
}
.about-us{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.about-text p {
    max-width: 70%;
    margin-top: 20px;
    line-height: 1.8;
    color: #666;
}

.about-text .btn {
    margin-top: 30px;
    display: inline-block;
}

.about-text{
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #ddd;
    padding: 0 0 20px 0;
    border-radius: 15px;
}
.services {
    padding: 20px;
    background: #f8f9fa;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.services-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #222;
}

.services-header p {
    color: #666;
    line-height: 1.7;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card h3 {
    color: #ff0000;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    line-height: 1.7;
}

.contact {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: -50px;
}

.contact-us{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100;
}
.contact-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-header p {
    color: #666;
    line-height: 1.7;
}


.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}


.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    line-height: 1.7;
}


.contact-item {
    margin-top: 25px;
}

.contact-item h3 {
    color: #c20000;
    margin-bottom: 5px;
}


.contact-form {
    flex: 1;
}


.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}


.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff0000;
}


.contact-form button {
    border: none;
    cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {

    .contact-container {
        flex-direction: column;
    }

    .services-container{
        display: flex;
        flex-wrap: wrap;
    }
    .nav_logo img{
        max-width: 100px;
    }
    .nav-links {
        margin-top: -60px;
        margin-left: 60px;
    }
}