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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    background-attachment: fixed;
}

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

/* Header & Navigation */
header {
    background: #1a1a1a;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: #c9032d;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-menu a:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* Main Content */
main {
    margin-top: 70px;
}

section {
    padding: 4rem 0;
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #8d021f 0%, transparent 100%);
    opacity: 0.6;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1a202c;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #8d021f 0%, #c9032d 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8d021f;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(141, 2, 31, 0.9) 0%, rgba(109, 1, 26, 0.9) 100%),
        url('/images/Background/background_01.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 6rem 0;
    position: relative;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero .mission {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    position: relative;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .service-categories {
        grid-template-columns: 1fr;
    }
}

.service-category {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(141, 2, 31, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-category:hover {
    transform: translateY(-8px);
    border-left-color: #8d021f;
    box-shadow: 0 12px 40px rgba(141, 2, 31, 0.15);
}

.service-category:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.service-category h3 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.3px;
}

.service-category ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.service-category li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: #4a5568;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.service-category li:hover {
    color: #2d3748;
}

.service-category li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #8d021f;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.service-category li:hover:before {
    transform: translateX(3px);
}

/* Capabilities Section */
.capabilities {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
}

.capabilities::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(141, 2, 31, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.capabilities .highlight {
    font-size: 1.5rem;
    color: #8d021f;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.capabilities > .container > p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.certifications {
    margin-top: 3rem;
}

.certifications h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cert-item {
    background: #ffffff;
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 10px;
    border-top: 3px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    font-weight: 600;
    color: #2d3748;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cert-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8d021f 0%, #c9032d 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(141, 2, 31, 0.12);
}

.cert-item:hover::after {
    opacity: 1;
}

/* Our Clients Section */
.clients {
    background: #ffffff;
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
}

.clients p {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.client-logos-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.client-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll 14s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logos:hover {
    animation-play-state: paused;
}

.client-logo {
    flex: 0 0 auto;
}

.client-logo img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo-large img {
    width: 500px;
    height: auto;
}

.client-logo-medium img {
    width: 300px;
    height: auto;
}

/* About Section */
.about {
    background:
        linear-gradient(135deg, rgba(141, 2, 31, 0.9) 0%, rgba(109, 1, 26, 0.9) 100%),
        url('/images/background/Aboutus.png') center/cover no-repeat;
    color: white;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
}

.about h2 {
    color: white;
}

.about-intro {
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value {
    background: rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-bottom: 3px solid rgba(255,255,255,0.3);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.value:hover {
    border-bottom-color: rgba(255,255,255,0.8);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.value h3 {
    color: #c9032d;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 3px solid transparent;
}

.contact-item:hover {
    border-top-color: #8d021f;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: #8d021f;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.contact-item a {
    color: #000;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero {
        padding: 4rem 0;
        background-size: cover;
        background-position: center;
    }

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

    h2 {
        font-size: 2rem;
    }

    .service-categories,
    .cert-grid,
    .about-values,
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero {
        background-size: cover;
        background-position: center;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .hero {
        background-size: cover;
        background-position: center top;
    }
}
