:root {
    /* Zillow-inspired colors */
    --primary-color: #006aff; /* Zillow Primary Blue */
    --secondary-color: #3277b6; /* Darker Blue */

    /* Accent colors */
    --accent-color: #1a73e8; /* Google Blue */
    --dark-blue: #0d47a1; /* Dark Blue */
    --medium-blue: #42a5f5; /* Medium Blue */
    --light-blue: #bbdefb; /* Light Blue */
    --navy: #01579b; /* Navy */
    --gray: #546e7a; /* Bluish Gray */
    --light-gray: #eceff1; /* Light Gray */

    /* Solution tiers colors - Modern SaaS palette */
    --speed-color: #006aff; /* Zillow Blue */
    --hyper-speed-color: #00c853; /* Green */
    --Ludicrous-speed-color: #ff6d00; /* Orange */

    --light-color: #ffffff; /* White */
    --dark-color: #263238; /* Dark Blue-Gray */
    --text-color: #37474f;
    --gray-color: #78909c;
    --border-radius: 12px; /* Increased for modern look */
    --box-shadow: 0 10px 30px rgba(0, 106, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fafafa;
    font-feature-settings: "salt", "ss01", "ss02";
    overflow-x: hidden; /* Prevent horizontal scrolling on mobile */
}

/* Global image optimization for mobile */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile touch improvements */
.touch-active {
    background-color: rgba(0, 106, 255, 0.1) !important;
    transition: background-color 0.2s ease;
}

/* Improve form accessibility on mobile */
input,
select,
textarea,
button,
.btn {
    touch-action: manipulation; /* Better touch event handling */
}

/* Improve mobile scrolling */
.smooth-scroll {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 106, 255, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--dark-color);
    margin: 0 12px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 106, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.navbar-dark .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    padding: 8px 20px !important;
    border-radius: 30px;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 106, 255, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 106, 255, 0.3);
}
.contact-btn::after {
    display: none;
}


/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0b0d21 0%, #1a237e 50%, #304ffe 100%);
    color: white;
    padding: 180px 0 120px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    animation: space-background 2000s linear infinite; /* Extremely slow animation, nearly static */
}


/* Hide all physics labels */
.physics-concept,
.concept-label,
.speed-of-light-label,
[class*="physics-"],
[class*="concept-"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    z-index: -9999 !important;
    pointer-events: none !important;
}

@keyframes space-background {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Slow down the background animation */
.hero {
    animation-duration: 10000s !important; /* Virtually static background animation */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: twinkle 30s linear infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.5;
    }
}

/* Slow down the twinkle animation */
.hero::before {
    animation-duration: 6000s !important; /* Virtually static twinkle effect */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 40%, rgba(100, 43, 115, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 90% 60%, rgba(41, 196, 255, 0.3) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

/* Special styling for specific pages */
.tech-partners-hero {
    background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
}

.qualification-hero {
    background: linear-gradient(135deg, #16222A 0%, #3A6073 100%);
}

.comparison-hero {
    background: linear-gradient(135deg, #1A2980 0%, #26D0CE 100%);
}

.hero h1 {
    font-size: 3.6rem;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

.trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badges i {
    color: var(--secondary-color);
}

.hero img {
    box-shadow: var(--box-shadow);
    border: 5px solid white;
}

.btn-primary {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    padding: 14px 36px;
    font-weight: 700;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    position: relative;
    z-index: 100;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background-color: var(--light-color);
    border-color: var(--light-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Section Styling */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-header h2::before {
    content: attr(data-text);
    position: absolute;
    font-size: 6rem;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: rgba(0, 106, 255, 0.03);
    font-weight: 900;
    width: 100%;
    white-space: nowrap;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* About Section */
.about-section {
    background-color: var(--light-color);
}

.about-box {
    background-color: white;
    padding: 36px 30px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    z-index: -1;
}

.about-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 106, 255, 0.12);
}

.about-box:hover::before {
    width: 100%;
    opacity: 0.05;
}

.about-box i {
    color: white;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 106, 255, 0.15);
    transform: rotate(-5deg);
    transition: var(--transition);
}

.about-box:hover i {
    transform: rotate(0deg) scale(1.1);
}

.about-box h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Why DASH Section */
.why-dash-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.achievement-card {
    display: flex;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

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

.achievement-icon {
    flex: 0 0 70px;
    height: 70px;
    background-color: rgba(0, 169, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.achievement-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.achievement-content {
    flex: 1;
}

.achievement-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.achievement-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.achievement-content ul {
    padding-left: 20px;
}

.achievement-content ul li {
    margin-bottom: 5px;
}

.key-insight {
    background: linear-gradient(to right, var(--primary-color), var(--dark-blue));
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.key-insight h3 {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.key-insight h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.key-insight p {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Challenges Section */
.challenges-section {
    background-color: var(--light-gray);
    background-image: linear-gradient(rgba(209, 211, 212, 0.9), rgba(209, 211, 212, 0.9)), url("https://via.placeholder.com/1920x1080");
    background-size: cover;
    background-position: center;
}

.problem-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.problem-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background-color: white;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 106, 255, 0.08);
}

.problem-category::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.problem-category i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    opacity: 0.8;
    transition: var(--transition);
}

.problem-category span {
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.problem-category.active {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 106, 255, 0.2);
    border-color: transparent;
}

.problem-category.active::before {
    transform: scaleX(1);
    background: white;
    opacity: 0.2;
}

.problem-category.active i {
    color: white;
    opacity: 1;
    transform: scale(1.2);
}

.problem-category:not(.active):hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.problem-category:not(.active):hover::before {
    transform: scaleX(1);
}

.problem-category:not(.active):hover {
    transform: translateY(-5px);
}

.problem-content {
    transition: var(--transition);
}

.problem-content.hidden {
    display: none;
}

.challenge-card {
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--accent-color);
    background-color: white;
}

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

.challenge-card i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
    background-color: rgba(18, 119, 225, 0.1);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.challenge-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.solution-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
}

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

.solution-card .card-header {
    padding: 25px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solution-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.solution-badge.popular {
    background-color: var(--primary-color);
}

.solution-card.speed .card-header {
    background: linear-gradient(to right, var(--speed-color), var(--secondary-color));
    min-height: 120px; /* Ensure consistent height */
}

.solution-card.hyper-speed .card-header {
    background: linear-gradient(to right, var(--hyper-speed-color), var(--secondary-color));
    min-height: 120px; /* Ensure consistent height */
}

.solution-card.Ludicrous-speed .card-header {
    background: linear-gradient(to right, var(--Ludicrous-speed-color), var(--secondary-color));
    min-height: 120px; /* Ensure consistent height */
}

.solution-card .card-header h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
}

.solution-card .card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-subhead {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-gray);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.solution-pricing {
    background-color: rgba(0, 169, 223, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 25px 0 20px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.solution-card ul {
    padding-left: 20px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.solution-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-tag {
    font-style: italic;
    color: var(--gray-color);
    margin: auto 0 20px;
}

.solution-card .btn {
    align-self: center;
    border-radius: 30px;
    padding: 8px 25px;
    transition: var(--transition);
}

.solution-card.speed .btn-outline-primary {
    color: var(--speed-color);
    border-color: var(--speed-color);
}

.solution-card.speed .btn-outline-primary:hover {
    background-color: var(--speed-color);
    color: white;
}

.solution-card.hyper-speed .btn-outline-primary {
    color: var(--hyper-speed-color);
    border-color: var(--hyper-speed-color);
}

.solution-card.hyper-speed .btn-outline-primary:hover {
    background-color: var(--hyper-speed-color);
    color: white;
}

.solution-card.Ludicrous-speed .btn-outline-primary {
    color: var(--Ludicrous-speed-color);
    border-color: var(--Ludicrous-speed-color);
}

.solution-card.Ludicrous-speed .btn-outline-primary:hover {
    background-color: var(--Ludicrous-speed-color);
    color: white;
}

/* Pricing Section */
.pricing-section {
    background-color: white;
}

.pricing-cards {
    margin-top: 30px;
}

.pricing-card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid var(--light-gray);
    margin-bottom: 30px;
    position: relative;
}

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

.pricing-header {
    padding: 30px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 140px; /* Ensure consistent height across all pricing cards */
}

.pricing-card.speed .pricing-header {
    background: linear-gradient(to right, var(--speed-color), var(--secondary-color));
}

.pricing-card.hyper .pricing-header {
    background: linear-gradient(to right, var(--hyper-speed-color), var(--secondary-color));
}

.pricing-card.Ludicrous .pricing-header {
    background: linear-gradient(to right, var(--Ludicrous-speed-color), var(--secondary-color));
}

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

.pricing-header h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    min-height: 30px; /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    min-height: 45px; /* Ensure consistent height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.pricing-body ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-body ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

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


/* Process Section */
.process-section {
    background-color: white;
}

.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.process-step:nth-child(even) {
    justify-content: flex-end;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--box-shadow);
}

.step-content {
    width: 45%;
    background-color: var(--light-color);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.process-step:nth-child(odd) .step-content {
    margin-right: 5%;
}

.process-step:nth-child(even) .step-content {
    margin-left: 5%;
}

.step-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 50%, var(--secondary-color) 100%);
    color: white;
}

.contact-section .section-header h2,
.contact-section .section-header p {
    color: white;
}

.contact-info {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
}

.cta-banner {
    background-color: var(--accent-color);
    color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    text-align: center;
    font-weight: 600;
}

.cta-banner p {
    margin: 0;
}

.contact-form {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 14px 18px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 106, 255, 0.15);
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.1);
}

.contact-form textarea.form-control {
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--navy);
    color: white;
    padding: 60px 0 30px;
    background-image: linear-gradient(rgba(21, 39, 54, 0.97), rgba(21, 39, 54, 0.97)), url("https://via.placeholder.com/1920x1080");
    background-size: cover;
    background-position: center;
}

footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

footer p {
    opacity: 0.8;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

footer ul li a:hover {
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
/* Improved Responsive Design */
@media (max-width: 992px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center;
    }

    .hero img {
        margin-top: 40px;
        max-width: 100%;
        height: auto;
    }

    .trust-badges {
        justify-content: center;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        justify-content: flex-start !important;
    }

    .step-number {
        left: 30px;
        transform: translateX(0);
    }

    .step-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }

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

    .pricing-card {
        margin-bottom: 30px;
    }

    /* Improve card layouts */
    .solution-card, .about-box, .challenge-card, .achievement-card {
        height: auto;
        margin-bottom: 20px;
    }

    /* Reduce section padding */
    section {
        padding: 70px 0;
    }

    /* Fix problem categories */
    .problem-categories {
        flex-wrap: wrap;
        gap: 10px;
    }

    .problem-category {
        flex: 1 1 calc(33.333% - 10px);
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    /* Make mobile navbar more usable */
    .navbar-dark .navbar-nav .nav-link {
        text-align: center;
        margin: 8px 0;
        padding: 8px 15px;
    }

    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        border-radius: 10px;
        padding: 10px;
        margin-top: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-badge {
        margin-bottom: 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header h2::before {
        font-size: 4rem;
    }

    .section-header h2::after {
        width: 50px;
    }

    .solution-card, .testimonial-card {
        margin-bottom: 30px;
    }

    .about-box, .challenge-card {
        padding: 20px;
    }

    /* Adjust problem categories */
    .problem-category {
        flex: 1 1 calc(50% - 10px);
    }

    /* Make two-column layout for key features */
    .about-section .row .col-md-6,
    .challenges-section .row .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
        padding-bottom: 12px;
    }

    /* Stack pricing cards better */
    .pricing-cards .col-md-4 {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    section {
        padding: 50px 0;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header h2::before {
        font-size: 3.5rem;
    }

    .trust-badges span {
        font-size: 0.8rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    /* Single column layout for small screens */
    .about-section .row .col-md-6,
    .challenges-section .row .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Improve form elements on small screens */
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 12px 15px;
        font-size: 1rem;
    }

    /* Make problem categories full width */
    .problem-category {
        flex: 1 1 100%;
    }

    /* Adjust solution cards for better mobile display */
    .solution-card .card-body {
        padding: 20px 15px;
    }

    .solution-card ul li {
        margin-bottom: 8px;
    }

    /* Improve navbar for very small screens */
    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 106, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* Additional responsive fixes for extra small devices */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header h2::before {
        font-size: 3rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Stack buttons in cards */
    .solution-card .d-flex {
        flex-direction: column;
    }

    .solution-card .btn {
        margin-bottom: 10px;
    }

    /* Better spacing for mobile forms */
    .contact-form .form-control,
    .contact-form .form-select {
        margin-bottom: 12px;
    }

    /* Improve footer on very small screens */
    footer h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }
}

/* Optimize page loading on mobile */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .hero::before,
    .hero::after,
    .speed-beam,
    .photon-particle,
    .gravity-wave,
    .gluon-beam {
        animation-duration: 30s !important; /* Slow down animations to reduce CPU usage */
    }

    /* Simplify some animations on very small screens */
    @media (max-width: 480px) {
        .space-distortion,
        .particle-orbit,
        .energy-field {
            display: none !important; /* Hide most complex animations */
        }

        .black-hole,
        .nucleus {
            animation: none !important; /* Remove animations from key elements */
        }
    }
}