/* Typography Scale */
:root {
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Base Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
    font-weight: var(--font-weight-normal);
}

/* Container and Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
}

/* Section Spacing */
section {
    padding: 120px 0;
}

section:first-of-type {
    padding-top: 140px;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    section:first-of-type {
        padding-top: 100px;
    }
    
    .diagonal-stripes {
        width: 100vw !important; /* Full viewport width on tablet */
        height: 450px !important; /* Adjusted height for tablet */
        background-size: 250px 250px !important; /* Medium pattern for tablet */
        animation: mobileDiagonalFade 10s ease-in-out infinite !important; /* Simple fade animation for tablet */
        transform: none !important; /* Reset any transforms */
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    section:first-of-type {
        padding-top: 80px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }
}

/* Headings */
h1, .h1 {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: #0f172a;
    letter-spacing: -0.025em;
}

h2, .h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    color: #1e293b;
    letter-spacing: -0.025em;
}

h3, .h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-snug);
    color: #1e293b;
}

h4, .h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-snug);
    color: #334155;
}

h5, .h5 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: #334155;
}

h6, .h6 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-normal);
    color: #475569;
}

/* Text Utilities */
.text-large {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
}

.text-small {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
}

.text-xs {
    font-size: var(--font-size-xs);
    line-height: var(--line-height-normal);
}

/* Section Typography */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-extrabold);
    line-height: var(--line-height-tight);
    color: #0f172a;
    margin: 0 0 24px 0;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: #64748b;
    margin: 0;
    font-weight: var(--font-weight-normal);
}

/* Enhanced Visual Elements */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-soft {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.shadow-medium {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.shadow-strong {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Improved Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.scale-on-hover {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-on-hover:hover {
    transform: scale(1.02);
}

/* Enhanced Buttons */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-enhanced::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.5s;
}

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

/* Improved Focus States */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Enhanced Gradients */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.875rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
}

.page-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #6b7280;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

/* Add styling for trusted subtitle */
.trusted-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.02rem; /* Increased by 20% from 0.85rem for bigger button text */
}

.btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); /* Dark blue gradient background */
    color: white !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3); /* Dark blue shadow */
    border: none;
    font-size: 0.9rem; /* Reduced from 1.1rem (50% smaller) */
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1rem; /* Reduced padding for smaller button */
}

.btn-primary::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.5s;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%); /* Darker blue gradient for hover */
    color: white !important;
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4); /* Enhanced dark blue shadow */
    transform: translateY(-2px) scale(1.02);
}

/* Ensure nav contact button has proper styling */
.nav-link.btn-primary {
    color: white !important;
    background-color: #1e3a8a; /* Updated to use dark blue color */
    padding: 6px 12px; /* Reduced from 10px 20px to make it smaller */
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem; /* Added smaller font size */
}

.nav-link.btn-primary:hover {
    background-color: #1e40af; /* Darker blue for hover state */
    color: white !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: #0d9488;
    border: 2px solid #0d9488;
}

.btn-secondary:hover {
    background-color: #0d9488;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-amber {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); /* Teal gradient background (original Contact Us color) */
    color: white !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3); /* Teal shadow */
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1rem;
}

.btn-amber:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%); /* Darker teal gradient for hover */
    color: white !important;
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4); /* Enhanced teal shadow */
    transform: translateY(-2px) scale(1.02);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-cta {
    background-color: #0d9488;
    color: white;
    font-size: 1.1rem;
    padding: 16px 32px;
}

.hero-cta {
    background-color: #0d9488;
    color: white;
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 2rem;
}

.btn-pillar {
    background-color: #1e3a8a;
    color: white;
    margin-top: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo .logo-image {
    height: 32px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo .logo-image {
    height: 28px;
}

.nav-logo .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 400; /* Changed from 700 to 400 for thinner text */
    color: #1e3a8a;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-logo .logo-text {
    font-size: 1.3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:not(.btn-primary):hover {
    color: #0d9488;
}

.nav-link:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0d9488;
    transition: width 0.3s ease;
}

.nav-link:not(.btn-primary):hover::after,
.nav-link.active:not(.btn-primary)::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px; /* Added padding for better touch target */
    min-width: 44px; /* Ensure minimum touch target size */
    min-height: 44px; /* Ensure minimum touch target size */
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1F1F1F;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    background: #ffffff;
    color: #1e3a8a;
    overflow: hidden;
    padding: 192px 0 150px 0; /* Increased bottom padding from 96px to 150px for more space above WebGL */
}

.hero .container {
    margin: 0; /* Override the auto centering for hero section */
    max-width: none; /* Remove max-width constraint */
}

#webgl-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.diagonal-stripes {
    position: absolute;
    top: 80px;
    left: 0;
    width: 500px; /* Increased from 300px to make lines longer */
    height: 500px; /* Increased from 300px to make lines longer */
    opacity: 1;
    z-index: 1;
    animation: diagonalFloat 16s ease-in-out infinite; /* Changed from 8s to 16s */
    max-width: 500px; /* Prevent it from growing beyond intended size on desktop */
    background-image: 
        /* 3 diagonal lines using website color scheme */
        linear-gradient(
            135deg,
            transparent 0px,
            transparent 15px,
            #1e3a8a 15px,
            #1e3a8a 30px,
            transparent 30px,
            transparent 45px,
            #0d9488 45px,
            #0d9488 60px,
            transparent 60px,
            transparent 75px,
            #374151 75px,
            #374151 90px,
            transparent 90px,
            transparent 100%
        );
    background-size: 300px 300px; /* Increased from 200px to make pattern larger */
    background-position: 0 0;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px; /* Increased width to accommodate better layout */
    margin: 3.2rem 0 3.2rem 8rem; /* Increased left margin to 8rem to move text further left */
}

.hero-title {
    font-size: 4rem; /* Increased from 3.25rem to make it bigger */
    font-weight: 300; /* Reduced from 600 to make it skinnier */
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hero-line {
    display: block;
    transform: translateY(100px);
    opacity: 0;
    animation: slideUpFade 1.6s ease-out forwards; /* Changed from 0.8s to 1.6s */
}

.hero-line:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 0.9rem; /* Reduced from 1.08rem to make it smaller */
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px; /* Added for more compact layout */
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.hero-ctas {
    display: flex;
    gap: 1rem; /* Reduced from 1.5rem for more compact spacing */
    opacity: 0;
    animation: slideUp 1.2s ease-out 1.2s forwards;
    margin-bottom: 3rem; /* Added extra margin below the Contact Us button */
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
    height: 120px;
    width: 100%;
}

.wave-divider svg {
    width: 100%;
    height: 120px;
    display: block;
    margin-bottom: -2px;
}

/* Amber Intro Section */
.amber-intro {
    background-color: #1e3a8a; /* Reverted to original blue color scheme */
    color: white;
    padding: 16rem 0 8rem 0; /* Doubled top padding for much more space at the top */
    margin-top: 0;
    position: relative;
}

.amber-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px; /* Refined curve height to match reference */
    background: white;
    clip-path: ellipse(75% 100% at 50% 0%); /* More subtle curve matching reference */
    z-index: 0;
}

.webgl-amber-canvas {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}

.amber-content {
    max-width: 1400px; /* Increased from 1200px for wider, more zoomed out layout */
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.6s ease-out 0.4s forwards;
    position: relative;
    z-index: 2;
    padding-top: 6rem; /* Doubled from 3rem for much more spacing from curve */
    padding-left: 2rem; /* Added horizontal padding for better spacing */
    padding-right: 2rem; /* Added horizontal padding for better spacing */
}

.amber-layout {
    display: flex;
    align-items: flex-start;
    gap: 8rem; /* Increased gap for more spacious, zoomed out feel */
    margin-top: 1rem; /* Reduced margin-top for tighter spacing */
    justify-content: space-between; /* Better distribution across container */
}

.amber-left {
    flex: 1.4; /* Increased for better title prominence in zoomed out view */
    padding-right: 0.5rem; /* Reduced padding for more space efficiency */
    max-width: 50%; /* Adjusted width for better balance */
}

.amber-right {
    flex: 1;
    padding-left: 0.5rem; /* Reduced padding for more space efficiency */
    padding-top: 0.3rem; /* Reduced top padding for better alignment */
    max-width: 45%; /* Adjusted width for better balance */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Add spacing between description and button */
}

.amber-title {
    font-size: 2.4rem; /* Further reduced from 2.8rem for more zoomed out effect */
    margin-bottom: 2.5rem; /* Slightly reduced spacing for better proportions */
    font-weight: 400; /* Medium weight for better readability */
    letter-spacing: -0.02em; /* Tight letter spacing for modern look */
    line-height: 1.1; /* Tight line height matching reference */
    text-align: left; /* Left align to match reference */
    color: white; /* Make text white */
}

.amber-description {
    font-size: 1rem; /* Reduced from 1.1rem for zoom out effect */
    line-height: 1.6;
    margin: 0;
    text-align: left; /* Left align to match reference */
    color: rgba(255, 255, 255, 0.9); /* Slightly transparent for hierarchy */
}

.btn-amber {
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 0; /* Remove top margin to match reference positioning */
    align-self: flex-start; /* Align button to the start of the flex container */
}

.btn-amber:hover {
    background-color: rgba(0, 0, 0, 1);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .amber-layout {
        flex-direction: column;
        gap: 1.5rem; /* Reduced gap for mobile */
    }
    
    .amber-left,
    .amber-right {
        padding: 0;
        max-width: 100%; /* Full width on mobile */
    }
    
    .amber-right {
        display: flex;
        flex-direction: column;
        gap: 1.5rem; /* Maintain spacing between description and button on mobile */
    }
    
    .amber-title {
        font-size: 2rem; /* Further reduced for mobile zoom out effect */
        text-align: center;
    }
    
    .amber-description {
        font-size: 0.9rem; /* Reduced for mobile zoom out effect */
        text-align: center;
    }
}

/* Offers Section */
.offers {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* 3x1 Grid Layout for What We Offer Section */
.offers-grid-3x1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet responsive design for 3x1 grid */
@media (max-width: 1024px) and (min-width: 769px) {
    .offers-grid-3x1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .offers-grid-3x1 .offer-card:nth-child(3) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 500px;
    }
}

/* Remove the old centering rule since we now have a proper 3x1 grid */

.offer-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out forwards;
    position: relative;
    overflow: hidden;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.offer-card:nth-child(2) {
    animation-delay: 0.2s;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.offer-icon {
    margin-bottom: 1.5rem;
    animation: pulse 4s infinite;
}

.offer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #374151;
}

.offer-body {
    color: #6b7280;
    line-height: 1.6;
}

/* Trusted Partners */
.trusted {
    padding: 4rem 0;
    background: #ffffff;
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1.6s ease-out 0.6s forwards;
    max-width: 1000px;
    margin: 0 auto;
}

.logo-item {
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    height: 60px;
    width: auto;
}

/* Specific adjustment for Tencent logo to make it smaller */
.logo-item img[alt="Tencent"] {
    height: 45px;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.98);
    animation: scaleIn 1.2s ease-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.4s;
}

.browser-chrome {
    background-color: #E8E8E8;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.chrome-dots {
    display: flex;
    gap: 0.5rem;
}

.chrome-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #C8C8C8;
}

.chrome-dots span:nth-child(1) {
    background-color: #1e3a8a;
}

.chrome-dots span:nth-child(2) {
    background-color: #0d9488;
}

.chrome-dots span:nth-child(3) {
    background-color: #64748b;
}

.testimonial-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #6B6B6B;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonial-author strong {
    color: #1F1F1F;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #6B6B6B;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Page Hero Styles */
/* Page Hero Styles */
.page-hero {
    padding: 8rem 0 4rem;
    background: #ffffff;
    text-align: center;
}

.page-hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-cloud-icon {
    margin-top: 2rem;
    opacity: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cloud-icon svg {
    filter: drop-shadow(0 4px 8px rgba(200, 137, 59, 0.2));
}

/* Why Choose Us Section */
.why-choose-us {
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.benefit-card {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .benefit-card {
        padding: 32px;
    }
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #0d9488, #f59e0b, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.benefit-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.benefit-stats {
    display: flex;
    gap: 24px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d9488;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.cloud-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cloud-badge {
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

.support-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
}

.support-icon {
    font-size: 1.2rem;
}

.cost-highlight {
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    border: 1px solid #0ea5e9;
}

.cost-savings {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 4px;
}

.cost-desc {
    font-size: 0.85rem;
    color: #0284c7;
    font-weight: 500;
}

/* Process Section */
.cloud-process {
    background: #ffffff;
    padding: 100px 0;
}

.process-header {
    text-align: center;
    margin-bottom: 80px;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.process-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 45%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #1e3a8a, #0d9488);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.process-step:nth-child(even) .step-content {
    text-align: right;
    margin-left: 0; /* No left margin for right-side cards */
    margin-right: 80px; /* Push right-side cards away from timeline */
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #0d9488);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin: 0 20px;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

.step-content {
    flex: 1;
    max-width: 400px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-left: 80px; /* Push left-side cards away from timeline */
    margin-right: 0; /* No right margin for left-side cards */
}

.step-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.step-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.deliverable {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-card {
        padding: 32px 24px;
    }
    
    .benefit-stats {
        justify-content: center;
    }
    
    .cloud-badges {
        justify-content: center;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        flex-direction: row !important;
        margin-bottom: 60px;
    }
    
    .process-step:nth-child(even) .step-content {
        text-align: left;
    }
    
    .step-number {
        margin: 0 20px 0 0;
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .step-content {
        max-width: none;
        padding: 24px;
    }
}
/* Cloud Consulting Page Styles */
.cloud-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1e293b;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.cloud-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(30,58,138,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.cloud-hero .container {
    position: relative;
    z-index: 2;
}

.cloud-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.cloud-hero .hero-text {
    max-width: 500px;
    text-align: left;
    padding-left: 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.2);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1e293b;
}

/* Desktop-specific styles for cloud-hero */
@media (min-width: 769px) {
    .cloud-hero .hero-title {
        font-size: 3.25rem; /* Reduced from 3.75rem to make it smaller */
    }
    
    .cloud-hero .hero-visual {
        margin-left: 200px; /* Increased from 150px to move animation further right */
    }
}

.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #64748b;
    line-height: 1.6;
}

.cloud-hero .hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cloud-hero .btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.cloud-hero .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d9488 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.cloud-hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
}

.cloud-hero .btn-secondary {
    background: white;
    color: #1e3a8a;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cloud-hero .btn-secondary:hover {
    background: #f8fafc;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cloud-hero .hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0px;
    margin-left: 100px;
}

.cloud-hero .hero-icon {
    position: relative;
    animation: float 6s ease-in-out infinite;
    width: 700px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-hero .hero-icon canvas {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #0d9488;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.cloud-intro {
    padding: 100px 0;
    background: white;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.2;
}

.intro-text p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 32px;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.feature-item svg {
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.cloud-services {
    background: white;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #1e3a8a;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}

.badge-icon {
    font-size: 1.1rem;
}

.services-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 0;
}

/* 3x2 Grid Layout for Managed Cloud Services Section */
.services-grid.services-grid-3x2 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet responsive design for 3x2 grid */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid.services-grid-3x2 {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 1.5rem !important;
    }
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 48px 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e3a8a, #0d9488);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.service-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 1.05rem;
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    color: #475569;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #0d9488;
    font-weight: 700;
    font-size: 1rem;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0d9488;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-cta:hover {
    color: #0f766e;
    gap: 12px;
}

.service-cta::after {
    content: '→';
    transition: transform 0.2s ease;
}

.service-cta:hover::after {
    transform: translateX(2px);
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

/* Particle Background Effect */
.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(13, 148, 136, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(30, 58, 138, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.solutions .container {
    position: relative;
    z-index: 1;
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #1e3a8a, #0d9488);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 5s;
}

.particle:nth-child(6) {
    top: 50%;
    left: 60%;
    animation-delay: 5s;
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.7;
    }
}

.solutions-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6B6B6B;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

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

.solution-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    border: 1px solid #E8E8E8;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Magic Card Enhancement */
.solution-card.magic-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
}

.solution-card.magic-card:hover {
    background: #ffffff !important;
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Disable magic-card pseudo-elements for solution cards */
.solution-card.magic-card::before,
.solution-card.magic-card::after {
    display: none !important;
}

.solution-card.magic-card:hover::before,
.solution-card.magic-card:hover::after {
    display: none !important;
    opacity: 0 !important;
}

/* Disable magic-card pseudo-elements for stat cards */
.stat-card.magic-card::before,
.stat-card.magic-card::after {
    display: none !important;
}

.stat-card.magic-card:hover::before,
.stat-card.magic-card:hover::after {
    display: none !important;
    opacity: 0 !important;
}

.stat-card.magic-card:hover {
    background: #ffffff !important;
    border-color: #e2e8f0;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.solution-card:nth-child(2) {
    animation-delay: 0.2s;
}

.solution-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

.solution-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-icon svg {
    filter: drop-shadow(0 2px 4px rgba(200, 137, 59, 0.1));
}

.solution-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1F1F1F;
    font-weight: 600;
}

.solution-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.btn-solution {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: auto;
}

.btn-solution:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cloud-hero {
        padding: 100px 0 60px; /* Increased top padding for better iPhone spacing */
        min-height: 100vh; /* Full viewport height for better iPhone experience */
    }
    
    .cloud-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px; /* Reduced gap for better iPhone spacing */
        text-align: center;
        padding: 0 20px; /* Better side padding for iPhone */
    }
    
    .cloud-hero .hero-text {
        max-width: 100%;
        padding-left: 0; /* Remove desktop padding */
        text-align: center;
    }
    
    .cloud-hero .hero-title {
        font-size: 2rem; /* Optimized for iPhone readability */
        line-height: 1.3; /* Better line height for iPhone */
        margin-bottom: 16px;
        padding: 0 10px; /* Side padding for better text flow */
    }
    
    .cloud-hero .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6; /* Better readability on iPhone */
        margin-bottom: 30px;
        padding: 0 15px; /* Better side padding */
        max-width: 90%; /* Prevent text from touching edges */
        margin-left: auto;
        margin-right: auto;
    }
    
    .cloud-hero .hero-cta {
        justify-content: center;
        margin-top: 20px;
    }
    
    .cloud-hero .btn-large {
        min-width: 200px; /* Larger touch target for iPhone */
        padding: 16px 32px; /* Better touch area */
        font-size: 1rem;
    }
    
    .cloud-hero .hero-visual {
        margin-left: 0; /* Reset desktop margin for mobile */
        padding: 20px 0; /* Better spacing around visual */
        display: flex;
        justify-content: center;
        max-width: 300px; /* Limit size on iPhone */
        margin: 0 auto;
    }
    
    .cloud-hero .hero-icon {
        width: 100%;
        max-width: 280px; /* Optimized size for iPhone */
        height: 280px;
    }
}
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 24px;
    }

/* iPhone specific optimizations */
@media (max-width: 480px) {
    .cloud-hero {
        padding: 90px 0 50px; /* Optimized for iPhone screen */
    }
    
    .cloud-hero .hero-content {
        padding: 0 15px; /* Tighter padding for iPhone */
        gap: 25px;
    }
    
    .cloud-hero .hero-title {
        font-size: 1.75rem; /* Smaller for iPhone screens */
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .cloud-hero .hero-subtitle {
        font-size: 0.95rem; /* Slightly smaller for iPhone */
        padding: 0 10px;
        max-width: 95%;
    }
    
    .cloud-hero .btn-large {
        min-width: 180px;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .cloud-hero .hero-visual {
        max-width: 250px; /* Smaller for iPhone */
        padding: 15px 0;
    }
    
    .cloud-hero .hero-icon {
        max-width: 220px;
        height: 220px;
    }
}

/* Partnership Section */
.partnership {
    padding: 5rem 0;
    background: #ffffff;
    text-align: center;
}

.partnership-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #374151;
}

.partnership-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: white;
}

.products-table {
    max-width: 800px;
    margin: 0 auto;
}

.product-row {
    padding: 2rem 0;
    border-bottom: 1px solid #E8E8E8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.product-row:nth-child(2) {
    animation-delay: 0.1s;
}

.product-row:nth-child(3) {
    animation-delay: 0.2s;
}

.product-row:nth-child(4) {
    animation-delay: 0.3s;
}

.product-row:last-child {
    border-bottom: none;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1F1F1F;
}

.product-info p {
    color: #6B6B6B;
    line-height: 1.6;
}

/* Customer Cases */
.customer-cases {
    padding: 5rem 0;
    background: #ffffff;
}

.cases-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.case-slide {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Solution Partners Grid Layout */
.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.partners-grid .case-slide:nth-child(1) {
    animation-delay: 0.1s;
}

.partners-grid .case-slide:nth-child(2) {
    animation-delay: 0.2s;
}

.partners-grid .case-slide:nth-child(3) {
    animation-delay: 0.4s;
}

.case-logos {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.case-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
}

.case-logo img,
.case-logo svg {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.case-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1F1F1F;
}

.case-description {
    color: #6B6B6B;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.case-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0d9488;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .case-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Enhanced Statistics Styling - Magic UI Inspired */
.case-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #1e3a8a;
}

.stat-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
}

.stat-number-ticker,
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    font-weight: 500;
}

/* Progress Ring Styling */
.progress-ring {
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: 0.6;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 3;
}

.progress-ring-circle {
    fill: none;
    stroke: #1e3a8a;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157; /* 2 * π * 25 */
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 2s ease-in-out;
}

/* Sparkle Effect */
.sparkle-effect {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 20px;
    height: 20px;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #1e3a8a;
    border-radius: 50%;
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 0;
    left: 8px;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 8px;
    left: 0;
    animation-delay: 0.7s;
}

.sparkle:nth-child(3) {
    top: 16px;
    left: 8px;
    animation-delay: 1.4s;
}

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

/* Magic Card Hover Effects */
.magic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    pointer-events: none;
}

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

.magic-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1e3a8a, #0d9488);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magic-card:hover::after {
    opacity: 1;
}

/* Number Ticker Animation */
.stat-number-ticker {
    animation: countUp 2s ease-out forwards;
}

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

/* Enhanced Stats Mobile Responsive */
@media (max-width: 768px) {
    .case-stats-enhanced {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-number-ticker,
    .stat-number {
        font-size: 2rem;
    }
    
    .progress-ring,
    .sparkle-effect {
        display: none;
    }
    
    .case-logo img,
    .case-logo svg {
        max-height: 150px;
    }
}


/* About Page */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6B6B6B;
    text-align: left;
}

.photo-collage {
    padding: 4rem 0;
    background-color: white;
}

.collage-container-single {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.photo-center {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    max-width: 800px;
    width: 100%;
}

.photo-center img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-center:hover img {
    transform: scale(1.05);
}

.photo-left,
.photo-right {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.photo-left img,
.photo-right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-right {
    transform: translateY(20px);
}

.photo-left:hover img {
    transform: translateY(-6%);
}

.photo-right:hover img {
    transform: translateY(-8%);
}

.our-clients {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    text-align: center;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    height: 60px;
    width: auto;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: white;
    padding: 8rem 0 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: white;
}

.footer-brand p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    font-weight: 300;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 600px;
}

.contact-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
}

.contact-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-column ul li {
    margin-bottom: 0.8rem;
}

.contact-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-column ul li a:hover {
    color: #f0f9ff;
}

.contact-column p {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Prevent Safari from auto-detecting phone numbers and emails as links */
.contact-column p,
.contact-column {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Specifically target phone numbers and emails to prevent auto-linking */
.contact-phone,
.contact-email {
    color: white !important;
    text-decoration: none !important;
    pointer-events: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

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

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

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

@keyframes diagonalFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.06;
    }
    25% {
        transform: translate(20px, -15px) rotate(2deg);
        opacity: 0.08;
    }
    50% {
        transform: translate(10px, -30px) rotate(-1deg);
        opacity: 0.04;
    }
    75% {
        transform: translate(-10px, -20px) rotate(1deg);
        opacity: 0.07;
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.06;
    }
}

/* Mobile-specific animation without transforms */
@keyframes mobileDiagonalFade {
    0% {
        opacity: 0.06;
    }
    25% {
        opacity: 0.08;
    }
    50% {
        opacity: 0.04;
    }
    75% {
        opacity: 0.07;
    }
    100% {
        opacity: 0.06;
    }
}

/* Scroll Animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 1.5rem; /* Added gap between menu items for better spacing */
    }

    .nav-menu .nav-link {
        padding: 12px 20px; /* Increased padding for better touch targets */
        min-height: 44px; /* Ensure minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 200px; /* Fixed width for consistent touch targets */
        text-align: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content {
        margin: 2rem 0 2rem 2rem; /* Reduced left margin for mobile but keep left alignment */
        text-align: left; /* Ensure left alignment on mobile */
    }

    .hero-title {
        font-size: 2.5rem;
        text-align: left; /* Ensure title stays left-aligned */
    }

    .hero-subtitle {
        text-align: left; /* Ensure subtitle stays left-aligned */
    }

    .page-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid-3x1 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid.services-grid-3x2 {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 1.5rem !important;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-left {
        order: 2;
    }

    .footer-right {
        order: 1;
        justify-content: center;
    }

    .footer-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .collage-container {
        grid-template-columns: 1fr;
    }

    .photo-right {
        transform: translateY(0);
    }

    .partners-logos,
    .clients-logos {
        gap: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start; /* Changed from center to flex-start for left alignment */
        margin-bottom: 2rem; /* Reduced margin on mobile for better spacing */
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* iPhone-specific optimizations */
@media (max-width: 414px) {
    .btn {
        padding: 14px 24px; /* Increased for better touch targets (minimum 44px height) */
        font-size: 1rem;
        min-height: 44px; /* Apple's minimum touch target size */
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 12px 20px; /* Increased padding for better touch targets */
        min-height: 44px;
    }

    .btn-large {
        padding: 16px 32px;
        min-height: 48px; /* Larger touch target for primary actions */
    }

    .nav-link.btn-primary {
        padding: 10px 16px; /* Increased from 6px 12px for better touch targets */
        min-height: 40px;
    }
}

/* iPhone 12/13/14 Pro Max and similar large iPhones */
@media (max-width: 428px) {
    .container {
        padding: 0 20px; /* Increased padding for larger iPhone screens */
    }
    
    .hero-content {
        margin: 2rem 0 2rem 2rem;
    }
}

/* iPhone 12/13/14 and similar standard iPhones */
@media (max-width: 390px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.2rem; /* Slightly larger for better readability */
    }
    
    .section-title {
        font-size: 1.9rem;
    }
}

/* iPhone SE and smaller iPhones */
@media (max-width: 375px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem; /* Ensure minimum 11pt text size */
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-subtitle,
    .page-subtitle {
        font-size: 1.1rem;
    }

    .btn {
        padding: 14px 24px; /* Increased for better touch targets */
        font-size: 1rem;
        min-height: 44px; /* Apple's minimum touch target size */
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 12px 20px; /* Increased padding for better touch targets */
        min-height: 44px;
    }

    #webgl-canvas {
        height: 150px; /* Reduced height on mobile */
    }
    
    .diagonal-stripes {
        width: 100vw !important; /* Full viewport width on mobile */
        height: 400px !important; /* Adjusted height for mobile */
        background-size: 200px 200px !important; /* Smaller pattern for mobile */
        animation: mobileDiagonalFade 8s ease-in-out infinite !important; /* Simple fade animation for mobile */
        transform: none !important; /* Reset any transforms */
        left: 0 !important; /* Ensure it starts from the left edge */
        right: 0 !important; /* Ensure it extends to the right edge */
    }

    .offer-card,
    .pillar-card {
        padding: 1.5rem;
    }

    .testimonial-content {
        padding: 1.5rem;
    }

    .cases-grid {
        gap: 2rem;
    }

    .case-slide {
        padding: 2rem;
    }
}

/* Intersection Observer Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* Border Beam Effect */
.border-beam-container {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
}

.border-beam {
    pointer-events: none;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 3px solid transparent;
    mask-image: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
    mask-composite: intersect;
    mask-clip: padding-box, border-box;
}

.border-beam-light {
    position: absolute;
    aspect-ratio: 1;
    background: linear-gradient(45deg, var(--color-from), var(--color-to), var(--color-from));
    width: 120px;
    height: 120px;
    offset-path: rect(0 auto auto 0 round 120px);
    animation: border-beam-animation 12s linear infinite;
    filter: drop-shadow(0 0 15px var(--color-from)) drop-shadow(0 0 30px var(--color-to)) drop-shadow(0 0 45px rgba(30, 58, 138, 0.6));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-from), 0 0 40px var(--color-to);
}

@keyframes border-beam-animation {
    0% {
        offset-distance: 0%;
    }
    100% {
        offset-distance: 100%;
    }
}

/* Company theme colors for border beam */
.service-card:hover .border-beam-light {
    --color-from: #1e3a8a;
    --color-to: #0d9488;
    filter: drop-shadow(0 0 25px var(--color-from)) drop-shadow(0 0 50px var(--color-to)) drop-shadow(0 0 75px rgba(13, 148, 136, 0.8));
    box-shadow: 0 0 30px var(--color-from), 0 0 60px var(--color-to), 0 0 90px rgba(30, 58, 138, 0.4);
    transform: scale(1.1);
}

.service-card {
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12), 
                0 0 0 1px rgba(30, 58, 138, 0.1);
    transform: translateY(-8px);
}

/* Enhanced border beam container */
.border-beam-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    margin: 2rem 0;
    padding: 2rem;
}

/* Enhanced cloud-process section styling */
.cloud-process {
    background: #ffffff;
    border-radius: 20px;
    margin: 2rem auto;
    padding: 2.5rem;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Enhanced border beam container for step content */
.step-content.border-beam-container {
    border-radius: 16px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    /* Remove conflicting margins - use the parent .step-content margin instead */
}