:root {
  --primary: #1A365F;
  --primary-dark: #0F2A4A;
  --secondary: #2D9596;
  --accent: #38A169;
  --day-bg: linear-gradient(145deg, #87CEEB 0%, #E0F6FF 100%);
  --light-text: #FFFFFF;
  --light-text-secondary: #E2E8F0;
  --gradient-primary: linear-gradient(135deg, #0F2A4A 0%, #1A365F 50%, #2D9596 100%);
  --text-color-light: #334155;
  --text-color-inverted: #ffffff;
  --text-on-light: #1e293b;
  --heading-color: #0f172a;
}

body {
  background: var(--day-bg);
  color: var(--text-color);
}

/* Ensure headings within light backgrounds have proper contrast */
.service-card h3,
.feature-card h3,
.spec-card h4,
.method-card h5,
.guide-card h4,
.level-card h4,
.benefit-card h3,
.features-filters h4,
.features-filters h5 {
  color: var(--primary);
}

/* Apply the text-on-light variable to elements with light backgrounds */
.service-card,
.feature-card,
.spec-card,
.method-card,
.guide-card,
.level-card,
.benefit-card,
.integration-methods,
.technical-details table,
.response-table,
.chart-container,
.mermaid,
.diagram-container {
  color: var(--text-on-light);
}

/* Ensure all text elements within light backgrounds use the correct color */
.service-card p,
.feature-card p,
.spec-card p,
.method-card p,
.guide-card p,
.level-card p,
.benefit-card p,
.integration-methods p,
.technical-details td,
.response-table td {
  color: var(--text-on-light);
}

/* Service card button styles */
.service-summary .service-card > div > a {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: 1.25rem;
    border: 2px solid transparent;
}

.service-summary .service-card > div > a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-summary .service-card > div > a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: white;
}

/* Service detail page link styles */
.service-detail-link {
    position: relative;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    color: #2563eb !important;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}

.service-detail-link:hover {
    color: #1d4ed8 !important;
    border-bottom-color: #1d4ed8;
}

.service-detail-link:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    border-radius: 2px;
}

.service-detail-link svg {
    transition: transform 0.2s ease;
}

.service-detail-link:hover svg {
    transform: translateX(4px);
}

/* Base styles for boxes in both modes */
.service-card, 
.feature-card, 
.spec-card, 
.method-card, 
.guide-card, 
.level-card, 
.benefit-card, 
.integration-methods,
.technical-details table,
.response-table,
.chart-container,
.mermaid,
.diagram-container,
.features-filters {
    /* Default for day mode: white background, dark text */
    background: white;
    color: var(--dark-text);
    /* Add transition for smooth mode changes */
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* Ensure headings within light backgrounds have proper contrast */
.service-card h3,
.feature-card h3,
.spec-card h4,
.method-card h5,
.guide-card h4,
.level-card h4,
.benefit-card h3 {
  color: var(--primary);
}

/* Make cards and containers stand out better */
.service-card, .feature-card, .spec-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}


.service-card:hover, .feature-card:hover, .spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Modern button styling */
button, .cta-button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover, .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.6;
    color: #334155;
    background: var(--day-bg);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0 auto;
    padding: 0;
    transition: background 1s ease, color 1s ease;
    width: 100%;
    max-width: 100%;
}


header {
    background: linear-gradient(145deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

header::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 15%);
    opacity: 0.1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    overflow: visible;
}

nav ul {
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

nav a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

nav a:hover {
    background: rgba(255,255,255,0.1);
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    min-width: 240px;
    border-radius: 4px;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #2d3748 !important;
    padding: 12px 16px;
    display: block;
    transition: background 0.2s;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #f7fafc;
}

.header-cta .cta-button {
    background: #38a169;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    margin-left: 2rem;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.03em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    color: var(--heading-color);
}

/* Apply adaptive colors to all headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
}

/* Ensure form labels and text use adaptive colors */
label, p, li, span:not(.icon):not(.status-dot) {
  color: var(--text-color);
}

/* Logo Styles */
.logo {
    max-height: 60px;
    width: auto;
    transition: opacity 0.3s ease;
}

header h1 {
    padding: 0;
    margin: 0;
}

header h1::after {
    display: none;
}

.logo:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .logo {
        max-height: 50px;
    }
}

h1 {
    margin: 0;
}
h2 { font-size: 2rem; margin-bottom: 1.5rem; }

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    z-index: 1;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary);
        padding: 1rem;
    }
    
    nav ul.active {
        display: flex;
    }
}


/* Services Preview - Modern */
.services-preview {
    padding: 5rem 2rem;
    background: #F8FAFC;
}

.services-preview .service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-preview .service-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.services-preview .service-header .subheading {
    font-size: 1.25rem;
    color: var(--secondary);
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.services-preview .service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.services-preview .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.services-preview .service-card:hover::before {
    transform: translateX(0);
}

.services-preview .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.services-preview .service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.services-preview .service-card p {
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-preview .service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.services-preview .service-card a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.services-preview .service-card a:hover {
    gap: 1rem;
}

/* Performance Metrics - Modern Design */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #0F2A4A 0%, #1A365F 50%, #2D9596 100%);
    position: relative;
    overflow: hidden;
}

/* Add animated background pattern */
.performance-metrics::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 161, 105, 0.1) 0%, transparent 40%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.metric-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.metric-value {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #38A169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.metric-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Support Status Styles - Modern */
.support-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.available {
    background: #38A169;
    box-shadow: 0 0 20px rgba(56, 161, 105, 0.6);
}

.status-dot.offline {
    background: #EF4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

.status-text {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #38A169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes statusPulse {
    0% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.5); 
        opacity: 0; 
    }
    100% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
}

/* Coverage Map */
.coverage-map {
    padding: 4rem 2rem;
    background: var(--light);
}

/* Improved map styling */
#serviceCoverageMap {
    border: 2px solid var(--deco-teal);
    height: 600px;
    width: 100%;
    min-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem 0;
    background: #f8f9fa;
}

.map-popup {
    font-family: 'Inter', sans-serif;
    min-width: 200px;
}

.map-popup h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.coverage-stats div {
    padding: 0.3rem 0;
    border-top: 1px solid #eee;
}

.network-node {
    position: relative;
    width: 20px;
    height: 20px;
}

.node-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
    opacity: 0.7;
}

.cluster-marker {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cluster-marker div {
    transform: translateY(-1px);
}

@keyframes nodePulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 0.7; }
}

.map-legend {
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.map-legend h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.map-legend div {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leaflet-container {
    background: rgba(255,255,255,0.9) !important;
}

.leaflet-popup-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.map-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.voip { background: var(--accent); }
.sip { background: var(--secondary); }

/* Chart Container */
.chart-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Service Summary Page Styles */
.service-summary-grid {
    position: relative;
    z-index: 2;
}

.service-summary-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.service-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-summary-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.service-icon-wrapper {
    background-color: #dbeafe;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-right: 1rem;
    display: inline-flex;
}

.service-icon-wrapper.green {
    background-color: #d1fae5;
}

.service-icon-wrapper svg {
    width: 2.5rem;
    height: 2.5rem;
}

.service-benefits {
    margin-bottom: 2rem;
}

.service-benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-benefit-item svg {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #10b981;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-subhead {
    font-size: 1.25rem;
    margin: 1.5rem auto;
    max-width: 800px;
}

.hero-actions {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Technical Specs */
.technical-specs {
    background: var(--light);
    padding: 4rem 2rem;
}

.specs-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.specs-list h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.specs-list ul {
    list-style: none;
    padding: 0;
}

.specs-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

/* Network Visualization */
.network-visualization {
    padding: 4rem 2rem;
    background: #f8fafc;
    text-align: center;
    color: var(--primary-dark);
    position: relative;
}

.network-visualization h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
    font-size: 2.5rem;
    font-weight: 600;
}

.network-container {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Removed world map background */

#networkNodes canvas {
    position: relative;
    z-index: 2;
}

.node-labels {
    position: relative;
    z-index: 10;
}

.node-label {
    position: absolute;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    pointer-events: none;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Position labels using data attributes */
[data-node="dallas"] { left: 25%; top: 40%; }
[data-node="richmond"] { left: 30%; top: 35%; }
[data-node="manila"] { left: 80%; top: 55%; }

/* Network Visualization Labels */
.network-visualization {
    padding: 4rem 2rem;
    background: var(--primary-dark);
    text-align: center;
    color: white;
    position: relative;
}

.network-visualization h3 {
    color: var(--accent);
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.network-container {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.node-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.node-label {
    position: absolute;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    pointer-events: none;
    background: rgba(0,0,0,0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    z-index: 10;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: opacity 0.3s ease;
}

/* Contact CTA Section */
.contact-cta {
    padding: 5rem 2rem;
    background: #f8fafc;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-cta .contact-info-section {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.contact-cta .contact-info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.contact-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-cta .contact-detail {
    color: #64748B;
    margin-bottom: 2rem;
}

.contact-cta .contact-detail p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-cta .contact-detail a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-cta .contact-detail a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.contact-cta address {
    font-style: normal;
    margin: 1.5rem 0;
    line-height: 1.8;
    color: #64748B;
    font-size: 1.05rem;
}

.contact-cta .business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.contact-cta .hours-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-cta .hours-row {
    color: #64748B;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.contact-cta .hours-sep {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 0;
}

.contact-cta .contact-actions {
    margin-top: 2.5rem;
}

.contact-cta .cta-button {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 149, 150, 0.3);
}

.contact-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 149, 150, 0.4);
}

/* About Section - Modern Design */
.about-section {
    background: linear-gradient(135deg, #F8FAFC 0%, #E0F6FF 50%, #F0F9FF 100%);
    color: var(--primary-dark);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Add animated geometric shapes */
.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 149, 150, 0.08) 0%, transparent 50%);
    transform: rotate(45deg);
    animation: float 20s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(circle, rgba(26, 54, 95, 0.06) 0%, transparent 60%);
    transform: rotate(-30deg);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0% { 
        transform: translateY(0) rotate(45deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(45deg); 
    }
    100% { 
        transform: translateY(0) rotate(45deg); 
    }
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.about-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

/* Add decorative underline */
.about-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.about-header .subheading {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 2rem;
}

.about-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-column {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.about-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--primary-dark);
    text-align: center;
    margin: 0;
}

/* Add subtle pattern overlay */
.about-section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(45, 149, 150, 0.03) 35px, rgba(45, 149, 150, 0.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(26, 54, 95, 0.03) 35px, rgba(26, 54, 95, 0.03) 70px);
    pointer-events: none;
    z-index: 1;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-outline {
    display: inline-block;
    padding: 1.25rem 3rem;
    border: 2px solid var(--accent);
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-outline:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 161, 105, 0.3);
}

.cta-outline:hover::before {
    left: 0;
}

@media (max-width: 768px) {
    .about-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-header h2 {
        font-size: 2rem;
    }
    
    .subheading {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 3rem 1rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
}

/* Contact link animation */
#nav-contact {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    will-change: transform;
}

/* Running man animation */
/* Runner container - fix for contact page */
.runner-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    height: 50px;
    overflow: hidden;
    z-index: 50;
    pointer-events: none !important;
    user-select: none !important;
    visibility: hidden;
    will-change: transform;
}

/* Contact Options Section */
.contact-options {
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.runner {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: run 20s linear infinite;
}

@keyframes run {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

.submission-count {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    backdrop-filter: blur(4px);
    background-color: rgba(31, 110, 140, 0.9);
    animation: none !important;
    transform: none !important;
}

.submission-count .count {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.runner span {
    animation: none !important;
}

footer {
    background: #1a365f;
    color: white;
    padding: 4rem 2rem;
    position: sticky;
    top: 100vh;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    color: #38a169;
    margin-bottom: 1rem;
}

.footer-column a {
    color: #cbd5e0;
    display: block;
    margin: 0.5rem 0;
}

.hero {
    background: linear-gradient(135deg, #2d3748 0%, #1a365f 100%);
    padding: 8rem 2rem;
    text-align: center;
    color: white;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-buttons .cta-button {
    background: #38a169;
    border: 2px solid transparent;
}

.hero-buttons .cta-outline {
    border-color: #38a169;
    color: #38a169;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    color: #38a169;
    margin-bottom: 1rem;
}

.service-tier {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover, .service-tier:hover {
    transform: translateY(-5px);
}

.content-grid, .features, .services {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

button, .cta-button {
    background: linear-gradient(135deg, var(--accent) 0%, var(--deco-green) 100%);
    color: white;
    border-radius: 30px;
    padding: 1rem 2.5rem;
    border: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

button:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 178, 46, 0.2);
}

/* Add specific hover state for hero CTA */
.hero .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.services {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 4rem 2rem;
}

.service-tier {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-tier h3 {
    color: var(--primary);
    margin: 1rem 0;
    font-size: 1.5rem;
}

.service-tier ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-tier li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-tier li::before {
    content: "✓";
    color: var(--deco-green);
    font-weight: bold;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 80px; /* Adjust for fixed header height */
    min-height: calc(100vh - 80px);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
}

main form > div {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input {
    padding: 0.75rem;
    border: 2px solid var(--deco-teal);
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 178, 46, 0.1);
}

.error {
    color: #dc2626;
    font-size: 0.875rem;
}

span.error {
    display: block;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        min-height: 60px;
        padding: 0.5rem 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }

    main {
        padding-top: 70px;
        min-height: calc(100vh - 70px);
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modern-header {
        height: 70px;
    }
    
    .container,
    .content-wrapper {
        padding: 0 1rem;
    }
    
    .logo {
        max-height: 40px !important;
    }
}

/* Services Section */
.services-section {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto 1fr;
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 2rem;
    grid-template-areas:
        "header header"
        "top-right bottom-left"
        "bottom-right bottom-right";
    min-height: 100vh;
}

.service-header {
    grid-area: header;
    max-width: 800px;
    padding-right: 2rem;
}

.service-header h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.subheading {
    color: #2D9596;
    font-size: 1.25rem;
    font-weight: 500;
}

.intro-text {
    color: #E2E8F0;
    line-height: 1.7;
}

.service-card {
    background-position: center;
    background-size: cover;
    padding: 2rem;
}

.service-card h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-description {
    color: #E2E8F0;
    margin-bottom: 1.5rem;
}

.service-features {
    color: #FFFFFF;
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: "✓";
    color: #38A169;
}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.card-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-actions {
    margin-top: auto;
    padding-top: 2rem;
}

/* Individual Card Positioning & Backgrounds */
.top-right {
    grid-area: top-right;
    background-image: url('/static/images/voip-service-bg.jpg');
}

.bottom-left {
    grid-area: bottom-left;
    background-image: url('/static/images/sip-trunking-bg.jpg');
}

.bottom-right {
    grid-area: bottom-right;
    background-image: url('/static/images/wholesale-bg.jpg');
}

/* Button Adjustments */
.service-card .cta-button {
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 4px;
    padding: 1rem 2rem;
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 178, 46, 0.3);
}

@media (max-width: 1024px) {
    .services-section {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "top-right"
            "bottom-left"
            "bottom-right";
        min-height: auto;
    }
    
    .service-header {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        min-height: 300px;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
}

/* Service Detail Pages */
.service-detail-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, var(--primary-dark) 30%, var(--light) 30%);
}

.service-hero {
    text-align: center;
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.service-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.service-subhead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--primary);
    text-shadow: 0 1px 1px rgba(255,255,255,0.3);
}

.service-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 2rem;
}

.feature-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 3rem;
}

.feature-list {
    columns: 2;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-list li::before {
    content: "▹";
    color: var(--accent);
    font-weight: bold;
}

.implementation-details {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary);
    border-radius: 8px;
    color: white;
}

.service-cta .cta-button {
    background: var(--accent);
    color: var(--primary-dark);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .feature-list {
        columns: 1;
    }
    
    .service-hero h2 {
        font-size: 2rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
}

/* Features Page Styles */
.features-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.features-container {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem; /* Increased from 2rem to 3rem for better separation */
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    align-items: start;
}

/* Features Filters */
.features-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    width: auto;     /* Change from fixed width to auto */
    min-width: 280px; /* Ensure minimum width to fit content */
    max-width: 320px; /* Set maximum width */
    height: auto;    /* Change from fixed height to auto */
    max-height: fit-content; /* Make height fit the content */
    align-self: flex-start; /* Keep it at the top when scrolling */
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-section {
    margin-bottom: 1rem;
}

.filter-tag {
    background: var(--light);
    border: 1px solid #CBD5E0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-tags, .filter-priority {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-select {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: var(--text-on-light);
}

.filter-tag, .priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tag.active, .priority-badge.active {
    background: #1a365f;
    color: white;
    border-color: #1a365f;
}

.priority-badge {
    text-transform: capitalize;
}
.priority-trivial { background: #e2e8f0; }
.priority-standard { background: #c3dafe; }
.priority-great { background: #a3bffa; }
.priority-unique { background: #7f9cf5; }
.priority-market-leading { background: #667eea; color: white; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: #1a365f;
    margin-bottom: 0.75rem;
}

.feature-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.doc-link {
    color: #38a169;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

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

@media (max-width: 768px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .features-filters {
        position: sticky;
        top: 80px;
        z-index: 100;
    }
}

/* Admin Styles */
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    position: relative;
    z-index: 100;
}

.data-table, .pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: relative;
    z-index: 110;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.pricing-table th {
    background: #f7fafc;
    color: #2d3748;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: var(--primary-dark);
}

.data-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.data-table tr:hover td {
    background-color: #f8f9fa;
    color: var(--primary-dark);
}

.truncate {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Contact Page Styles - Fixed pointer events */
.contact-hero {
    background: linear-gradient(135deg, #0F2A4A 0%, #1A365F 50%, #2D9596 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(236, 178, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(56, 161, 105, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.contact-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-hero .hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    opacity: 0.9;
    font-weight: 400;
}

/* Contact Content Section */
.contact-content-section {
    padding: 5rem 2rem;
    background: #F8FAFC;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.error-banner {
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    color: #991B1B;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error-icon {
    flex-shrink: 0;
}

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

.form-label {
    font-weight: 600;
    color: #1A365F;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-input,
.form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #FAFBFC;
    position: relative;
    z-index: 1;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2D9596;
    background: white;
    box-shadow: 0 0 0 4px rgba(45, 149, 150, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.field-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.consent-group {
    margin-top: 0.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: #4A5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.consent-checkbox {
    margin-top: 0.125rem;
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E0;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.consent-checkbox:checked {
    background-color: #2D9596;
    border-color: #2D9596;
}

.submit-button {
    background: linear-gradient(135deg, #2D9596 0%, #38A169 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 149, 150, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E0F6FF 0%, #F0F9FF 100%);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: #2D9596;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #1A365F;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-link {
    color: #2D9596;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.info-link:hover {
    color: #238384;
    gap: 1rem;
}

.location-link {
    align-items: flex-start;
}

.location-link span {
    line-height: 1.6;
}

.hours-table {
    margin-top: 1rem;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4A5568;
    font-size: 1.05rem;
}

.hours-sep {
    flex: 1;
    height: 1px;
    background: #E2E8F0;
    margin: 0 1rem;
}

/* Contact Options Section */
.contact-options {
    padding: 5rem 2rem;
    background: white;
}

.options-header {
    text-align: center;
    margin-bottom: 3rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.option-card {
    text-align: center;
    padding: 2.5rem;
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

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

.option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D9596 0%, #38A169 100%);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    color: white;
}

.option-card h3 {
    font-size: 1.25rem;
    color: #1A365F;
    margin-bottom: 1rem;
}

.option-card p {
    color: #64748B;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-card {
        order: 2;
    }
    
    .contact-info-cards {
        order: 1;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}


/* Contact Confirmation Page */
.confirmation-hero {
    background: linear-gradient(135deg, #0F2A4A 0%, #1A365F 50%, #2D9596 100%);
    color: white;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(56, 161, 105, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(236, 178, 46, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.confirmation-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-animation {
    margin-bottom: 2rem;
    animation: successPulse 1s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    color: #38A169;
    background: rgba(56, 161, 105, 0.2);
    border-radius: 50%;
    padding: 1rem;
}

.confirmation-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.confirmation-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.confirmation-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-confirm,
.btn-secondary-confirm {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-confirm {
    background: #ECB22E;
    color: #1A365F;
}

.btn-primary-confirm:hover {
    background: #D4A029;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 178, 46, 0.3);
}

.btn-secondary-confirm {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-confirm:hover {
    background: white;
    color: #1A365F;
}

/* Next Steps Section */
.next-steps {
    padding: 5rem 2rem;
    background: #F8FAFC;
}

.next-steps .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 2rem;
}

.timeline-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2D9596 0%, #38A169 100%);
    border-radius: 16px;
    margin-bottom: 1rem;
    color: white;
}

.timeline-step h3 {
    font-size: 1.25rem;
    color: #1A365F;
    margin-bottom: 0.5rem;
}

.timeline-step p {
    color: #64748B;
    font-size: 0.95rem;
}

.timeline-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2D9596 0%, #38A169 100%);
    position: relative;
}

.timeline-connector::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: -10px;
    color: #2D9596;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .confirmation-hero {
        padding: 6rem 1rem;
        min-height: auto;
    }
    
    .confirmation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-timeline {
        flex-direction: column;
    }
    
    .timeline-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #2D9596 0%, #38A169 100%);
    }
    
    .timeline-connector::after {
        content: '↓';
        right: -8px;
        top: auto;
        bottom: -10px;
    }
}

/* Configuration Guides */
.integration-guides {
    margin: 3rem 0;
    pointer-events: auto !important;
}

.guide-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.guide-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.guide-card h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.guide-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* SIP Header Table Styles */
.technical-details table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.technical-details th {
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.technical-details td {
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.1);
    vertical-align: top;
}

.technical-details pre {
    background: var(--primary-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

.technical-details table code {
    white-space: pre-wrap;
    word-break: break-all;
}

/* Tab Styles */
.tab-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tab-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
}

.tab-link {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
    position: relative;
}

.tab-link.active {
    color: var(--primary);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.tab-link:hover:not(.active) {
    color: var(--secondary);
}

.tab-content {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

#pricing {
    z-index: 20;
}

.custom-quote-btn {
    position: relative;
    z-index: 30;
    background: var(--accent);
    color: white !important;
    border: 2px solid white;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.custom-quote-btn:hover {
    background: #2e8b57;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.custom-quote-btn:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.5);
}

.mt-4 {
    margin-top: 1rem;
}

.tab-content.active {
    display: block !important;
    visibility: visible !important;
}

.hero-section,
.bg-gradient-to-r {
    z-index: 1 !important;
}

.tab-content.active {
    display: block;
}

.tab-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: 6px;
}

.tab-section h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Fix text color contrast */
.service-detail-section,
.technical-specs {
    color: var(--text-dark);
    background: white;
}

.spec-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

/* Service Detail Page Specific Styles */
.service-detail-section .service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin: 2rem 0 1.5rem;
}

.implementation-details h3,
.technical-specs h3,
.call-flow h3,
.troubleshooting h3,
.integration-guide h3 {
    color: var(--primary-dark);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

/* Login Form Styles */
.login-form {
   max-width: 400px;
   margin: 0 auto;
}

.login-form .form-group {
   margin-bottom: 1.5rem;
}

.login-form .form-input {
   width: 100%;
   padding: 0.75rem;
   border: 1px solid #e2e8f0;
   border-radius: 4px;
   font-size: 1rem;
}

.login-form .form-input:focus {
   outline: none;
   border-color: #2d9596;
   box-shadow: 0 0 0 3px rgba(45, 149, 150, 0.1);
}

.login-form .btn-primary {
   width: 100%;
   padding: 0.75rem;
   font-size: 1rem;
}

.login-form .error {
   color: #dc2626;
   font-size: 0.875rem;
   display: block;
   margin-top: 0.25rem;
}

.login-form label {
   display: block;
   margin-bottom: 0.5rem;
   font-weight: 500;
   color: #4a5568;
}

.login-form h2 {
   color: #1a365f;
   margin-bottom: 2rem;
   text-align: center;
   font-size: 2rem;
   font-weight: 700;
}

/* Configuration Steps */
.config-steps {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 600;
}

.step-content {
    flex-grow: 1;
}

.step-content pre {
    background: var(--primary-dark);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

.step-content pre code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

/* Call Flow Section */
.call-flow-steps {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.flow-step {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.flow-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.flow-content pre {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    overflow-x: auto;
    font-size: 0.9rem;
}

/* Technical Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.spec-card {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.spec-card pre {
    white-space: pre-wrap;
    word-break: break-word;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
}

/* Diagram Container */
.diagram-container {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin: 2rem 0;
    min-height: 400px;
}

/* Troubleshooting Section */
.issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.issue {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.issue ul {
    margin: 1rem 0 0 0;
    padding-left: 1.5rem;
}

/* Code Samples */
.code-samples pre {
    background: var(--primary-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
}

.code-samples code {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .service-detail-section .service-content {
        padding: 1rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown > a::after {
        content: "▼";
        margin-left: 5px;
        font-size: 0.6em;
    }
}

/* Modern Header Styles */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0;
    height: 80px; /* Set explicit height */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section .logo {
    height: 40px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    color: #1a365f;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #2d9596;
    background: rgba(45, 149, 150, 0.1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

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

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: #2d9596;
}

.btn-primary {
    background: #2d9596;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #238384;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 149, 150, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a365f;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Modern Footer Styles */
.modern-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-info p {
    color: #64748b;
    margin: 0.5rem 0;
    font-size: 0.875rem;
}

.footer-version {
    color: #94a3b8;
    font-size: 0.75rem;
}

/* Update Services Preview for consistency */
.services-preview {
    background: #f8fafc;
    padding: 5rem 2rem;
}

.services-preview .service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: visible;
}

.services-preview .service-card::before {
    display: none;
}

.services-preview .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.services-preview .service-card h3 {
    color: #1a365f;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.services-preview .service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.services-preview .service-card a {
    color: #2d9596;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.services-preview .service-card a:hover {
    color: #238384;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
    }
    
    .header-cta {
        display: none;
    }
}
/* About Page Enhanced Styles */

/* Global content wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Ensure all sections respect the centered layout */
section {
    width: 100%;
}

/* Update container class to ensure consistency */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, #0F2A4A 0%, #1A365F 50%, #2D9596 100%);
    color: white;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Remove negative margin */
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(56, 161, 105, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(236, 178, 46, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    margin-bottom: 4rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #ECB22E;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Mission Section */
.about-mission {
    padding: 6rem 2rem;
    background: #F8FAFC;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #1A365F;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.8;
    color: #4A5568;
}

/* Enhanced Performance Metrics */
.performance-showcase {
    padding: 6rem 2rem;
    background: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.metric-card.enhanced {
    text-align: center;
    padding: 3rem 2rem;
    background: #F8FAFC;
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2D9596 0%, #38A169 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.metric-card.enhanced:hover::before {
    transform: translateX(0);
}

.metric-card.enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2D9596 0%, #38A169 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    color: white;
}

.metric-card.enhanced .metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: #1A365F;
    margin-bottom: 0.5rem;
}

.metric-card.enhanced .metric-label {
    font-size: 1.25rem;
    color: #2D9596;
    font-weight: 600;
    margin-bottom: 1rem;
}

.metric-description {
    color: #64748B;
    font-size: 1rem;
    line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, #F8FAFC 0%, white 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748B;
    margin-top: 1rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.expertise-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.expertise-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #E0F6FF 0%, #F0F9FF 100%);
    border-radius: 24px;
    margin-bottom: 2rem;
    color: #2D9596;
    transition: all 0.3s ease;
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2D9596 0%, #38A169 100%);
    color: white;
}

.expertise-card h3 {
    font-size: 1.5rem;
    color: #1A365F;
    margin-bottom: 1rem;
}

.expertise-card p {
    color: #64748B;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.expertise-link {
    color: #2D9596;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.expertise-link:hover {
    gap: 1rem;
}

/* Network Visualization Section */
.network-showcase {
    padding: 6rem 2rem;
    background: #0F2A4A;
    color: white;
    position: relative;
}

.globe-container {
    height: 600px;
    margin: 3rem auto;
    position: relative;
    max-width: 1000px;
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 2rem;
    background: #F8FAFC;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    font-size: 4rem;
    color: #2D9596;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 2rem;
}

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

.testimonial-author strong {
    color: #1A365F;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #64748B;
    font-size: 0.95rem;
}

/* Enhanced CTA Section */
.cta-enhanced {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #1A365F 0%, #2D9596 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(236, 178, 46, 0.1) 0%, transparent 40%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.375rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary-large,
.btn-secondary-large {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary-large {
    background: #ECB22E;
    color: #1A365F;
}

.btn-primary-large:hover {
    background: #D4A029;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(236, 178, 46, 0.3);
}

.btn-secondary-large {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-large:hover {
    background: white;
    color: #1A365F;
}

.cta-features {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .metrics-grid,
    .expertise-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-card,
    .testimonial-card {
        padding: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1.5rem;
    }
}


/* Mermaid Diagram Styling */
.mermaid {
  background: white !important;
  padding: 1.5rem !important;
  border-radius: 8px !important;
  margin: 2rem 0 !important;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.diagram-container {
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.mermaid .label {
  font-family: 'Fira Code', monospace !important;
  color: var(--primary-dark) !important;
  font-size: 14px !important;
}

.mermaid .node rect {
  fill: #F8FAFC !important;
  stroke: #2D9596 !important;
  stroke-width: 2px !important;
  rx: 8px !important;
  ry: 8px !important;
}

.mermaid .edgePath path {
  stroke: #1A365F !important;
  stroke-width: 2px !important;
}

.mermaid .actor line {
  stroke: var(--secondary) !important;
}

.mermaid .note rect {
  fill: #f0fdf4 !important;
  stroke: var(--accent) !important;
}

.mermaid .activation rect {
  fill: rgba(45, 149, 150, 0.1) !important;
}

/* Pricing Table Protection */
.no-select {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pricing-table td {
    position: relative;
}

.pricing-table td::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Crect width='40' height='40' fill='white' fill-opacity='0.01'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Flowchart Styles */
.flowchart {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 120px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2D9596;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(45, 149, 150, 0.2);
}

.step-content {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.3;
    padding: 0.5rem;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.step:hover .step-content {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.connector {
    flex: 1;
    height: 2px;
    background: #2D9596;
    position: relative;
    margin: 0 -10px;
    z-index: 1;
}

.connector::after {
    content: '➤';
    position: absolute;
    right: -12px;
    top: -8px;
    color: #2D9596;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .flowchart {
        flex-direction: column;
        height: auto;
    }
    
    .connector {
        width: 2px;
        height: 40px;
        margin: -10px 0;
    }
}
