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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Scroll Animation Utilities */
.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #1f2937;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo img {
    height: 49px;
    /* Optimized height for nav alignment */
    width: auto;
    /* Corrects aspect ratio (fixes 'too small' distortion) */
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #f59e0b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f59e0b;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero */
/* Hero */
/* Hero */
/* Hero */
/* Hero */
/* Hero */
/* Hero */
.hero {
    background: url('Homepage_image_4.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
}

/* Center-aligned content */
.hero-content {
    text-align: center;
    max-width: 800px;
}

/* Right Side Image (Currently Hidden) */
.hero-image {
    display: none;
}

/* Left Side Background (Removed) */
.hero-bg-left {
    display: none;
}

.aws-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    transform: translateY(6rem);
    /* Visual move without affecting flow */
}

.aws-badge i {
    color: #f59e0b;
}

.hero-title {
    font-size: 3.5rem;
    /* Increased size as requested */
    font-weight: 700;
    line-height: 1.15;
    margin-top: 4.5rem;
    /* Moved down by ~3 lines */
    margin-bottom: calc(1.5rem + 30px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added shadow for readability */
}

.hero-description {
    font-size: 1.35rem;
    /* Increased size as requested */
    margin-bottom: 2rem;
    margin-top: -3rem;
    /* Moves text UP by ~2 line spaces */
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    margin-top: 1rem;
    transform: translateY(3rem);
    /* Moved UP by ~2 lines (from 6rem to 3rem) */
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #f59e0b;
    color: #111827;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #111827;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #111827;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: -1.5rem;
    /* Moves UP by ~1 line */
}

.stat h3 {
    font-size: 2.3rem;
    color: #f59e0b;
}

.stat p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 3rem;
    color: #111827;
}

.services-overview {
    padding: 90px 0;
    background: #f9fafb;
}

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

/* .hero-image redefined above */

.service-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    color: #fff;
    font-size: 1.8rem;
}

/* About */
.about-section {
    padding: 90px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.about-stats {
    display: flex;
    gap: 2rem;
}

.about-stat h3 {
    color: #f59e0b;
}

/* Contact */
.contact-section {
    padding: 90px 0 10px 0;
    background: #111827;
    color: #fff;
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 14px;
}

.form-group label {
    color: #111827;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.contact-info a {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #d97706;
    text-decoration: underline;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 2rem;
    color: #f59e0b;
}

.contact-item span {
    font-size: 1.2rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #020617;
    color: #cbd5f5;
    padding: 0.25rem 0 1.5rem;
}

.footer-section h4 {
    color: #f59e0b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {

    .hero-container,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Cloud Animation Styles (Original Static - Upscaled) */
.cloud-animation-container {
    position: relative;
    width: 400px;
    /* Increased from 300px */
    height: 400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cloud-core {
    position: absolute;
    z-index: 2;
    font-size: 8rem;
    /* Increased from 5rem */
    color: #f59e0b;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.4));
    animation: pulse 3s infinite ease-in-out;
}

.orbit-ring {
    position: absolute;
    width: 300px;
    /* Increased from 200px */
    height: 300px;
    border: 3px dashed rgba(245, 158, 11, 0.4);
    /* Thicker border */
    border-radius: 50%;
}

.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    /* Increased from 60px */
    height: 90px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    /* Stronger shadow */
    font-size: 1rem;
    /* Text size up */
    color: #1f2937;
    text-align: center;
    z-index: 3;
    /* Static positioning on ring (radius 150px) */
    top: 50%;
    left: 50%;
    margin-top: -45px;
    /* Half of 90px */
    margin-left: -45px;
}

/* Static Positions for 4 items: Top, Right, Bottom, Left. Radius = 150px */
.item-migration {
    transform: translateY(-150px);
}

.item-devops {
    transform: translateX(150px);
}

.item-native {
    transform: translateY(150px);
}

.item-modernization {
    transform: translateX(-150px);
}

.orbit-item i {
    font-size: 2rem;
    /* Increased from 1.2rem */
    color: #f59e0b;
    margin-bottom: 4px;
}

.orbit-label {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    color: #4b5563;
    /* Ensuring text color is consistent */
    text-transform: none;
    /* Revert uppercase from professional */
    letter-spacing: normal;
}

/* Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modern Cloud Native Architecture Styles */
.cloud-native-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

/* Common Styles */
.cn-layer {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.cn-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 10px;
    width: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.cn-icon-box:hover {
    transform: translateY(-3px);
}

.cn-icon-box i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 5px;
}

.cn-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    text-align: center;
}

/* Layer 1: Clients */
.layer-clients .cn-icon-box {
    border-color: #60a5fa;
    /* Blue for clients */
}

.layer-clients .cn-icon-box i {
    color: #3b82f6;
}

/* Layer 2: Processing Zone */
.cn-processing-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* Side Services (Cache/Queue) */
.cn-support-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
}

.cn-support-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px dashed #a855f7;
    /* Purple for Queue */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.node-cache .cn-support-icon {
    border-color: #10b981;
    /* Green for Cache */
}

.node-cache i {
    color: #10b981;
    font-size: 1.5rem;
}

.node-queue i {
    color: #a855f7;
    font-size: 1.5rem;
}

/* Central Microservices Cluster */
.cn-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px dashed #f59e0b;
    border-radius: 50%;
    padding: 30px;
    position: relative;
    background: rgba(245, 158, 11, 0.03);
}

.cluster-label {
    position: absolute;
    top: -12px;
    background: #fff;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.container-group-inner {
    display: flex;
    gap: 10px;
}

.micro-container {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #f59e0b;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.micro-container i {
    font-size: 1.2rem;
    color: #f59e0b;
}

/* Layer 3: Data */
.layer-data .cn-icon-box {
    width: 100px;
    border-color: #6366f1;
    /* Indigo for Data */
}

.layer-data i {
    color: #6366f1;
}

/* Interaction Arrows */
.cn-arrow-vertical {
    width: 2px;
    height: 30px;
    background: #d1d5db;
    position: relative;
}

.cn-arrow-vertical::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: -4px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #d1d5db;
}

.cn-arrow-horizontal {
    height: 2px;
    width: 20px;
    background: #d1d5db;
    position: relative;
    margin-top: -15px;
    /* Align with center of icons */
}

/* Double arrow for side services */
.cn-arrow-horizontal::before,
.cn-arrow-horizontal::after {
    content: '';
    position: absolute;
    top: -4px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.cn-arrow-horizontal::before {
    left: -5px;
    border-right: 5px solid #d1d5db;
}

.cn-arrow-horizontal::after {
    right: -5px;
    border-left: 5px solid #d1d5db;
}

/* Modern Data Platform Styles */
.data-tech-container {
    width: 650px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.data-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100px;
}

/* Icon Styles */
.d-icon,
.node-stack {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

/* Specific Node Colors */
.node-sources .node-stack {
    border-color: #64748b;
    /* Slate */
    flex-direction: column;
    gap: 2px;
}

.node-sources i {
    color: #64748b;
    font-size: 0.9rem;
}

.node-ingest .d-icon {
    border-color: #0ea5e9;
    /* Sky Blue */
    border-radius: 50%;
}

.node-ingest i {
    color: #0ea5e9;
    font-size: 1.2rem;
}

.node-lakehouse .d-icon {
    width: 80px;
    height: 80px;
    border-color: #f59e0b;
    /* Orange Brand */
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}

.node-lakehouse i {
    color: #f59e0b;
    font-size: 2.5rem;
}

.node-ml .d-icon {
    border-color: #a855f7;
    /* Purple */
}

.node-ml i {
    color: #a855f7;
    font-size: 1.2rem;
}

.node-bi .d-icon {
    border-color: #10b981;
    /* Emerald */
}

.node-bi i {
    color: #10b981;
    font-size: 1.2rem;
}

/* Labels */
.d-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
}

/* Connectors */
.proc-arrow {
    flex-grow: 1;
    height: 3px;
    background: #d1d5db;
    position: relative;
    margin: 0 10px;
    top: -25px;
    /* Align roughly with icon centers */
}

.proc-arrow::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3.5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #d1d5db;
}

/* Split Output Logic */
.output-group {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.split-arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 40px;
    height: 100px;
    /* Spanning the gap */
    top: -25px;
    /* Alignment adjustment */
}

.arrow-up,
.arrow-down {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    border-left: 3px solid #d1d5db;
}

.arrow-up {
    top: 5px;
    border-top: 3px solid #d1d5db;
    border-top-left-radius: 10px;
    transform: translateY(-15px);
    /* Move up to ML */
}

.arrow-down {
    bottom: 5px;
    border-bottom: 3px solid #d1d5db;
    border-bottom-left-radius: 10px;
    transform: translateY(15px);
    /* Move down to BI */
}

.arrow-up::after,
.arrow-down::after {
    content: '';
    position: absolute;
    right: -4px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #d1d5db;
}

.arrow-up::after {
    top: -6.5px;
}

.arrow-down::after {
    bottom: -6.5px;
}

/* Partners Section Styles */
.partners-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.partners-column h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #1f2937;
    font-size: 1.5rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.partner-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f3f4f6;
}

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

.partner-card i {
    font-size: 5rem;
    margin-bottom: 20px;
}

.partner-card img {
    height: 80px;
    /* Equivalent to 5rem */
    width: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.partner-card span {
    font-weight: 600;
    color: #4b5563;
    font-size: 1.1rem;
}