:root {
    --navy: #081126;
    --navy-light: #102449;
    --blue: #183b82;
    --blue-bright: #2d66cf;
    --accent: #e46a24;
    --accent-dark: #b74c11;
    --white: #ffffff;
    --gray-50: #f5f7fb;
    --gray-100: #e8edf7;
    --gray-200: #c4cee0;
    --gray-400: #8794ad;
    --gray-600: #59657d;
    --gray-800: #081126;
    --shadow: 0 4px 24px rgba(8, 17, 38, 0.14);
    --shadow-lg: 0 12px 48px rgba(8, 17, 38, 0.22);
    --radius: 12px;
    --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
    min-width: 320px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: var(--radius);
}

.logo-img,
.hero-video-wrap img,
.about-feature-icon img,
.service-icon img,
.value-icon img,
.portfolio-viewer-figure img {
    border-radius: 0;
}

a { text-decoration: none; color: inherit; }

i.fa-solid,
i.fa-regular,
i.fa-brands {
    color: var(--accent);
}

html,
body {
    overflow-x: hidden;
}

body.nav-open {
    overflow-y: hidden !important;
}

body.nav-open .nav-overlay {
    overflow-y: auto;
    overscroll-behavior: contain;
}

.container {
    max-width: 1200px;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 24px;
}

section,
.footer,
.header,
.blog-grid,
.services-grid,
.portfolio-grid,
.contact-grid,
.stats-inner,
.values-grid,
.team-grid,
.tools-grid,
.clients-grid,
.project-sheet-grid,
.related-services-grid,
.benefits-grid,
.process-steps,
.testimonials-track {
    max-width: 100%;
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    body {
        overflow-x: hidden;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 17, 38, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1;
}

.logo-img {
    width: 180px;
    height: 50px;
    object-fit: cover;
    object-position: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links > li > a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--white); }

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { width: 100%; }

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-toggle { display: flex; align-items: center; gap: 9px; }

.dropdown-arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-size: 0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow { transform: rotate(225deg) translateY(-2px); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    transform: translateY(8px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-800);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--accent);
    padding-left: 24px;
}

.dropdown-menu li a::after { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(228, 106, 36, 0.32);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline-dark:hover {
    background: var(--accent);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    position: relative;
}

.menu-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(2px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Hero - Video */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}
.hero h1 span { color: var(--accent); }
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 17, 38, 0.78);
    z-index: 1;
  filter: saturate(60%) brightness(10%) contrast(100%);
    /* opacity: 0.741852; */
}

.hero-bg-fallback {
    position: absolute;
    inset: 0;
    background: url('../images/Home\ Section\ BG.jpeg') center/cover no-repeat;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: none;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 120px 0 80px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(2, 55, 70, 0.493);
    border: 1px solid rgba(17, 181, 228, 0.4);
    border-radius: 50px;
    color: #e46a24de;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-align: center;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 36px;
    max-width: 560px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

/* Page Hero (inner pages) */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--navy);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--accent); }

/* Stats */
.stats {
    background: var(--white);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.page-stats { margin-top: 0; }

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.stat-item {
    padding: 36px 24px;
    text-align: center;
    border-right: 1px solid var(--gray-200);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number span { color: var(--accent); }

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Sections */
section { padding: 96px 0; }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* About */
.about { background: var(--gray-50); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--accent);
    color: var(--navy);
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(20, 129, 186, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    color: var(--accent);
}

.value-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(48%) sepia(92%) saturate(1465%) hue-rotate(347deg) brightness(94%) contrast(91%);
}

.value-icon i { color: var(--accent); }

.faq-answer > p {
    padding: 0 24px 24px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    height: 260px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info {
    padding: 24px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-info p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card-link{
    text-decoration:none;
    display:block;
    color:inherit;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--navy-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-icon i,
.service-icon svg {
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-card ul { list-style: none; }

.service-card li {
    color: var(--gray-600);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-dark);
    font-weight: 700;
}

.services-extra {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.services-extra-item {
    background: var(--gray-50);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.services-extra-item:hover {
    background: var(--navy);
    color: var(--white);
}

.services-extra-item:hover .extra-label { color: rgba(255,255,255,0.7); }

.extra-icon { font-size: 1.5rem; margin-bottom: 8px; }

.extra-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.services-extra-item:hover .extra-title { color: var(--white); }

.extra-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* Service Detail */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail:last-child { border-bottom: none; }

.service-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.service-detail-list {
    list-style: none;
    margin: 20px 0;
}

.service-detail-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--gray-600);
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-dark);
    font-weight: 700;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.tool-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.tool-item:hover {
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tool-item span {
    display: block;
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.tool-item p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
}

/* Why Choose Us */
.why { background: var(--navy); color: var(--white); }

.why .section-tag { color: var(--accent); }
.why .section-header h2 { color: var(--white); }
.why .section-header p { color: rgba(255,255,255,0.65); }

/* Submission Popup */
.submission-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 16, 33, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 2000;
}

.submission-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.submission-popup-card {
    width: min(520px, calc(100% - 40px));
    background: var(--white);
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}

.submission-popup-card h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin: 18px 0 14px;
}

.submission-popup-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.popup-pretitle {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.popup-close:hover {
    color: var(--navy);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.why-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* Portfolio */
.portfolio { background: var(--white); }

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item.hidden { display: none; }

.portfolio-item.portfolio-sheet { display: none; }

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--white);
    transform: scale(1.06);
    transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.1); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 16, 33, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    width: fit-content;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}

.portfolio-overlay p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.project-sheet-archive { background: var(--gray-50); }

.project-sheet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-sheet-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
}

.project-sheet-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--white);
    transition: transform 0.5s ease;
}

.project-sheet-card:hover img { transform: scale(1.1); }

.project-sheet-card div {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: rgba(0, 16, 33, 0.9);
    opacity: 0;
    transition: var(--transition);
}

.project-sheet-card:hover div { opacity: 1; }

.project-sheet-card span {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-sheet-card h3 {
    margin-top: 5px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-sheet-card p {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.portfolio-more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.portfolio-viewer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0, 16, 33, 0.22);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portfolio-viewer.active {
    opacity: 1;
    visibility: visible;
}

.portfolio-viewer-panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    width: min(1180px, 100%);
    max-height: 94vh;
    justify-content: center;
}

.portfolio-viewer-close {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(48,77,109,0.9);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-viewer-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--navy);
}

.portfolio-viewer-close span,
.portfolio-viewer-close span::after {
    position: absolute;
    top: 19px;
    left: 11px;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: '';
}

.portfolio-viewer-close span { transform: rotate(45deg); }

.portfolio-viewer-close span::after {
    top: 0;
    left: 0;
    transform: rotate(90deg);
}

.portfolio-viewer-figure {
    flex: 1;
    min-width: 0;
    max-height: 94vh;
    margin: 0;
    padding: 0;
    overflow: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-viewer-figure::-webkit-scrollbar { display: none; }

.portfolio-viewer-image-wrap {
    position: relative;
    overflow: hidden;
    max-height: 70vh;
    border-radius: 0;
    box-shadow: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-viewer-image-wrap::-webkit-scrollbar { display: none; }

.portfolio-viewer-figure img {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin: 0 auto;
    background: transparent;
    border-radius: 20px;
    clip-path: inset(0 round 20px);
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center top;
    transition: transform 0.25s ease;
}

.portfolio-viewer-figure img[style*="scale(1.5)"],
.portfolio-viewer-figure img[style*="scale(2)"] { cursor: grab; }

.portfolio-viewer-figure img.is-dragging {
    cursor: grabbing;
    transition: none;
}

.portfolio-viewer-figure figcaption {
    padding: 20px 4px 2px;
    color: var(--white);
}

.portfolio-viewer-figure h2 {
    margin: 8px 0 4px;
    font-size: 1.45rem;
}

.portfolio-viewer-figure p {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    max-width: 900px;
    line-height: 1.8;
}

.portfolio-viewer-arrow {
    position: relative;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    background: rgba(10,31,68,0.9);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    align-self: center;
}

.portfolio-viewer-arrow span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    margin: -6px 0 0 -6px;
}

.portfolio-viewer-prev span { transform: rotate(-135deg); }

.portfolio-viewer-next span { transform: rotate(45deg); }

.portfolio-viewer-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--navy);
}

.portfolio-viewer-open { overflow: hidden; }

/* Process */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 16px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--blue);
    z-index: 0;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-circle {
    width: 72px;
    height: 72px;
    background: var(--white);
    border: 3px solid var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover .process-circle {
    background: var(--blue);
    border-color: var(--accent);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.85rem;
    color: var(--gray-600);
    max-width: 180px;
    margin: 0 auto;
}

/* Testimonials Slider */
.testimonials { background: var(--gray-50); }

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 12px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
    font-size: 1rem;
    text-align: left;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-align: left;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--navy);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

/* Client Logos */
.clients { background: var(--white); padding: 64px 0; }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
}

.client-logo {
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
    color: var(--blue);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.blog-category {
    color: var(--accent-dark);
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content h3 a:hover { color: var(--blue); }

.blog-content p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.read-more {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: 1px;
}

.read-more:hover { color: var(--accent-dark); }

/* Blog Single */
.blog-single-content {
    max-width: 760px;
    margin: 0 auto;
}

.blog-single-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-lg);
}

.blog-single-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.blog-single-content h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
    margin: 32px 0 16px;
}

.blog-single-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-single-content ul {
    margin: 16px 0 16px 24px;
    color: var(--gray-600);
}

.blog-single-content ul li { margin-bottom: 8px; }

.blog-author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 48px;
}

.blog-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-bright);
    color: var(--navy);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Career */
.jobs-list { display: flex; flex-direction: column; gap: 20px; }

.job-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow);
}

.job-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.job-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.job-tag {
    background: rgba(20, 129, 186, 0.1);
    color: var(--blue);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
}

.benefit-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
}

.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover { background: var(--gray-50); }

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer { max-height: 420px; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(228, 106, 36, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-detail h4 {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.map-placeholder {
    background: var(--gray-100);
    border-radius: var(--radius);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-200);
    margin-top: 48px;
}

.map-placeholder-content {
    text-align: center;
    color: var(--gray-400);
}

.map-placeholder-content span {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
}

.contact-map-embed {
    height: 320px;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-top: 48px;
}

.contact-map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-800);
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(17, 181, 228, 0.14);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { width: 100%; margin-top: 8px; }

/* Newsletter */
.newsletter {
    background: var(--white);
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
    padding: 64px 0;
}

.blog-list-page .newsletter,
.blog-post-page .newsletter {
    background: var(--gray-50);
}

.blog-list-page .newsletter,
.blog-post-page .newsletter {
    background: var(--gray-50);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.newsletter-text h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.newsletter-text p {
    color: var(--gray-600);
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--white);
    color: var(--gray-800);
}

.newsletter-form .btn {
    white-space: nowrap;
    color: var(--white);
    border: 2px solid var(--accent);
}

/* CTA Banner */
.cta-banner {
    background: var(--white);
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
    padding: 80px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-banner .btn-primary {
    color: var(--white);
}

.cta-banner .btn-outline {
    color: var(--accent);
}

.cta-banner .btn-primary:hover,
.cta-banner .btn-outline:hover {
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a[href^="tel:"],
.footer-links a[href^="mailto:"] {
    font-size: 1rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-links .footer-social-item {
    margin-top: 16px;
    margin-bottom: 0;
}

.footer-social-links {
    display: grid;
    grid-template-columns: repeat(4, 38px);
    gap: 10px;
}

.footer-social-links a {
    display: grid;
    place-items: center;
    width: 38px;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 8px;
    overflow-y: auto;
}

.nav-overlay.active { display: flex; }

.nav-overlay .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 24px;
}

.nav-overlay .nav-links > li { width: 100%; text-align: center; }

.nav-overlay .nav-links > li > a {
    font-size: 1.15rem;
    color: var(--white);
    display: block;
    padding: 12px 0;
}

.nav-overlay .nav-links > li > a::after { display: none; }

.nav-overlay .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: rgba(255,255,255,0.05);
    box-shadow: none;
    margin-top: 4px;
    display: none;
}

.nav-overlay .nav-dropdown.open .dropdown-menu { display: block; }

.nav-overlay .dropdown-menu li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.nav-overlay .dropdown-menu li a:hover {
    background: transparent;
    color: var(--accent);
}

.nav-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.nav-close:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Wide services dropdown */
.dropdown-menu-wide {
    min-width: 320px;
    max-height: 420px;
    overflow-y: auto;
    columns: 1;
}

.dropdown-divider {
    border-top: 1px solid var(--gray-200);
    margin-top: 4px;
    padding-top: 4px;
}

.dropdown-divider a {
    color: var(--blue) !important;
    font-weight: 600 !important;
    font-size: 0 !important;
}

.dropdown-divider a::before {
    content: 'View All Services';
    font-size: 0.9rem;
    margin-right: 8px;
}

.dropdown-divider a::after,
.read-more-link::after,
.related-service-card .arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    vertical-align: 1px;
}

.dropdown-divider a::after {
    content: '';
}

.service-card-link .read-more-link {
    font-size: 0.9rem;
}

.service-card-link .read-more-link::after {
    content: '';
    margin-left: 9px;
    border-top-width: 2px;
    border-right-width: 2px;
    width: 7px;
    height: 7px;
}

/* Service inner page (Struccore-style) */
.page-hero-service .page-hero-content { max-width: 800px; }

.page-hero-category {
    display: inline-block;
    background: rgba(17, 181, 228, 0.15);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.service-page-body { padding: 64px 0; background: var(--gray-50); }

.service-page-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

.service-main { min-width: 0; }

.service-intro-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.service-intro-block img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Prevent occasional white seams on some images (subpixel/compositing artifacts) */
.service-intro-hero-img {
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: auto;
}

.service-intro-block h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.service-intro-block p { color: var(--gray-600); }

.service-content-block {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.service-content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.service-content-block > p { color: var(--gray-600); margin-bottom: 20px; }

.service-checklist {
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-checklist li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.service-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 1.1rem;
}

.service-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.service-benefits-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
}

.service-process-block {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.service-process-block h2 { font-size: 1.5rem; margin-bottom: 28px; color: var(--navy); }

.service-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-process-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.service-process-step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--navy);
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.service-process-step h4 { font-size: 0.95rem; margin-bottom: 8px; color: var(--navy); }
.service-process-step p { font-size: 0.85rem; color: var(--gray-600); }

.service-faq-block {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.service-faq-block h2 { font-size: 1.5rem; margin-bottom: 24px; color: var(--navy); }

.related-services-inline h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--navy);
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-800);
    transition: var(--transition);
}

.related-service-card:hover {
    border-color: var(--accent);
    color: var(--blue);
    padding-left: 24px;
}

.related-service-card .arrow {
    color: var(--accent);
    font-size: 0;
    border-top-color: currentColor;
    border-right-color: currentColor;
}

/* Service sidebar */
.service-sidebar { position: sticky; top: 96px; }

.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--navy);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-links { list-style: none; }

.sidebar-links li a {
    display: block;
    padding: 9px 12px;
    font-size: 0.85rem;
    color: var(--gray-600);
    border-radius: 6px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-links li a:hover,
.sidebar-links li a.active {
    background: var(--gray-50);
    color: var(--blue);
    border-left-color: var(--accent);
    padding-left: 16px;
}

.sidebar-cta { text-align: center; }

.sidebar-cta p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.btn-block { width: 100%; }

.sidebar-phone {
    display: block;
    margin-top: 12px;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.1rem;
}

.sidebar-phone:hover { color: var(--blue); }

/* Services listing cards with links */
.service-card-link {
    display: block;
    color: inherit;
    transition: var(--transition);
}

.service-card-link:hover .service-card {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-card-link .read-more-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card-link:hover .read-more-link { color: var(--accent-dark); }

/* Responsive */
@media (max-width: 1024px) {
    .service-page-layout { grid-template-columns: 1fr; }
    .service-sidebar { position: static; }
    .service-intro-block { grid-template-columns: 1fr; }
    .service-benefits-grid { grid-template-columns: 1fr; }
    .service-process-steps { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .services-extra { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-grid { grid-template-columns: repeat(3, 1fr); }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .project-sheet-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .service-detail { grid-template-columns: 1fr; gap: 32px; }
    .service-detail:nth-child(even) { direction: ltr; }
    .newsletter-inner { flex-direction: column; text-align: center; }
    .newsletter-form { max-width: 100%; width: 100%; }
}

@media (max-width: 768px) {
    .header .nav-links, .header .btn-primary { display: none; }
    .menu-toggle { display: flex; }
    .nav-dropdown .dropdown-menu { display: none; }
    body.nav-open { overflow-x: hidden !important; overflow-y: hidden !important; }

    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item { border-bottom: 1px solid var(--gray-200); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-features { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .project-sheet-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-steps::before { display: none; }

    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    section { padding: 64px 0; }

    .blog-grid { grid-template-columns: 1fr; }
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .job-card { flex-direction: column; align-items: flex-start; }
    .newsletter-form { flex-direction: column; }
    .service-process-steps { grid-template-columns: 1fr; }
    .related-services-grid { grid-template-columns: 1fr; }
    .service-intro-block, .service-content-block, .service-process-block, .service-faq-block { padding: 24px; }
}


