/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #1a1a2e;
    background: #fff;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-up { animation: fadeInUp 0.7s ease both; }
.animate-fade { animation: fadeIn 0.8s ease both; }
.animate-scale { animation: scaleIn 0.6s ease both; }
.animate-left { animation: slideInLeft 0.7s ease both; }
.animate-right { animation: slideInRight 0.7s ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo img {
    height: 56px;
    width: auto;
    transition: transform 0.3s;
}
.logo:hover img { transform: scale(1.04); }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
    font-weight: 500;
    font-size: 15px;
    color: #333;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: #c41e3a;
    transition: width 0.3s ease;
}
.nav-list a:hover::after,
.nav-list a.active::after { width: 100%; }
.nav-list a:hover,
.nav-list a.active { color: #c41e3a; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    color: #fff;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.25;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(196,30,58,0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 70px 20px;
}
.hero h1 {
    font-size: clamp(1.7rem, 4.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 28px;
    color: #ff3b5c;
}
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary { background: #fff; color: #1a1a2e; }
.btn-primary:hover {
    background: #c41e3a; color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(196,30,58,0.35);
}
.btn-outline {
    background: transparent;
    border: 2px solid #c41e3a;
    color: #c41e3a;
}
.btn-outline:hover {
    background: #c41e3a; color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(196,30,58,0.3);
}

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a2e;
}
.section-subtitle {
    text-align: center;
    color: #666;
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
}
.section-dark { background: #f8f9fb; }

/* ===== Service Cards ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid #eee;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}
.service-card .card-img {
    width: 100%; height: 160px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.service-card:hover .card-img { transform: scale(1.06); }
.service-card .card-body { padding: 22px 20px 26px; }
.service-card .icon {
    width: 44px; height: 44px;
    background: #fff0f2;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    color: #c41e3a;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: #1a1a2e; }
.service-card p { font-size: 0.92rem; color: #555; line-height: 1.55; }

/* ===== About intro ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-intro h2 { font-size: 1.8rem; margin-bottom: 16px; }
.about-intro p { color: #444; margin-bottom: 12px; }
.about-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.about-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-img:hover img { transform: scale(1.04); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    text-align: center;
}
.stat-item {
    padding: 16px 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item h3 { font-size: 1.7rem; color: #c41e3a; font-weight: 700; }
.stat-item p { font-size: 0.88rem; color: #666; }

/* ===== Process steps ===== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.process-step {
    text-align: center;
    padding: 24px 16px;
    transition: transform 0.3s;
}
.process-step:hover { transform: translateY(-4px); }
.process-step .step-img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid #c41e3a;
    transition: transform 0.3s, box-shadow 0.3s;
}
.process-step:hover .step-img {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(196,30,58,0.3);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.9rem; color: #555; }

/* ===== Industries ===== */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}
.industry-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.industry-card:hover {
    border-color: #c41e3a;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(196,30,58,0.12);
}
.industry-card span { font-size: 30px; display: block; margin-bottom: 10px; }
.industry-card h4 { font-size: 0.95rem; font-weight: 600; }

/* ===== Compliance ===== */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.compliance-item {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.compliance-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.compliance-item h4 { color: #c41e3a; margin-bottom: 6px; }
.compliance-item p { font-size: 0.88rem; color: #666; }

/* ===== Page banner ===== */
.page-banner {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-banner h1 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

/* ===== About page ===== */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.mv-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-top: 4px solid #c41e3a;
    transition: transform 0.3s;
}
.mv-card:hover { transform: translateY(-4px); }
.mv-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
}
.values-list li {
    background: #fff0f2;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a1a2e;
    transition: transform 0.25s, background 0.25s;
}
.values-list li:hover {
    transform: translateX(4px);
    background: #ffe0e5;
}

/* ===== Services page ===== */
.service-block {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}
.service-block:last-child { border-bottom: none; }
.service-block .block-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.service-block .block-img img {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-block:hover .block-img img { transform: scale(1.05); }
.service-block h2 {
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: #c41e3a;
}
.service-block p { color: #444; margin-bottom: 16px; }
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}
.feature-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 0.95rem;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c41e3a;
    font-weight: 700;
}

/* ===== Contact ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    margin-bottom: 16px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196,30,58,0.12);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 10px; color: #444; }
.contact-info a { color: #c41e3a; font-weight: 500; }

/* ===== Footer ===== */
.site-footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 28px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
}
.footer-bottom a { color: #fff; transition: color 0.2s; }
.footer-bottom a:hover { color: #ff3b5c; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-intro, .mission-vision, .contact-wrapper { grid-template-columns: 1fr; }
    .service-block { grid-template-columns: 1fr; }
    .service-block .block-img img { height: 180px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: #fff;
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
        transition: right 0.35s ease;
        padding-top: 90px;
        z-index: 999;
    }
    .main-nav.open { right: 0; }
    .nav-list { flex-direction: column; gap: 0; padding: 12px 0; }
    .nav-list li a { display: block; padding: 16px 28px; font-size: 16px; }
    .nav-list a::after { display: none; }
    .hero { min-height: 400px; }
    .hero-content { padding: 50px 16px; }
    .section { padding: 50px 0; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
    .services-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .header-inner { height: 70px; }
    .logo img { height: 48px; }
}
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}
.nav-overlay.show { display: block; }

/* ===== Home Services Grid (original-style) ===== */
.section-services-home {
    padding: 0 0 60px;
    margin-top: -60px;
    position: relative;
    z-index: 5;
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}
.h-service-card {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    transition: background 0.3s, transform 0.3s;
    background: #fff;
}
.h-service-card:nth-child(4n) { border-right: none; }
.h-service-card:nth-child(n+5) { border-bottom: none; }
.h-service-card:hover {
    background: #fffafb;
}
.h-icon {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1;
    color: #e30613;
    filter: grayscale(0);
}
.h-service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a2e;
}
.h-service-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.55;
}
.h-service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
}
.btn-outline-red {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #e30613;
    color: #e30613;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    background: transparent;
}
.btn-outline-red:hover {
    background: #e30613;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227,6,19,0.3);
}

@media (max-width: 900px) {
    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .h-service-card:nth-child(4n) { border-right: 1px solid #eee; }
    .h-service-card:nth-child(2n) { border-right: none; }
    .h-service-card:nth-child(n+5) { border-bottom: 1px solid #eee; }
    .h-service-card:nth-child(5),
    .h-service-card:nth-child(6) { border-bottom: none; }
}
@media (max-width: 520px) {
    .section-services-home { margin-top: -40px; }
    .home-services-grid {
        grid-template-columns: 1fr;
    }
    .h-service-card {
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }
    .h-service-card:last-child { border-bottom: none; }
}
