/* Font Declarations */
@font-face {
    font-family: 'Gotham HTF';
    src: url('../fonts/GothamHTF-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham HTF';
    src: url('../fonts/GothamHTF-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham HTF';
    src: url('../fonts/GothamHTF-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham HTF';
    src: url('../fonts/GothamHTF-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

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

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Additional Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes rotateIn {
    from { transform: rotate(-10deg) scale(0.95); opacity: 0; }
    to { transform: rotate(0) scale(1); opacity: 1; }
}

/* Root Variables - Solstice Technology Color Palette */
:root {
    --navy-blue: #1B2951;
    --deep-navy: #0F1B3D;
    --black: #000000;
    --charcoal: #2C2C2C;
    --accent-blue: #4A90E2;
    --light-accent: #E8F4FD;
    --text-color: #2C2C2C;
    --body-bg: #fff;
    --header-bg: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    --header-text: #fff;
    --grid-gap: 2rem;
    --container-max: 1200px;
    --side-padding: 2rem;
    --nav-height: 90px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 50%, #ffffff 100%);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 0;
}

/* Container adjustments */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

/* Header Styles */
header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.logo {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.logo img {
    height: 84px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

nav ul li a:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    background: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    margin: var(--nav-height) 2rem -120px 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Emergency Support page specific styling */
body[data-page="emergencysupport"] .hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

body[data-page="emergencysupport"] .hero-actions {
    position: relative;
    z-index: 3;
}

body[data-page="emergencysupport"] .hero-btn {
    position: relative;
    z-index: 4;
    cursor: pointer;
}

/* Ensure all content sections appear above hero background */
.services-section,
.about-section,
.contact-section,
.resources-categories,
.featured-resources,
.tools-section,
.newsletter-section,
.industries-grid,
.quote-form-section,
.emergency-form-section,
.construction-content,
.error-content {
    position: relative;
    z-index: 2;
    background: #fff;
    margin-top: 0;
    padding-top: 2rem;
}

/* Under Construction Page Styles */
.construction-section {
    padding: 4rem 0;
    background: #fff;
    position: relative;
    z-index: 2;
}

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

.construction-header {
    margin-bottom: 4rem;
}

.construction-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.construction-icon svg {
    width: 80px;
    height: 80px;
    animation: pulse 2s ease-in-out infinite;
}

.construction-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
    font-weight: 700;
}

.construction-header p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.progress-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.progress-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), #0056b3);
    border-radius: 6px;
    width: 0;
    transition: width 2s ease-in-out;
}

.progress-text {
    font-size: 1.1rem;
    color: var(--navy-blue);
    font-weight: 600;
    margin: 0;
}

.features-preview {
    margin-bottom: 4rem;
}

.features-preview h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-weight: 700;
}

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

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
    font-weight: 600;
    text-align: center;
}

.feature-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
    text-align: center;
}

.notify-section {
    background: linear-gradient(135deg, var(--navy-blue), var(--deep-navy));
    padding: 3rem 2rem;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.notify-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.notify-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.notify-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.notify-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
}

.notify-form button {
    padding: 1rem 2rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-form button:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}


/* Mobile responsiveness for construction page */
@media (max-width: 768px) {
    .construction-header h2 {
        font-size: 2rem;
    }
    
    .construction-header p {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .notify-form {
        flex-direction: column;
        align-items: center;
    }
    
    .notify-form input,
    .notify-form button {
        width: 100%;
        max-width: 300px;
    }
    
    .progress-section {
        padding: 1.5rem;
    }
    
    .notify-section {
        padding: 2rem 1.5rem;
    }
}

/* Error Page Styles */
.error-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-icon {
    font-size: 4rem;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-icon svg {
    width: 80px;
    height: 80px;
    animation: pulse 2s ease-in-out infinite;
}

.error-details h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
}

.error-details p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-suggestions {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 3rem 0;
    text-align: left;
}

.error-suggestions h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    text-align: center;
}

.error-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-suggestions li {
    padding: 0.75rem 0;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.error-suggestions li:last-child {
    border-bottom: none;
}

.error-suggestions li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.error-actions .btn-primary,
.error-actions .btn-secondary,
.error-actions .btn-outline {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.error-actions .btn-primary {
    background: var(--accent-blue);
    color: white;
    border: 2px solid var(--accent-blue);
}

.error-actions .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.error-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.error-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.error-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.error-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness for error page */
@media (max-width: 768px) {
    .error-details h2 {
        font-size: 2.5rem;
    }
    
    .error-details p {
        font-size: 1.1rem;
    }
    
    .error-suggestions {
        padding: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn-primary,
    .error-actions .btn-secondary,
    .error-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(248, 250, 252, 0.1) 20%, 
        rgba(248, 250, 252, 0.3) 40%, 
        rgba(248, 250, 252, 0.6) 60%, 
        rgba(248, 250, 252, 0.8) 80%, 
        rgba(248, 250, 252, 0.95) 100%);
    z-index: 1;
}

.hero h1 {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: rgba(255,255,255,0.95);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .subhead {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeIn 0.8s ease-out 0.1s backwards;
    position: relative;
    z-index: 2;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--grid-gap);
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.feature {
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1.5px solid var(--accent-blue);
}

.feature h2 {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.75rem;
}

.feature p {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-color);
}

/* Footer */
footer {
    background: var(--navy-blue);
    color: var(--header-text);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: var(--navy-blue);
    margin-bottom: 0.5em;
}

/* Subhead */
.subhead {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Grid and spacing guidance */
.grid-guide {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: var(--grid-gap);
}

/* Responsive adjustments */
@media (min-width: 1400px) {
    :root {
        --side-padding: 0;
    }
    .container, .nav-container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 1200px) {
    :root {
        --side-padding: 2rem;
    }
}

@media (max-width: 900px) {
    :root {
        --side-padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    :root {
        --side-padding: 1rem;
    }
}

/* Tablet responsive design - Exclude Surface Pro 7 (912px) and iPad Air (820px) */
@media (min-width: 769px) and (max-width: 819px) {
    /* Prevent horizontal overflow globally */
    * {
        box-sizing: border-box !important;
    }
    
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Tablet-specific adjustments */
    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
        overflow-x: hidden !important;
    }
    
    /* Navigation adjustments for tablets - Override conflicting styles */
    .nav-container {
        padding: 0 1rem 0 0.75rem !important;
        gap: 0.5rem !important;
        grid-template-columns: auto 1fr auto !important;
        max-width: 100vw !important;
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure right side is properly constrained */
    .nav-container > *:last-child {
        max-width: calc(100vw - 4rem) !important;
        overflow: hidden !important;
        flex-shrink: 1 !important;
    }
    
    /* Force nav-login to fit within available space */
    .nav-login {
        max-width: calc(100vw - 8rem) !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }
    
    /* Show mobile menu toggle on tablets */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Hide desktop nav menu on tablets */
    .nav-menu {
        display: none !important;
    }
    
    /* Hide desktop nav-login on tablets */
    .nav-login {
        display: none !important;
    }
    
    /* Show mobile nav menu on tablets */
    .mobile-nav-menu {
        display: block !important;
    }
    
    /* Show mobile nav buttons on tablets */
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        margin-top: 1rem !important;
    }
    
    /* Style mobile nav buttons for tablets */
    .mobile-nav-buttons a {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
        text-align: center !important;
        border-radius: 0.375rem !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-quote-btn {
        background: #3b82f6 !important;
        color: white !important;
    }
    
    .mobile-emergency-btn {
        background: #dc2626 !important;
        color: white !important;
    }
    
    .mobile-login-btn {
        background: transparent !important;
        color: #374151 !important;
        border: 1px solid #d1d5db !important;
    }
    
    /* Mobile nav menu items */
    .mobile-nav-menu li {
        margin-bottom: 0.5rem !important;
    }
    
    .mobile-nav-menu a {
        color: #374151 !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        padding: 0.5rem 0 !important;
        display: block !important;
    }
    
    .mobile-nav-menu a:hover {
        color: #3b82f6 !important;
    }
    
    /* Ensure mobile nav menu is scrollable if needed */
    .mobile-nav-content {
        max-height: calc(100vh - 100px) !important;
        overflow-y: auto !important;
    }
    
    .mobile-nav-menu {
        padding-bottom: 1rem !important;
    }
    
    /* iPhone SE specific mobile nav fixes */
    .mobile-nav-content {
        max-height: calc(100vh - 50px) !important;
        overflow-y: auto !important;
        padding: 0.25rem 1.5rem 1.5rem 1.5rem !important;
        display: block !important;
    }
    
    .mobile-nav-menu {
        margin-bottom: 0.25rem !important;
    }
    
    .mobile-nav-menu li {
        margin-bottom: 0.15rem !important;
    }
    
    .mobile-nav-menu a {
        padding: 0.15rem 0 !important;
        font-size: 0.9rem !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.4rem !important;
        margin-top: 0.75rem !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-nav-buttons a {
        width: 80% !important;
        max-width: 240px !important;
        margin: 0 auto !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.8rem !important;
        text-align: center !important;
        border-radius: 25px !important;
        text-decoration: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-quote-btn {
        background: #3b82f6 !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .mobile-emergency-btn {
        background: #dc2626 !important;
        color: white !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .mobile-login-btn {
        background: transparent !important;
        color: #374151 !important;
        border: 1px solid #d1d5db !important;
        display: block !important;
        visibility: visible !important;
    }
    
    /* Force all mobile nav buttons to be visible */
    .mobile-nav-buttons .mobile-quote-btn,
    .mobile-nav-buttons .mobile-emergency-btn,
    .mobile-nav-buttons .mobile-login-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 44px !important;
    }
    
    /* Override any hiding rules for iPhone SE */
    .mobile-nav-overlay .mobile-nav-buttons,
    .mobile-nav-overlay .mobile-nav-buttons a,
    .mobile-nav-overlay .mobile-quote-btn,
    .mobile-nav-overlay .mobile-emergency-btn,
    .mobile-nav-overlay .mobile-login-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hero section tablet optimization */
    .hero {
        padding: 6rem 1rem 8rem 1rem !important;
        min-height: 70vh;
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-actions .btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* Grid layouts for tablets */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Form adjustments for tablets */
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    /* Card adjustments */
    .service-card,
    .category-card,
    .featured-card {
        padding: 2rem;
    }
    
    .service-card h3,
    .category-card h3,
    .featured-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .service-card p,
    .category-card p,
    .featured-card p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 1.125rem 2.25rem;
        font-size: 1.1rem;
    }
    
    /* Text sizing for tablets */
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    
    /* Spacing adjustments */
    .section {
        padding: 4rem 2rem;
    }
    
    .section h2 {
        margin-bottom: 3rem;
    }
    
    /* Calculator adjustments */
    .calculator-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .calculator-inputs {
        padding: 2rem;
    }
    
    .calculator-results {
        padding: 2rem;
    }
    
    /* Resource list adjustments */
    .resource-list {
        columns: 2;
        column-gap: 2rem;
    }
    
    .resource-list li {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* iPad Pro specific adjustments (1024x1366) - Copy from iPad Mini formatting */
@media (min-width: 1024px) and (max-width: 1366px) {
    /* Prevent horizontal overflow on iPad Pro */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        margin: 0 auto !important;
        overflow-x: hidden !important;
    }
    
    /* Navbar container - copy from iPad Mini */
    .nav-container {
        padding: 0 1rem 0 0.75rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide desktop navigation elements */
    .nav-menu {
        display: none !important;
    }
    
    .nav-login {
        display: none !important;
    }
    
    /* Mobile menu toggle - copy from iPad Mini */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        order: 2 !important;
        flex-shrink: 0 !important;
    }
    
    /* Logo styling - copy from iPad Mini */
    .logo {
        order: 1 !important;
        flex-shrink: 1 !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .logo img {
        max-width: 100% !important;
        height: 50px !important;
        width: auto !important;
    }
    
    /* Hamburger lines - copy from iPad Mini */
    .hamburger-line {
        width: 24px !important;
        height: 3px !important;
        background: white !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }
    
    /* Hamburger animation - copy from iPad Mini */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Remove any unwanted lines from navigation */
    .main-nav::after {
        display: none !important;
    }
    
    .main-nav::before {
        display: none !important;
    }
    
    /* Complete Mobile Navigation Overlay - copy from iPad Mini */
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-nav-panel {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: var(--navy-blue) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
    }
    
    .mobile-nav-overlay.active .mobile-nav-panel {
        transform: translateX(0) !important;
    }
    
    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.25rem 1.5rem 0.25rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        min-height: 40px !important;
    }
    
    .mobile-logo {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        color: white !important;
    }
    
    .mobile-logo img {
        width: 120px !important;
        height: 120px !important;
        object-fit: contain !important;
    }
    
    .mobile-close-btn {
        background: none !important;
        border: none !important;
        color: white !important;
        cursor: pointer !important;
        padding: 0.75rem !important;
        border-radius: 4px !important;
        transition: background-color 0.2s ease !important;
        margin-left: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-nav-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 0.75rem 1.5rem 2rem 1.5rem !important;
        overflow-y: auto !important;
        min-height: 0 !important;
    }
    
    .mobile-nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-nav-menu li {
        margin-bottom: 0.75rem !important;
        text-align: right !important;
    }
    
    .mobile-nav-menu li a {
        color: white !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        padding: 0.5rem 0 !important;
        display: block !important;
        transition: color 0.2s ease !important;
    }
    
    .mobile-nav-menu li a:hover {
        color: var(--accent-blue) !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
        flex-shrink: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    .mobile-quote-btn {
        background: var(--accent-blue) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-quote-btn:hover {
        background: #3a7bc8 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(74, 144, 226, 0.4) !important;
    }
    
    .mobile-quote-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-emergency-btn {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-emergency-btn:hover {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4) !important;
    }
    
    .mobile-emergency-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-login-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-login-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .mobile-login-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Asus Zenbook Fold specific fixes (853x1280) - Remove gradient overlay line */
@media (min-width: 821px) and (max-width: 860px) {
    /* Remove the gradient overlay that appears as a line */
    .main-nav::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        content: none !important;
    }
    
    /* Remove any unwanted lines from navigation */
    .main-nav::after {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        content: none !important;
    }
    
    /* Additional specificity to ensure removal */
    nav.main-nav::before,
    .main-nav::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        content: none !important;
    }
    
    /* Hero section adjustments for iPad Pro to match other resolutions */
    .hero {
        padding: 4rem 1.5rem 8rem 1.5rem !important;
        margin: 70px 1.5rem 0 1.5rem !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        width: calc(100% - 3rem) !important;
        max-width: calc(100% - 3rem) !important;
        overflow-x: hidden !important;
        border-radius: 16px !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero .subhead {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .hero-actions .btn {
        width: 100% !important;
        max-width: 300px !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Surface Pro 7 and iPad Air specific fixes (820px-1023px) - Copy Surface Duo mobile formatting */
@media (min-width: 820px) and (max-width: 1023px) {
    /* Remove the gradient overlay that appears as a line */
    .main-nav::before {
        display: none !important;
    }
    
    /* Navbar container - copy from Surface Duo (768px) */
    .nav-container {
        padding: 0 1rem 0 0.75rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide desktop navigation elements */
    .nav-menu {
        display: none !important;
    }
    
    .nav-login {
        display: none !important;
    }
    
    /* Mobile menu toggle - copy from Surface Duo */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        order: 2 !important;
        flex-shrink: 0 !important;
    }
    
    /* Logo styling - copy from Surface Duo */
    .logo {
        order: 1 !important;
        flex-shrink: 1 !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .logo img {
        max-width: 100% !important;
        height: 50px !important;
        width: auto !important;
    }
    
    /* Hamburger lines - copy from Surface Duo */
    .hamburger-line {
        width: 24px !important;
        height: 3px !important;
        background: white !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }
    
    /* Hamburger animation - copy from Surface Duo */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Complete Mobile Navigation Overlay - copy from iPad Mini */
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-nav-panel {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: var(--navy-blue) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
    }
    
    .mobile-nav-overlay.active .mobile-nav-panel {
        transform: translateX(0) !important;
    }
    
    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.25rem 1.5rem 0.25rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        min-height: 40px !important;
    }
    
    .mobile-logo {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        color: white !important;
    }
    
    .mobile-logo img {
        width: 120px !important;
        height: 120px !important;
        object-fit: contain !important;
    }
    
    .mobile-close-btn {
        background: none !important;
        border: none !important;
        color: white !important;
        cursor: pointer !important;
        padding: 0.75rem !important;
        border-radius: 4px !important;
        transition: background-color 0.2s ease !important;
        margin-left: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-nav-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 0.75rem 1.5rem 2rem 1.5rem !important;
        overflow-y: auto !important;
        min-height: 0 !important;
    }
    
    .mobile-nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-nav-menu li {
        margin-bottom: 0.75rem !important;
        text-align: right !important;
    }
    
    .mobile-nav-menu li a {
        color: white !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        padding: 0.5rem 0 !important;
        display: block !important;
        transition: color 0.2s ease !important;
    }
    
    .mobile-nav-menu li a:hover {
        color: var(--accent-blue) !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
        flex-shrink: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    /* Override tablet button styles to match base mobile styles exactly */
    .mobile-quote-btn {
        background: var(--accent-blue) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-quote-btn:hover {
        background: #3a7bc8 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(74, 144, 226, 0.4) !important;
    }
    
    .mobile-quote-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-emergency-btn {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-emergency-btn:hover {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4) !important;
    }
    
    .mobile-emergency-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-login-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-login-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .mobile-login-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Additional layout improvements for Surface Pro 7 */
    /* Prevent horizontal overflow globally */
    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
    }
    
    /* Hero section adjustments for Surface Pro 7 */
    .hero {
        padding: 4rem 1rem 8rem 1rem !important;
        margin: 70px 1rem 0 1rem !important;
        min-height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        width: calc(100% - 2rem) !important;
        max-width: calc(100% - 2rem) !important;
        overflow-x: hidden !important;
        border-radius: 16px !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero .subhead {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .hero-actions .btn {
        width: 100% !important;
        max-width: 300px !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Mobile-first responsive improvements */
@media (max-width: 768px) {
    /* Hero section mobile optimization */
    .hero {
        padding: 4rem 0.75rem 15rem 0.75rem;
        margin: 70px 1rem 0 1rem;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        overflow-x: hidden;
        border-radius: 16px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        padding: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .hero .subhead {
        font-size: 1.2rem;
        padding: 0;
        margin-bottom: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Service tables mobile responsiveness */
    .service-table {
        font-size: 0.9rem;
        margin: 1rem 0;
        border: none;
        display: block;
        width: 100%;
    }
    
    .service-table thead {
        display: none;
    }
    
    .service-table tbody {
        display: block;
        width: 100%;
    }
    
    .service-table tr {
        display: block;
        margin-bottom: 1rem;
        background: white;
        border: 1px solid var(--marine-blue);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .service-table td {
        display: block;
        border: none;
        padding: 0.5rem 0;
        text-align: left;
    }
    
    .service-table td:first-child {
        font-weight: 700;
        color: var(--deep-blue);
        font-size: 1rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid #e8f4fd;
        padding-bottom: 0.5rem;
    }
    
    .service-table td:last-child {
        color: #666;
        line-height: 1.5;
    }
    
    /* Container mobile optimization */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Section spacing mobile optimization */
    section {
        margin-top: 2rem !important;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Navigation mobile improvements */
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .hero {
        padding: 3rem 0.75rem 18rem 0.75rem;
        margin: 60px 0.5rem 0 0.5rem;
        border-radius: 12px;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .hero .subhead {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .service-table {
        font-size: 0.85rem;
    }
    
    .service-table tr {
        padding: 0.75rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    /* iPhone specific hamburger menu fixes */
    .nav-container {
        padding: 0 0.75rem;
        min-height: 60px;
    }
    
    .mobile-menu-toggle {
        width: 48px;
        height: 48px;
        margin-left: auto;
        margin-right: 0;
    }
    
    .hamburger-line {
        width: 26px;
        height: 3px;
    }
    
    .logo img {
        height: 50px;
    }
}

/* iPhone specific viewport fixes */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 768px) {
        .hero {
            padding: 4rem 1rem 20rem 1rem;
        }
    }
}

/* Additional mobile improvements for content sections */
@media (max-width: 768px) {
    /* Improve text readability on mobile */
    p, li {
        line-height: 1.6;
        font-size: 1rem;
    }
    
    /* Better spacing for content sections */
    .about-solstice,
    .core-services,
    .industries,
    .differentiators,
    .noc-compliance,
    .why-extend {
        padding: 1.5rem 0;
    }
    
    /* Improve button spacing and sizing */
    .quote-btn,
    .emergency-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin: 0.25rem;
        min-height: 44px; /* Minimum touch target size */
    }
    
    /* Mobile navigation improvements */
    .mobile-nav-panel {
        width: 90%;
        max-width: 350px;
    }
    
    .mobile-nav-menu li a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        min-height: 44px; /* Minimum touch target size */
        display: flex;
        align-items: center;
    }
    
    .mobile-nav-buttons {
        margin-top: 2rem;
    }
    
    .mobile-quote-btn,
    .mobile-emergency-btn,
    .mobile-login-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px; /* Minimum touch target size */
    }
    
    /* Improve touch interactions */
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        padding: 8px;
    }
    
    /* Better mobile scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Improve mobile form elements */
    input, select, textarea, button {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better mobile table handling */
    .service-table {
        -webkit-overflow-scrolling: touch;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 3rem 0 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .service-table tr {
        padding: 0.75rem;
    }
}

/* High DPI mobile displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .hero h1,
    .hero .subhead {
        animation: none;
    }
    
    /* Optimize images for mobile */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve mobile menu performance */
    .mobile-nav-overlay {
        will-change: opacity, visibility;
    }
    
    .mobile-nav-panel {
        will-change: transform;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* --- Navbar Styles --- */
.main-nav {
    background: var(--header-bg);
    color: var(--header-text);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    height: var(--nav-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(74,144,226,0.1) 0%, transparent 70%);
    opacity: 0.2;
    z-index: 1;
}


.main-nav.scrolled {
    --nav-height: 80px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

/* Navbar container adjustments */
.nav-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem 0 var(--side-padding);
    height: var(--nav-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Ensure grid layout is preserved on larger screens */
@media (min-width: 769px) {
    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        justify-content: space-between;
    }
    
    .nav-menu {
        justify-self: center;
    }
    
    .nav-login {
        justify-self: end;
    }
}

/* Medium screen adjustments */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-container {
        padding: 0 2rem 0 var(--side-padding);
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu > li > a {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
    }
}

.logo {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo:hover {
    opacity: 0.9;
    transform: none;
}

.logo img {
    height: 84px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    white-space: nowrap;
    justify-self: center;
}

.nav-menu > li > a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    opacity: 0.9;
    white-space: nowrap;
}

.nav-menu > li > a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hero Section */
main {
    padding-top: 0;
}

/* Service Sections */
.service-section {
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,95,133,0.08);
    margin: 2rem auto;
    max-width: 900px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
}

.service-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeIn 0.6s ease-out;
}

.service-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0,95,133,0.12);
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section:hover::before {
    transform: scaleX(1);
}

.service-section h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.service-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #445668;
}

/* Login Button */
.login-btn {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 0.6rem 1.75rem;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
    height: 40px;
    display: flex;
    align-items: center;
    vertical-align: top;
}

.login-btn:hover {
    background: var(--accent-blue);
    transform: none;
    border-color: var(--accent-blue);
}

/* --- End Navbar Styles --- */

.main-nav, .nav-menu > li > a, .dropdown-menu li a {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

.subhead {
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    font-weight: 400;
}

body, .feature p, .hero p, .service-table td, .service-table th {
    font-family: 'Open Sans', Arial, sans-serif;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    justify-self: end;
    vertical-align: top;
}

.footer-main {
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info p {
    margin: 0;
    font-size: 1rem;
    color: #e0e6ea;
    font-family: 'Open Sans', Arial, sans-serif;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.footer-nav li a {
    color: #e0e6ea;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    transition: color 0.3s ease;
}
.footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.footer-nav li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 2000;
}

/* Service Icons Animation */
.service-icon {
    display: inline-block;
    margin-bottom: 1.5rem;
    animation: none;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-blue);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-section:hover .service-icon svg {
    transform: scale(1.1) rotate(5deg);
}

/* Enhanced Mobile Menu Animation */
@media (max-width: 900px) and (min-width: 769px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .logo {
        padding: 0;
        margin: 0;
    }
    
    .logo img {
        height: 76px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }
}

/* iPad Air specific fixes (820px width) - Copy from iPad Mini formatting */
@media (max-width: 820px) and (min-width: 769px) {
    /* Remove the gradient overlay that appears as a line */
    .main-nav::before {
        display: none !important;
    }
    
    /* Navbar container - copy from iPad Mini */
    .nav-container {
        padding: 0 1rem 0 0.75rem !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hide desktop navigation elements */
    .nav-menu {
        display: none !important;
    }
    
    .nav-login {
        display: none !important;
    }
    
    /* Mobile menu toggle - copy from iPad Mini */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        order: 2 !important;
        flex-shrink: 0 !important;
    }
    
    /* Logo styling - copy from iPad Mini */
    .logo {
        order: 1 !important;
        flex-shrink: 1 !important;
        max-width: calc(100% - 60px) !important;
    }
    
    .logo img {
        max-width: 100% !important;
        height: 50px !important;
        width: auto !important;
    }
    
    /* Hamburger lines - copy from iPad Mini */
    .hamburger-line {
        width: 24px !important;
        height: 3px !important;
        background: white !important;
        margin: 3px 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 2px !important;
    }
    
    /* Hamburger animation - copy from iPad Mini */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Complete Mobile Navigation Overlay - copy from iPad Mini */
    .mobile-nav-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .mobile-nav-panel {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 85% !important;
        max-width: 400px !important;
        height: 100vh !important;
        background: var(--navy-blue) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
    }
    
    .mobile-nav-overlay.active .mobile-nav-panel {
        transform: translateX(0) !important;
    }
    
    .mobile-nav-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.25rem 1.5rem 0.25rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        min-height: 40px !important;
    }
    
    .mobile-logo {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
        color: white !important;
    }
    
    .mobile-logo img {
        width: 120px !important;
        height: 120px !important;
        object-fit: contain !important;
    }
    
    .mobile-close-btn {
        background: none !important;
        border: none !important;
        color: white !important;
        cursor: pointer !important;
        padding: 0.75rem !important;
        border-radius: 4px !important;
        transition: background-color 0.2s ease !important;
        margin-left: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-close-btn:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .mobile-nav-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 0.75rem 1.5rem 2rem 1.5rem !important;
        overflow-y: auto !important;
        min-height: 0 !important;
    }
    
    .mobile-nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .mobile-nav-menu li {
        margin-bottom: 0.75rem !important;
        text-align: right !important;
    }
    
    .mobile-nav-menu li a {
        color: white !important;
        text-decoration: none !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        padding: 0.5rem 0 !important;
        display: block !important;
        transition: color 0.2s ease !important;
    }
    
    .mobile-nav-menu li a:hover {
        color: var(--accent-blue) !important;
    }
    
    .mobile-nav-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
        flex-shrink: 0 !important;
        padding-bottom: 1rem !important;
    }
    
    .mobile-quote-btn {
        background: var(--accent-blue) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-quote-btn:hover {
        background: #3a7bc8 !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(74, 144, 226, 0.4) !important;
    }
    
    .mobile-quote-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3) !important;
    }
    
    .mobile-emergency-btn {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: none !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-emergency-btn:hover {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4) !important;
    }
    
    .mobile-emergency-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
    }
    
    .mobile-login-btn {
        background: rgba(255, 255, 255, 0.1) !important;
        color: white !important;
        padding: 0.5rem 1rem !important;
        border-radius: 25px !important;
        font-weight: 600 !important;
        font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif !important;
        text-decoration: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        text-align: center !important;
        width: 80% !important;
        max-width: 240px !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .mobile-login-btn:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .mobile-login-btn:active {
        transform: translateY(0) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-login {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        margin-right: 0;
        order: 2;
        flex-shrink: 0;
    }
    
    .logo {
        order: 1;
        flex-shrink: 1;
        max-width: calc(100% - 60px);
    }
    
    .logo img {
        max-width: 100%;
        height: 50px;
        width: auto;
    }
    
    .hamburger-line {
        width: 24px;
        height: 3px;
        background: white;
        margin: 3px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--navy-blue);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 1.5rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 40px;
}

.mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.mobile-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem 2rem 1.5rem;
    overflow-y: auto;
    min-height: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0.75rem;
    text-align: right;
}

.mobile-nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.2s ease;
}

.mobile-nav-menu li a:hover {
    color: var(--accent-blue);
}

.mobile-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
    flex-shrink: 0;
    padding-bottom: 1rem;
}

.mobile-quote-btn {
    background: var(--accent-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 80%;
    max-width: 240px;
    border: none;
    font-size: 0.9rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.mobile-quote-btn:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.4);
}

.mobile-quote-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.mobile-emergency-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 80%;
    max-width: 240px;
    border: none;
    font-size: 0.9rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.mobile-emergency-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

.mobile-emergency-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.mobile-login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-family: 'Gotham HTF', 'Montserrat', Arial, sans-serif;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    width: 80%;
    max-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.mobile-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Services Hero Section */
.services-hero {
    background: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    margin: var(--nav-height) 2rem 0 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 100%);
    z-index: 2;
}

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

/* Override hero-content max-width on mobile for full-width centering */
@media (max-width: 768px) {
    .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    background: transparent;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0,95,133,0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    fill: none;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    stroke: var(--navy-blue);
}

.service-card h2 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #445668;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #445668;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2em;
    line-height: 1;
}

.learn-more {
    display: inline-block;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.learn-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: var(--navy-blue);
}

.learn-more:hover::after {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .service-card {
        padding: 2rem;
    }

    .services-hero {
        padding: 5rem 1rem 3rem;
    }

    /* Footer Mobile Styles */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-nav {
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-nav li a {
        font-size: 0.9rem;
    }

    /* Contact Page Mobile Styles */
    .contact-section {
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        max-width: 100%;
        margin: 0 auto;
    }

    .contact-info {
        padding: 2rem;
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .contact-form h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-details {
        gap: 1.5rem;
    }

    .contact-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

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

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

/* Galaxy Z Fold 5 specific (344px width) */
@media (max-width: 344px) {
    .hero {
        padding: 3rem 0.2rem 10rem 0.2rem;
        margin: 70px 0.2rem 0 0.2rem;
        width: calc(100% - 0.4rem);
        max-width: calc(100% - 0.4rem);
    }

    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.05;
        margin-bottom: 0.7rem;
        padding: 0 0.2rem;
    }

    .hero .subhead {
        font-size: 0.85rem;
        line-height: 1.25;
        margin-bottom: 1.3rem;
        padding: 0 0.2rem;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.7rem !important;
        margin: 1.3rem auto 0 auto !important;
        padding: 0 0.2rem !important;
        width: 100% !important;
        max-width: 280px !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 250px !important;
        justify-content: center !important;
        padding: 0.75rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: 40px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Samsung Galaxy S8+ specific (360px width) */
@media (max-width: 360px) {
    .hero {
        padding: 3rem 0.25rem 10rem 0.25rem;
        margin: 70px 0.25rem 0 0.25rem;
        width: calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        padding: 0 0.25rem;
    }

    .hero .subhead {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 0.25rem;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        margin: 1.5rem auto 0 auto !important;
        padding: 0 0.25rem !important;
        width: 100% !important;
        max-width: 300px !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 260px !important;
        justify-content: center !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
        min-height: 42px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* iPhone 12 Pro and similar devices (390px width) */
@media (max-width: 390px) {
    .hero {
        padding: 3rem 0.5rem 12rem 0.5rem;
        margin: 70px 0.5rem 0 0.5rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 0.5rem;
    }

    .hero .subhead {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin: 2rem auto 0 auto !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
        max-width: 320px !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 0.9rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-height: 44px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .hero .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* iPhone 12 Pro and similar devices (390px width) */
@media (max-width: 390px) {
    .hero {
        padding: 3rem 0.5rem 10rem 0.5rem;
        margin: 70px 0.5rem 0 0.5rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        box-sizing: border-box !important;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }

    .hero .subhead {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        margin: 1.5rem auto 0 auto !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
        max-width: 320px !important;
        box-sizing: border-box !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 0.8rem 1rem !important;
        font-size: 0.85rem !important;
        min-height: 44px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
    }

    .hero .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

/* iPhone SE and similar devices (375px width) */
@media (max-width: 375px) {
    .hero {
        padding: 3rem 0.5rem 12rem 0.5rem;
        margin: 70px 0.5rem 0 0.5rem;
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        box-sizing: border-box !important;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
        padding: 0 0.5rem;
    }

    .hero .subhead {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        margin: 1.5rem auto 0 auto !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
        max-width: 320px !important;
        box-sizing: border-box !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 0.9rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-height: 44px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
    }

    .hero .hero-content {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .contact-section {
        padding: 2rem 0;
    }

    .contact-grid {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    .contact-details {
        gap: 1.25rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-text h3 {
        font-size: 1rem;
    }

    .contact-text p {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
}

/* Sitemap Mobile Styles */
@media (max-width: 768px) {
    .sitemap-list {
        grid-template-columns: 1fr;
    }
    
    .sitemap-section {
        padding: 1rem;
    }
}

/* Animation Delays */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }

/* NOC Hero Section */
.noc-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: var(--nav-height);
}

.noc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

/* NOC Services Container */
.noc-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem var(--side-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* NOC Features Section */
.noc-features {
    background: var(--light-accent);
    padding: 4rem 0;
    margin-top: 2rem;
}

.noc-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature {
    padding: 2rem;
}

.feature-icon {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    color: #445668;
    line-height: 1.6;
}

/* Service Card Enhancements */
.service-card {
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-icon svg {
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .noc-services-container {
        grid-template-columns: 1fr;
        padding: 2rem var(--side-padding);
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .noc-features h2 {
        font-size: 2rem;
    }
}

/* Add-On Services Hero */
.addon-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: var(--nav-height);
}

.addon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

/* Compliance Services Container */
.compliance-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem var(--side-padding);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Benefits Section */
.benefits-section {
    background: var(--light-accent);
    padding: 4rem 0;
    margin-top: 2rem;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.benefit-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #445668;
    line-height: 1.6;
}

/* Animation Delays for Benefits */
.benefit-card:nth-child(1) { transition-delay: 0.1s; }
.benefit-card:nth-child(2) { transition-delay: 0.2s; }
.benefit-card:nth-child(3) { transition-delay: 0.3s; }
.benefit-card:nth-child(4) { transition-delay: 0.4s; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .compliance-services-container {
        grid-template-columns: 1fr;
        padding: 2rem var(--side-padding);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-section h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }
}

/* Resources Hero Section */
.resources-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin: var(--nav-height) 2rem 0 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.15);
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

/* Resource Metadata Styles */
.resource-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.resource-meta span {
    background: var(--light-accent);
    color: var(--navy-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tool-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tool-meta span {
    background: var(--light-accent);
    color: var(--navy-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* About Hero Section */
.about-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin: var(--nav-height) 2rem 0 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.15);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

/* Mobile responsive for Resources and About hero sections */
@media (max-width: 768px) {
    .resources-hero,
    .about-hero {
        margin: var(--nav-height) 1rem 0 1rem;
        padding: 4rem 0 3rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .resources-hero,
    .about-hero {
        margin: var(--nav-height) 0.5rem 0 0.5rem;
        padding: 3rem 0 2rem;
        border-radius: 12px;
    }
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: var(--nav-height);
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

/* Quote Hero Section */
.quote-hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--deep-navy) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: var(--nav-height);
}

.quote-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #fff;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.contact-info {
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
}

.contact-info h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-blue);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.contact-text h3 {
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.contact-text p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
}

.contact-form h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    color: var(--navy-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

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

.submit-btn {
    background: var(--accent-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--deep-navy);
    transform: translateY(-2px);
}

/* Mission Vision Section */
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 0;
}

.mission, .vision {
    text-align: center;
    padding: 2rem;
}

.section-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.section-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Expertise Section */
.expertise-section {
    padding: 4rem 0;
    background: var(--light-accent);
}

.expertise-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

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

.expertise-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.expertise-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.expertise-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.member-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--light-accent);
    border-radius: 50%;
    padding: 1.5rem;
}

.member-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-blue);
    stroke-width: 1.5;
    fill: none;
}

.team-member .member-title {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Values Section */
.values-section {
    padding: 4rem 0;
    background: var(--light-accent);
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Animation Delays */
.expertise-card:nth-child(1),
.team-member:nth-child(1),
.value-card:nth-child(1) { transition-delay: 0.1s; }

.expertise-card:nth-child(2),
.team-member:nth-child(2),
.value-card:nth-child(2) { transition-delay: 0.2s; }

.expertise-card:nth-child(3),
.team-member:nth-child(3),
.value-card:nth-child(3) { transition-delay: 0.3s; }

.expertise-card:nth-child(4),
    .value-card:nth-child(4) { transition-delay: 0.4s; }

/* Resources Page Styles */
.resources-categories {
    padding: 6rem 0;
    background: #fff;
}

.resources-categories h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

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

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.category-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(27, 41, 81, 0.12);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    color: var(--accent-blue);
}

.category-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.category-card h3 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-card p {
    color: #445668;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.resource-list li {
    margin-bottom: 0.75rem;
}

.resource-list a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.resource-list a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.resource-list a:hover {
    color: var(--navy-blue);
}

.resource-list a:hover::before {
    transform: translateX(3px);
}

/* Featured Resources Section */
.featured-resources {
    padding: 6rem 0;
    background: var(--light-accent);
}

.featured-resources h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

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

.featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.featured-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(27, 41, 81, 0.12);
}

.featured-image {
    height: 200px;
    background: linear-gradient(135deg, var(--accent-blue), var(--navy-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: white;
    opacity: 0.8;
}

.placeholder-image svg {
    width: 64px;
    height: 64px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.featured-content {
    padding: 2rem;
}

.resource-type {
    background: var(--accent-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-content h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 700;
}

.featured-content p {
    color: #445668;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.download-btn {
    background: var(--navy-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

/* Tools Section */
.tools-section {
    padding: 6rem 0;
    background: #fff;
}

.tools-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

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

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(27, 41, 81, 0.12);
}

.tool-icon {
    width: 80px;
    height: 80px;
    background: var(--light-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--accent-blue);
}

.tool-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.tool-card h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tool-card p {
    color: #445668;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.tool-btn {
    background: var(--accent-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.tool-btn:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: var(--header-bg);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--accent-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
}

/* Animation Delays for Resources */
.category-card:nth-child(1) { transition-delay: 0.1s; }
.category-card:nth-child(2) { transition-delay: 0.2s; }
.category-card:nth-child(3) { transition-delay: 0.3s; }
.category-card:nth-child(4) { transition-delay: 0.4s; }

.featured-card:nth-child(1) { transition-delay: 0.1s; }
.featured-card:nth-child(2) { transition-delay: 0.2s; }
.featured-card:nth-child(3) { transition-delay: 0.3s; }

.tool-card:nth-child(1) { transition-delay: 0.1s; }
.tool-card:nth-child(2) { transition-delay: 0.2s; }
.tool-card:nth-child(3) { transition-delay: 0.3s; }

/* Responsive Design for Resources */
@media (max-width: 768px) {
    .categories-grid,
    .featured-grid,
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .resources-categories h2,
    .featured-resources h2,
    .tools-section h2,
    .newsletter-content h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .expertise-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-section h2,
    .team-section h2,
    .values-section h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .member-icon {
        width: 60px;
        height: 60px;
        padding: 1rem;
    }
}

/* Industries Page Styles */
.industries-hero {
    background: var(--header-bg);
    color: var(--header-text);
    text-align: center;
    padding: 4rem 0 3rem 0;
    position: relative;
    overflow: hidden;
    margin: var(--nav-height) 2rem 0 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.industries-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.industries-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(248, 250, 252, 0.1) 20%, 
        rgba(248, 250, 252, 0.3) 40%, 
        rgba(248, 250, 252, 0.6) 60%, 
        rgba(248, 250, 252, 0.8) 80%, 
        rgba(248, 250, 252, 0.95) 100%);
    z-index: 1;
}

.industries-hero .hero-content {
    position: relative;
    z-index: 2;
}

.industries-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.industries-hero .subhead {
    font-size: 1.5rem;
    opacity: 0.9;
    color: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 6rem var(--side-padding) 4rem;
    max-width: var(--container-max);
    margin: -120px auto 0;
    position: relative;
    z-index: 3;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
}

.industries-grid .service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.industries-grid .service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.industries-grid .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(27, 41, 81, 0.12);
}

.industries-grid .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    color: var(--accent-blue);
}

.industries-grid .service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.industries-grid .service-card h2 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.industries-grid .service-card p {
    color: #445668;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.industries-grid .service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industries-grid .service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #445668;
    font-size: 1rem;
}

.industries-grid .service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2em;
    line-height: 1;
}

.industry-features {
    background: var(--light-accent);
    padding: 6rem 0;
}

.industry-features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

.industry-features .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.industry-features .feature {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.industry-features .feature.visible {
    animation: fadeInUp 0.6s ease-out;
}

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

.industry-features .feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(27, 41, 81, 0.12);
}

.industry-features .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

/* Ensure content displays properly without icons */
.industry-features .feature h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
}

.industry-features .feature p {
    color: #445668;
    line-height: 1.6;
    font-size: 1rem;
}

/* Tablet Responsive for Industries Page */
@media (min-width: 769px) and (max-width: 1024px) {
    .industries-hero {
        padding: 6rem 2rem 4rem 2rem;
    }
    
    .industries-hero h1 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .industries-hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 2rem;
    }
    
    .industry-card {
        padding: 2rem;
    }
    
    .industry-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .industry-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .industry-features {
        margin-bottom: 1.5rem;
    }
    
    .industry-features h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .industry-features ul {
        font-size: 0.95rem;
    }
    
    .industry-features li {
        margin-bottom: 0.5rem;
    }
    
    .industry-cta {
        margin-top: 1.5rem;
    }
    
    .industry-cta .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .solutions-section {
        padding: 4rem 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .solution-card {
        padding: 2rem;
    }
    
    .solution-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .solution-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .solution-features {
        margin-bottom: 1.5rem;
    }
    
    .solution-features h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .solution-features ul {
        font-size: 0.95rem;
    }
    
    .solution-features li {
        margin-bottom: 0.5rem;
    }
    
    .compliance-section {
        padding: 4rem 2rem;
    }
    
    .compliance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .compliance-card {
        padding: 2rem;
    }
    
    .compliance-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .compliance-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .compliance-features {
        margin-bottom: 1.5rem;
    }
    
    .compliance-features h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .compliance-features ul {
        font-size: 0.95rem;
    }
    
    .compliance-features li {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .industries-hero h1 {
        font-size: 2.5rem;
    }
    
    .industries-hero .subhead {
        font-size: 1.25rem;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        padding: 2rem var(--side-padding);
    }
    
    .industry-features .features-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-features h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

/* Industry Solutions Section */
.industry-solutions {
    padding: 6rem 0;
    background: #fff;
}

/* White Paper and Case Study Meta Styles */


/* Knowledge Base Styles */
.knowledge-base-hero {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
}

.knowledge-base-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.knowledge-base-content {
    background: #fff;
    padding: 4rem 0;
}

.knowledge-base-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.knowledge-base-body h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.knowledge-base-body h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.knowledge-base-body h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.knowledge-base-body p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.knowledge-base-body ul, .knowledge-base-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.knowledge-base-body li {
    margin-bottom: 0.5rem;
}

.quick-reference {
    background: var(--light-accent);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-blue);
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.code-block code {
    color: #333;
    background: none;
    padding: 0;
}

.knowledge-base-section {
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.knowledge-base-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .knowledge-base-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .knowledge-base-body {
        padding: 0 1rem;
    }
    
    .knowledge-base-body h2 {
        font-size: 1.5rem;
    }
    
    .knowledge-base-body h3 {
        font-size: 1.3rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.8rem;
    }
}

/* ROI Calculator Styles */
.roi-calculator-hero {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--navy-blue) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.roi-calculator-content {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.calculator-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
}

.calculator-results {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.form-group input[type="number"],
.form-group input[type="range"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="number"]:focus,
.form-group input[type="range"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input[type="range"] {
    padding: 0;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.form-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.range-labels span:middle {
    font-weight: 600;
    color: var(--accent-blue);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.roi-metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-accent);
    border-radius: 12px;
    border: 2px solid var(--accent-blue);
}

.roi-metric h3 {
    font-size: 1rem;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.25rem;
}

.metric-description {
    font-size: 0.85rem;
    color: #666;
}

.results-breakdown {
    margin-bottom: 2rem;
}

.results-breakdown h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item, .cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.benefit-item.total, .cost-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
    background: var(--light-accent);
    padding: 1rem 0;
    margin: 0.5rem 0;
}

.benefit-label, .cost-label {
    color: var(--charcoal);
}

.benefit-value, .cost-value {
    font-weight: 600;
    color: var(--accent-blue);
}

.cost-value {
    color: #dc3545;
}

.results-chart {
    margin-bottom: 2rem;
}

.results-chart h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.chart-container {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.results-recommendations {
    margin-bottom: 2rem;
}

.results-recommendations h3 {
    color: var(--navy-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.results-recommendations li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: var(--charcoal);
    line-height: 1.6;
}

.results-recommendations li:last-child {
    border-bottom: none;
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .results-summary {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Preset Section Styles */
.preset-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-accent);
    border-radius: 8px;
    border: 1px solid var(--accent-blue);
}

.preset-section h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.preset-btn {
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid var(--accent-blue);
    border-radius: 6px;
    color: var(--accent-blue);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.preset-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* Emergency Support Form Error States */
.emergency-form-container input.error,
.emergency-form-container select.error,
.emergency-form-container textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.emergency-form-container .form-group small {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* reCAPTCHA Styling */
.recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.recaptcha-container .g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recaptcha-container .g-recaptcha > div {
    transform: scale(0.95);
    transform-origin: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .recaptcha-container {
        margin: 1rem 0;
        padding: 0.75rem;
    }
    
    .recaptcha-container .g-recaptcha > div {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .recaptcha-container .g-recaptcha > div {
        transform: scale(0.75);
    }
}

/* Print Styles */
@media print {
    .form-actions,
    .results-actions,
    .preset-section {
        display: none !important;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .calculator-form {
        display: none;
    }
    
    .calculator-results {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .roi-calculator-hero {
        background: none !important;
        color: black !important;
        padding: 1rem 0;
    }
    
    .roi-calculator-content {
        background: white !important;
        padding: 0;
    }
}

.case-study-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}


.case-study-body {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.case-study-body h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.case-study-body h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.case-study-body h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.case-study-body p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.case-study-body ul, .case-study-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.case-study-body li {
    margin-bottom: 0.5rem;
}

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

.metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-accent);
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.case-study-section {
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.case-study-section.visible {
    opacity: 1;
    transform: translateY(0);
}

blockquote {
    background: var(--light-accent);
    border-left: 4px solid var(--accent-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

blockquote p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

blockquote footer {
    text-align: left;
    margin-top: 1rem;
}

blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-blue);
    background: var(--navy-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
}

@media (max-width: 768px) {
    .case-study-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .case-study-body {
        padding: 0 1rem;
    }
    
    .case-study-body h2 {
        font-size: 1.5rem;
    }
    
    .case-study-body h3 {
        font-size: 1.3rem;
    }
    
    .key-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.whitepaper-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.8);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.hero .whitepaper-meta,
.hero .case-study-meta,
.hero .knowledge-base-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.8);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.hero .whitepaper-meta span,
.hero .case-study-meta span,
.hero .knowledge-base-meta span {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Tool Section - Wider than hero card */
.tool-section {
    margin-top: 3rem;
    position: relative;
    z-index: 20;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 2rem 0;
}

.tool-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ROI Calculator Responsive Styles */
@media (max-width: 1200px) {
    .tool-container {
        max-width: 100% !important;
        padding: 0 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .tool-container {
        padding: 0 1rem !important;
    }
}

@media (max-width: 480px) {
    .tool-container {
        padding: 0 0.5rem !important;
    }
}


.whitepaper-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
}

.whitepaper-body h2 {
    color: var(--navy-blue);
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 0.5rem;
}

.whitepaper-body h3 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
}

.whitepaper-body h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem 0;
}

.whitepaper-body p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.whitepaper-body ul, .whitepaper-body ol {
    margin: 1rem 0 1.5rem 2rem;
}

.whitepaper-body li {
    margin-bottom: 0.5rem;
}

.executive-summary {
    background: var(--light-accent);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-blue);
}

.table-of-contents {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.table-of-contents ol {
    margin: 1rem 0 0 0;
}

.table-of-contents a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.whitepaper-section {
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.whitepaper-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.conclusion {
    background: var(--light-accent);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    border-left: 4px solid var(--accent-blue);
}

.about-author {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.download-section {
    text-align: center;
    background: var(--light-accent);
    color: var(--navy-blue);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    border: 2px solid var(--accent-blue);
}

.download-section h2 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.download-section p {
    color: var(--navy-blue);
    margin-bottom: 2rem;
}

.download-btn {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #3a7bd5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

@media (max-width: 768px) {
    .hero .whitepaper-meta,
    .hero .case-study-meta,
    .hero .knowledge-base-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .whitepaper-body {
        padding: 0 1rem;
    }
    
    .whitepaper-body h2 {
        font-size: 1.5rem;
    }
    
    .whitepaper-body h3 {
        font-size: 1.3rem;
    }
}

.industry-solutions h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
}

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

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.08);
    border: 1px solid #e8f4fd;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(27, 41, 81, 0.12);
}

.solution-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-accent);
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--light-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.solution-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.solution-header h3 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

.solution-content h4 {
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
    font-weight: 600;
}

.solution-content h4:first-child {
    margin-top: 0;
}

.solution-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.solution-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #445668;
    font-size: 1rem;
    line-height: 1.5;
}

.solution-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2em;
    line-height: 1;
}

/* Animation Delays for Solution Cards */
.solution-card:nth-child(1) { transition-delay: 0.1s; }
.solution-card:nth-child(2) { transition-delay: 0.2s; }
.solution-card:nth-child(3) { transition-delay: 0.3s; }
.solution-card:nth-child(4) { transition-delay: 0.4s; }
.solution-card:nth-child(5) { transition-delay: 0.5s; }
.solution-card:nth-child(6) { transition-delay: 0.6s; }

/* Responsive Design for Industry Solutions */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 2rem 1.5rem;
    }
    
    .solution-header {
        flex-direction: column;
        text-align: center;
    }
    
    .solution-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .industry-solutions h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
}

/* Quote Button */
.quote-btn {
    background: var(--accent-blue);
    color: #fff;
    padding: 0.6rem 1.75rem;
    border-radius: 6px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    margin-right: 0.5rem;
    border: 1px solid var(--accent-blue);
    height: 40px;
    display: flex;
    align-items: center;
    vertical-align: top;
}

.quote-btn:hover {
    background: #fff;
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Emergency Support Button */
.emergency-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 0.6rem 1.75rem;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    border: 1px solid #dc2626;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    animation: emergencyPulse 2s infinite;
    height: 40px;
    display: flex;
    align-items: center;
    vertical-align: top;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.emergency-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    animation: none;
    border-color: #ef4444;
}

.emergency-btn:hover::before {
    left: 100%;
}

.emergency-btn:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes emergencyPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
    }
    50% {
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4), 0 0 0 4px rgba(220, 38, 38, 0.1);
    }
}


/* Emergency Support Page Styles */
.emergency-hero {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: var(--nav-height);
    z-index: 2;
}

.emergency-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0.2;
    z-index: 1;
}

.emergency-status {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    animation: statusPulse 2s infinite;
}

.status-dot.active {
    background: #10b981;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.response-time svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

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

.emergency-form-section {
    padding: 6rem 0;
    background: #fff;
}

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

.emergency-form-wrapper .form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.emergency-form-wrapper .form-header h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.emergency-form-wrapper .form-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.emergency-guidelines {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.emergency-guidelines h3 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.emergency-guidelines ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.emergency-guidelines li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.emergency-guidelines li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.emergency-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid #e2e8f0;
}

.emergency-form-container .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.emergency-form-container .form-group {
    position: relative;
}

.emergency-form-container .form-group.form-full-width {
    grid-column: 1 / -1;
}

.emergency-form-container label {
    display: block;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.emergency-form-container input,
.emergency-form-container select,
.emergency-form-container textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.emergency-form-container input:focus,
.emergency-form-container select:focus,
.emergency-form-container textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.emergency-form-container input.error,
.emergency-form-container select.error,
.emergency-form-container textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.emergency-form-container .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.emergency-form-container .input-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.emergency-form-container textarea + .input-icon {
    top: 1.5rem;
    transform: none;
}

.emergency-submit-btn {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.emergency-submit-btn:hover {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

.emergency-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.emergency-submit-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.emergency-contact-info {
    margin-top: 4rem;
    text-align: center;
}

.emergency-contact-info h3 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #dc2626;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.method-icon svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    stroke-width: 1.5;
    fill: none;
}

.method-content h4 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.method-content p {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-content span {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Tablet Responsive for Emergency Support */
@media (min-width: 769px) and (max-width: 1024px) {
    .emergency-form-container {
        max-width: 700px;
        margin: 0 auto;
    }
    
    .emergency-form-container h2 {
        font-size: 2.25rem;
        margin-bottom: 2rem;
    }
    
    .emergency-form-container p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .priority-indicators {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .priority-indicator {
        padding: 1.5rem 1rem;
    }
    
    .priority-indicator h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .priority-indicator p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .emergency-actions {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .emergency-info {
        padding: 2rem;
    }
    
    .emergency-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .emergency-info ul {
        font-size: 1rem;
    }
    
    .emergency-info li {
        margin-bottom: 0.75rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .emergency-status {
        flex-direction: column;
        gap: 1rem;
    }
    
    .emergency-form-container {
        padding: 2rem 1.5rem;
    }
    
    .emergency-form-container .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .emergency-submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Quote Form Styles */
.quote-form-section {
    padding: 4rem 0;
    background: var(--light-accent);
}

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

.form-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 150px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step.active:not(:last-child)::after {
    background: var(--accent-blue);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--accent-blue);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #9ca3af;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--navy-blue);
    font-weight: 600;
}

.quote-form-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    border: 1px solid #e2e8f0;
}

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

.form-header h2 {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

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

.form-step h3 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group.form-full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    vertical-align: middle;
}

.form-group textarea + .input-icon {
    top: 1.5rem;
    transform: none;
}

/* Additional icon alignment fixes for quote form */
.quote-form-container .input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
}

.quote-form-container .input-icon svg {
    display: block;
    margin: 0;
}

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

.service-option {
    position: relative;
}

.service-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-option label {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.service-option label:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.service-option.selected label {
    border-color: var(--accent-blue);
    background: rgba(74, 144, 226, 0.05);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.service-content h4 {
    color: var(--navy-blue);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: #f8fafc;
    color: var(--navy-blue);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: var(--accent-blue);
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

/* Tablet Responsive for Quote Form */
@media (min-width: 769px) and (max-width: 1024px) {
    .quote-form {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .form-progress {
        padding: 0 2rem;
        margin-bottom: 3rem;
    }
    
    .form-step {
        padding: 3rem 2rem;
    }
    
    .form-step h3 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .form-group.full-width {
        grid-column: 1 / -1;
    }
    
    .form-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .checkbox-group {
        grid-column: 1 / -1;
    }
    
    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-navigation {
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .step-indicator {
        gap: 1rem;
    }
    
    .step {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile Responsive for Quote Form */
@media (max-width: 768px) {
    .form-progress {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .progress-step {
        max-width: 80px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .quote-form-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .form-header h2 {
        font-size: 2rem;
    }
    
    .form-step h3 {
        font-size: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-selection {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-option label {
        padding: 1rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        margin-right: 0.75rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-full-width {
    grid-column: 1 / -1;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 172, 187, 0.1);
}

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

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    background: var(--accent-blue);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form-container {
        margin: 0 1rem;
    }
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    z-index: 4;
    cursor: pointer;
}

.hero-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn.btn-primary {
    background: var(--accent-blue);
    color: white;
    border: 2px solid var(--accent-blue);
    animation: fadeInUp 1s ease-out 0.8s both, subtlePulse 3s ease-in-out infinite 2s;
}

.hero-btn.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    border-color: #004494;
    color: white;
}

.hero-btn.btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}

.hero-btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    color: white;
    backdrop-filter: blur(15px);
}

/* Services Grid Styles */
.services-grid-section {
    padding: 4rem 0;
    background: #fff;
}

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


.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.visible::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(27, 41, 81, 0.15);
}

.service-card .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
    color: var(--accent-blue);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card .service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h2 {
    color: var(--navy-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.service-card .service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card .service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #445668;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.service-card .service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-card:hover .service-features li {
    color: var(--navy-blue);
}

.service-card:hover .service-features li::before {
    color: var(--accent-blue);
}

/* Services Section Styles */
.services-section {
    padding: 6rem 0 4rem 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    margin-top: -120px;
    position: relative;
    z-index: 3;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--navy-blue);
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #445668;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

/* Service Category Styles */
.service-category {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.service-category:nth-child(2) { animation-delay: 0.2s; }
.service-category:nth-child(3) { animation-delay: 0.4s; }
.service-category:nth-child(4) { animation-delay: 0.6s; }
.service-category:nth-child(5) { animation-delay: 0.8s; }
.service-category:nth-child(6) { animation-delay: 1.0s; }

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e8f4fd;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
}

.category-header h3 {
    color: var(--navy-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.category-header p {
    color: #445668;
    font-size: 1.2rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

/* Service Card Updates */
.service-card h4 {
    color: var(--navy-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: #445668;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

@keyframes subtlePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 6px 25px rgba(59, 130, 246, 0.3);
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 32px rgba(27, 41, 81, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--navy-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.visible::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(27, 41, 81, 0.15);
}

.service-card .service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card .service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #445668;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.service-card .service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.service-card:hover .service-features li {
    color: var(--navy-blue);
}

.service-card:hover .service-features li::before {
    color: var(--accent-blue);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--accent-blue) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--navy-blue);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
}

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

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--navy-blue);
}

/* Tablet Responsive for ROI Calculator */
@media (min-width: 769px) and (max-width: 1024px) {
    .calculator-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .calculator-inputs {
        padding: 2rem;
    }
    
    .calculator-inputs h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .input-group {
        margin-bottom: 1.5rem;
    }
    
    .input-group label {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .input-group input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .calculator-results {
        padding: 2rem;
    }
    
    .calculator-results h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .roi-summary {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .roi-summary h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .roi-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .metric {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .metric-label {
        font-size: 0.9rem;
    }
    
    .recommendations {
        padding: 1.5rem;
    }
    
    .recommendations h4 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .recommendations ul {
        font-size: 1rem;
    }
    
    .recommendations li {
        margin-bottom: 0.75rem;
    }
    
    .chart-container {
        margin-top: 2rem;
    }
    
    .chart-container canvas {
        max-height: 300px;
    }
}

/* Responsive Grid */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .services-section h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-card h2 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .services-section h2 {
        font-size: 1.75rem;
    }
    
    .service-benefits-section {
        margin: 4rem 0.5rem 0 0.5rem;
        border-radius: 12px;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
}


/* PDF Download Button Styles */
.resource-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list li > a:first-child {
    flex: 1;
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-list li > a:first-child:hover {
    color: var(--accent-blue);
}

.download-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.download-pdf-btn:hover {
    background: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 41, 81, 0.3);
}

.download-pdf-btn svg {
    width: 16px;
    height: 16px;
}

/* Service Benefits Section */
.service-benefits-section {
    background: var(--header-bg);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    margin: 4rem 2rem 0 2rem;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.service-benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('../images/SolsticeTechBackground.png') center/cover no-repeat,
        radial-gradient(circle at top right, rgba(74,144,226,0.15) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 1;
}

.service-benefits-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 1;
}

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

.service-benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: white;
}

.benefits-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.benefits-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--accent-blue);
    z-index: 1;
}

.benefit-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.benefit-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card h3 {
    color: var(--navy-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card p {
    color: #445668;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Responsive Design for Services Page */
@media (max-width: 1024px) {
    .benefits-timeline {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .benefits-timeline::before {
        display: none;
    }
    
    .benefit-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 1rem !important;
    }
    
    .hero .hero-content {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin: 2rem auto 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
        text-align: center !important;
    }
    
    .hero .hero-actions {
        align-items: center !important;
        justify-content: center !important;
        margin: 2rem auto 0 auto !important;
    }
    
    .hero-btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .hero .hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .hero .hero-actions .hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ultra-specific targeting for button centering */
    .hero .hero-content .hero-actions a.btn-primary.hero-btn,
    .hero .hero-content .hero-actions a.btn-secondary.hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .service-benefits-section {
        margin: 4rem 1rem 0 1rem;
        border-radius: 16px;
    }
    
    .service-benefits-section h2 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    /* Force center hero buttons on very small screens */
    .hero-content {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .hero-actions {
        align-items: center !important;
        justify-content: center !important;
        margin: 2rem auto 0 auto !important;
    }
    
    .hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
    }
}

/* Ultra-specific button centering for all mobile devices */
@media (max-width: 768px) {
    .hero .hero-content .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 2rem auto 0 auto !important;
        text-align: center !important;
    }
    
    .hero .hero-content .hero-actions a {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    /* Force center hero buttons with maximum specificity */
    .hero .hero-content .hero-actions a.btn-primary.hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
    
    .hero .hero-content .hero-actions a.btn-secondary.hero-btn {
        margin: 0 auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        display: flex !important;
        width: 100% !important;
        max-width: 280px !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }
    
    /* Additional centering for hero section */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem !important;
    }
}
