/* =========================================
   CSS Variables (HaloITSM Branding)
========================================= */
:root {
    --primary-color: #00D2C4;
    --primary-dark: #00b3a7;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #eaeaea;
    --font-family: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

/* =========================================
   Global Reset & Base Styles
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: #00b3a6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,210,196,0.3);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--dark-text);
    border: 2px solid #e0e0e0;
}

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

.btn-accent {
    background: linear-gradient(135deg, #6b46c1, #00d2c4);
    color: #ffffff;
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(107, 70, 193, 0.4);
}

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

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

/* =========================================
   Navigation
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 63px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover:not(.btn) {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #0a1128 0%, #1a2a6c 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Abstract Graphic */
.hero-bg-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Halo/Logos/Halo Logo - Dark - Trimmed.svg') no-repeat center;
    background-size: 150%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

/* Integrations Banner */
.integrations-banner {
    background-color: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.integrations-banner p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.integrations-banner .logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.6;
}

.integrations-banner .logos img {
    height: 35px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.integrations-banner .logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* =========================================
   Services Section
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    border: 1px solid var(--border-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 210, 196, 0.15);
    border-color: rgba(0, 210, 196, 0.3);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 210, 196, 0.1);
    border-radius: 50%;
}

.service-icon img {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   About Section
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

.about-text .btn {
    margin-top: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 45px 0 25px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-logo {
    height: 63px;
    margin-bottom: 15px;
    display: block;
    margin-left: 0;
}

.footer-brand p {
    color: #999999;
    font-size: 0.95rem;
    white-space: nowrap;
    text-align: left;
    margin: 0;
    padding: 0;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.footer-contact p {
    color: #cccccc;
    margin-bottom: 0;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 30px;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        gap: 15px; /* Added gap for mobile menu items */
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px; /* Reduced padding for mobile */
    }

    .hero h1 {
        font-size: 2.2rem; /* Slightly smaller for mobile */
    }

    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0; /* Reduced section padding */
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px; /* Reduced gap */
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-brand p {
        white-space: normal;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile overrides for comparison table */
    .compare-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* =========================================
   Cookie Consent Banner
========================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 420px;
    background: #1a1a1a;
    border: 1px solid rgba(0, 210, 196, 0.3);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 99999;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-banner p {
    margin: 0 0 16px 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #cccccc;
}

.cookie-banner p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: #0f172a;
    border: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cookie-btn-accept:hover {
    background: #00b3a6;
}

.cookie-btn-decline {
    background: transparent;
    color: #cccccc;
    border: 1px solid #444444;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn-decline:hover {
    border-color: #888888;
    color: #ffffff;
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
}

/* =========================================
   Comparison Table Section
========================================= */
.compare-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.compare-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 1000px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th {
    padding: 25px 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.compare-table td {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    vertical-align: middle;
}

.compare-table tbody tr {
    transition: background-color 0.2s ease;
}

.compare-table tbody tr:hover {
    background-color: var(--bg-light);
}

/* Captiv-8 Column (Premium Highlight) */
.col-captiv8 {
    background-color: rgba(0, 210, 196, 0.05);
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    width: 40%;
}

.compare-table th.col-captiv8 {
    background-color: var(--primary-color);
    color: #ffffff;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.compare-table td.col-captiv8 {
    font-weight: 600;
    color: var(--dark-text);
}

/* GSI Column (Muted) */
.col-gsi {
    width: 40%;
    color: var(--text-light);
}

.compare-table th.col-gsi {
    background-color: var(--bg-light);
    color: var(--text-light);
    text-align: center;
}

/* =========================================
   Executive Contact Form & Page Styling
========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-wrapper {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-text);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.98rem;
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 210, 196, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.confidentiality-card {
    background: linear-gradient(135deg, rgba(0, 210, 196, 0.08) 0%, rgba(10, 17, 40, 0.04) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 22px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.confidentiality-card h4 {
    margin: 0 0 6px 0;
    color: var(--dark-text);
    font-size: 1.05rem;
    font-weight: 700;
}

.confidentiality-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
}

.compare-row-title {
    font-weight: 700;
    color: var(--dark-text);
    width: 20%;
    background-color: #ffffff;
}

/* =========================================
   Client Credibility Ribbon
========================================= */
.credibility-ribbon {
    background-color: #0b132b;
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.credibility-ribbon p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}

.credibility-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.credibility-logo-item {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.credibility-logo-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* =========================================
   Clean Theme Value Pillar Cards
========================================= */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 45px;
}

.pillar-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 210, 196, 0.12);
    border-color: var(--primary-color);
}

.pillar-badge {
    display: inline-block;
    background: rgba(0, 210, 196, 0.1);
    color: #008f85;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.pillar-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--dark-text);
    font-weight: 700;
}

.pillar-card p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   6-Phase Migration Methodology
========================================= */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin-top: 45px;
}

.methodology-step {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.methodology-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 210, 196, 0.12);
}

.step-num {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #00D2C4, #1a2a6c);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 210, 196, 0.3);
}

.methodology-step h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark-text);
    font-weight: 700;
}

.methodology-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
    margin: 0;
}

/* =========================================
   Enterprise Comparison Table
========================================= */
.compare-section {
    padding: 90px 0;
}

.compare-table-wrapper {
    margin-top: 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
    border: 1px solid #e2e8f0;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 650px;
}

.compare-table th, 
.compare-table td {
    padding: 22px 25px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}

.compare-table th {
    font-size: 1.1rem;
    font-weight: 700;
}

.compare-table th.col-captiv8 {
    background: #0b132b;
    color: #00D2C4;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.compare-table td.col-captiv8 {
    background: rgba(0, 210, 196, 0.03);
    font-weight: 600;
    color: var(--dark-text);
    border-left: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.compare-table th.col-gsi {
    background: #f7fafc;
    color: #718096;
    text-align: center;
}

.compare-table td.col-gsi {
    color: #718096;
}
