/*==================================================
  HENRY TECH SOLUTIONS
  Enterprise Theme V2
==================================================*/

:root{

    --primary:#00d4ff;
    --primary2:#4fc3ff;
    --secondary:#5ef2ff;

    --white:#ffffff;
    --text:#d5e6ff;
    --muted:#a9bdd4;

    --glass:rgba(255,255,255,.06);
    --glassBorder:rgba(255,255,255,.12);

    --background:#040b18;

    --shadow:0 15px 50px rgba(0,0,0,.45);

}

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Segoe UI",Arial,sans-serif;

    background:var(--background);

    color:white;

    overflow-x:hidden;

}

/********************************************/
/* BACKGROUND VIDEO */
/********************************************/

#background-video{

    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    z-index:-4;

    transform:scale(1.05);

}

/********************************************/
/* DARK OVERLAY */
/********************************************/

.overlay{

    position:fixed;

    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(3,10,25,.45),
            rgba(3,10,25,.75)
        );

    z-index:-3;

}

/********************************************/
/* AURORA */
/********************************************/

.aurora{

    position:fixed;

    inset:-30%;

    z-index:-2;

    background:

        radial-gradient(circle at 20% 20%,
        rgba(0,212,255,.25),
        transparent 40%),

        radial-gradient(circle at 80% 30%,
        rgba(75,0,255,.18),
        transparent 35%),

        radial-gradient(circle at 50% 80%,
        rgba(0,255,190,.18),
        transparent 40%);

    filter:blur(80px);

    animation:auroraMove 18s ease-in-out infinite alternate;

}

/********************************************/
/* NAVBAR */
/********************************************/

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:9999;

}

nav{

    width:min(1450px,96%);

    margin:8px auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:2px 18px;

    min-height:46px;

    border-radius:14px;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.05);

    box-shadow:0 4px 16px rgba(0,0,0,.20);

}

nav.scrolled{

    margin-top:10px;

    padding:14px 28px;

}

/********************************************/
/* LOGO */
/********************************************/

.logo{

    display:flex;

    align-items:center;

    gap:18px;

    cursor:pointer;

}

.logo:hover{

    transform:scale(1.03);

}

.logo-icon img{

    width:26px;

    animation:spin 18s linear infinite;

    filter:drop-shadow(0 0 10px #00d4ff);

}


.logo-text{

    font-size:15px;

    gap:6px;

}

.logo-text span{

    background:
    linear-gradient(
    90deg,
    #00d4ff,
    #4ff7ff,
    #7bc8ff,
    #00d4ff);

    background-size:300%;

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:gradientMove 8s linear infinite;

}

/********************************************/
/* MENU */
/********************************************/

nav ul{

    display:flex;

    gap:22px;

    list-style:none;

}

nav a{

    color:white;

    text-decoration:none;

    font-size:15px;

    font-weight:600;

    position:relative;

    transition:.35s;

}

nav a:hover{

    color:var(--secondary);

}

nav a::after{

    content:"";

    position:absolute;

    bottom:-8px;

    left:0;

    width:0;

    height:2px;

    border-radius:10px;

    background:var(--primary);

    transition:.4s;

}

nav a:hover::after{

    width:100%;

}

/********************************************/
/* HERO */
/********************************************/

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    text-align:center;

    padding:85px 25px 80px;

}

.hero-content{

    max-width:1100px;

    margin-top:12px;

}

.hero-tag{

    display:inline-block;

    padding:10px 22px;

    margin-bottom:30px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.12);

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(12px);

    color:var(--secondary);

    font-weight:600;

    letter-spacing:1px;

}

.hero h1{

    font-size:clamp(46px,6vw,78px);

    line-height:1.05;

    margin-bottom:25px;

    text-shadow:

    0 0 20px rgba(0,212,255,.35),

    0 0 50px rgba(0,212,255,.15);

}

.hero h2{

    min-height:55px;

    color:var(--secondary);

    font-size:34px;

    margin-bottom:25px;

}

.hero-description{

    font-size:21px;

    line-height:1.9;

    color:var(--text);

    max-width:900px;

    margin:auto;

}

.hero-buttons{

    margin-top:60px;

    display:flex;

    justify-content:center;

    gap:22px;

    flex-wrap:wrap;

}

.button{

    padding:18px 42px;

    border-radius:60px;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.button.primary{

    color:white;

    background:
    linear-gradient(
    135deg,
    #009dff,
    #00d4ff);

    box-shadow:

    0 0 35px rgba(0,212,255,.35);

}

.button.primary:hover{

    transform:translateY(-6px);

    box-shadow:

    0 0 45px rgba(0,212,255,.6);

}

.button.secondary{

    color:white;

    border:1px solid rgba(255,255,255,.2);

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(10px);

}

.button.secondary:hover{

    background:rgba(255,255,255,.12);

}

/********************************************/
/* SCROLL INDICATOR */
/********************************************/

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    font-size:36px;

    color:white;

    animation:bounce 2s infinite;

}

/********************************************/
/* ANIMATIONS */
/********************************************/

@keyframes spin{

    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}

}

@keyframes logoFloat{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

}

@keyframes gradientMove{

    0%{

        background-position:0%;

    }

    100%{

        background-position:300%;

    }

}

@keyframes auroraMove{

    from{

        transform:
        translate(-3%,0)
        rotate(0deg);

    }

    to{

        transform:
        translate(4%,3%)
        rotate(10deg);

    }

}

@keyframes bounce{

    0%,100%{

        transform:
        translate(-50%,0);

    }

    50%{

        transform:
        translate(-50%,12px);

    }

}

/*==================================================
  STATS SECTION
==================================================*/

.stats{

    width:min(1400px,92%);
    margin:40px auto 120px;

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:35px;

}

.stat-card{

    position:relative;

    padding:45px 30px;

    border-radius:22px;

    text-align:center;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    overflow:hidden;

    transition:.45s;

}

.stat-card::before{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    background:radial-gradient(circle,
        rgba(0,212,255,.35),
        transparent 70%);

    top:-120px;
    right:-120px;

    transition:.5s;

}

.stat-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 0 40px rgba(0,212,255,.28);

}

.stat-card:hover::before{

    transform:scale(1.3);

}

.stat-card h2{

    font-size:64px;

    color:var(--primary);

    margin-bottom:15px;

}

.stat-card p{

    color:var(--text);

    font-size:18px;

    letter-spacing:1px;

}

/*==================================================
  SECTION HEADINGS
==================================================*/

section h2{

    font-size:48px;

    text-align:center;

    margin-bottom:20px;

    text-shadow:
    0 0 15px rgba(0,212,255,.25);

}

section>p{

    max-width:850px;

    margin:auto;

    text-align:center;

    color:var(--muted);

    font-size:20px;

    line-height:1.8;

}

/*==================================================
  TECHNOLOGIES
==================================================*/

.technologies{

    width:min(1500px,92%);

    margin:auto;

    padding:100px 0;

}

.logo-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(170px,1fr));

    gap:40px;

    perspective:1200px;

}

/*==================================================
  TECH CARD
==================================================*/

.tech{

    --rotateX:0deg;
    --rotateY:0deg;
    --moveX:0px;
    --moveY:0px;
    --x:50%;
    --y:50%;

    --logo-scale:1;
    --logo-hover:1;

    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;

    height:220px;

    border-radius:26px;

    overflow:hidden;

    text-decoration:none;

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.12);

    transition:
        transform .45s cubic-bezier(.22,1,.36,1),
        box-shadow .35s,
        border-color .35s;

    transform-style:preserve-3d;

    cursor:pointer;

}
.tech::before{

    content:"";

    position:absolute;

    inset:1px;

    border-radius:25px;

    background:

        radial-gradient(

            550px circle at var(--x) var(--y),

            rgba(255,255,255,.20),

            rgba(255,255,255,.08) 18%,

            transparent 45%

        );

    opacity:0;

    transition:.25s;

    pointer-events:none;

}

.tech::after{

    content:"";

    position:absolute;

    top:-140%;

    left:-55%;

    width:55%;

    height:320%;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255,255,255,.18),

            transparent

        );

    transform:rotate(25deg);

    transition:1s ease;

    pointer-events:none;

}
.tech:hover::after{

    left:150%;

}

.tech{

    transform:
        perspective(1200px)
        translate(var(--moveX), var(--moveY))
        rotateX(var(--rotateX))
        rotateY(var(--rotateY));
}
.tech:hover{

    transform:
        perspective(1200px)
        translate(
            var(--moveX),
            calc(var(--moveY) - 12px)
        )
        rotateX(var(--rotateX))
        rotateY(var(--rotateY))
        scale(1.03);

}

.tech:hover::before{

    opacity:1;

}

.tech img{

    width:130px;
    height:130px;

    object-fit:contain;

    transform:
        translateZ(70px)
        scale(calc(var(--logo-scale) * var(--logo-hover)));

    transition:
        transform .35s ease,
        filter .35s ease;

    pointer-events:none;

    z-index:3;
    position:relative;

}




.tech{

    isolation:isolate;

}


.tech img[alt="Docker"]{
    --logo-scale:1.3;
}

.tech img[alt="Ubuntu"]{
    --logo-scale:2.0;
}

.tech img[alt="PostgreSQL"]{
    --logo-scale:2.0;
}

.tech img[alt="Ceph"]{
    --logo-scale:1.2;
}

.tech img[alt="OpenShift"]{
    --logo-scale:1.4;
}

.tech img[alt="Ansible"]{
    --logo-scale:1.4;
}

.tech img[alt="Grafana"]{
    --logo-scale:1.2;
}

.tech img[alt="Prometheus"]{
    --logo-scale:1.2;
}

.tech img[alt="Terraform"]{
    --logo-scale:0.9;
}

.tech:hover img{

    --logo-hover:1.08;

    filter:
        drop-shadow(0 0 18px rgba(255,255,255,.45));

}


/*==================================================
  SERVICES
==================================================*/

.services{

    width:min(1500px,92%);

    margin:auto;

    padding:120px 0;

}

.cards{

    margin-top:70px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

.card{

    position:relative;

    padding:40px;

    border-radius:24px;

    overflow:hidden;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    transition:.45s;

}

.card::before{

    content:"";

    position:absolute;

    width:300px;
    height:300px;

    border-radius:50%;

    top:-180px;
    right:-180px;

    background:

    radial-gradient(circle,

    rgba(0,212,255,.25),

    transparent 70%);

    transition:.6s;

}

.card:hover{

    transform:

    translateY(-14px);

    border-color:

    rgba(0,212,255,.45);

    box-shadow:

    0 0 45px rgba(0,212,255,.28);

}

.card:hover::before{

    transform:scale(1.25);

}

.card h3{

    font-size:28px;

    margin-bottom:18px;

    color:var(--secondary);

}

.card p{

    color:var(--text);

    line-height:1.9;

    font-size:18px;

}

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

.cta{

    width:min(1200px,92%);

    margin:120px auto;

    padding:80px;

    text-align:center;

    border-radius:30px;

    background:

    linear-gradient(

    135deg,

    rgba(0,212,255,.10),

    rgba(255,255,255,.04)

    );

    backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.08);

}

.cta p{

    margin:30px auto;

    max-width:800px;

}

/*==================================================
    FOOTER
==================================================*/

footer{

    margin-top:140px;

    padding:80px 20px 40px;

    background:rgba(255,255,255,.04);

    backdrop-filter:blur(25px);

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-container{

    width:min(1300px,92%);

    margin:auto;

}

.footer-brand{

    text-align:center;

    max-width:700px;

    margin:0 auto 70px;

}

.footer-brand img{

    width:60px;

    margin-bottom:20px;

    filter:drop-shadow(0 0 15px rgba(0,212,255,.35));

}

.footer-brand h3{

    font-size:36px;

    margin-bottom:18px;

    background:linear-gradient(
        90deg,
        #00d4ff,
        #5ef2ff,
        #00d4ff
    );

    background-size:300%;

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:gradientMove 8s linear infinite;

}

.footer-brand p{

    color:var(--muted);

    line-height:1.9;

    font-size:18px;

}

.footer-links{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:60px;

    margin-bottom:60px;

}

.footer-links h4{

    color:white;

    margin-bottom:18px;

    font-size:20px;

}

.footer-links a{

    display:block;

    color:var(--muted);

    text-decoration:none;

    margin-bottom:14px;

    transition:.3s;

}

.footer-links a:hover{

    color:var(--primary);

    transform:translateX(6px);

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:24px;

    margin-bottom:50px;

}

.footer-social a{

    width:52px;

    height:52px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    text-decoration:none;

    color:white;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

}

.footer-social img{

    width:24px;

    height:24px;

    object-fit:contain;

    display:block;

}

.footer-social a:hover{

    background:rgba(0,212,255,.15);

    border-color:rgba(0,212,255,.5);

    transform:translateY(-6px);

    box-shadow:0 0 20px rgba(0,212,255,.35);

}

footer hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.08);

    margin-bottom:35px;

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    color:var(--muted);

    margin:10px 0;

}

/*==================================================
  SCROLL REVEAL
==================================================*/

.reveal{

    opacity:0;

    transition:
        opacity .8s ease;

}

.reveal.active{

    opacity:1;

}

/*==================================================
  CUSTOM SCROLLBAR
==================================================*/

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#08111f;

}

::-webkit-scrollbar-thumb{

    background:#00d4ff;

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#5ef2ff;

}

/*==================================================
  IMAGE SELECTION
==================================================*/

::selection{

    background:#00d4ff;

    color:black;

}

/*==================================================
  HOVER GLOW
==================================================*/

.button,
.card,
.tech,
.stat-card{

    will-change:transform;

}

/*==================================================
  FLOATING LOGOS
==================================================*/

.tech:nth-child(2) img{

    animation-delay:.5s;

}

.tech:nth-child(3) img{

    animation-delay:1s;

}

.tech:nth-child(4) img{

    animation-delay:1.5s;

}

.tech:nth-child(5) img{

    animation-delay:2s;

}

.tech:nth-child(6) img{

    animation-delay:2.5s;

}

.tech:nth-child(7) img{

    animation-delay:3s;

}

.tech:nth-child(8) img{

    animation-delay:3.5s;

}

.tech:nth-child(9) img{

    animation-delay:4s;

}

.tech:nth-child(10) img{

    animation-delay:4.5s;

}

.tech:nth-child(11) img{

    animation-delay:5s;

}

/*==================================================
  MOBILE
==================================================*/

@media(max-width:1200px){

    nav{

        width:96%;

        padding:18px 24px;

    }

    .hero h1{

        font-size:68px;

    }

}

@media (max-width: 992px) {

    nav{
        width:95%;
        margin:8px auto;
        padding:6px 14px;
        border-radius:14px;
    }

    .logo{
        gap:8px;
    }

    .logo-icon img{
        width:24px;
    }

    .logo-text{
        font-size:16px;
        gap:3px;
    }

    nav ul{
        gap:10px;
    }

    nav ul li a{
        font-size:12px;
    }

    .hero{
        padding-top:100px;
    }

}

@media(max-width:768px){

    .hero h1{

        font-size:44px;

    }

    .hero h2{

        font-size:24px;

    }

    .hero-description{

        font-size:17px;

    }

    section h2{

        font-size:36px;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .stats{

        grid-template-columns:1fr 1fr;

    }

    .logo-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .cta{

        padding:50px 30px;

    }

   .footer-links{

    grid-template-columns:1fr;

    text-align:center;

    gap:35px;

}

  .footer-links a:hover{

   transform:none;

}

  .footer-brand{

   margin-bottom:50px;

}
}

@media(max-width:520px){

    .stats{

        grid-template-columns:1fr;

    }

    .logo-grid{

        grid-template-columns:1fr;

    }

    .logo{

        flex-direction:column;

        text-align:center;

    }

    .logo-text{

        flex-direction:column;

        gap:0;

        font-size:24px;

    }

    .hero{

        padding-top:200px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .button{

        width:100%;

    }

}

/*==================================================
  REDUCED MOTION
==================================================*/

@media (prefers-reduced-motion:reduce){

    *{

        animation:none!important;

        transition:none!important;

        scroll-behavior:auto!important;

    }

}

/*=========================================
  Mouse Spotlight
=========================================*/

#spotlight{

    position:fixed;

    width:180px;
    height:180px;

    left:0;
    top:0;

    transform:translate(-50%,-50%);

    pointer-events:none;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.22) 0%,
            rgba(255,255,255,.12) 30%,
            rgba(255,255,255,.05) 55%,
            transparent 100%
        );

    filter:blur(12px);

    mix-blend-mode:screen;

    opacity:.75;

    z-index:-1;

}


/********************************************/
/* FLOATING CLOUD PLATFORM */
/********************************************/

.cloud-platform{

    width:min(1400px,90%);

    margin:120px auto;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:35px;

}

.cloud-card{

    position:relative;

    padding:22px 42px;

    min-width:190px;

    text-align:center;

    color:white;

    font-size:20px;

    font-weight:700;

    letter-spacing:.5px;

    border-radius:999px;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.05)
        );

    backdrop-filter:blur(28px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:

        0 18px 40px rgba(0,0,0,.30),

        0 0 25px rgba(0,212,255,.10);

    transition:.4s;

    animation:cloudFloat 7s ease-in-out infinite;

}

.cloud-card:nth-child(2){animation-delay:.5s;}
.cloud-card:nth-child(3){animation-delay:1s;}
.cloud-card:nth-child(4){animation-delay:1.5s;}
.cloud-card:nth-child(5){animation-delay:2s;}
.cloud-card:nth-child(6){animation-delay:2.5s;}
.cloud-card:nth-child(7){animation-delay:3s;}
.cloud-card:nth-child(8){animation-delay:3.5s;}
.cloud-card:nth-child(9){animation-delay:4s;}
.cloud-card:nth-child(10){animation-delay:4.5s;}
.cloud-card:nth-child(11){animation-delay:5s;}
.cloud-card:nth-child(12){animation-delay:5.5s;}

.cloud-card:hover{

    transform:

        translateY(-10px)

        scale(1.08);

    border-color:rgba(0,212,255,.45);

    box-shadow:

        0 0 35px rgba(0,212,255,.35);

}

@keyframes cloudFloat{

    0%,100%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

}

.cloud-card.large{

    font-size:24px;

    padding:32px 60px;

    font-weight:800;

}
