/* RESET */

html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* BODY */

body {
    font-family: 'Poppins', sans-serif;

    background: #020617;

    color: white;

    overflow-x: hidden;
}


/* NAVBAR */

header {
    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px 8%;

    position: fixed;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);

    background: rgba(2, 6, 23, 0.7);
}

header h1 {
    color: #3b82f6;

    font-size: 32px;
}

header h1 a.logo {

    color: #3b82f6;

    text-decoration: none;

    transition: 0.3s;
}

header h1 a.logo:hover {

    color: #60a5fa;
}
nav a {
    color: white;

    text-decoration: none;

    margin-left: 30px;

    font-size: 17px;

    transition: 0.3s;
}

nav a:hover {
    color: #3b82f6;
}


/* HERO SECTION */

.hero {
    min-height: 100vh;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0 8%;

    position: relative;

    overflow: hidden;

    background:
    radial-gradient(circle at top left,
    rgba(59,130,246,0.3),
    transparent 40%),

    radial-gradient(circle at bottom right,
    rgba(147,51,234,0.3),
    transparent 40%),

    #020617;
}
.hero::after{
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 90px;

    background: linear-gradient(
        to bottom,
        rgba(2,6,23,0) 0%,
        rgba(2,6,23,0.15) 40%,
        rgba(17,24,39,0.45) 75%,
        #111827 100%
    );

    pointer-events: none;
}


/* HERO LEFT */

.hero-content {
    max-width: 650px;

    animation: fadeUp 1s ease;
}

.hero-content h2 {
    font-size: 72px;

    line-height: 1.1;

    margin-bottom: 25px;
}

.hero-content span {
    color: #3b82f6;
}

.hero-content p {
    font-size: 20px;

    color: #cbd5e1;

    margin-bottom: 35px;

    line-height: 1.8;
}


/* BUTTON */

.hero-content button {
    padding: 16px 35px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(
        45deg,
        #2563eb,
        #7c3aed
    );

    color: white;

    font-size: 17px;

    cursor: pointer;

    transition: 0.3s;
}

.hero-content button:hover {
    transform: translateY(-5px) scale(1.05);
}


/* HERO IMAGE */

.hero-image img {
    width: 500px;

    animation: float 4s ease-in-out infinite;
}


/* SERVICES */

.services {
    padding:  120px 8% 50px;

     position: relative;
    overflow: hidden;

    background:#111827;
       
}
.services::before{
    content: "";
    position: absolute;
    inset: 0;

    background: url("images/services-bg.svg") no-repeat center;
    background-size: 80%;

    opacity: 0.08;

    animation: float 6s ease-in-out infinite;

    pointer-events: none;
    z-index: 0;
}


.services-title {
    text-align: center;

    font-size: 50px;

    margin-bottom: 70px;
}

.services-container {
    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;
}


/* CARDS */

.card {
    width: 280px;

    min-height: 250px;

    padding: 45px 35px;

    background: rgba(31,41,55,0.75);

    border: 1px solid rgba(59,130,246,.15);

    border-radius: 24px;

    backdrop-filter: blur(10px);

    transition: 0.4s;

    position: relative;

    overflow: hidden;

    box-shadow: 0 20px 40px rgba(0,0,0,.35);

    cursor:pointer;
}

.card:hover {
     transform: translateY(-8px);

    border-color: #3b82f6;

    box-shadow: 0 25px 55px rgba(59,130,246,.2);
}

.card h3 {
    margin-bottom: 15px;

    font-size: 22px;
}

.card p {
    color: #cbd5e1;

    line-height: 1.7;
}


/* ANIMATIONS */

@keyframes float {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}


@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* RESPONSIVE */

@media(max-width: 1000px) {

    .hero {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding-top: 120px;
    }

    .hero-content h2 {
        font-size: 48px;
    }

    .hero-image img {
        width: 350px;

        margin-top: 40px;
    }

    header {
        flex-direction: column;
    }

    nav {
        margin-top: 15px;
    }
}
/* ABOUT SECTION */

.about {

    padding: 80px 8% 120px;

    background:
    radial-gradient(circle at top center,
  rgba(255,255,255,.03),
    transparent 65%),
  #111827;

   position: relative;

   overflow: hidden;

    text-align: center;
}


.about h2 {

    font-size: 48px;

    margin-bottom: 30px;
}

.about p {

    max-width: 800px;

    margin: auto;

    color: #cbd5e1;

    line-height: 1.8;

    font-size: 18px;
}

/* =========================
   COMPANY STATS
========================= */

.stats-container{

    margin-top:70px;

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}

.stat-card{

    width:240px;

    padding:35px 25px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(59,130,246,.12);

    border-radius:22px;

    backdrop-filter:blur(10px);

    transition:.35s ease;

    text-align:center;

    cursor:default;

}

.stat-card:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:0 20px 45px rgba(59,130,246,.18);

}

.stat-card h3{

    font-size:52px;

    color:#3b82f6;

    margin-bottom:12px;

    font-weight:700;

}

.stat-card span{

    color:#cbd5e1;

    font-size:18px;

    line-height:1.5;

}


.products {

    padding: 60px 8% 120px;

   background:
   radial-gradient(circle at bottom right,
 rgba(147,51,234,.08),
   transparent 60%),
 #111827;

    position: relative;

    overflow: visible;
}

.products::after{
    content: "";
    position: absolute;

    left: 0;
    bottom: -140px;

    width: 100%;
    height: 180px;

    background: linear-gradient(
        to bottom,
        rgba(17,24,39,1) 0%,
        rgba(17,24,39,.95) 25%,
        rgba(17,24,39,.75) 50%,
        rgba(17,24,39,.35) 75%,
        transparent 100%
    );

    filter: blur(35px);
    pointer-events: none;
    z-index: 5;
}

.products-title {

    text-align: center;

    font-size: 52px;

    margin-bottom: 70px;
}


/* SLIDER */

.slider-container {

    position: relative;

    display: block;

}

.product-slider {

    display: flex;

    gap: 30px;

    overflow-x: auto;

    overflow-y: visible;

    padding:20px 50px;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}


/* PRODUCT CARD */

.product-card {

    min-width: 350px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 24px;

    overflow: hidden;

    backdrop-filter: blur(10px);

    transition: 0.4s;

    position: relative;

    cursor: pointer;
}

.product-card:hover {

    transform: translateY(-10px);

    border-color: #3b82f6;

    box-shadow:
    0 15px 40px rgba(59,130,246,0.15);
}


/* IMAGE */

.product-card img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.product-card:hover img {

    transform: scale(1.06);
}

/* TEXT */

.product-card h3 {

    font-size: 28px;

    margin: 25px 25px 15px;
}

.product-card p {

    color: #cbd5e1;

    line-height: 1.7;

    margin: 0 25px 30px;
}
.view-products{

    display:flex;

    justify-content:center;

    margin-top:50px;

}

.view-products-btn{

    display:inline-block;

    padding:16px 42px;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    font-size:20px;

    font-weight:600;

    border-radius:50px;

    transition:.3s ease;

    box-shadow:0 10px 20px rgba(59,130,246,.18);

}

.view-products-btn:hover{

    transform:translateY(-5px);

    background:#2563eb;

    box-shadow:0 15px 35px rgba(59,130,246,.35);

}

/* ARROWS */

.arrow {

    width: 60px;

    height: 60px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: white;

    font-size: 30px;

    cursor: pointer;

    transition: 0.3s;

    z-index: 10;
}

.arrow:hover {

    background: #2563eb;

    transform: scale(1.1);
}

.left{

    position:absolute;

    left:-30px;

    top:50%;

    transform:translateY(-50%);

    z-index:20;
}

.right{

    position:absolute;

    right:-30px;

    top:50%;

    transform:translateY(-50%);

    z-index:20;
}
/* =========================
   MOBILE RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {


    /* NAVBAR */

    header {

        flex-direction: column;

        padding: 20px;
    }

    nav {

        margin-top: 15px;

        display: flex;

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    nav a {

        margin-left: 0;

        font-size: 15px;
    }


    /* HERO SECTION */

    .hero {

        flex-direction: column;

        text-align: center;

        padding-top: 140px;
    }

    .hero-content h2 {

        font-size: 42px;
    }

    .hero-content p {

        font-size: 16px;
    }

    .hero-image img {

        width: 280px;

        margin-top: 40px;
    }


    /* SERVICES */

    .services-title {

        font-size: 38px;
    }

    .card {

        width: 100%;
    }


    /* PRODUCTS */

    .products-title {

        font-size: 38px;
    }

    .product-card {

        min-width: 280px;
    }

    .product-card h3 {

        font-size: 24px;
    }

    .product-card p {

        font-size: 15px;
    }

    .arrow {

        width: 45px;

        height: 45px;

        font-size: 24px;
    }

    .view-products-btn{

     font-size:20px;

     padding:15px 40px;

    }


    /* CONTACT */

    .contact {

        padding: 120px 20px;
    }

    .contact-content h2 {

        font-size: 48px;
    }

    .contact-content p {

        font-size: 16px;
    }

    .contact-image img {

        width: 350px;
    }


    /* ABOUT */

    .about h2 {

        font-size: 40px;
    }

    .about p {

        font-size: 16px;
    }

    .stats-container{

    gap:20px;

}

.stat-card{

    width:100%;

    max-width:320px;

}

.stat-card h3{

    font-size:42px;

}
}
/* =========================
   FLOATING ENQUIRY BUTTON
========================= */

.floating-enquiry-btn {

    position: fixed;

    top: 50%;

    left: 0;

    transform: translateY(-50%);

    background: linear-gradient(
        45deg,
        #2563eb,
        #7c3aed
    );

    color: white;

    padding: 18px 16px;

    border-top-right-radius: 14px;

    border-bottom-right-radius: 14px;

    cursor: pointer;

    font-weight: 600;

    z-index: 1000;

    transition: 0.3s;
}

.floating-enquiry-btn:hover {

    padding-left: 24px;
}


/* =========================
   POPUP OVERLAY
========================= */

.popup-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.6);

    backdrop-filter: blur(8px);

    display: flex;

    justify-content: center;

    align-items: center;

    opacity: 0;

    visibility: hidden;

    transition: 0.4s;

    z-index: 2000;
}


/* ACTIVE POPUP */

.popup-overlay.active {

    opacity: 1;

    visibility: visible;
}


/* =========================
   POPUP FORM
========================= */

.popup-form {

    width: 90%;

    max-width: 500px;

    background: #0f172a;

    padding: 40px;

    border-radius: 24px;

    position: relative;

    transform: translateY(40px);

    transition: 0.4s;

    border: 1px solid rgba(255,255,255,0.1);
}


/* ANIMATION */

.popup-overlay.active .popup-form {

    transform: translateY(0);
}


/* TITLE */

.popup-form h2 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 36px;
}


/* INPUTS */

.popup-form form {

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.popup-form input,
.popup-form textarea {

    padding: 16px;

    border: none;

    border-radius: 12px;

    background: rgba(255,255,255,0.05);

    color: white;

    font-size: 16px;

    outline: none;
}


/* TEXTAREA */

.popup-form textarea {

    height: 140px;

    resize: none;
}


/* BUTTON */

.popup-form button {

    padding: 16px;

    border: none;

    border-radius: 14px;

    background: linear-gradient(
        45deg,
        #2563eb,
        #7c3aed
    );

    color: white;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

#submitBtn:disabled {

    opacity: 0.7;

    cursor: not-allowed;

}

.popup-form button:hover {

    transform: translateY(-3px);
}


/* CLOSE BUTTON */

.close-btn {

    position: absolute;

    top: 15px;

    right: 20px;

    font-size: 34px;

    cursor: pointer;
}
.services-btn {

    text-align: center;

    margin-top: 60px;
}

.more-btn {

    display: inline-block;

    padding: 15px 40px;

    background: linear-gradient(
        45deg,
        #2563eb,
        #3b82f6
    );

    color: white;

    text-decoration: none;

    border-radius: 50px;

    font-size: 18px;

    font-weight: 600;

    transition: 0.3s;
}

.more-btn:hover {

    transform: translateY(-5px);

    box-shadow:
    0 10px 25px rgba(59,130,246,0.3);
}

/* =========================
   FOOTER
========================= */

.footer {

    background: #050d1a;

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 50px 8% 20px;
}


/* CONTAINER */

.footer-container {

    display: flex;

    justify-content: space-between;

    gap: 50px;

    flex-wrap: wrap;
}


/* COLUMNS */

.footer-column {

    flex: 1;

    min-width: 220px;
}

.footer-column h3 {

    color: #3b82f6;

    margin-bottom: 18px;

    font-size: 22px;
}

.footer-column p {

    color: #cbd5e1;

    line-height: 1.8;
}


/* LINKS */

.footer-column a {

    display: block;

    text-decoration: none;

    color: #cbd5e1;

    margin-bottom: 10px;

    transition: 0.3s;
}

.footer-column a:hover {

    color: #3b82f6;

    transform: translateX(5px);
}


/* COPYRIGHT */

.footer-bottom {

    text-align: center;

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {

    color: #94a3b8;

    margin-bottom: 8px;
}


/* DESIGNER CREDIT */

.designer-credit {

    font-size: 14px;

    opacity: 0.75;
}


/* MOBILE */

@media(max-width:768px) {

    .footer-container {

        flex-direction: column;

        text-align: center;
    }

    .footer-column a:hover {

        transform: none;
    }
}
.card::before {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );

    transition: 0.6s;
}

.card:hover::before {

    left: 100%;
}
.icon {

    font-size: 40px;

    margin-bottom: 15px;
}
.services-subtitle {

    text-align: center;

    color: #94a3b8;

    font-size: 18px;

    margin-bottom: 60px;
}
.services-bg{

    position: absolute;

    right: -80px;

    top: 50%;

    transform: translateY(-50%);

    width: 550px;

    opacity: 0.12;

    pointer-events: none;

    z-index: 0;

    animation: float 4s ease-in-out infinite;
}
.services-title,
.services-container,
.services-btn{

    position: relative;

    z-index: 2;
}
/* =========================
   SERVICES HERO
========================= */

.services-hero{

    padding: 120px 8% 40px;

    text-align: center;

    background:
    radial-gradient(
        circle at top,
        rgba(59,130,246,.15),
        transparent 60%
    ),
    #020617;
}

.services-hero h1{

    font-size: 56px;

    margin-bottom: 0;
}

.services-hero p{

    max-width: 650px;

    margin: 0 auto;

    margin-bottom: 10px;

    color: #94a3b8;

    font-size: 18px;

    line-height: 1.6;
}
/* =========================
   SERVICE NAVIGATION
========================= */

.service-navigation{

    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    padding: 28px 8%;

    background: #111827;

    border-top: 1px solid rgba(255,255,255,.05);

    border-bottom: 1px solid rgba(255,255,255,.05);

}
.service-tab{

    background: transparent;

    border: none;

    color: #94a3b8;

    font-size: 17px;

    font-weight: 500;

    cursor: pointer;

    padding: 10px 5px;

    transition: .3s;

    position: relative;

}
.service-tab{

    background: transparent;

    border: none;

    color: #94a3b8;

    font-size: 17px;

    font-weight: 500;

    cursor: pointer;

    padding: 10px 5px;

    transition: .3s;

    position: relative;

}
.service-tab.active{

    color: white;

}
.service-tab::after{

    content: "";

    position: absolute;

    left: 0;

    bottom: -6px;

    width: 0%;

    height: 2px;

    background: #3b82f6;

    transition: .35s ease;

}
.service-tab:hover{

    color: white;

}
.service-tab:hover::after,

.service-tab.active::after{

    width: 100%;

}
/* =========================
   SERVICE DISPLAY
========================= */

.service-display{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

    padding:90px 8%;

    background:#020617;

}
.service-info{

    flex:1;

}
.service-image{

    flex:1;

    display:flex;

    justify-content:center;

}
.service-image img{

    width:100%;

    max-width:480px;

    animation:float 4s ease-in-out infinite;

}
.service-category{

    color:#3b82f6;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

}
.service-title{

    font-size:54px;

    margin:20px 0;

    line-height:1.2;

}
.service-description{

    color:#cbd5e1;

    font-size:18px;

    line-height:1.9;

    margin-bottom:40px;

}
.service-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}
.feature{

    padding:16px 20px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:14px;

    transition:.3s;

}
.feature:hover{

    transform:translateY(-4px);

    border-color:#3b82f6;

}
/* =========================
   SERVICES PAGE MOBILE
========================= */

@media (max-width: 768px) {

    .service-display {

        flex-direction: column-reverse;

        text-align: center;

        gap: 50px;

        padding: 60px 25px;
    }

    .service-image {

        width: 100%;

        justify-content: center;
    }

    .service-image img {

        width: 80%;

        max-width: 320px;
    }

    .service-title {

        font-size: 48px;
    }

    .service-description {

        font-size: 17px;
    }

    .service-features {

        grid-template-columns: 1fr 1fr;

        gap: 15px;
    }

}
/* =========================
   PRODUCTS PAGE
========================= */

.product-display{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

    padding:90px 8%;

    background:#020617;

}

.product-info{

    flex:1;

}

.product-category{

    color:#3b82f6;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

}

.product-title{

    font-size:54px;

    margin:20px 0;

    line-height:1.2;

}

.product-description{

    color:#cbd5e1;

    font-size:18px;

    line-height:1.9;

    margin-bottom:40px;

}

.product-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

}
.product-image{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:35px;

    border-radius:30px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(59,130,246,.08);

    backdrop-filter:blur(10px);

    overflow:hidden;

    transition:.4s ease;

    position:relative;

}
.product-image img{

    width:100%;

    max-width:520px;

    transition:.4s ease;

}
.product-image:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:0 25px 60px rgba(59,130,246,.18);

}
.product-image:hover img{

    transform:scale(1.04);

}
/* =========================
   PRODUCTS PAGE MOBILE
========================= */

@media (max-width:768px){

    .product-display{

        flex-direction:column-reverse;

        text-align:center;

        gap:50px;

        padding:60px 25px;

    }

    .product-image{

        width:100%;

        padding:20px;

    }

    .product-image img{

        width:100%;

        max-width:350px;

    }

    .product-title{

        font-size:48px;

    }

    .product-description{

        font-size:17px;

    }

    .product-features{

        grid-template-columns:1fr 1fr;

        gap:15px;

    }

    .service-navigation{

     overflow-x:auto;

     justify-content:flex-start;

     flex-wrap:nowrap;

     padding:15px;

     gap:15px;

     scrollbar-width:none;

    }

    .service-navigation::-webkit-scrollbar{

     display:none;

    } 

 .service-tab{

    flex:0 0 auto;

 }

}