/* ============================================
   SquareOps Website - Main Stylesheet
   ============================================ */

:root {
    /* SquareOps Brand Colors - Teal to Navy Blue (from WordPress) */
    --primary-color: #38B597;
    --primary-dark: #05334B;
    --primary-light: #7bdcb5;
    --accent-color: #38B597;
    --secondary-color: #05334B;
    --secondary-dark: #0F1419;
    
    /* UI Colors */
    --text-primary: #1A1F36;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #05334B;
    --border-color: #E5E7EB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #38B597 0%, #05334B 100%);
    --gradient-secondary: linear-gradient(135deg, #38B597 0%, #239981 100%);
    --gradient-dark: linear-gradient(135deg, #05334B 0%, #1A1F36 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', var(--font-primary);
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ============================================
   Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 208, 132, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 220, 181, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-transition {
    display: inline-block;
    min-width: 200px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 32px;
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.badge-item i {
    font-size: 20px;
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-stack-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.tech-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* No border - just a positioning container for icons */
}

/* Inner decorative circles (no icons, just visual rings) */
.orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed rgba(0, 208, 132, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-1 {
    width: 250px;
    height: 250px;
}

.orbit-2 {
    width: 330px;
    height: 330px;
}

.orbit-3 {
    width: 390px;
    height: 390px;
}

/* Outermost circle - visual only (solid border) */
.orbit-outer-visual {
    width: 450px;
    height: 450px;
    border: 2px solid rgba(0, 208, 132, 0.25);
    border-style: solid;
}

/* Outermost orbit container for positioning icons - no visual element */
.orbit-outer {
    width: 450px;
    height: 450px;
    position: relative;
}

/* Position icons exactly at the circumference (radius = 225px, container = 450px)
   Calculated positions for 6 icons at 60° intervals around the circle
   Animation handles transform for centering + floating effect */
.orbit-position-1 .tech-icon {
    position: absolute;
    top: 0%;
    left: 50%;
}

.orbit-position-2 .tech-icon {
    position: absolute;
    top: 25%;
    left: 93.3%;
}

.orbit-position-3 .tech-icon {
    position: absolute;
    top: 75%;
    left: 93.3%;
}

.orbit-position-4 .tech-icon {
    position: absolute;
    top: 100%;
    left: 50%;
}

.orbit-position-5 .tech-icon {
    position: absolute;
    top: 75%;
    left: 6.7%;
}

.orbit-position-6 .tech-icon {
    position: absolute;
    top: 25%;
    left: 6.7%;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    animation: gentleFloat 4s ease-in-out infinite;
}

/* .tech-icon-main inherits from .tech-icon base styles */

/* Different animation delays for each icon */
.orbit-position-1 .tech-icon { animation-delay: 0s; }
.orbit-position-2 .tech-icon { animation-delay: 0.6s; }
.orbit-position-3 .tech-icon { animation-delay: 1.2s; }
.orbit-position-4 .tech-icon { animation-delay: 1.8s; }
.orbit-position-5 .tech-icon { animation-delay: 2.4s; }
.orbit-position-6 .tech-icon { animation-delay: 3.0s; }

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

.tech-icon.aws { color: #FF9900; }
.tech-icon.azure { color: #0078D4; }
.tech-icon.gcp { color: #4285F4; }
.tech-icon.docker { color: #2496ED; }
.tech-icon.kubernetes { color: var(--primary-color); }
.tech-icon.terraform { color: #7B42BC; }

/* Floating Tech Icons (Secondary) - Now with Colors */
.floating-tech-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    z-index: 3;
    animation: gentleFloat 4s ease-in-out infinite;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.floating-tech-icon:hover {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Colored Tech Icons */
.icon-jenkins { color: #D24939; } /* Jenkins red */
.icon-github { color: #181717; } /* GitHub black */
.icon-prometheus { color: #E6522C; } /* Prometheus orange */
.icon-gitlab { color: #FC6D26; } /* GitLab orange */
.icon-server { color: #0066CC; } /* Server blue */
.icon-grafana { color: #F46800; } /* Grafana orange */
.icon-python { color: #3776AB; } /* Python blue */
.icon-network { color: #00A4EF; } /* Network cyan */
.icon-security { color: #00875A; } /* Security green */
.icon-linux { color: #FCC624; } /* Linux yellow */
.icon-database { color: #4479A1; } /* Database blue */
.icon-git { color: #F05032; } /* Git orange-red */

.floating-tech-icon:nth-child(odd) {
    animation-duration: 5s;
}

.floating-tech-icon:nth-child(even) {
    animation-duration: 6s;
}

.floating-tech-icon:nth-child(3n) {
    animation-duration: 4.5s;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translate(-50%, -50%) translateY(0) rotate(0deg);
    }
    33% { 
        transform: translate(-50%, -50%) translateY(-15px) rotate(5deg);
    }
    66% { 
        transform: translate(-50%, -50%) translateY(5px) rotate(-5deg);
    }
}

/* Floating Particles */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.8) 0%, rgba(0, 208, 132, 0.3) 70%);
    border-radius: 50%;
    z-index: 2;
    animation: particleFloat 6s ease-in-out infinite;
    opacity: 0.6;
}

.particle-1 { top: 10%; left: 30%; animation-duration: 7s; animation-delay: 0s; }
.particle-2 { top: 20%; left: 60%; animation-duration: 8s; animation-delay: 1s; }
.particle-3 { top: 40%; left: 25%; animation-duration: 6s; animation-delay: 0.5s; }
.particle-4 { top: 50%; left: 75%; animation-duration: 9s; animation-delay: 1.5s; }
.particle-5 { top: 70%; left: 35%; animation-duration: 7.5s; animation-delay: 2s; }
.particle-6 { top: 85%; left: 65%; animation-duration: 8.5s; animation-delay: 0.8s; }
.particle-7 { top: 15%; left: 80%; animation-duration: 6.5s; animation-delay: 1.2s; }
.particle-8 { top: 45%; left: 10%; animation-duration: 7s; animation-delay: 0.3s; }
.particle-9 { top: 60%; left: 90%; animation-duration: 8s; animation-delay: 1.8s; }
.particle-10 { top: 30%; left: 50%; animation-duration: 9s; animation-delay: 0.6s; }

@keyframes particleFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% { 
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-15px, 20px) scale(0.8);
        opacity: 0.6;
    }
    75% { 
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.7;
    }
}

/* Code Snippets Background */
.code-snippet {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: rgba(0, 208, 132, 0.15);
    font-weight: bold;
    z-index: 0;
    animation: codeFade 8s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}

@keyframes codeFade {
    0%, 100% { 
        opacity: 0.1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.25;
        transform: scale(1.05);
    }
}

/* Enhanced center glow with more depth */
.center-glow {
    background: radial-gradient(
        circle,
        rgba(0, 208, 132, 0.25) 0%,
        rgba(0, 208, 132, 0.15) 30%,
        rgba(123, 220, 181, 0.1) 50%,
        transparent 70%
    );
    filter: blur(20px);
}

/* ============================================
   Services Section
   ============================================ */

.services-section {
    padding: 50px;
    background: white;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    position: relative;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-base);
}

.service-card-link-overlay,
.solution-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
    color: inherit;
}

.service-card .service-link,
.solution-card .service-link {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.service-card.featured * {
    color: white;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--accent-color);
    font-size: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-base);
}

.service-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.service-card.featured .service-link {
    color: white;
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   Technologies Section
   ============================================ */

.technologies-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tech-category {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.tech-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-category h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition-base);
}

.tech-logo:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(8px);
}

.tech-logo i,
.tech-logo svg {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* ============================================
   Solutions Section
   ============================================ */

.solutions-section {
    padding: var(--section-padding) 0;
    background: white;
}

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

.solution-card {
    position: relative;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: white;
}

.solution-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 24px;
}

.solution-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ============================================
   Why Choose Us Section
   ============================================ */

/* Why Choose Us - Pillars Design */
.why-choose-pillars-section {
    background: white;
    overflow: visible;
}

.pillars-header {
    text-align: center;
    margin-bottom: 60px;
}

.pillars-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: #1A1F36;
    margin-bottom: 16px;
}

.pillars-underline {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d084, transparent);
    margin: 0 auto 24px;
}

.pillars-intro {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.pillars-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 12px; /* prevent outer ring from touching/clipping viewport edges */
}

.pillar-item {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    overflow: visible;
}

.pillar-divider {
    width: 1px;
    height: 180px;
    background: linear-gradient(180deg, transparent 0%, #E2E8F0 30%, #E2E8F0 70%, transparent 100%);
    margin-top: 40px;
}

.pillar-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(0, 208, 132, 0.25);
    /* border: 3px solid rgba(123, 220, 181, 0.3); */
    position: relative;
}

.pillar-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 208, 132, 0.2);
}

.pillar-icon-svg {
    width: 48px;
    height: 48px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pillar-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: #1A1F36;
    margin-bottom: 12px;
}

.pillar-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .pillars-container {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .pillar-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 200px;
    }
    
    .pillar-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .pillars-container {
        flex-direction: column;
        gap: 32px;
    }
    
    .pillar-item {
        flex: 1 1 100%;
    }
    
    .pillars-title {
        font-size: 32px;
    }
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   Tools Section
   ============================================ */

.tools-section {
    padding: var(--section-padding) 0;
    background: white;
}

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

.tool-item {
    background: var(--bg-secondary);
    padding: 32px 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.tool-item:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tool-item i,
.tool-item svg {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.tool-item svg {
    fill: var(--primary-color);
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

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

.btn-primary-large,
.btn-outline-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: all var(--transition-base);
}

.btn-primary-large {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-xl);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-outline-large {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-large:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Customer Logos Carousel
   ============================================ */

.customer-logos-section {
    padding: 40px 0;
    background: transparent;
    border: none;
    overflow: hidden;
    width: 100%;
    margin: 0;
    position: relative;
}

.customer-logos-section .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
    margin: 0;
}

.logos-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 24px;
}

.logos-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 0;
}

.logos-track {
    display: flex;
    gap: 48px;
    animation: scroll-logos 30s linear infinite;
}

.logo-item {
    flex-shrink: 0;
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.1);
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logos-carousel:hover .logos-track {
    animation-play-state: paused;
}

/* ============================================
   Tools Carousel
   ============================================ */

.tools-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.tools-carousel-wrapper {
    overflow: hidden;
    margin-top: 48px;
    position: relative;
}

.tools-carousel {
    display: flex;
    gap: 40px;
    animation: scroll-tools 40s linear infinite;
    padding: 20px 0;
}

.tool-logo-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 16px;
}

.tool-logo-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(56, 181, 151, 0.2);
}

.tool-logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll-tools {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tools-carousel-wrapper:hover .tools-carousel {
    animation-play-state: paused;
}

/* ============================================
   Responsive - Carousels
   ============================================ */

@media (max-width: 768px) {
    .customer-logos-section {
        padding: 30px 0;
    }
    
    .logo-item {
        width: 100px;
        height: 40px;
    }
    
    .logos-track {
        gap: 32px;
    }
    
    .tools-carousel {
        gap: 24px;
    }
    
    .tool-logo-item {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   Homepage - Latest Blog + Newsletter
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-blog-newsletter {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    border: 2px solid rgba(56, 181, 151, 0.4);
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.home-blog-feature {
    padding: 24px;
}

.home-latest-blogs-grid {
    grid-template-columns: 1fr !important;
    margin-top: 0;
}

.home-newsletter-card {
    padding: 24px;
    border-left: 2px solid rgba(56, 181, 151, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-newsletter-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.home-newsletter-card p {
    color: var(--text-secondary);
    margin: 0 0 14px 0;
    font-size: 14px;
}

.home-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(56, 181, 151, 0.15);
}

.home-newsletter-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 18px rgba(56, 181, 151, 0.25);
}

.home-newsletter-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(56, 181, 151, 0.32);
}

.home-newsletter-form.is-loading .home-newsletter-submit {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.home-newsletter-message {
    margin-top: 12px;
    font-size: 14px;
    min-height: 18px;
}

.home-newsletter-message[data-type="success"] {
    color: #16a34a;
}

.home-newsletter-message[data-type="error"] {
    color: #dc2626;
}

@media (max-width: 1024px) {
    .home-blog-newsletter {
        grid-template-columns: 1fr;
    }

    .home-newsletter-card {
        border-left: none;
        border-top: 2px solid rgba(56, 181, 151, 0.4);
    }
}

