:root {
    --primary-color: #0B2447;
    /* Deep Navy Blue */
    --secondary-color: #19376D;
    /* Lighter Navy */
    --accent-color: #D4AF37;
    /* Metallic Gold/Orange for CTAs */
    --text-color: #333333;
    --heading-color: var(--primary-color);
    --light-text: #666666;
    --bg-light: #F8F9FA;
    --bg-dark-section: var(--primary-color);
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --success: #28a745;

    --body-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --header-bg: #FFFFFF;

    --btn-nav-bg: var(--primary-color);
    --btn-nav-text: var(--white);
    --btn-primary-text: var(--primary-color);

    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #1e293b;
    --accent-color: #eab308;

    --text-color: #e2e8f0;
    --heading-color: #f8fafc;
    --light-text: #94a3b8;

    --bg-light: #0f172a;
    --bg-dark-section: #0b1120;

    --white: #ffffff;
    --border-color: #334155;

    --body-bg: #020617;
    --card-bg: #1e293b;
    --header-bg: #0f172a;

    --btn-nav-bg: #60a5fa;
    --btn-nav-text: #020617;
    --btn-primary-text: #020617;
}

/* Responsive Typography Scale */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Fix for anchor jumps with fixed header */
html {
    scroll-padding-top: 50px;
    /* Better modern alternative to scroll-margin depending on browser, but let's stick to scroll-margin on sections for robustness or use this global if structure allows */
}

section[id] {
    scroll-margin-top: 50px;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark-section);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--btn-primary-text);
}

.btn-primary:hover {
    background-color: #bfa030;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(1px) scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.full-width {
    width: 100%;
}

/* Header */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
    transition: var(--transition);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-nav):active {
    transform: scale(0.95);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.nav-links .btn-nav {
    background-color: var(--btn-nav-bg);
    color: var(--btn-nav-text);
    padding: 8px 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-links .btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.nav-links .btn-nav:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-links .btn-nav:hover::before {
    left: 100%;
}

.nav-links .btn-nav:active {
    transform: translateY(0) scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

.theme-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
}

.theme-switch input {
    display: none;
}

.theme-switch .slider {
    position: relative;
    width: 50px;
    height: 26px;
    background-color: var(--secondary-color);
    border-radius: 34px;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.theme-switch .slider::before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: 0.4s;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.theme-switch input:checked+.slider {
    background-color: var(--primary-color);
}

.theme-switch input:checked+.slider::before {
    transform: translateX(24px);
}

.theme-switch .slider i.fa-moon {
    color: var(--white);
    font-size: 11px;
    z-index: 1;
}

.theme-switch .slider i.fa-sun {
    color: #f39c12;
    font-size: 11px;
    z-index: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Changed from 90vh to 100vh for fuller impact */
    min-height: 600px;
    background-image: url('assets/hero_industry.png');
    /* Placeholder image needed */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 100px;
    /* Header height offset if needed, or overlay header */
}

/* To handle the fixed header cleanly, we can actually make the hero top padding compensate or just keep margin */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 36, 71, 0.9), rgba(11, 36, 71, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    background-color: rgba(11, 36, 71, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
    margin-left: -15px;
    /* Offset the padding to perfectly align the visual text with the h2 */
}

.intro-text h2 {
    font-size: 2/5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary-color);
}

.check-list i {
    color: var(--success);
}

.intro-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

/* Services */
.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card-link {
    display: flex;
}

.service-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom-color: var(--accent-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 36, 71, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Differentiators */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--light-text);
}

/* Benefits Banner */
.benefits-banner {
    background-color: var(--secondary-color);
    padding: 60px 0;
    color: var(--white);
}

.benefits-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.benefits-content h2 {
    color: var(--white);
    font-size: 2rem;
    flex: 1 1 300px;
}

.benefits-list {
    flex: 2 1 500px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.benefit {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.5;
}

.benefit p {
    font-weight: 500;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details i {
    color: var(--accent-color);
    width: 25px;
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 10px;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--body-bg);
    color: var(--text-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 36, 71, 0.1);
}

/* Footer */
footer {
    background-color: #051329;
    /* Darker than primary */
    color: #888;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image {
        order: -1;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* Header & Navigation */
    header {
        height: auto;
        min-height: 80px;
        padding: 10px 0;
    }

    .header-container {
        flex-wrap: wrap;
    }

    .logo {
        max-width: 80%;
    }

    .logo img {
        height: 65px !important;
        /* Override inline style */
        width: auto;
    }

    .logo span {
        font-size: 1.1rem;
        line-height: 1.2;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        /* Pushes it below the header */
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
        /* Ensure it stays on the right */
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        /* Changed to use VH properly */
        margin-top: 80px;
        /* Adjust for smaller header */
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    /* Benefits Banner */
    .benefits-banner {
        padding: 30px 0;
    }

    .benefits-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        /* Override desktop gap of 40px */
    }

    .benefits-content h2 {
        margin-bottom: 0;
        /* Remove margin, use gap */
        text-align: left;
        width: 100%;
        /* Ensure it takes full width for alignment */
        flex: auto;
        /* Reset flex basis */
    }

    .benefits-list {
        flex: auto;
        width: 100%;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }
}



/* Service Detail Page */
.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent-color);
    transform: translateX(-5px);
}

.service-detail-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.service-detail-image-wrapper {
    flex: 1 1 400px;
}

.service-detail-image-wrapper img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-hover);
}

.service-detail-text {
    flex: 1 1 400px;
}

.service-detail-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-detail-text h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.service-detail-text p {
    margin-bottom: 15px;
    color: var(--light-text);
    font-size: 1.05rem;
    text-align: justify;
}

.service-detail-text ul {
    margin-top: 20px;
    margin-bottom: 20px;
}

.service-detail-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-detail-text li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .service-detail-container {
        flex-direction: column;
        padding: 20px;
    }

    .service-detail-image-wrapper,
    .service-detail-text {
        flex: 1 1 100%;
    }
}