/* ===================================
   CSS Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #006594;
    --primary-dark: #004a6f;
    --primary-light: #0088cc;
    --secondary-color: #2c3e50;
    --accent-color: #27ae60;
    --text-dark: #222222;
    --text-medium: #666666;
    --text-light: #999999;
    --background-light: #ffffff;
    --background-gray: #f8f8f8;
    --border-color: #e1e1e1;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Breakpoints */
    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1200px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-medium);
    line-height: 1.6;
    background-color: var(--background-light);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* ===================================
   Utilities
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-light);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 250px;
    height: auto;
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: var(--transition);
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-light);
    box-shadow: var(--shadow-lg);
    border-radius: 4px;
    min-width: 250px;
    padding: var(--spacing-xs) 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    white-space: nowrap;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--background-gray);
    color: var(--primary-color);
    padding-left: calc(var(--spacing-sm) + 0.5rem);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/bg-header-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--background-light);
    padding: 8rem 0 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 101, 148, 0.7);
    pointer-events: none;
}

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

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--background-light);
}

.hero-subtitle {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--background-light);
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    color: var(--background-light);
}

.hero-tagline-small {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.85;
    color: var(--background-light);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   Quote Section
   =================================== */
.quote-section {
    padding: var(--spacing-xl) 0;
    background: var(--background-light);
    text-align: center;
}

.quote-section blockquote {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.75rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    padding: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    border-right: 4px solid var(--primary-color);
}

.quote-section blockquote footer {
    margin-top: var(--spacing-md);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--background-light);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.25);
}

.btn-primary:hover {
    background-color: #229954;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--background-light);
    border-color: var(--background-light);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.service-card {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Center last card when there's an odd number (7 cards = 3-3-1 layout) */
.service-card:nth-child(3n+1):last-child {
    grid-column: 2 / 3;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.stat {
    padding: var(--spacing-md);
    background-color: var(--background-gray);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.contact-item p {
    margin-bottom: var(--spacing-xs);
}

.contact-item .note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: var(--spacing-xs);
}

.contact-form-wrapper {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

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

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

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

.form-group textarea {
    resize: vertical;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--secondary-color);
    color: var(--background-light);
    padding: var(--spacing-md) 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-info p {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--background-light);
    opacity: 0.8;
    transition: var(--transition);
}

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: var(--background-light);
        padding: 0;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu > li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        display: block;
        width: 100%;
        min-height: 56px;
        display: flex;
        align-items: center;
        font-weight: 500;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--background-gray);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-left: 3px solid var(--primary-color);
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a {
        padding: 1rem 2rem;
        font-size: 1rem;
        display: block;
        min-height: 52px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .nav-dropdown > .nav-link {
        position: relative;
        padding-right: 3rem;
    }

    .nav-dropdown > .nav-link::after {
        content: "▼";
        font-size: 0.75rem;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active > .nav-link::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .service-card {
        grid-column: span 1 !important;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        padding-left: 50px;
    }

    .timeline-year {
        flex: none;
        text-align: left;
        padding-right: 0;
        margin-bottom: var(--spacing-xs);
    }

    .timeline-content {
        padding-left: 0;
    }

    .timeline-item:before {
        left: 20px;
        transform: none;
    }

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

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info-section {
        order: 2;
        padding: var(--spacing-md);
    }

    .quote-form-section {
        order: 1;
        padding: var(--spacing-md);
    }

    .contact-details {
        margin-top: var(--spacing-md);
    }

    .contact-detail-item {
        flex-direction: column;
        gap: var(--spacing-xs);
        padding-bottom: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }

    .contact-detail-icon {
        font-size: 2.5rem;
    }

    .contact-detail-icon img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .response-time-note {
        padding: var(--spacing-sm);
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .quote-form input,
    .quote-form textarea,
    .quote-form select {
        font-size: 16px;
    }

    .quote-form textarea {
        min-height: 150px;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        margin-top: var(--spacing-md);
    }

    .contact-method {
        padding: 1.5rem;
    }

    .method-icon {
        font-size: 2.5rem;
    }

    .method-icon img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    .contact-method h3 {
        font-size: 1.25rem;
    }

    .contact-method p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .page-header {
        padding: 5rem 0 2.5rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .support-form-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .support-levels {
        grid-template-columns: 1fr;
    }

    .quote-section blockquote {
        font-size: 1.25rem;
        padding: var(--spacing-md);
    }

    .quote-section blockquote footer {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    padding: 8rem 0 4rem 0;
    background: var(--primary-color);
    color: var(--background-light);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--background-light);
    margin-bottom: var(--spacing-sm);
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===================================
   Solutions Landing Page
   =================================== */
.solutions-landing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.solution-landing-card {
    padding: var(--spacing-lg);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-landing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Center last card when there's an odd number in bottom row (e.g., 7 cards = 3-3-1 layout) */
.solution-landing-card:nth-child(3n+1):last-child {
    grid-column: 2 / 3;
}

.solution-landing-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.solution-landing-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.solution-landing-card h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.solution-landing-card > p {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    font-weight: 500;
}

.solution-landing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.solution-landing-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
}

.solution-landing-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.solution-landing-card .btn {
    align-self: center;
    margin-top: auto;
}

/* ===================================
   Solution Sections
   =================================== */
.solution-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-light);
}

.solution-section.alt-bg {
    background-color: var(--background-gray);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
}

.solution-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.solution-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.solution-content h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.solution-content .lead {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.solution-details h3 {
    color: var(--text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.solution-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-md);
}

.solution-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.solution-details ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* ===================================
   Timeline
   =================================== */
.timeline {
    position: relative;
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
}

/* Removed vertical line graphic for cleaner timeline */
/* .timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
} */

.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-year {
    flex: 0 0 150px;
    text-align: right;
    padding-right: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-content {
    flex: 1;
    padding-left: var(--spacing-md);
    padding-top: 0.25rem;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

/* Removed timeline dot graphics for cleaner look */
/* .timeline-item:before {
    content: '';
    position: absolute;
    left: 150px;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid var(--background-light);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item.alt-bg:before {
    border-color: var(--background-gray);
} */

/* ===================================
   Values Grid
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.value-item {
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Press & Recognition
   =================================== */
.press-list {
    margin-top: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.press-entry {
    padding: var(--spacing-md) 0;
}

.press-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.press-entry h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.press-title {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.press-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.press-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.press-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.link-separator {
    color: var(--text-light);
}

.press-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: var(--spacing-md) 0;
}

.press-highlight {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d73 100%);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    color: white;
}

.press-highlight h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.press-highlight p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   Industry Grid
   =================================== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.industry-card {
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.industry-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.industry-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ===================================
   Project Types
   =================================== */
.project-types {
    margin-top: var(--spacing-lg);
}

.project-type-item {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--background-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.project-type-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* ===================================
   Metrics Grid
   =================================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.metric-card {
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-card p {
    font-size: 0.875rem;
    color: var(--text-medium);
}

/* ===================================
   Tech Categories
   =================================== */
.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tech-category {
    padding: var(--spacing-md);
    background: var(--background-gray);
    border-radius: 8px;
}

.tech-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.tech-category p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===================================
   Contact Page
   =================================== */

/* Desktop styles (769px and up) */
@media (min-width: 769px) {
    .contact-page-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-xl);
        margin-top: var(--spacing-md);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }

    .contact-detail-item {
        display: flex;
        gap: var(--spacing-sm);
    }

    .contact-detail-icon {
        font-size: 2rem;
        flex-shrink: 0;
    }

    .contact-detail-icon img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .method-icon img {
        width: 36px;
        height: 36px;
        object-fit: contain;
    }
}

/* Base styles (all screen sizes) */
.contact-page-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-info-section h2,
.quote-form-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-detail-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.contact-detail-item:last-child {
    border-bottom: none;
}

.contact-detail-item h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.contact-detail-item p {
    margin-bottom: 0.25rem;
    color: var(--text-medium);
}

.contact-detail-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.response-time-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm);
    background: var(--background-gray);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.quote-form-section {
    background: var(--background-gray);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.quote-form {
    margin-top: var(--spacing-md);
}

.quote-form select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-light);
    cursor: pointer;
}

.quote-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-method {
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 2rem 2rem 3rem;
}

.method-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.method-icon img {
    display: block;
    margin: 0 auto;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-method p {
    margin-bottom: 1.5rem;
}

.contact-method .btn {
    margin-bottom: 0;
}

/* ===================================
   Support Page
   =================================== */
.support-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.support-level-card {
    padding: var(--spacing-lg);
    background: var(--background-gray);
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.support-level-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-level-card.priority {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 101, 148, 0.05) 0%, rgba(0, 101, 148, 0.1) 100%);
}

.support-level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.support-level-header h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.support-badge {
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.support-badge.priority {
    background: var(--primary-color);
}

.support-level-card > p {
    margin-bottom: var(--spacing-md);
    color: var(--text-medium);
    font-style: italic;
}

.support-level-card ul {
    list-style: none;
    padding: 0;
}

.support-level-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.support-level-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Support Contact Grid */
.support-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.support-contact-card {
    padding: var(--spacing-lg);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.support-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.support-contact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.support-contact-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.support-contact-card p {
    color: var(--text-medium);
    margin-bottom: 0.5rem;
}

/* Response Times Box */
.response-times-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d73 100%);
    padding: var(--spacing-lg);
    border-radius: 8px;
    color: white;
    text-align: center;
    margin-top: var(--spacing-lg);
}

.response-times-box h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.response-times-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.response-time-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: var(--spacing-sm);
}

.response-time-item strong {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.response-time-item span {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.support-form-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.support-info h2,
.support-form-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.support-contact-info {
    margin-top: var(--spacing-lg);
}

.support-contact-item {
    padding: var(--spacing-md);
    background: var(--background-light);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.support-contact-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-ticket-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.support-contact-item p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.support-contact-item a {
    color: var(--primary-color);
    font-weight: 600;
}

.support-form-section {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.support-form {
    margin-top: var(--spacing-md);
}

.support-note {
    padding: var(--spacing-sm);
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

.support-note p {
    margin: 0;
    color: #856404;
    font-size: 0.875rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.faq-item {
    padding: var(--spacing-md);
    background: var(--background-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.faq-item p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.9375rem;
}

/* ===================================
   AI Services Grid
   =================================== */
.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.ai-service-card {
    padding: var(--spacing-lg);
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.ai-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ai-card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.ai-card-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.ai-service-card h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.ai-service-card > p {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
}

.ai-service-card ul {
    list-style: none;
    padding: 0;
}

.ai-service-card ul li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.ai-service-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===================================
   Process Timeline
   =================================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-sm);
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.process-step p {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

/* ===================================
   Results Grid
   =================================== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.result-card {
    padding: var(--spacing-lg);
    background: var(--background-gray);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.result-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.result-stat {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}

.result-card p {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9375rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--background-light);
    text-align: center;
}

.cta-section h2 {
    color: var(--background-light);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===================================
   Breadcrumbs
   =================================== */
.breadcrumbs-wrapper {
    background: var(--background-gray);
    padding-bottom: 1.25rem;
    padding-top: calc(70px + 1.75rem);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
}

.breadcrumbs a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
}

.breadcrumbs span {
    color: var(--text-light);
}

.breadcrumb-separator {
    color: var(--text-light);
    user-select: none;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 101, 148, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 101, 148, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ===================================
   Scroll Animations
   =================================== */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-element.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--background-gray);
}

.testimonials-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    margin-bottom: -1rem;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
    color: #fbbf24;
}

/* ===================================
   Logo Enhancement
   =================================== */
/* Logo gradient removed per user preference */

/* Responsive adjustments for new features */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }

    .breadcrumbs-wrapper {
        padding-bottom: 1.05rem;
        padding-top: calc(70px + 1.45rem);
    }

    .breadcrumbs {
        font-size: 1rem;
    }

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