:root {
    --primary-color: #0D3C55;
    --secondary-color: #F16C20;
    --text-color: #333;
    --font-family: 'Instrument Sans', sans-serif;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --border-radius: 4px;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #EDEEF0;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    transition: all 0.3s ease;
}

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

/* Header */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.site-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.site-header .logo img {
    height: 40px;
    width: auto;
}

.company-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main-nav .nav-item {
    margin-left: 30px;
    position: relative;
    padding: 10px 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
}

.main-nav a:hover,
.main-nav .nav-item.active>a {
    color: var(--secondary-color);
}

/* Dropdown */
.nav-item .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 250px;
    padding: 10px 0;
    z-index: 1001;
    border-top: 3px solid var(--secondary-color);
    border-radius: 0 0 4px 4px;
}

.nav-item:hover .dropdown {
    display: block;
}

.dropdown .nav-item {
    margin: 0;
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--primary-color);
    font-size: 13px;
    text-transform: none;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown a:hover {
    background-color: #f9f9f9;
    color: var(--secondary-color);
}

.dropdown .nav-item:last-child a {
    border-bottom: none;
}

/* Helper Classes */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color) !important;
    color: var(--white) !important;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: var(--white) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-login {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
}

.btn-login:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary i {
    color: inherit;
}

.text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.text-link:hover {
    color: var(--primary-color);
}

.section {
    padding: 80px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.row.align-items-center {
    align-items: center;
}

.col-text,
.col-image {
    padding: 0 15px;
    flex: 1;
}

.col-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    display: block;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 0;
    /* Override */
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    margin-bottom: 60px;
}

.hero-clients {
    margin-top: 80px;
}

.clients-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    animation: fadeDown 0.6s ease-out 0.3s both;
}

.clients-slider {
    width: 660px;
    /* Space for 3 logos (180px each + 60px gaps) */
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    animation: fadeDown 0.6s ease-out 0.5s both;
}

.clients-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scrollLogos 15s infinite;
}

.team-clients {
    margin-top: 50px;
}

.client-logo {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.client-logo img {
    height: 70px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7);
    transition: all 0.3s ease;
}

.about-page-complex .client-logo img {
    height: 90px;
}

.client-logo img:hover {
    opacity: 1;
}

@keyframes scrollLogos {

    0%,
    15% {
        transform: translateX(0);
    }

    16.6%,
    31% {
        transform: translateX(-240px);
    }

    33.3%,
    48% {
        transform: translateX(-480px);
    }

    50%,
    65% {
        transform: translateX(-720px);
    }

    66.6%,
    81% {
        transform: translateX(-960px);
    }

    83.3%,
    98% {
        transform: translateX(-1200px);
    }

    100% {
        transform: translateX(-1440px);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro Section */
.intro-section h2 {
    font-size: 36px;
    color: #333;
    max-width: 400px;
}

.intro-section p {
    margin-bottom: 30px;
    color: #666;
    max-width: 450px;
}

/* Feature Section */
.feature-box {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    color: var(--white);
}

.feature-box .row.no-gutters {
    margin: 0;
}

.feature-box .col-image {
    padding: 0;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.feature-box .col-text {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.feature-box p {
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Industries Section */
.industries-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.industries-section h2 {
    font-size: 36px;
    color: #333;
    max-width: 400px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    gap: 20px;
}

.industry-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.industry-item .industry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transition: background 0.3s;
}

.industry-item:hover .industry-overlay {
    background: linear-gradient(to top, var(--primary-color), transparent);
}

.industry-item h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* Services Matrix */
.services-matrix .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.services-matrix .header-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.services-matrix .header-text p {
    color: #666;
    max-width: 600px;
}

.services-grid-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.card-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-link:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: #0D1B23;
    /* Very dark blue matching design */
    color: var(--white);
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
    font-family: var(--font-family);
}

.site-footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.footer-brand .footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-brand .company-name {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 25px;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact-info p {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.footer-copyright {
    opacity: 0.8;
}

.footer-copyright a {
    color: var(--white);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 30px;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
}

/* Services Page Complex */
.services-page-complex {
    padding-top: 80px;
}

.services-hero {
    padding: 80px 0;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text .sub-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--primary-color);
}

.hero-image {
    flex: 1.2;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Stats */
.services-stats {
    padding-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stats-col {
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.stats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stats-list li {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* Capabilities Dark */
.services-capabilities {
    background: #061A25;
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.services-capabilities .section-watermark {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    z-index: 1;
}

.services-capabilities .container {
    position: relative;
    z-index: 2;
}

.capabilities-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.capabilities-header h2 {
    font-size: 48px;
    margin: 0;
}

.btn-text {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.capability-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.capability-item p {
    font-size: 14px;
    opacity: 0.8;
}

/* Accreditations */
.services-accreditations {
    padding: 100px 0;
}

.accred-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.accred-image {
    flex: 1;
}

.accred-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.accred-text {
    flex: 1;
}

.accred-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.accred-list {
    list-style: none;
    padding: 0;
}

.accred-list li {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.accred-list li::before {
    content: "•";
    color: var(--secondary-color);
    font-size: 30px;
}

/* Culture */
.services-culture {
    padding-bottom: 120px;
}

.culture-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.culture-main h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.culture-main p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.culture-box {
    background: #0D1B23;
    color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.culture-box .box-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.culture-box .box-content {
    padding: 40px;
}

.culture-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.culture-box p {
    font-size: 14px;
    opacity: 0.8;
}

.btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
}

/* Expanded Detailed Services Section */
.child-services-section {
    padding: 100px 0;
    background: #f4f6f8;
}

.section-title-area {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-area h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title-area p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.detailed-service-card {
    background: var(--white);
    padding: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.detailed-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.detailed-service-card .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.detailed-service-card .card-content {
    padding: 40px;
}

.detailed-service-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.3;
}

.detailed-service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.learn-more-btn:hover {
    color: var(--primary-color);
}

/* About Page Restructured */
.about-page-complex {
    padding-top: 80px;
}

.about-hero-intro {
    padding: 120px 0;
}

.about-hero-intro .intro-text h1 {
    font-size: 72px;
    margin: 20px 0;
    color: var(--primary-color);
}

.intro-row {
    display: flex;
    align-items: center;
    gap: 100px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 0 var(--primary-color);
}

/* Team Section Dark */
.about-team {
    background: #0D1B23;
    color: var(--white);
    padding: 120px 0;
}

.about-team .sub-label {
    color: var(--secondary-color);
}

.team-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.team-image {
    flex: 1;
}

.team-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.team-text {
    flex: 1.5;
}

.team-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.team-text p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

/* Capabilities */
.about-capabilities {
    padding: 120px 0;
}

.cap-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.cap-text {
    flex: 1;
}

.cap-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.vision-box {
    padding: 35px;
    background: #f8f9fa;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.vision-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.vision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vision-list li {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    font-weight: 600;
    color: #555;
}

.vision-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 900;
}

.cap-image {
    flex: 1;
}

.cap-image img {
    width: 100%;
    border-radius: var(--border-radius);
    position: sticky;
    top: 120px;
}

.back-to-top a {
    color: #333;
    text-decoration: none;
    font-weight: 700;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 160px;
}

/* Careers Page Complex */
.careers-page-complex {
    padding-top: 80px;
    background: #0D1B23;
    /* Dark background matching reference listings */
    color: var(--white);
}

.no-padding {
    padding: 0 !important;
}

.hero-split {
    display: flex;
    height: 600px;
    background: var(--white);
}

.hero-image-left {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.hero-text-right {
    flex: 1;
    background: #0D1B23;
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 80px;
}

.hero-text-right .text-content {
    max-width: 500px;
}

.hero-text-right h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-text-right p {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Listings Header */
.job-listings-header {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.job-listings-header .watermark-title {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    white-space: nowrap;
}

.job-listings-header h2 {
    position: relative;
    z-index: 2;
    font-size: 48px;
    margin: 0;
}

/* Job Items */
.job-items-section {
    padding-bottom: 120px;
}

.job-item {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.job-header h3 {
    font-size: 32px;
    margin: 0;
}

.job-toggle {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.job-toggle i {
    color: var(--white);
}

.job-body {
    margin-top: 60px;
}

.job-content-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.job-main-info h4 {
    font-size: 20px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.job-summary {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.job-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.job-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
    opacity: 0.8;
    font-size: 15px;
}

.job-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.job-sidebar .sidebar-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
}

.sidebar-box h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.details-list li strong {
    color: var(--white);
    opacity: 0.6;
    font-weight: 400;
}

.disclaimer {
    display: block;
    font-size: 12px;
    opacity: 0.5;
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px !important;
}

.back-to-top a:hover {
    background: var(--secondary-color);
    color: var(--white);
}

@media (max-width: 768px) {

    .info-row,
    .intro-row,
    .form-row {
        flex-direction: column;
        display: block;
    }

    .info-image,
    .intro-image,
    .form-group {
        margin-bottom: 30px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
    }

    .xentila-form {
        padding: 30px;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Complex */
.contact-info-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.contact-info-section.first-section {
    padding-top: 140px;
    /* Adjust for fixed header */
}

.info-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.info-image,
.info-text {
    flex: 1;
}

.info-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.info-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.contact-details-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.detail-item.wide {
    grid-column: span 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
    margin-bottom: 10px;
}

.detail-item {
    display: flex;
    gap: 20px;
}

.detail-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.detail-content h5 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.6;
}

.detail-content p {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

/* Form Messages */
.form-message {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error,
.form-message.danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.contact-form-section {
    padding: 120px 0;
    background: #EDEEF0;
}

.form-grid {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-header h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.form-header p {
    font-size: 18px;
    opacity: 0.7;
}

.xentila-form {
    background: var(--white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
}

.xentila-form .btn-secondary {
    padding: 18px 40px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

/* Service Details */
.service-details-section {
    padding: 100px 0;
    background: var(--white);
    color: var(--primary-color);
}

.service-content-wrapper {
    max-width: 800px;
}

.service-content-wrapper h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.service-content-wrapper h3 {
    font-size: 24px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.service-content-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    opacity: 0.9;
}

.service-content-wrapper ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 40px;
}

.service-content-wrapper li {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    font-weight: 500;
}

.service-content-wrapper li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 20px;
}

.service-intro-text {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

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

/* Error 404 Page */
.error-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.error-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.error-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 900;
    color: rgba(13, 60, 85, 0.03);
    /* Faded primary color */
    z-index: -1;
    pointer-events: none;
    line-height: 1;
}

.error-content h1 {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.error-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions .btn {
    min-width: 200px;
}

/* Login Page Wrapper */
.login-page-wrapper {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.back-to-home-link {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(13, 60, 85, 0.5);
    border-radius: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.back-to-home-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateX(-5px);
}

@media (max-width: 991px) {
    .back-to-home-link {
        color: var(--primary-color);
        background: rgba(0, 0, 0, 0.05);
    }
}

.login-split {
    display: flex;
    height: 100%;
}

.login-image-side {
    flex: 1.2;
    background-size: cover;
    background-position: center;
    position: relative;
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 992px) {
    .login-image-side {
        display: block;
    }
}

.login-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 60, 85, 0.9) 0%, rgba(13, 60, 85, 0.4) 100%);
    display: flex;
    align-items: center;
    padding: 80px;
}

.overlay-content {
    max-width: 500px;
    color: var(--white);
}

.login-logo-big {
    height: 60px;
    margin-bottom: 40px;
}

.overlay-content h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.overlay-content p {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
}

.login-form-side {
    flex: 1;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
}

.form-intro {
    margin-bottom: 40px;
}

.form-intro h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-intro p {
    color: #666;
    font-size: 16px;
}

.xentila-login-form .form-group {
    margin-bottom: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-with-icon input {
    padding-left: 45px !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: 10px;
    color: #666;
}

.forgot-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 15px !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login-submit:hover {
    background: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.login-footer-links {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-footer-links a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.login-footer-links a:hover {
    text-decoration: underline;
}

.login-error-msg {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    text-align: left;
}

.login-error-msg i {
    font-size: 18px;
    margin-top: 2px;
}