/* Global Styles */
:root {
    --primary: #1abc9c;
    --secondary: #34495f;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 1.5px solid var(--primary);
}

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

.signin-dropdown .btn-primary {
    color: var(--white);
}

.signin-dropdown .btn-primary:hover {
    color: var(--primary);
}

.signin-dropdown:hover .btn-primary {
    color: var(--primary);
}

/* Maintain button text visibility when dropdown is shown */
.signin-dropdown.show .btn-primary,
.signin-dropdown:hover .signin-options + .btn-primary {
    color: var(--primary);
}

/* Ensure dropdown menu doesn't affect button text */
.signin-dropdown .dropdown-menu.show ~ .btn-primary,
.signin-dropdown .signin-options.show ~ .btn-primary {
    color: var(--primary);
}

/* Fix for dropdown open state */
.signin-dropdown.active .btn-primary,
.signin-dropdown:focus-within .btn-primary {
    color: var(--primary);
    background-color: transparent;
}

/* Ensure text visibility when hovering dropdown items */
.signin-options:hover ~ .btn-primary,
.signin-options.show ~ .btn-primary {
    color: var(--primary) !important;
}


.btn-secondary {
    background-color: transparent;
    color: var(--secondary);
    border: 1.5px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* Signin Styles */

/* Updated Sign-in Button Styles */
.signin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: var(--white);
    width: 140px; /* Prevents width shrinking */
}

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


.user-icon, .dropdown-arrow {
    flex-shrink: 0;
}

.dropdown-arrow {
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.signin-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Improved dropdown menu */
.signin-options {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 250px;  /* Increased width to fit content */
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    padding: 8px 0;
    border-top: 3px solid var(--primary);
    background-color: white;
    z-index: 1000;
}

/* Show dropdown when active */
.signin-options.show {
    display: block;
}

.signin-option {
    display: flex;
    align-items: center; /* This ensures vertical alignment */
    gap: 8px;
    padding: 10px 16px !important;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--secondary);
}

.signin-option:hover {
    background-color: rgba(26, 188, 156, 0.1) !important;
}

.signin-option svg {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    vertical-align: middle; /* Ensures vertical alignment with text */
}

.aceroute-icon-bg {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    vertical-align: middle; /* Ensures vertical alignment with text */
}

.signin-option span {
    vertical-align: middle;
    line-height: 1;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .signin-btn span {
        display: none;
    }
    
    .signin-btn {
        padding: 8px 12px;
    }
    
    .signin-options {
        right: 0;
        left: auto;
    }
}

/* Section Styles */
.section {
    padding: 40px 0; /* Reduced from 55px 0 */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-title {
    font-weight: 700;
    color: var(--secondary);
    font-size: 2.1rem;
    margin-bottom: 0.5rem; /* Reduced */
}

.section-subtitle {
    margin-bottom: 1.2rem; /* Reduced from 1.5rem */
    font-size: 1rem; /* Reduced from 1.1rem */
    color: var(--gray);
}

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: var(--light);
    padding: 8px 0;
    margin-top: 85px;
    font-size: 0.9rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--gray);
}

.anchor-target {
    display: block;
    position: relative;
    top: -120px; /* Accounts for header + tech-breadcrumb height */
    height: 0;
    margin: 0;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; /* Higher than breadcrumb */
    height: 85px;
    overflow: visible;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    position: relative;
    overflow: visible; /* Allow container to decide overflow */
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    height: 85px; /* Match header height */
    z-index: 1001;
    overflow: hidden; /* Hide overflow */
}

.logo img {
    height: 165px; /* Keep original large size */
    width: auto;
    position: relative;
    z-index: 1001;
    margin-top: -5px;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

/* Sign In Dropdown Styles */
.signin-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 180px;
    z-index: 1100;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--light);
    color: var(--primary);
}

/* Hero Section Styles */   
.hero {
    color: var(--white);
    padding: 113px 0 23px;
    text-align: center;
    position: relative;
    margin-top: 0;
    background-size: cover; 
    background-position: center;
    overflow: hidden; /* Ensure animations stay contained */
}

.hero::before {
    display: none; /* Completely removes the darkening overlay */
}

.hero-content {
    position: relative;
    z-index: 5; /* Higher than all animated elements */
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 810;
    line-height: 1.05;
    letter-spacing: 0.01em;
    color: var(--primary);
    text-shadow: 0 2px 6px rgba(26, 188, 156, 0.25); /* subtle glow for contrast */
    margin-bottom: 0.59rem;
  }

.hero-subtitle {
    font-size: 1.45rem;
    line-height: 1.35;
    font-weight: 400;
    color: var(--secondary);
    opacity: 0.95;
    margin-bottom: 1.49rem;
  }

/* Canvas-Based Animation Styles */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3; /* You can adjust this */
    background-color: transparent !important; /* Ensure canvas background is transparent */
}

/* Fade in animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in animation for content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Key Differentiators Styles */
.key-differentiators {
    background-color: var(--secondary);
    border-radius: 8px;
    padding: 0px 0px 10px 0px;
    margin-bottom: 23px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.differentiators-title {
    font-size: 1.27rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: white;
    line-height: 1.13;
    background-color: var(--primary);
    padding: 6px 32px;
    border-radius: 5px;
}

.differentiators-list {
    list-style: none;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding-left: 25px;
    padding-right: 25px;
}

.differentiators-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2px;
}

.diff-icon {
    font-size: 1.2rem;
    margin-right: 15px;
    background: rgba(26, 188, 156, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-territory {
    background: rgba(52, 152, 219, 0.4);
}

.diff-decision {
    background: rgba(243, 156, 18, 0.3);
}

.diff-ai {
    background: rgba(236, 112, 99, 0.3);
}

.diff-conversation {
    background: rgba(176, 139, 177, 0.4);
}

.diff-content {
    flex: 1;
}

.diff-title {
    font-weight: 700;
    margin-bottom: 7px;
    color: white;
    font-size: 1.05rem;
    background-color: rgba(26, 188, 156, 0.15);
    padding: 3px 8px 3px 10px;
    border-radius: 3px;
    display: inline-block;
    border-left: 2px solid var(--primary);
    min-width: 203px;
}

.diff-desc {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}


/* CTA Section Benefits & Google Workspace Bar */

/* Unified Hero Box */
.hero-unified-box {
    width: 100%;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    margin: 0 auto 2rem;
}

.hero-unified-box:hover {
    transform: translateY(-5px);
}

/* Content Column */
.box-content {
    flex: 2;
    padding: 15px;
}

.pillar5-message {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--secondary);
}

.accountability-emphasis {
    color: #27AE60;
    font-weight: 700;
}

/* Trust Column */
.trust-column {
    flex: 1;
    padding: 15px;
    background-color: rgba(66, 133, 244, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.trust-column:hover {
    background-color: rgba(66, 133, 244, 0.1);
}

.google-trust-link {
    color: #4285F4;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 12px;
    border: 1px solid #4285F4;
    border-radius: 4px;
    display: block;
    width: 100%;
}

.google-trust-link:hover {
    background-color: #4285F4;
    color: white;
}

.google-trust-link:hover .marketplace-line {
    color: white; /* This will make the marketplace line turn white on hover */
}

.google-link-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.google-icon {
    flex-shrink: 0;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

/* Add this new CSS rule to make the Google icon change to white on hover */
.google-trust-link:hover .google-icon svg path {
    fill: white !important; /* Override any inline fill attributes */
}

.google-text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}

.trust-line {
    display: block; /* Change from flex to block to prevent indentation issues */
    white-space: nowrap;
    padding: 0;
    margin: 0;
}

.trust-prefix {
    font-weight: 400;
    display: inline; /* Keep these elements inline */
}

.user-count {
    font-weight: 700;
    display: inline; /* Keep these elements inline */
    margin-left: 5px; /* Add spacing between prefix and count */
}

.marketplace-line {
    font-size: 0.8rem;
    white-space: nowrap;
    color: #5f6368;
    padding: 0;
    padding-left: 6px; /* padding for indentation */
    margin: 0;
    display: block; /* Ensure it's a block element for cons */
}

.arrow-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 1rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.google-trust-link:hover .arrow-icon {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-unified-box {
        flex-direction: column;
    }
    
    .box-content {
        border-left: none;
        border-top: 3px solid #27AE60;
    }
    
    .trust-column {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 20px;
    }
    
    .google-trust-link {
        max-width: 320px;
        margin: 0 auto;
    }

    .google-text {
        width: 100%;
    }
    
    .google-link-content {
        align-items: flex-start; /* Align items to the start on mobile */
    }
}

/* Keep the arrow animation */
.arrow-icon {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.9em;
    transition: transform 0.2s ease;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 500;
    font-style: italic;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.hero-cta-button {
    animation: pulse 2s infinite;
    box-shadow: 0 0 15px rgba(26, 188, 156, 0.5);
    padding: 12px 26px;
    font-size: 1rem;
}

/* Solutions Section Styles */
.solutions {
    background-color: var(--light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 22px;
    align-items: stretch;
}

.solution-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-title svg {
    color: var(--primary);
}

.solution-title {
    font-size: 1.31rem;
    margin-bottom: 12px;
    color: var(--secondary);
}

.solution-description {
    margin-bottom: 15px;
    color: var(--gray);
    flex-grow: 1;
    line-height: 1.5;
}

.solution-card .btn {
    align-self: center;
    width: 100%;
    text-align: center;
}

.utility-image img {
    height: 250px;
    margin-top: -37.5px;
}

/* Capabilities Section Styles */
/* Enhanced Capabilities Styles */
.capabilities-enhanced {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.capability-enhanced-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: visible;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: relative;
}

.capability-enhanced-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Icon styling */
.capability-icon-wrapper {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.1) 0%, rgba(26, 188, 156, 0.05) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.capability-enhanced-card:hover .capability-icon-wrapper {
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.2) 0%, rgba(26, 188, 156, 0.1) 100%);
    transform: scale(1.05);
}

.capability-icon-wrapper svg {
    width: 27px;
    height: 27px;
    color: var(--primary);
}

/* Content styling */
.capability-content-wrapper {
    flex: 1;
}

.capability-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.capability-enhanced-title {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.capability-enhanced-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Compact benefits display */
.capability-enhanced-benefits {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    margin-top: 15px;
}

.benefits-label {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.benefits-list li {
    background-color: var(--light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.benefits-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: 700;
    margin-right: 6px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .capabilities-enhanced {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

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

    .capability-enhanced-card {
        flex-direction: column;
        align-items: stretch;
    }

    .capability-enhanced-card {
        padding: 20px;
    }
    
    .capability-header {
        flex-wrap: wrap;
    }

    .capability-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .capability-enhanced-title {
        font-size: 1.15rem;
        flex: 1;
    }

    .benefits-list {
        flex-direction: column;
    }

    .benefits-list li {
        white-space: normal;
    }
}

/* Why AceRoute Combined Section */
.why-aceroute-combined {
    background-color: var(--white);
}

.subsection-title {
    font-size: 1.6rem;
    color: var(--secondary);
    margin: 40px 0 20px;
    text-align: left;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

/* Impact Grid */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
    margin-bottom: 40px;
}

.impact-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.impact-metric {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.impact-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.impact-description {
    color: var(--gray);
}

/* Replace the existing .why-aceroute-grid style with this */
.why-aceroute-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Keep the original 1:1 ratio for About section */
    gap: 20px;
    margin-bottom: 40px;
}

#why-aceroute .why-aceroute-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns for the comparison section */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #why-aceroute .why-aceroute-grid {
        grid-template-columns: repeat(3, 1fr); /* Maintain 3 columns for comparison section */
    }
    
    #why-aceroute .comparison-card {
        padding: 20px;
    }
    
    #why-aceroute .comparison-title {
        font-size: 1.1rem;
    }
    
    #why-aceroute .comparison-traditional p,
    #why-aceroute .comparison-aceroute p {
        font-size: 0.9rem;
    }
}

/* Stack cards on mobile for both sections */
@media (max-width: 768px) {
    .why-aceroute-grid,
    #why-aceroute .why-aceroute-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

.comparison-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.comparison-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.comparison-traditional,
.comparison-aceroute {
    margin-bottom: 15px;
}

.comparison-label {
    font-weight: 600;
    margin-bottom: 5px;
}

/* Styling for story card with subheadings */
.story-subheading {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
}

/* Add a bit more space above the first subheading */
.story-subheading:first-of-type {
    margin-top: 25px;
}

/*  intro paragraph styling */
.why-aceroute-intro {
    margin-bottom: 20px;
    color: var(--gray);
    font-style: italic;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 15px;
}

/* Enhanced styling for the values list */
.values-list li {
    margin-bottom: 16px;
    padding-left: 25px;
    position: relative;
}

.values-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.4rem;
}

.value-item {
    font-weight: 600;
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
}

/* Add some visual interest to the cards */
.comparison-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.traditional-label {
    color: var(--gray);
}

.aceroute-label {
    color: var(--primary);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Deeper shadow */
    border-left: none;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
    background: linear-gradient(to bottom, var(--light) 0%, rgba(248, 249, 250, 0.9) 100%);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); /* Even deeper shadow on hover */
}

.testimonial-content {
    position: relative;
    padding-left: 45px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 70px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.7;
}

.testimonial-content::after {
    content: '"';
    position: absolute;
    right: 10px;
    bottom: -35px;
    font-size: 70px;
    line-height: 1;
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-author {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
    margin-top: 10px;
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Case Studies */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-study-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.case-study-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.case-study-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--light);
    border-radius: 8px;
}

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

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.case-study-summary {
    margin-bottom: 20px;
    color: var(--gray);
}

/* Company & Knowledge Center Section Styles */
#company-knowledge {
    background-color: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 55px 0;
}

/* About Us Styles */
.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.company-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.company-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.company-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.company-card:hover .company-title::after {
    width: 60px;
}

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

.values-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.values-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.value-item {
    font-weight: 600;
    color: var(--secondary);
}

/* Regions Styles - Compact Version */
.regions-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.regions-compact .region-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.regions-compact .region-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.regions-compact .region-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.regions-compact .region-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

/* FAQ Styles - Compact Version */
.faq-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.faq-compact .faq-item {
    background-color: var(--light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-compact .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.faq-compact .faq-question {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--secondary);
    font-weight: 600;
}

.faq-compact .faq-question::before {
    content: "Q";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

.faq-compact .faq-answer {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Plans Section Styles */
.plans {
    padding: 55px 0;
    background-color: var(--light);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 25px;
    align-items: stretch;
}

.plan-card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#aceroute-plans .plans-grid {
    margin-top: 40px;
}


.featured-plan {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(26, 188, 156, 0.2);
    transform: scale(1.05);
}

.featured-plan:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(26, 188, 156, 0.3);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

.plan-header {
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.plan-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(26, 188, 156, 0.2);
}

.plan-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

.plan-body {
    padding: 25px;
    flex-grow: 1;
}

.plan-description {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--gray);
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.feature-check {
    margin-right: 10px;
    flex-shrink: 0;
}

.plan-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.plan-action {
    width: 100%;
}

.plan-footer .btn {
    width: 100%;
}

.featured-plan .plan-footer .btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.featured-plan .plan-footer .btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.feature-tooltip {
    position: relative;
    cursor: pointer;
}

.feature-tooltip .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: rgba(44, 62, 80, 0.95);
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: normal;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none;
}

.feature-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(44, 62, 80, 0.95) transparent transparent transparent;
}

.feature-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.workspace-integration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: #5f6368;
    font-size: 0.85rem;
    background-color: rgba(66, 133, 244, 0.1);
    border-radius: 4px;
    padding: 6px 10px;
}

.workspace-integration svg {
    margin-right: 6px;
    flex-shrink: 0;
}

.non-workspace-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6c757d;
  padding: 8px;
  border-radius: 4px;
  background-color: rgba(236, 240, 241, 0.5);
  text-align: center;
}

.non-workspace-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.non-workspace-note a:hover {
  text-decoration: underline;
}

/* CSS styles for collapsible FAQ in Company Knowledge section */

#company-knowledge .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

#company-knowledge .faq-item {
    background-color: var(--light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#company-knowledge .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

#company-knowledge .faq-question {
    font-size: 1.2rem;
    margin-bottom: 0;
    position: relative;
    padding-left: 25px;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

#company-knowledge .faq-question:before {
    content: "Q";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

#company-knowledge .faq-question:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

#company-knowledge .faq-question.active:after {
    content: "-";
    transform: rotate(180deg);
}

#company-knowledge .faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CSS for Company Knowledge section FAQs */

/* Regions Styling */
.regions-wrapper {
    margin-bottom: 40px;
}

.regions-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 20px;
}

.region-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); /* Deeper shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
    width: 100%; /* Force equal width */
    height: 100%; /* Maintain equal height 
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12); /* Even deeper shadow on hover */
}

.region-card .comparison-title {
    position: relative;
    padding-bottom: 12px;
}

.region-card .comparison-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary) 0%, rgba(26, 188, 156, 0.4) 100%);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .regions-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
}

@media (max-width: 768px) {
    .regions-row {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* Subsection description */
.subsection-description {
    color: var(--gray);
    margin-bottom: 25px;
}

/* Values List */
.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.values-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.value-item {
    font-weight: 600;
    color: var(--secondary);
}

/* FAQ styles for Company Knowledge section */
#company-knowledge .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

#company-knowledge .faq-item {
    background-color: var(--light);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#company-knowledge .faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

#company-knowledge .faq-question {
    font-size: 1.1rem;
    margin-bottom: 0;
    position: relative;
    padding-left: 25px;
    padding-right: 25px;
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

#company-knowledge .faq-question:before {
    content: "Q";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--primary);
}

#company-knowledge .faq-question:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}

#company-knowledge .faq-question.active:after {
    content: "-";
    transform: rotate(180deg);
}

#company-knowledge .faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .regions-row {
        flex-wrap: wrap;
    }
    
    .region-card {
        flex: 1 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    #company-knowledge .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .region-card {
        flex: 1 0 100%;
    }
    
    #company-knowledge .faq-question {
        font-size: 1rem;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    #company-knowledge .faq-grid {
        grid-template-columns: 1fr;
    }
    
    #company-knowledge .faq-question {
        font-size: 1.1rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1.4fr; 
    gap: 20px 30px; 
    margin-bottom: 50px;
}

.footer-column:nth-child(4) {
    margin-left: 40px; /* Adds extra space between Company and Get in Touch */
    border-left: 1px solid rgba(255, 255, 255, 0.1); /* Optional: adds a subtle divider */
    padding-left: 40px; /* Add padding to account for the border */
}

.footer-column h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    white-space: nowrap;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 40px;
    background-color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.contact-info {
    margin-bottom: 15px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Utility Classes */
.text-center {
    text-align: center;
    margin-top: 30px !important;
}

/* Media Queries */
@media (max-width: 1200px) and (min-width: 769px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.22rem;
    }
    
    .differentiators-list {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-column:nth-child(4) {
        margin-left: 0;
        border-left: none;
        padding-left: 0;
    }
    
    .feature-tooltip .tooltip-text {
        width: 250px;
        margin-left: -125px;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .company-grid,
    .regions-compact,
    .faq-compact {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .company-title, 
    .region-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        background: white;
        width: 200px;
        right: 0;
        top: 80px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1002;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .mobile-menu {
        display: block;
    }
        
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.13rem;
    }
    
    .differentiators-title {
        font-size: 1rem;
	    padding: 6px 45px;
    }

    .section {
        padding: 50px 0;
    }
    
    .key-differentiators {
        padding: 15px 20px;
    }
    
    .diff-title {
        font-size: 1rem;
        min-width: unset;
    }
    
    .diff-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }

    .feature-tooltip .tooltip-text {
        width: 220px;
        margin-left: -110px;
        left: 50%;
    }
    
    .subsection-title {
        font-size: 1.4rem;
        padding-left: 12px;
    }
    
    .company-grid,
    .regions-compact {
        grid-template-columns: 1fr;
    }
    
    .faq-compact {
        grid-template-columns: 1fr;
    }
    
    #company-knowledge .text-center .btn {
        margin: 10px;
        width: 80%;
    }

    @keyframes float {
        0% {
            transform: translateY(0) translateX(0);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            transform: translateY(-80px) translateX(10px);
            opacity: 0;
        }
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .differentiators-title {
        font-size: .81rem;
        padding: 5px 5px;
    }

    .solution-title, 
    .capability-title, 
    .impact-title,
    .comparison-title,
    .plan-title,
    .region-title {
        font-size: 1.2rem;
    }
    
    .impact-metric {
        font-size: 2rem;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .feature-tooltip .tooltip-text {
        width: 200px;
        margin-left: -100px;
    }
}

/* Hero animation */
/* Hero Section Animation Enhancements */

/* Hero positioning (removed gradient animation) */
.hero {
    position: relative;
}

/* Hero title entrance animation */
.hero-title {
    animation: fadeInUp 1.2s ease-out forwards;
    opacity: 0;
}

/* Hero subtitle entrance animation with slight delay */
.hero-subtitle {
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

/* Key differentiators entrance animation */
.key-differentiators {
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-differentiators:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Hero CTA entrance animation */
.hero-cta {
    animation: fadeInUp 1.2s ease-out 1.2s forwards;
    opacity: 0;
}

/* Enhanced differentiator items with hover effects */
.differentiators-list li {
    transition: transform 0.3s ease, background-color 0.3s ease;
    padding: 10px;
    border-radius: 6px;
}

.differentiators-list li:hover {
    transform: translateX(5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.diff-icon {
    transition: transform 0.5s ease, background 0.3s ease;
}

.differentiators-list li:hover .diff-icon {
    transform: rotate(360deg);
    background-color: rgba(255, 255, 255, 0.3);
}

.diff-title {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.differentiators-list li:hover .diff-title {
    background-color: rgba(26, 188, 156, 0.25);
    transform: translateX(3px);
}

/* Enhanced CTA button with more dynamic animation */
.hero-cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.hero-cta-button:hover::before {
    left: 100%;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 188, 156, 0.6);
    color:#ffffff
}

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

.platform-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.platform-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.platform-hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.platform-overview {
    background-color: var(--white);
    text-align: center;
}

.platform-hero-content-3col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-center-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
}

.platform-hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.platform-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-side-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* Hero Cards Styling */
.hero-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.hero-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    margin-bottom: 0; /* Override the existing bottom margin */
    flex-shrink: 0;
}

.hero-card:hover .card-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.card-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0; /* Remove bottom margin as it's now handled by card-header */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.card-text {
    color: rgba(255, 255, 255, 0.95);
    margin-top: 12px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .platform-hero-content-3col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-center-column {
        order: 1;
        margin-top: -23px;
    }
    
    .hero-left-column {
        order: 2;
    }
    
    .hero-right-column {
        order: 3;
    }
    
    .hero-side-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .platform-hero-content-3col {
        grid-template-columns: 1fr;
    }
    
    .hero-side-column {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


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

.component-wrapper {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px; /* Reduced from 50px */
}

.component-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.component-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 15px 25px; /* Reduced from 20px 30px */
}

.component-title-wrapper {
    display: flex;
    align-items: center; /* Vertical alignment for items */
}

.component-title {
    font-size: 1.9rem;
    margin: 0; /* Remove default margin */
    display: inline-block; /* Ensure it stays inline with the icon */
}

.component-subtitle {
    margin-top: 8px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.component-section-title {
    font-size: 1.4rem;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary);
}

.component-content {
    padding: 20px 25px; /* Reduced from 30px */
}

.component-section {
    margin-bottom: 15px; /* Reduced from 25px */
}

.component-section:last-child {
    margin-bottom: 0;
}

.component-section-title {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.component-description {
    color: var(--gray);
    margin-bottom: 15px; /* Reduced from 20px */
    font-size: 0.95rem; /* Slightly smaller font */
    line-height: 1.5;
}

.capability-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.capability-list, .impact-list {
    gap: 15px; /* Reduced from 20px */
    margin-bottom: 15px; /* Reduced from 20px */
}

.capability-item, .impact-item {
    padding: 12px 12px 12px 40px; /* Reduced padding */
    font-size: 0.95rem; /* Slightly smaller font */
    line-height: 1.4;
}


.component-divider {
    height: 1px;
    background-color: var(--light-gray);
    margin: 40px 0;
}

.architecture {
    background-color: var(--white);
}

.architecture-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Reduced from 30px */
    margin-top: 30px; /* Reduced from 40px */
}

.architecture-card {
    background-color: var(--light);
    border-radius: 8px;
    padding: 20px; /* Reduced from 30px */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.architecture-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 188, 156, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.architecture-card:hover .architecture-icon {
    transform: scale(1.1);
    background-color: rgba(26, 188, 156, 0.2);
}

.architecture-icon svg {
    width: 32px;
    height: 32px;
}

.architecture-title {
    font-size: 1.2rem; /* Reduced from 1.3rem */
    margin-bottom: 10px; /* Reduced from 15px */
    color: var(--secondary);
}

.architecture-description {
    color: var(--gray);
}

/* Breadcrumb style top navigation */
.tech-breadcrumb {
    background-color: var(--light);
    margin-top: 85px; /* Match header height exactly */
    padding: 6px 0; /* Reduced from 10px 0 */
    top: 85px;
    z-index: 89;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);   
    position: sticky;
}

.tech-breadcrumb .container {
    display: flex;
    justify-content: flex-start; /* Change from space-between to flex-start */
    flex-wrap: nowrap;
    max-width: 1240px;
    position: relative;
    z-index: 1;
    overflow-x: auto; /* Always enable horizontal scrolling when needed */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    padding-bottom: 5px;
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.breadcrumb-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal;
    color: var(--secondary);
    position: relative;
    transition: all 0.3s ease;
    width: 100px; /* Fixed width */
    min-width: 100px; /* Ensure items don't shrink */
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    line-height: 1.2; /* Tighter line height for wrapped text */
    margin: 0 2px;
    z-index: 90; /* Higher than container */
    pointer-events: auto;

    padding: 5px 3px; /* Reduced from 6px 4px */
    height: 42px; /* Reduced from 48px */
    flex-shrink: 0; /* Prevent shrinking in flex container */
}

.breadcrumb-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #ddd;
}

.breadcrumb-item:hover {
    color: var(--primary);
    background-color: rgba(26, 188, 156, 0.1);
}

.breadcrumb-item.active {
    color: var(--primary);
    background-color: rgba(26, 188, 156, 0.15);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}


/* For smaller screens, enable horizontal scrolling */
@media (max-width: 1280px) {    
    .tech-breadcrumb::-webkit-scrollbar {
        height: 4px;
    }
    
    .tech-breadcrumb::-webkit-scrollbar-track {
        background: var(--light);
        border-radius: 10px;
    }
    
    .tech-breadcrumb::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 10px;
    }
}

/* Breadcrumb arrows styling - Add after existing tech-breadcrumb styles */
/* Add this directly after your existing .tech-breadcrumb styles in aceroute.css */

.tech-breadcrumb.has-arrows .container {
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto;
    max-width: calc(1200px - 60px);
}
    
.tech-breadcrumb .container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, Opera */
}
  
  .breadcrumb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .breadcrumb-arrow:hover {
    opacity: 1;
    background-color: var(--primary);
  }
  
  .breadcrumb-arrow.disabled {
    opacity: 0.3;
    cursor: default;
    background-color: var(--gray);
  }
  
  .breadcrumb-arrow-left {
    left: 5px;
  }
  
  .breadcrumb-arrow-right {
    right: 5px;
  }
  
  /* Additional responsive adjustments */
  @media (max-width: 768px) {
    .breadcrumb-arrow {
      width: 26px;
      height: 26px;
      font-size: 16px;
    }
  }
  
  /* Add subtle visual indicator that more items exist */
  .tech-breadcrumb.has-arrows::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, rgba(248, 249, 250, 0), var(--light) 70%);
    pointer-events: none;
    z-index: 99;
  }
  
  .tech-breadcrumb.has-arrows::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to left, rgba(248, 249, 250, 0), var(--light) 70%);
    pointer-events: none;
    z-index: 99;
  }
  
  /* Make the active item more visible through the gradient */
  .breadcrumb-item.active {
    z-index: 95;
  }

/* Hero section with background image */
.platform-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 0 50px; 
    margin-top: 0px;
    overflow: hidden;
}

.platform-hero::before {
    display: none; /* This removes the overlay */
}

.platform-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.platform-hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.platform-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    color: white;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.platform-hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 801px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.platform-hero-title, .platform-hero-subtitle, .platform-hero-description {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

/* Ensure animations work correctly */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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


/* Highlight active menu item in header */

nav ul li a.active-page {
    color: var(--primary);
    position: relative;
    font-weight: normal; /* Remove bold */
}

nav ul li a.active-page::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* SVG Icons for components */
.component-icon {
    width: 40px; 
    height: 40px; 
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-icon svg {
    width: 100%; /* Use full width of the container */
    height: 100%; /* Use full height of the container */
}

@media (max-width: 576px) {
    .component-icon {
        width: 5rem; 
        height: 5rem; 
    }
}

/* Animation for capability and impact items */
.capability-item, .impact-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Common styling for both capabilities and impact items */
.capability-item,
.impact-item {
    background-color: var(--light);
    border-radius: 6px;
    padding: 15px 15px 15px 45px; /* Left padding for icon */
    font-weight: 500;
    position: relative;
}

/* Remove the inline tickmark for capability items */
.capability-item:before {
    content: '✓';
    position: absolute;
    left: 15px;
    top: 15px; /* Positioned at the top */
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
}

/* Counter for impact items */
.impact-list {
    counter-reset: impact-counter;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.impact-item {
    border-left: none; /* Remove any existing left border */
    counter-increment: impact-counter;
}

.impact-item::before {
    content: counter(impact-counter);
    position: absolute;
    left: 15px;
    top: 15px; /* Aligned the same as capability tickmarks */
    color: white;
    background-color: var(--primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* Add hover effects to both for better interactivity */
.capability-item:hover,
.impact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta {
    background-color: var(--light);
    text-align: center;
    padding: 70px 0;
}

.cta-title {
    margin-bottom: 20px;
}

.cta-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: var(--gray);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Legal Pages Styles */
.legal-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 160px 0 60px;
    text-align: center;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.legal-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.legal-content {
    background-color: var(--white);
    padding: 60px 0;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-title {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-text {
    color: var(--gray);
    margin-bottom: 20px;
}

.legal-text:last-child {
    margin-bottom: 0;
}

.legal-list {
    color: var(--gray);
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-list li {
    margin-bottom: 10px;
}

.legal-list li:last-child {
    margin-bottom: 0;
}

.legal-updated {
    background-color: var(--light);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 40px;
    color: var(--gray);
    font-style: italic;
}

.legal-contact {
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.legal-contact-title {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}


/* Hide sign-in dropdown in navigation */

@media (max-width: 999px) {
    /* Hide sign-in dropdown in navigation */
    .signin-dropdown {
      display: none !important; /* Use !important to override any inline styles */
    }
    
    /* Ensure proper spacing when sign-in is hidden */
    nav ul {
      justify-content: flex-end;
    }
  }
  
  /* Ensure desktop styles are maintained */
  @media (min-width: 1000px) {
    .signin-dropdown {
      display: list-item; /* Restore default display */
    }
  }