/* ==================== VARIABLES ==================== */
:root {
    /* Primary Colors */
    --primary-blue: #2689e8;
    --primary-cyan: #03cfc2;
    --alt-blue: #3b82f6;
    --alt-cyan: #06b6d4;

    /* Background Colors */
    --bg-primary: #000;

    /* Text Colors */
    --text-primary: #fff;
}

/* ==================== SECTION STYLES ==================== */
.os-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: #000;
    overflow: hidden;
}

/* Grid Background Pattern */
.os-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(38, 137, 232, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(38, 137, 232, 0.03) 3px),
        repeating-linear-gradient(90deg,
            rgba(3, 207, 194, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(3, 207, 194, 0.03) 3px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Radial Glow Effect */
.os-section::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(38, 137, 232, 0.15) 0%,
            transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

/* ==================== CONTAINER ==================== */
.os-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* ==================== TYPOGRAPHY ==================== */
.os-title {
    font-size: clamp(26px, 5vw, 38px);
    font-weight: 800;
    background: linear-gradient(135deg, #2689e8, #03cfc2, #2689e8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    animation: gradientShift 3s ease infinite;
    line-height: 1.5;
    text-transform: uppercase;
    text-align: center;
}

.os-description {
    font-size: clamp(14px, 3vw, 16px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-align: center;
}

/* ==================== BADGE ==================== */
.os-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #2689e8, #03cfc2, #2689e8);
    background-size: 200% 200%;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 24px;
    animation: gradientShift 3s ease infinite;
}

/* ==================== CARDS ==================== */
.os-card {
    position: relative;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.os-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(38, 137, 232, 0.1),
            rgba(3, 207, 194, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.os-card:hover {
    transform: translateY(-8px);
    border-color: rgba(3, 207, 194, 0.5);
    box-shadow: 0 20px 40px rgba(38, 137, 232, 0.3);
}

.os-card:hover::before {
    opacity: 1;
}

.os-card-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.os-card-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px rgba(38, 137, 232, 0.5));
}

.os-card-title {
    position: relative;
    z-index: 1;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.os-card-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ==================== GRID LAYOUTS ==================== */
.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

/* ==================== BUTTONS ==================== */
.btn-order-os {
    padding: 14px 24px;
    background: linear-gradient(135deg, #2689E8, #03CFC2);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-order-os:hover {
    transform: translateY(-2px);
box-shadow: 0 0 60px rgba(6, 182, 212, 0.5);
    background: linear-gradient(135deg, #03CFC2, #2689E8);
    color: white;
}

/* CTA Buttons Container */
.cta-buttons-main {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 48px;
}

.cta-button {
    padding: 14px 32px;
    background: linear-gradient(135deg, #2689E8, #03CFC2);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(6, 182, 212, 0.7);
    background: linear-gradient(135deg, #03CFC2, #2689E8);
    color: white;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(38, 137, 232, 0.3);
    box-shadow: 0 0 20px rgba(38, 137, 232, 0.2);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(3, 207, 194, 0.5);
    box-shadow: 0 0 40px rgba(3, 207, 194, 0.4);
}

/* ==================== STATS ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(3, 207, 194, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 137, 232, 0.2);
}

.stat-number {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    background: linear-gradient(135deg, #2689e8, #03cfc2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== TIMELINE ==================== */
.timeline-item {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    border-color: rgba(3, 207, 194, 0.5);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(38, 137, 232, 0.2);
}

/* Timeline Card Styles */
.timeline-card {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Animated gradient border effect */
.timeline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(38, 137, 232, 0.4), 
        rgba(3, 207, 194, 0.4),
        rgba(38, 137, 232, 0.4));
    background-size: 200% 200%;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: gradientShift 3s ease infinite;
}

/* Radial glow effect on hover */
.timeline-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 207, 194, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.timeline-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(3, 207, 194, 0.6);
    box-shadow: 
        0 20px 60px rgba(38, 137, 232, 0.4),
        0 0 40px rgba(3, 207, 194, 0.3),
        inset 0 0 20px rgba(3, 207, 194, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover::after {
    width: 400px;
    height: 400px;
}

.timeline-date {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #03cfc2, #03cfc2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-date {
    animation: gradientShift 2s ease infinite;
    transform: scale(1.05);
}

.timeline-title {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-title {
    background: linear-gradient(135deg, #2689e8, #03cfc2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(4px);
}

.timeline-text {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.timeline-card:hover .timeline-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Timeline Container and Layout */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(38, 137, 232, 0.3), rgba(3, 207, 194, 0.3));
    transform: translateX(-50%);
}

.timeline-item-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-bottom: 60px;
    align-items: center;
}

.timeline-item-wrapper:last-child {
    margin-bottom: 0;
}

.timeline-content {
    position: relative;
}

.timeline-content-left {
    text-align: right;
}

.timeline-content-right {
    text-align: left;
}

.timeline-node {
    position: relative;
    z-index: 2;
}

.timeline-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(38, 137, 232, 0.2), rgba(3, 207, 194, 0.2));
    border: 3px solid #03cfc2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(38, 137, 232, 0.5);
    transition: all 0.3s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(3, 207, 194, 0.7);
}

/* ==================== ANIMATIONS ==================== */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.3;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out backwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* ==================== FLOATING ORBS ==================== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2689e8, #03cfc2);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #03cfc2, #2689e8);
    bottom: 20%;
    left: 10%;
    animation-delay: 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ==================== GLASS BOX ==================== */
.section-box {
    position: relative;
    padding: 60px 40px;
    border-radius: 32px;
    backdrop-filter: blur(20px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.02));
    overflow: hidden;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(38, 137, 232, 0.2);
}

.section-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.5),
            rgba(6, 182, 212, 0.5),
            rgba(59, 130, 246, 0.5));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
    animation: borderGlow 3s ease-in-out infinite;
}

.section-box:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.04));
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ==================== CONTACT SECTION ==================== */
.contact-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(3, 207, 194, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(38, 137, 232, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(38, 137, 232, 0.2), rgba(3, 207, 194, 0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    color: #03cfc2;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    position: relative;
    overflow: hidden;
}

/* Additional animated background for services section */
.services-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(38, 137, 232, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(3, 207, 194, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundShift 15s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(20px, -20px);
        opacity: 0.8;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(38, 137, 232, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Animated gradient border effect */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(38, 137, 232, 0.3), 
        rgba(3, 207, 194, 0.3),
        rgba(38, 137, 232, 0.3));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Glow effect on hover */
.service-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 207, 194, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(3, 207, 194, 0.6);
    box-shadow: 
        0 20px 60px rgba(38, 137, 232, 0.3),
        0 0 40px rgba(3, 207, 194, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(38, 137, 232, 1), rgba(3, 207, 194, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    transition: all 0.4s ease;
    z-index: 0;
}

.service-card:hover .service-number {
    opacity: 0.6;
    transform: scale(1.1);
}

.service-icon {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(38, 137, 232, 0.15), rgba(3, 207, 194, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-icon svg {
    filter: drop-shadow(0 0 10px rgba(3, 207, 194, 0.5));
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(38, 137, 232, 0.25), rgba(3, 207, 194, 0.25));
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 0 20px rgba(3, 207, 194, 0.8));
    transform: scale(1.05);
}

.service-title {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    background: linear-gradient(135deg, #2689e8, #03cfc2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-description {
    position: relative;
    z-index: 1;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.85);
}

/* ==================== SCROLL TO SERVICES BUTTON ==================== */
.scroll-to-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #03cfc2;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.scroll-to-services:hover {
    color: #2689e8;
    transform: translateY(2px);
}

.scroll-to-services svg {
    width: 20px;
    height: 20px;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(2px);
    }
    50% {
        transform: translateY(-2px);
    }
    75% {
        transform: translateY(2px);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .os-section {
        padding: 60px 20px;
    }

    .os-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    /* Mobile Typography - Reduce all font sizes */
    .os-title {
        font-size: clamp(24px, 7vw, 32px) !important;
    }

    .os-description {
        font-size: clamp(13px, 3.5vw, 15px) !important;
    }

    .os-badge {
        font-size: 11px !important;
        padding: 8px 20px !important;
    }

    /* Story section text */
    .os-section p[style*="font-size: 15px"] {
        font-size: 14px !important;
    }

    /* Card titles and text */
    .os-card-title {
        font-size: 16px !important;
    }

    .os-card-text {
        font-size: 13px !important;
    }

    /* Timeline text */
    .timeline-date,
    .os-section div[style*="font-size: 20px"] {
        font-size: 18px !important;
    }

    .os-section h3[style*="font-size: 18px"] {
        font-size: 16px !important;
    }

    .os-section p[style*="font-size: 14px"] {
        font-size: 13px !important;
    }

    /* Contact section */
    .contact-card h3 {
        font-size: 16px !important;
    }

    .contact-card p,
    .contact-card a {
        font-size: 13px !important;
    }

    /* CTA section */
    .os-section h2[style*="clamp(32px"] {
        font-size: clamp(28px, 8vw, 36px) !important;
    }

    .os-section p[style*="clamp(15px"] {
        font-size: clamp(14px, 4vw, 16px) !important;
    }

    /* Timeline mobile layout - all icons to the left */
    .timeline-item-wrapper {
        grid-template-columns: auto 1fr !important;
        gap: 16px !important;
    }

    /* Align all timeline text to the left */
    .timeline-content-left,
    .timeline-content-right {
        text-align: left !important;
    }

    /* Hide empty divs in timeline */
    .timeline-item-wrapper > div:empty {
        display: none !important;
    }

    /* Move vertical timeline line to the left */
    .timeline-line {
        left: 24px !important;
        transform: none !important;
    }

    /* Reorder timeline items to show icon first, then card */
    .timeline-item-wrapper > div:first-child:not(:empty) {
        order: 2;
    }

    .timeline-item-wrapper > .timeline-node {
        order: 1;
    }

    .timeline-item-wrapper > div:last-child:not(:empty) {
        order: 2;
    }

    /* Services section mobile adjustments */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card {
        padding: 32px 24px !important;
    }

    .service-number {
        font-size: 36px !important;
        top: 16px !important;
        right: 16px !important;
    }

    .service-icon {
        width: 64px !important;
        height: 64px !important;
        margin-bottom: 20px !important;
    }

    .service-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    .service-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }

    .service-description {
        font-size: 14px !important;
    }
}

@media (max-width: 968px) {
    /* Story section - stack columns on tablet */
    .os-section .os-container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* Center align titles on tablet */
    .os-section .os-title {
        text-align: center !important;
    }

    /* Reduce section-box padding on tablet */
    .section-box {
        padding: 40px 32px !important;
    }

    /* Make internal stat grids in section-box responsive */
    .section-box div[style*="grid-template-columns: 1fr 1fr"] {
        gap: 16px !important;
    }

    /* Services section tablet adjustments */
    .services-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    /* Further reduce section-box padding on mobile */
    .section-box {
        padding: 32px 24px !important;
    }

    /* Stack stats vertically on small mobile */
    .section-box div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Reduce logo size on mobile */
    .section-box div[style*="width: 200px"] {
        width: 150px !important;
        height: 38px !important;
    }

    /* Adjust feature badges for mobile */
    .os-section div[style*="display: flex; flex-wrap: wrap"] {
        justify-content: center !important;
    }

    /* Smaller stat numbers on mobile */
    .section-box div[style*="font-size: 36px"] {
        font-size: 28px !important;
    }

    /* Adjust mission text */
    .section-box p[style*="font-size: 15px"] {
        font-size: 14px !important;
    }
}
