#home {
    background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 50%, #f8fafc 100%);
    overflow-x: hidden;
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 5% 10%, rgba(0, 0, 255, 0.03) 0%, transparent 15%),
        radial-gradient(circle at 95% 90%, rgba(0, 210, 255, 0.03) 0%, transparent 20%);
    pointer-events: none;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 255, 0.1);
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(100px); opacity: 0; }
}

/* Hero Section */
.home-hero {
    position: relative;
    padding: clamp(6rem, 8vw, 10rem) 2rem 8rem;
    min-height: calc(100svh - 12.4rem);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 0% 0%, rgba(0, 0, 255, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 100% 100%, rgba(0, 210, 255, 0.08) 0%, transparent 40%);
    overflow: hidden;
}

.hero-bg-elements .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: float-slow 30s infinite ease-in-out;
}

.circle-1 {
    top: -10rem;
    left: -10rem;
    width: 40rem;
    height: 40rem;
    background: rgba(0, 0, 255, 0.12);
    animation-delay: 0s;
}

.circle-2 {
    bottom: -15rem;
    right: -10rem;
    width: 50rem;
    height: 50rem;
    background: rgba(0, 210, 255, 0.12);
    animation-delay: -10s;
}

.circle-3 {
    top: 30%;
    right: 10%;
    width: 25rem;
    height: 25rem;
    background: rgba(0, 100, 255, 0.08);
    animation-delay: -5s;
}

.hero-container {
    width: 100%;
    max-width: 138rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(4rem, 6vw, 8rem);
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 100%;
    min-width: 0;
    flex: 1.2;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 0.8rem 2rem;
    border-radius: 5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 255, 0.08);
    margin-bottom: 3rem;
    border: 1px solid rgba(0, 0, 255, 0.05);
    max-width: 100%;
}

.brand-badge ion-icon {
    color: #0000ff;
    font-size: 2rem;
}

.brand-badge span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0000ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.service-tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.1) 0%, rgba(0, 210, 255, 0.1) 100%);
    padding: 0.8rem 2rem;
    border-radius: 5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 255, 0.1);
    animation: pulse 3s infinite;
    max-width: 100%;
}

.service-tech-badge ion-icon {
    color: #0000ff;
    font-size: 2rem;
}

.service-tech-badge span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0000ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero-content h1 {
    font-size: clamp(4rem, 5vw, 6rem);
    color: #1a1a1a;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 3rem;
    overflow-wrap: anywhere;
    font-family: 'Times New Roman', Times, serif;
}

.text-gradient {
    background: linear-gradient(90deg, #0000ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.hero-content p {
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    color: #555;
    line-height: 1.2;
    margin-bottom: 4rem;
    max-width: 65rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
}

.hero-actions a {
    text-decoration: none;
    min-height: 5.6rem;
    padding: 1.6rem 3rem;
    border-radius: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: linear-gradient(135deg, #0000ff 0%, #00d2ff 100%);
    color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 2.5rem 5rem rgba(0, 0, 255, 0.35);
}

.btn-secondary {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
    border-color: #0000ff;
    color: #0000ff;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.stat-item:not(:last-child) {
    padding-right: 4rem;
    border-right: 1px solid #e0e0e0;
}

.stat-item dd {
    order: -1;
    font-size: 3.2rem;
    color: #0000ff;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item dt {
    font-size: 1.4rem;
    color: #777;
    margin-bottom: 0;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    min-width: 0;
    flex: 1;
    display: flex;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    width: min(100%, 64rem);
    aspect-ratio: 16 / 9;
    background: #fff;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3rem 8rem rgba(7, 86, 163, 0.17);
    border: 0.8rem solid rgba(255, 255, 255, 0.92);
    overflow: visible;
}

.visual-wrapper::after {
    content: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.floating-logo {
    width: 100%;
    height: 100%;
    border-radius: 2.2rem;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.experience-badge {
    position: absolute;
    bottom: -2.4rem;
    right: 2.5rem;
    background: linear-gradient(135deg, #00c853 0%, #64dd17 100%);
    padding: 2rem;
    border-radius: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 1.5rem 3rem rgba(0, 200, 83, 0.3);
    animation: floatReverse 5s ease-in-out infinite;
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(15px) scale(1.05); }
}

.experience-badge .num {
    font-size: 3rem;
    font-weight: 900;
}

.experience-badge .txt {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Quick access flow */
.home-quick-actions {
    position: relative;
    z-index: 4;
    display: grid;
    width: min(calc(100% - 4rem), 118rem);
    margin: -3.5rem auto 3rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.quick-action-card {
    display: flex;
    min-width: 0;
    min-height: 9rem;
    padding: 1.8rem 2rem;
    align-items: center;
    gap: 1.4rem;
    border: 1px solid rgba(7, 86, 163, 0.1);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.96);
    color: #1a2e45;
    box-shadow: 0 1.5rem 4rem rgba(15, 55, 91, 0.12);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quick-action-card:hover {
    border-color: rgba(7, 86, 163, 0.32);
    box-shadow: 0 2rem 4.5rem rgba(15, 55, 91, 0.18);
    transform: translateY(-0.5rem);
}

.quick-action-icon {
    display: inline-flex;
    width: 5.2rem;
    height: 5.2rem;
    flex: 0 0 5.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #0756a3, #00a6c8);
    color: #fff;
    font-size: 2.5rem;
}

.quick-action-card > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.4rem;
}

.quick-action-card strong {
    color: #0756a3;
    font-size: 1.6rem;
}

.quick-action-card small {
    overflow: hidden;
    color: #617184;
    font-size: 1.3rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Trust Cards Section */
.home-trust-cards {
    padding: 8rem 0 10rem;
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    position: relative;
}

.home-trust-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V20H0v0h20v0.5zm0-0.5h20v20H20V20h-0.5V0h0.5v20v-0.5zM20 20v-0.5H40V0h-0.5v20H20v0.5z' fill='%230000ff' fill-opacity='0.01' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.trust-heading {
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: auto 78rem;
    z-index: 1;
    max-width: 75rem;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    text-align: center;
}

.trust-heading span {
    display: block;
    margin-bottom: 1rem;
    color: #0756a3;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.trust-heading h2 {
    color: #16283d;
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1.15;
}

.trust-container {
    max-width: 130rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.trust-card {
    background: #fff;
    padding: 4rem;
    border-radius: 3rem;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0000ff, #00d2ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.trust-card:hover {
    transform: translateY(-2rem) scale(1.02);
    box-shadow: 0 3rem 7rem rgba(0, 0, 255, 0.15);
    border-color: rgba(0, 0, 255, 0.15);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 7rem;
    height: 7rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    transition: all 0.5s ease;
}

.trust-card:hover .card-icon.blue {
    background: linear-gradient(135deg, #0000ff 0%, #00d2ff 100%);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 1rem 3rem rgba(0, 0, 255, 0.4);
}

.trust-card:hover .card-icon.cyan {
    background: linear-gradient(135deg, #00d2ff 0%, #00a8cc 100%);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 1rem 3rem rgba(0, 210, 255, 0.4);
}

.trust-card:hover .card-icon.green {
    background: linear-gradient(135deg, #20c997 0%, #17a285 100%);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 1rem 3rem rgba(32, 201, 151, 0.4);
}

.trust-card:hover .card-icon.purple {
    background: linear-gradient(135deg, #6f42c1 0%, #563d7c 100%);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 1rem 3rem rgba(111, 66, 193, 0.4);
}

.card-icon.blue { background: rgba(0, 0, 255, 0.1); color: #0000ff; }
.card-icon.cyan { background: rgba(0, 210, 255, 0.1); color: #00d2ff; }
.card-icon.green { background: rgba(32, 201, 151, 0.1); color: #20c997; }
.card-icon.purple { background: rgba(111, 66, 193, 0.1); color: #6f42c1; }

.trust-card h3 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 800;
    transition: color 0.3s ease;
}

.trust-card:hover h3 {
    color: #0000ff;
}

.trust-card p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.6;
}

/* Technology Showcase Section */
.home-tech-showcase {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 78rem;
}

.home-tech-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230000ff' fill-opacity='0.03'%3E%3Cpath d='M40 40.5V40H0v0h40v0.5zm0-0.5h40v40H40V40h-0.5V0h0.5v40v-0.5zM40 40v-0.5H80V0h-0.5v40H40v0.5z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.tech-container {
    max-width: 130rem;
    margin: 0 auto;
}

.tech-header {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 6rem;
}

.tech-header .subtitle {
    font-size: 1.4rem;
    color: #0000ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    display: block;
}

.tech-header h2 {
    font-size: 3.6rem;
    color: #1a1a1a;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #0000ff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-header p {
    font-size: 1.8rem;
    color: #555;
    line-height: 1.6;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.tech-item {
    background: #fff;
    border-radius: 2.5rem;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 255, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 255, 0.05);
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 255, 0.02) 0%, rgba(0, 210, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.tech-item:hover {
    transform: translateY(-1.5rem);
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 255, 0.15);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-icon {
    width: 8rem;
    height: 8rem;
    background: linear-gradient(135deg, #0000ff 0%, #00d2ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: pulse 4s infinite;
}

.tech-content {
    position: relative;
    z-index: 2;
}

.tech-content h3 {
    font-size: 2rem;
    color: #1a1a1a;
    font-weight: 800;
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-content h3 {
    color: #0000ff;
}

.tech-content p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.tech-glow {
    position: absolute;
    inset: 0;
    border-radius: 2.5rem;
    background: radial-gradient(circle at center, rgba(0, 0, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.tech-item:hover .tech-glow {
    opacity: 0.5;
    animation: pulse 3s infinite;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 6rem;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-visual .visual-wrapper {
        width: min(100%, 72rem);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions a {
        width: 100%;
        justify-content: center;
    }
    .hero-visual .visual-wrapper {
        width: min(100%, 72rem);
        height: auto;
    }
    .floating-logo {
        width: 100%;
    }
    .trust-container {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
    .tech-header h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 900px) {
    .home-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .home-hero {
        min-height: auto;
        padding: 5rem 1.5rem 7rem;
    }

    .hero-content h1 {
        font-size: clamp(3.4rem, 10vw, 4.2rem);
    }

    .brand-badge,
    .service-tech-badge {
        padding-inline: 1.3rem;
    }

    .brand-badge span,
    .service-tech-badge span {
        font-size: 1.15rem;
        letter-spacing: 0.04em;
        white-space: normal;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .stat-item {
        padding-inline: 0.5rem;
    }

    .stat-item:not(:last-child) {
        padding-right: 0.5rem;
    }

    .stat-item dd {
        font-size: 2.5rem;
    }

    .visual-wrapper {
        border-width: 0.5rem;
        border-radius: 2rem;
    }

    .floating-logo {
        border-radius: 1.5rem;
    }

    .experience-badge {
        right: 1rem;
        bottom: -2.2rem;
        padding: 1.2rem 1.4rem;
        border-radius: 1.4rem;
    }

    .experience-badge .num {
        font-size: 2.2rem;
    }

    .home-quick-actions {
        width: min(calc(100% - 3rem), 118rem);
        margin-top: -2rem;
    }

    .quick-action-card {
        min-height: 8rem;
    }

    .home-trust-cards,
    .home-tech-showcase {
        padding-block: 6rem;
    }
}
