:root {
    --navy: #131b33;
    --red: #c9151f;
    --red-dark: #9e0f17;
    --teal: #2f8f8a;
    --cream: #fbf8f4;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(19,27,51,0.08);
    --radius: 14px;
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    color: var(--navy);
    line-height: 1.7;
    background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
p { color: var(--gray); }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all .25s ease;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: #0a0f1f; }

/* Header */
.topbar {
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--white); opacity: .9; }
.topbar a:hover { opacity: 1; color: var(--red); }
.topbar-item { margin-right: 20px; }

header.main-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: sticky; top: 0; z-index: 999;
}
.navwrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { height: 58px; }
nav.mainnav ul { display: flex; gap: 30px; align-items: center; }
nav.mainnav a { font-weight: 600; font-size: 15px; color: var(--navy); position: relative; padding: 6px 0; }
nav.mainnav a:hover, nav.mainnav a.active { color: var(--red); }
nav.mainnav .dropdown { position: relative; }
nav.mainnav .dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0; background: var(--white);
    min-width: 240px; box-shadow: var(--shadow); border-radius: 10px; padding: 10px 0; z-index: 50;
}
nav.mainnav .dropdown:hover .dropdown-menu { display: block; }
nav.mainnav .dropdown-menu li a { display: block; padding: 10px 20px; font-weight: 500; }
nav.mainnav .dropdown-menu li a:hover { background: var(--light-gray); color: var(--red); }
.nav-cta { background: var(--red); color: var(--white) !important; padding: 10px 22px; border-radius: 50px; }
.mobile-toggle { display: none; font-size: 26px; background: none; border: none; cursor: pointer; }

@media (max-width: 900px) {
    nav.mainnav { display: none; width: 100%; }
    nav.mainnav.open { display: block; }
    nav.mainnav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 0; }
    nav.mainnav .dropdown-menu { display: block; position: static; box-shadow: none; padding-left: 15px; }
    .navwrap { flex-wrap: wrap; }
    .mobile-toggle { display: block; }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 720px;
    overflow: hidden;
    background: var(--navy);
}
.hero-slider-track { position: relative; width: 100%; height: 100%; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(15, 20, 40, 0.45);
    color: var(--white);
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}
.hero-slider-arrow:hover { background: rgba(201,21,31,0.85); }
.hero-slider-arrow.prev { left: 20px; }
.hero-slider-arrow.next { right: 20px; }
.hero-slider-dots {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 2;
}
.hero-dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot.active { background: var(--red); transform: scale(1.2); }
@media (max-width: 900px) {
    .hero-slider { aspect-ratio: 4 / 3; }
    .hero-slider-arrow { width: 36px; height: 36px; }
}

/* Section generic */
.section { padding: 80px 0; }
.section-alt { background: var(--light-gray); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.eyebrow { color: var(--red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* How We Work */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 34px; left: 10%; right: 10%;
    height: 0;
    border-top: 2px dotted rgba(19,27,51,0.25);
    z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-icon {
    position: relative;
    width: 68px; height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 2px solid var(--teal);
    background: var(--white);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.process-icon svg { width: 26px; height: 26px; }
.process-num {
    position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    background: var(--navy);
    color: var(--white);
    font-size: 11px; font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.process-step:hover .process-icon {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-4px);
}
.process-step h3 { font-size: 17px; margin-bottom: 8px; color: var(--navy); }
.process-step p { color: var(--gray); font-size: 14px; line-height: 1.5; max-width: 210px; margin: 0 auto; }
@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .process-steps::before { display: none; }
}
@media (max-width: 600px) { .process-steps { grid-template-columns: 1fr; } }

/* Why Choose Us */
.why-choose { background: var(--navy); }
.why-choose .section-head p { color: #b8bdd1; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}
.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 34px 22px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.why-card-highlight { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.16); }
.why-icon {
    width: 54px; height: 54px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    color: var(--teal);
}
.why-card:nth-child(4) .why-icon,
.why-card-highlight .why-icon { color: #f0a93a; }
.why-card:nth-child(5) .why-icon { color: var(--red); }
.why-icon svg { width: 34px; height: 34px; }
.why-card h3 { color: var(--white); font-size: 18px; margin-bottom: 10px; }
.why-card p { color: #b8bdd1; font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .25s ease; border-top: 4px solid var(--red);
}
.service-card:hover { transform: translateY(-8px); }
.service-card .service-body { padding: 24px 28px 30px; }
.service-thumb { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.service-card:hover .service-thumb img { transform: scale(1.06); }
.service-thumb-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--red-dark));
}
.service-thumb-fallback svg { width: 25%; color: rgba(255,255,255,0.9); }
.service-thumb-fallback.tone-2 { background: linear-gradient(135deg, var(--red), var(--navy)); }
.service-thumb-fallback.tone-3 { background: linear-gradient(135deg, var(--teal), var(--navy)); }
.service-icon {
    width: 60px; height: 60px; border-radius: 16px; background: rgba(201,21,31,0.1);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--red);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 10px; }
.service-card a.more { color: var(--red); font-weight: 600; margin-top: 14px; display: inline-block; }

/* Location chips */
.location-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.location-chips a {
    background: var(--white); padding: 12px 24px; border-radius: 50px; font-weight: 600;
    box-shadow: var(--shadow); border: 2px solid transparent;
}
.location-chips a:hover { border-color: var(--red); color: var(--red); }

/* Gallery */
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1; }
.gallery-item img, .gallery-item .ph { width: 100%; height: 100%; object-fit: cover; }
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-bar button {
    background: var(--white); border: 2px solid var(--light-gray); padding: 10px 22px; border-radius: 50px;
    font-weight: 600; cursor: pointer;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Testimonials */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.stars { color: #f5a623; margin-bottom: 10px; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding: 60px 0; text-align: center; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 26px; }

/* Footer */
footer.main-footer { background: var(--navy); color: #c9cddb; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
footer.main-footer h4 { color: var(--white); margin-bottom: 18px; font-size: 17px; }
footer.main-footer ul li { margin-bottom: 10px; }
footer.main-footer a:hover { color: var(--red); }
.footer-logo img { height: 50px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Breadcrumb / page header */
.page-header { background: var(--navy); color: var(--white); padding: 60px 0; text-align: center; }
.page-header .breadcrumb { color: #aeb4c8; margin-top: 10px; }
.page-header .breadcrumb a { color: var(--white); }

/* Photo banner variant (used on Services page) */
.page-header-photo {
    position: relative;
    padding: 90px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}
.page-header-photo .banner-grid {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    z-index: 0;
}
.page-header-photo .banner-grid img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.page-header-photo .banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(15,23,55,0.88) 0%, rgba(29,39,69,0.78) 100%);
    z-index: 1;
}
.page-header-photo .container { position: relative; z-index: 2; }
@media (max-width: 700px) {
    .page-header-photo { padding: 60px 0; }
    .page-header-photo .banner-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Content page (service-location) */
.content-wrap { max-width: 900px; margin: 0 auto; }
.content-wrap h2 { margin: 40px 0 16px; }
.content-wrap h3 { margin: 26px 0 12px; color: var(--red-dark); }
.content-wrap p { margin-bottom: 16px; color: #3b3f4c; }
.content-wrap ul { margin: 0 0 20px 20px; list-style: disc; color: #3b3f4c; }
.content-wrap li { margin-bottom: 8px; }
.side-cta {
    background: var(--light-gray); border-radius: var(--radius); padding: 30px; text-align: center; margin: 40px 0;
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px; border: 2px solid var(--light-gray); border-radius: 10px; font-family: inherit; font-size: 15px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 40px; }

/* Admin panel */
body.admin { background: #f4f6fb; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--navy); color: var(--white); flex-shrink: 0; }
.admin-sidebar .logo-box { padding: 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar .logo-box img { height: 40px; filter: brightness(0) invert(1); }
.admin-sidebar nav a {
    display: flex; align-items: center; gap: 10px; padding: 14px 22px; color: #c9cddb; font-weight: 500; border-left: 3px solid transparent;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,0.06); color: var(--white); border-left-color: var(--red); }
.admin-main { flex: 1; padding: 30px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-card { background: var(--white); border-radius: 14px; padding: 26px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); margin-bottom: 24px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-box { background: var(--white); border-radius: 14px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.05); border-left: 4px solid var(--red); }
.stat-box .num { font-size: 30px; font-weight: 700; color: var(--navy); }
.stat-box .label { color: var(--gray); font-size: 14px; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--light-gray); font-size: 14px; }
table.admin-table th { background: var(--light-gray); font-weight: 600; }
.badge { padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #e5e7eb; color: #374151; }
.action-links a { margin-right: 10px; font-size: 13px; font-weight: 600; }
.action-links a.edit { color: #2563eb; }
.action-links a.delete { color: var(--red); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.alert-success { background: #d1fae5; color: #065f46; }
.alert-error { background: #fee2e2; color: #991b1b; }
.login-box { max-width: 400px; margin: 80px auto; background: var(--white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.login-box .logo-box { text-align: center; margin-bottom: 26px; }
.login-box .logo-box img { height: 60px; margin: 0 auto; }
.wordcount-tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }

/* About Us intro (homepage) */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-intro-grid h2 { font-size: 40px; line-height: 1.2; margin: 14px 0 20px; color: var(--navy); }
.about-intro-grid > div:first-child::after {
    content: '';
    display: block;
    width: 60px; height: 3px;
    background: var(--red);
    margin: 0 0 22px;
}
.about-intro-grid p { font-size: 16px; margin-bottom: 26px; max-width: 480px; }
.about-intro-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
}
.about-intro-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 74px; height: 74px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.play-btn svg { width: 26px; height: 26px; margin-left: 3px; }
@media (max-width: 900px) {
    .about-intro-grid { grid-template-columns: 1fr; gap: 34px; }
    .about-intro-grid h2 { font-size: 32px; }
}

/* About Us detail (SEO content, homepage) */
.about-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.about-detail-block h3 { color: var(--navy); font-size: 19px; margin-bottom: 12px; }
.about-detail-block p { font-size: 15px; line-height: 1.7; }
.about-detail-block-wide { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .about-detail-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Blog */
.blog-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .25s ease;
}
.blog-card:hover { transform: translateY(-8px); }
.blog-card-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.06); }
.blog-card-body { padding: 22px 24px 26px; }
.blog-card-date { color: var(--red); font-size: 13px; font-weight: 600; letter-spacing: .5px; margin-bottom: 8px; text-transform: uppercase; }
.blog-card h3 { margin-bottom: 10px; font-size: 19px; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--red); }
.blog-card p { color: var(--gray); font-size: 14px; line-height: 1.6; }
.blog-body h2 { margin: 30px 0 14px; color: var(--navy); }
.blog-body h3 { margin: 24px 0 12px; color: var(--red-dark); }
.blog-body p { margin-bottom: 16px; color: #3b3f4c; line-height: 1.75; }
.blog-body ul, .blog-body ol { margin: 0 0 20px 20px; color: #3b3f4c; }
.blog-body li { margin-bottom: 8px; }
.blog-body img { max-width: 100%; border-radius: 12px; margin: 20px 0; }
