/* Scrollbar Styles */
html {
    scrollbar-width: thin;
    scrollbar-color: #1E90A0 #dbe6ef;
}

::-webkit-scrollbar { 
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #dbe6ef;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1E90A0 0%, #0B1E3F 100%);
    border-radius: 999px;
    border: 3px solid #dbe6ef;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #27abc0 0%, #102a55 100%);
}

::-webkit-scrollbar-corner {
    background: #dbe6ef;
}

.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* CSS Variables for Colors - From theme.html */
:root {
    --color-primary: #0B1E3F;
    --color-secondary: #1E90A0;
    --color-tertiary: #E5E5E5;
    --color-accent: #f59e0b;
    
    /* Brand colors from main.html */
    --brand-blue: #0F62FE;
    --brand-dark: #161616;
    --brand-dark-blue: #101727;
    --brand-gray-50: #F9FAFB;
    --brand-gray-100: #F3F4F6;
    --brand-gray-200: #E5E7EB;
    --brand-gray-500: #6B7280;
    --brand-gray-700: #374151;
    --brand-gray-900: #111827;
}

/* Brand utility classes */
.bg-brand-blue { background-color: var(--brand-blue); }
.text-brand-blue { color: var(--brand-blue); }
.bg-brand-dark { background-color: var(--brand-dark); }
.text-brand-dark { color: var(--brand-dark); }
.bg-brand-dark-blue { background-color: var(--brand-dark-blue); }
.text-brand-dark-blue { color: var(--brand-dark-blue); }
.border-brand-blue { border-color: var(--brand-blue); }
.hover\:bg-blue-700:hover { background-color: #0056e0; }
.hover\:text-brand-blue:hover { color: var(--brand-blue); }

body { 
    font-family: 'Inter', sans-serif;
    background-color: #F7F9FC;
}

/* Container width constraints for better display */
.container {
    width: 95% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Cloud Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

/* Impact Slider Animation */
.impact-slider {
    position: relative;
    width: 100%;
    height: auto;
    min-height: auto;
    transition: min-height 0.3s ease-in-out;
}

.impact-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    pointer-events: none;
    visibility: hidden;
    height: auto;
}

.impact-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.impact-slide h2 {
    white-space: normal;
    overflow: visible;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left */
.animate-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right */
.animate-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Decorative curves */
.decorative-curve {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Service Cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.service-card:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.service-card-image {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    transform: translateY(0);
    position: absolute;
    top: 25%;
    right: 50%;
    transform: translateX(50%);
}

.service-card:hover .service-card-image {
    transform: translateX(50%) translateY(-40px);
    opacity: 0.8;
}

.service-card-content {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    position: relative;
}

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

.service-card-tags {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.service-card:hover .service-card-tags {
    max-height: 200px;
    opacity: 1;
}

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

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
}

.pulse-dot {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Container max-width utility */
.container-90 {
    max-width: 98% !important;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1536px) {
    .container-90 {
       max-width: 96% !important;
    margin-left: auto;
    margin-right: auto;
    }
}

/* Hidden utility */
.hidden-fallback {
    display: none;
}

/* Animation delay utilities */
.delay-100 {
    animation-delay: 0.1s;
}

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

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

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

.delay-500 {
    animation-delay: 0.5s;
}

/* SVG gradient stop colors */
.stop-color-1 {
    stop-color: #1e3a8a;
    stop-opacity: 0.3;
}

.stop-color-2 {
    stop-color: #3b82f6;
    stop-opacity: 0.5;
}

.stop-color-3 {
    stop-color: #1e3a8a;
    stop-opacity: 0.3;
}

/* Success Stories Card Responsive Width */
@media (min-width: 768px) {
    .success-story-card {
        width: calc(65% - 12px) !important;
    }
}

footer{
    margin-top: -24px !important;
}

/* About Us Page Styles */
.hero-gradient {
    background: linear-gradient(135deg, #0B1E3F 0%, #1E90A0 50%, #3da9b8 100%);
}

.history-pattern {
    background-image: 
        radial-gradient(circle, #1E90A0 1px, transparent 1px);
    background-size: 40px 40px;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

[data-delay="100"] {
    animation-delay: 0.1s;
}

[data-delay="200"] {
    animation-delay: 0.2s;
}

[data-delay="300"] {
    animation-delay: 0.3s;
}

[data-delay="400"] {
    animation-delay: 0.4s;
}

/* Primary and Secondary Color Classes */
.bg-primary {
    background-color: #0B1E3F;
}

.bg-secondary {
    background-color: #1E90A0;
}

.bg-tertiary {
    background-color: #E5E5E5;
}

.text-primary {
    color: #0B1E3F;
}

.text-secondary {
    color: #1E90A0;
}

.text-tertiary {
    color: #E5E5E5;
}

/* Testimonials Carousel Styles */
.testimonial-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-indicator {
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background-color: #1E90A0 !important;
    width: 32px !important;
}

/* Careers Page Styles */
:root {
    --careers-primary: #0B1E3F;
    --careers-secondary: #1E90A0;
    --careers-accent: #f59e0b;
    --careers-gray: #F3F4F6;
    --careers-text: #E0E1DD;
    --careers-dark-blue: #0f172a;
}

#why-join {
    padding: 5rem 0;
    background-color: #E5E5E5;
}

#why-join h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

#why-join-desc {
    font-size: 1.125rem;
    color: #6b7280;
}

.reason-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--careers-secondary) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reason-card:hover {
    box-shadow: 0 10px 25px -5px rgba(11, 30, 63, 0.15);
    border-color: var(--careers-secondary);
    transform: translateY(-4px);
}

.reason-card:hover::before {
    opacity: 0.1;
}

.reason-icon {
    background: linear-gradient(135deg, var(--careers-secondary) 0%, #1a7a8a 100%);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

.reason-card p {
    color: #6b7280;
    line-height: 1.6;
}

#our-values {
    padding: 5rem 0;
    background-color: white;
    color: var(--careers-primary);
}

#our-values h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--careers-primary);
}

#our-values-desc {
    font-size: 1.25rem;
    color: #6b7280;
}

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

.value-icon {
    background-color: rgba(30, 144, 160, 0.2);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--careers-secondary);
    font-size: 1.875rem;
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--careers-primary);
}

.value-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

#perks-benefits {
    padding: 5rem 0;
    background-color: #E5E5E5;
}

#perks-benefits h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

#perks-benefits-desc {
    font-size: 1.125rem;
    color: #6b7280;
}

.perk-item {
    display: flex;
    gap: 1rem;
}

.perk-icon {
    background: linear-gradient(135deg, rgba(30, 144, 160, 0.2) 0%, rgba(30, 144, 160, 0.1) 100%);
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--careers-secondary);
    font-size: 1.25rem;
}

.perk-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 0.5rem;
}

.perk-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

#open-positions {
    padding: 5rem 0;
    background-color: #E5E5E5;
}

#open-positions h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

#open-positions-desc {
    font-size: 1.125rem;
    color: #6b7280;
}

.job-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--careers-secondary) 0%, #1a7a8a 100%);
    transition: width 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 10px 25px -5px rgba(11, 30, 63, 0.15);
    border-color: var(--careers-secondary);
    transform: translateY(-4px);
}

.job-card:hover::before {
    width: 6px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.job-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.job-badge {
    background: linear-gradient(135deg, var(--careers-secondary) 0%, #1a7a8a 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.job-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.job-apply-btn {
    display: inline-block;
    background: var(--careers-secondary);
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    border: none;
}

.job-apply-btn:hover {
    background: #1a7a8a;
}

.resume-btn {
    display: inline-block;
    background-color: white;
    color: var(--careers-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0;
    border: 2px solid var(--careers-primary);
    transition: all 0.3s ease;
}

.resume-btn:hover {
    background: var(--careers-primary);
    color: white;
}

#hiring-process {
    padding: 5rem 0;
    background-color: #E5E5E5;
}

#hiring-process h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

#hiring-process-desc {
    font-size: 1.125rem;
    color: #6b7280;
}

.process-step {
    text-align: center;
}

.step-number {
    background: linear-gradient(135deg, var(--careers-secondary) 0%, #1a7a8a 100%);
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 144, 160, 0.3);
}

.process-step h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: #6b7280;
}

#life-at-invotyx {
    padding: 5rem 0;
    background-color: #E5E5E5;
}

#life-at-invotyx h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--careers-primary);
    margin-bottom: 1rem;
}

#life-at-invotyx-desc {
    font-size: 1.125rem;
    color: #6b7280;
}

.culture-image {
    height: 18rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About V4 Page */
.about-v4-page {
    background:
        radial-gradient(1200px 400px at 12% -6%, rgba(30, 144, 160, 0.14), transparent 60%),
        radial-gradient(1000px 360px at 90% 10%, rgba(11, 30, 63, 0.1), transparent 62%),
        #ffffff;
}

.about-v4-hero {
    position: relative;
}

.about-v4-eyebrow {
    display: inline-block;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1e90a0;
    border: 1px solid rgba(30, 144, 160, 0.28);
    background: rgba(30, 144, 160, 0.08);
}

.about-v4-title {
    font-size: clamp(2.1rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 900;
    color: #0b1e3f;
    letter-spacing: -0.03em;
}

.about-v4-title span {
    background: linear-gradient(135deg, #0b1e3f, #1e90a0 60%, #47becb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-v4-subtitle {
    color: #516078;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-v4-btn {
    border: 0;
    border-radius: 0.9rem;
    padding: 0.85rem 1.3rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.about-v4-btn:hover {
    transform: translateY(-2px);
}

.about-v4-btn-primary {
    background: linear-gradient(135deg, #0b1e3f, #1e90a0);
    color: #fff;
    box-shadow: 0 10px 28px rgba(11, 30, 63, 0.2);
}

.about-v4-btn-dark {
    background: #0b1e3f;
    color: #fff;
}

.about-v4-btn-outline {
    background: transparent;
    color: #0b1e3f;
    border: 1px solid rgba(11, 30, 63, 0.26);
}

.about-v4-btn-white {
    background: #fff;
    color: #0b1e3f;
}

.about-v4-section-label {
    color: #1e90a0;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
}

.about-v4-section-title {
    color: #0b1e3f;
    font-weight: 800;
    font-size: clamp(1.45rem, 3.1vw, 2.55rem);
    line-height: 1.22;
}

.about-v4-copy {
    color: #4a5a71;
    line-height: 1.75;
}

.about-v4-link {
    color: #0b1e3f;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 30, 63, 0.3);
    padding-bottom: 0.15rem;
}

.about-v4-link:hover {
    color: #1e90a0;
    border-color: rgba(30, 144, 160, 0.55);
}

.about-v4-image-frame {
    border-radius: 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(11, 30, 63, 0.08);
    box-shadow: 0 18px 44px rgba(11, 30, 63, 0.12);
    background: #fff;
}

.about-v4-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-v4-panel {
    background: linear-gradient(180deg, #eef3f9, #f8fbff);
    border-top: 1px solid #e8eef5;
    border-bottom: 1px solid #e8eef5;
}

.about-v4-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e3e9f3;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 8px 24px rgba(11, 30, 63, 0.06);
}

.about-v4-card h3 {
    color: #0b1e3f;
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.about-v4-card p {
    color: #4f5f76;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-v4-region {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-left: 4px solid #1e90a0;
    border-radius: 0.9rem;
    padding: 1rem;
}

.about-v4-region h4 {
    color: #0b1e3f;
    font-size: 1rem;
    font-weight: 800;
}

.about-v4-region p {
    margin-top: 0.25rem;
    color: #586881;
    font-size: 0.9rem;
}

.about-v4-mini {
    background: #fff;
    border: 1px solid #dce5f1;
    border-radius: 0.75rem;
    padding: 0.85rem;
}

.about-v4-mini h4 {
    color: #0b1e3f;
    font-weight: 800;
    font-size: 0.93rem;
}

.about-v4-mini p {
    color: #5f6f86;
    font-size: 0.86rem;
    margin-top: 0.25rem;
}

.about-v4-quote {
    background: linear-gradient(150deg, #0b1e3f, #174f6b);
    color: #fff;
    border-radius: 1.25rem;
    padding: 1.8rem;
    box-shadow: 0 18px 42px rgba(11, 30, 63, 0.28);
}

.about-v4-quote p {
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-v4-quote strong,
.about-v4-quote span {
    display: block;
    line-height: 1.5;
}

.about-v4-quote span {
    color: rgba(255, 255, 255, 0.8);
}

.about-v4-quote .about-v4-link {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.about-v4-quote .about-v4-link:hover {
    color: #86deea;
    border-color: #86deea;
}

.about-v4-steps {
    counter-reset: about-v4-step;
    display: grid;
    gap: 0.62rem;
}

.about-v4-steps li {
    list-style: none;
    border: 1px solid #dce6f2;
    border-radius: 0.8rem;
    padding: 0.7rem 0.8rem 0.7rem 2.9rem;
    position: relative;
    background: #fff;
    color: #0b1e3f;
    font-weight: 600;
}

.about-v4-steps li::before {
    counter-increment: about-v4-step;
    content: "0" counter(about-v4-step);
    position: absolute;
    left: 0.68rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    background: #1e90a0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-v4-community {
    background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.16), transparent 36%),
                radial-gradient(circle at 84% 90%, rgba(255, 255, 255, 0.16), transparent 36%),
                linear-gradient(140deg, #0b1e3f 0%, #1e90a0 58%, #2cb8c8 100%);
    color: #fff;
}

.about-v4-community h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 900;
}

.about-v4-community p {
    max-width: 52rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.about-v4-community-actions {
    margin-top: 2rem;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* About V5 (reference-aligned layout) */
.about-v5-page {
    background: #f4f5f7;
    color: #0b1e3f;
}

.about-v5-container {
    width: min(1120px, calc(100% - 2.4rem));
    margin: 0 auto;
}

.about-v5-section {
    padding: 5rem 0;
}

.about-v5-section-muted {
    background: #e9ebee;
}

.about-v5-hero-section {
    padding: 7.5rem 0 4.2rem;
    background: #f4f5f7;
}

.about-v5-hero-copy {
    text-align: center;
}

.about-v5-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border: 1px solid #cde8f2;
    background: #eaf8fc;
    color: #1488a3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-v5-hero-copy h1 {
    margin-top: 1.2rem;
    font-size: clamp(2.2rem, 5.4vw, 4.2rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.about-v5-hero-copy h1 span {
    color: #10a6d0;
}

.about-v5-hero-copy p {
    max-width: 680px;
    margin: 1.2rem auto 0;
    color: #5f6f86;
    line-height: 1.7;
}

.about-v5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 0.72rem 1.1rem;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.25s ease;
    max-width: 100%;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.about-v5-btn:hover {
    transform: translateY(-2px);
}

.about-v5-btn-dark {
    background: #0b1e3f;
    color: #fff;
    box-shadow: 0 10px 20px rgba(11, 30, 63, 0.2);
}

.about-v5-btn-light {
    background: #ffffff;
    border-color: #d7e4ed;
    color: #0b1e3f;
}

.about-v5-btn-accent {
    background: linear-gradient(135deg, #10a6d0, #0b1e3f);
    color: #fff;
    box-shadow: 0 12px 24px rgba(16, 166, 208, 0.22);
}

.about-v5-btn-white {
    background: #fff;
    color: #0b1e3f;
}

.about-v5-hero-visual {
    position: relative;
    margin-top: 2.3rem;
}

.about-v5-gradient-block {
    position: relative;
    height: 280px;
    border-radius: 0.85rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 95%, rgba(24, 208, 232, 0.35), transparent 20%),
        radial-gradient(circle at 82% 84%, rgba(143, 174, 255, 0.32), transparent 25%),
        linear-gradient(130deg, #05355c, #06a6c7 46%, #0b1e3f 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.about-v5-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-v5-gradient-block.about-v5-no-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(67, 240, 255, 0.2), transparent 22%),
        radial-gradient(circle at 85% 80%, rgba(174, 196, 255, 0.18), transparent 26%);
}

.about-v5-stat-card {
    position: absolute;
    left: 50%;
    bottom: -1.05rem;
    transform: translateX(-50%);
    min-width: 230px;
    border-radius: 0.72rem;
    background: #fff;
    padding: 0.95rem 1rem;
    box-shadow: 0 12px 28px rgba(11, 30, 63, 0.18);
}

.about-v5-stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: #10a6d0;
    font-weight: 900;
}

.about-v5-stat-card span {
    display: block;
    margin-top: 0.25rem;
    color: #5c6b80;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-v5-heading-wrap {
    text-align: center;
}

.about-v5-heading-wrap h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.about-v5-heading-wrap h2 span {
    color: #10a6d0;
}

.about-v5-heading-wrap p {
    margin-top: 0.5rem;
    color: #607188;
}

.about-v5-cap-grid {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-v5-card {
    background: #fff;
    border: 1px solid #dde6ef;
    border-radius: 0.8rem;
    padding: 1.2rem;
    box-shadow: 0 6px 18px rgba(11, 30, 63, 0.08);
}

.about-v5-card h3 {
    font-size: 1.05rem;
    color: #0b1e3f;
    font-weight: 800;
}

.about-v5-card p {
    margin-top: 0.4rem;
    color: #607188;
    font-size: 0.92rem;
    line-height: 1.55;
}

.about-v5-center {
    text-align: center;
    margin-top: 1.3rem;
}

.about-v5-regions-layout,
.about-v5-why-layout,
.about-v5-engage-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 1.4rem;
    align-items: center;
}

.about-v5-left-title {
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.about-v5-left-title span {
    color: #10a6d0;
}

.about-v5-text {
    margin-top: 0.7rem;
    color: #607188;
    line-height: 1.65;
}

.about-v5-regions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.about-v5-region {
    background: #fff;
    border: 1px solid #dbe6ef;
    border-radius: 0.65rem;
    padding: 0.9rem;
}

.about-v5-region h4 {
    font-size: 0.92rem;
    font-weight: 800;
}

.about-v5-region p {
    margin-top: 0.2rem;
    color: #607188;
    font-size: 0.82rem;
}

.about-v5-photo-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #d2deea;
    box-shadow: 0 10px 26px rgba(11, 30, 63, 0.14);
}

.about-v5-photo-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.about-v5-why-list {
    margin-top: 0.95rem;
    display: grid;
    gap: 0.65rem;
}

.about-v5-why-list article {
    background: #fff;
    border: 1px solid #dce7f1;
    border-radius: 0.65rem;
    padding: 0.8rem;
}

.about-v5-why-list h4 {
    font-size: 0.95rem;
    font-weight: 800;
}

.about-v5-why-list p {
    color: #607188;
    font-size: 0.84rem;
    margin-top: 0.2rem;
}

.about-v5-quote {
    background: #f3f7fb;
    border: 1px solid #c7deec;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.about-v5-quote p {
    font-style: italic;
    font-size: 1.34rem;
    line-height: 1.55;
    color: #162844;
}

.about-v5-quote strong,
.about-v5-quote span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.86rem;
}

.about-v5-quote span {
    color: #10a6d0;
}

.about-v5-steps {
    margin-top: 0.85rem;
    display: grid;
    gap: 0.5rem;
}

.about-v5-steps li {
    list-style: none;
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 0.55rem;
    padding: 0.72rem 0.9rem;
    color: #0b1e3f;
    font-weight: 700;
    font-size: 0.89rem;
}

.about-v5-inline-link {
    background: none;
    border: 0;
    color: #10a6d0;
    font-weight: 700;
    padding: 0;
    margin-top: 0.8rem;
    cursor: pointer;
}

.about-v5-community {
    padding: 4.3rem 0;
    background: linear-gradient(130deg, #10a6d0, #0a5f8a 58%, #0b1e3f 100%);
}

.about-v5-center-content {
    text-align: center;
}

.about-v5-center-content h2 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.about-v5-center-content p {
    margin: 0.9rem auto 0;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
}

.about-v5-community-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-width: 100%;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}

.theme-btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

.theme-btn-secondary {
    background: var(--color-secondary);
    color: #ffffff;
}

.theme-btn-tertiary {
    background: #ffffff;
    color: var(--color-primary);
    border-color: rgba(11, 30, 63, 0.15);
}

.theme-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    border: 1px solid #cde8f2;
    background: #eaf8fc;
    color: #1488a3;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.theme-badge-danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

@media (max-width: 992px) {
    .about-v5-regions-layout,
    .about-v5-why-layout,
    .about-v5-engage-layout {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-v5-section {
        padding: 3.2rem 0;
    }

    .about-v5-hero-section {
        padding: 6.3rem 0 3.2rem;
    }

    .about-v5-gradient-block {
        height: 215px;
    }

    .about-v5-cap-grid {
        grid-template-columns: 1fr;
    }

    .about-v5-regions-grid {
        grid-template-columns: 1fr;
    }
}

/* Success Story Static Template */
.case-study-static {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0D1B2A;
    overflow-x: hidden;
}

.case-study-static h1,
.case-study-static h2,
.case-study-static h3,
.case-study-static h4,
.case-study-static h5,
.case-study-static h6 {
    font-family: 'Inter', sans-serif;
    color: #0b1e3f;
}

.case-study-static h1 {
    font-size: clamp(2.2rem, 5.4vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.case-study-static h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 900;
}

.case-study-static h3 {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
}

.case-study-static .gradient-text {
    background: linear-gradient(135deg, #00B4D8, #415A77);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-static .stat-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-static .stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 180, 216, 0.2);
}

.case-study-static .section-divider {
    height: 100px;
}

.case-study-static .image-reveal {
    position: relative;
    overflow: hidden;
}

.case-study-static .image-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.3), transparent);
    animation: case-study-shimmer 2s infinite;
}

@keyframes case-study-shimmer {
    to {
        left: 100%;
    }
}

