/* =====================================================
   Nura Logic IT Services
   style.css
   Part 1 - Global, Background, Navbar & Hero
======================================================*/

/* Google Font Reset */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 50%,#ffffff 100%);
    color:#1f2937;
    overflow-x:hidden;
    position:relative;
    line-height:1.7;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#edf2ff;
}

::-webkit-scrollbar-thumb{
    background:#2563eb;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#1d4ed8;
}

/* Selection */

::selection{
    background:#2563eb;
    color:#fff;
}

/* Links */

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
}

section{
    padding:90px 8%;
}

/* ==========================================
   Background
========================================== */

.bg-grid{

    position:fixed;
    inset:0;

    background-image:
    linear-gradient(rgba(37,99,235,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(37,99,235,.05) 1px,transparent 1px);

    background-size:45px 45px;

    z-index:-3;

}

/* Floating Blobs */

.blob{

    position:fixed;

    border-radius:50%;

    filter:blur(80px);

    z-index:-2;

    animation:float 10s ease-in-out infinite;

}

.blob1{

    width:420px;
    height:420px;

    background:#3b82f633;

    top:-120px;
    left:-100px;

}

.blob2{

    width:450px;
    height:450px;

    background:#06b6d433;

    right:-140px;
    bottom:-160px;

    animation-delay:3s;

}

@keyframes float{

0%{
transform:translateY(0px);
}

50%{
transform:translateY(40px);
}

100%{
transform:translateY(0px);
}

}

/* ==========================================
   Navbar
========================================== */

header{

    position:sticky;

    top:0;

    z-index:999;

    padding:18px 8%;

    backdrop-filter:blur(25px);

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

    border-bottom:1px solid rgba(0,0,0,.05);

}

.navbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-icon{

    width:55px;

    height:55px;

    border-radius:18px;

    background:linear-gradient(135deg,#2563eb,#06b6d4);

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:24px;

    box-shadow:0 10px 30px rgba(37,99,235,.25);

}

.logo h2{

    font-size:22px;

    color:#111827;

}

.logo span{

    color:#64748b;

    font-size:14px;

}

.nav-links{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-links a{

    color:#334155;

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:#2563eb;

}

.nav-btn{

    padding:13px 28px;

    background:linear-gradient(90deg,#2563eb,#06b6d4);

    color:white;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

    box-shadow:0 10px 25px rgba(37,99,235,.20);

}

.nav-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(37,99,235,.25);

}

.menu-btn{

    display:none;

    font-size:28px;

    cursor:pointer;

    color:#2563eb;

}

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

.hero{

    display:grid;

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

    align-items:center;

    gap:60px;

    min-height:88vh;

}

.badge{

    display:inline-block;

    background:#dbeafe;

    color:#2563eb;

    padding:12px 25px;

    border-radius:50px;

    font-size:14px;

    font-weight:600;

    margin-bottom:25px;

}

.hero h1{

    font-size:64px;

    line-height:1.15;

    color:#111827;

    margin-bottom:25px;

    font-weight:800;

}

.hero h1 span{

    color:#2563eb;

}

.hero p{

    color:#64748b;

    font-size:18px;

    margin-bottom:35px;

    max-width:650px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/* Buttons */

.primary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 36px;

    border-radius:50px;

    background:linear-gradient(90deg,#2563eb,#06b6d4);

    color:#fff;

    font-weight:600;

    transition:.35s;

    box-shadow:0 15px 30px rgba(37,99,235,.25);

}

.primary-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 40px rgba(37,99,235,.30);

}

.secondary-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 36px;

    border-radius:50px;

    border:2px solid #2563eb;

    color:#2563eb;

    font-weight:600;

    transition:.35s;

}

.secondary-btn:hover{

    background:#2563eb;

    color:white;

}

/* Hero Card */

.hero-right{

    display:flex;

    justify-content:center;

}

.hero-card{

    width:100%;

    max-width:430px;

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

    backdrop-filter:blur(25px);

    border-radius:28px;

    padding:45px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.08);

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

    animation:floatCard 5s ease-in-out infinite;

}

.hero-card i{

    font-size:70px;

    color:#2563eb;

    margin-bottom:25px;

}

.hero-card h3{

    font-size:28px;

    color:#111827;

    margin-bottom:18px;

}

.hero-card p{

    color:#64748b;

    margin:0;

}

@keyframes floatCard{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

/* Section Title */

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:42px;

    color:#111827;

    margin-bottom:15px;

}

.section-title p{

    max-width:700px;

    margin:auto;

    color:#64748b;

    font-size:18px;

}



/* =====================================================
   PART 2 - Services, About, Stats & Contact
======================================================*/

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

.services{
    padding-top:100px;
    padding-bottom:100px;
}

.service-grid{

    display:grid;

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

    gap:30px;

}

.service-card{

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

    backdrop-filter:blur(20px);

    border:1px solid rgba(37,99,235,.08);

    border-radius:24px;

    padding:40px 30px;

    text-align:center;

    transition:.35s ease;

    box-shadow:0 15px 40px rgba(15,23,42,.06);

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,#2563eb,#06b6d4);

    transform:scaleX(0);

    transform-origin:left;

    transition:.4s;

}

.service-card:hover::before{

    transform:scaleX(1);

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 55px rgba(37,99,235,.15);

}

.service-card i{

    font-size:48px;

    color:#2563eb;

    margin-bottom:25px;

}

.service-card h3{

    font-size:22px;

    color:#111827;

    margin-bottom:15px;

}

.service-card p{

    color:#64748b;

    font-size:15px;

}

/* ==========================================
   About
========================================== */

.about{

    padding-top:110px;

    padding-bottom:110px;

}

.about-content{

    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:70px;

    align-items:center;

}

.about-text h3{

    font-size:38px;

    color:#111827;

    margin-bottom:25px;

}

.about-text p{

    color:#64748b;

    margin-bottom:20px;

    font-size:17px;

}

.glass-card{

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

    backdrop-filter:blur(20px);

    border-radius:30px;

    padding:60px 40px;

    text-align:center;

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

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

.glass-card i{

    font-size:70px;

    color:#2563eb;

    margin-bottom:25px;

}

.glass-card h3{

    font-size:30px;

    color:#111827;

    margin-bottom:15px;

}

.glass-card p{

    color:#64748b;

}

/* ==========================================
   Statistics
========================================== */

.stats{

    display:grid;

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

    gap:30px;

    padding-top:40px;

    padding-bottom:100px;

}

.stat-box{

    background:white;

    border-radius:25px;

    text-align:center;

    padding:45px 25px;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.35s;

}

.stat-box:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 50px rgba(37,99,235,.15);

}

.stat-box h2{

    font-size:52px;

    color:#2563eb;

    margin-bottom:10px;

    font-weight:700;

}

.stat-box p{

    color:#64748b;

    font-weight:500;

}

/* ==========================================
   Contact
========================================== */

.contact{

    padding-top:100px;

    padding-bottom:100px;

}

.contact-grid{

    display:grid;

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

    gap:30px;

    margin-top:60px;

    margin-bottom:55px;

}

.contact-card{

    background:white;

    border-radius:24px;

    padding:35px;

    text-align:center;

    box-shadow:0 15px 40px rgba(15,23,42,.06);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(37,99,235,.15);

}

.contact-card i{

    font-size:42px;

    color:#2563eb;

    margin-bottom:20px;

}

.contact-card h3{

    font-size:22px;

    color:#111827;

    margin-bottom:12px;

}

.contact-card p{

    color:#64748b;

    word-break:break-word;

}

.contact-btn{

    display:block;

    width:max-content;

    margin:20px auto 0;

}




/* =====================================================
   PART 3 - Footer, Animations & Responsive Design
======================================================*/

/* ==========================================
   Footer
========================================== */

footer{
    padding:70px 8% 40px;
    background:#0f172a;
    color:#ffffff;
    text-align:center;
}

.footer-content{
    max-width:800px;
    margin:0 auto;
}

.footer-content h2{
    font-size:32px;
    margin-bottom:10px;
    font-weight:700;
}

.footer-content > p{
    color:#cbd5e1;
    margin-bottom:30px;
}

.social-links{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    margin:30px 0;
}

.social-links a{
    width:52px;
    height:52px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#ffffff;
    font-size:20px;
    transition:.35s ease;
}

.social-links a:hover{
    background:linear-gradient(135deg,#2563eb,#06b6d4);
    transform:translateY(-5px);
}

.copyright{
    margin-top:30px;
    color:#94a3b8;
    font-size:15px;
}

/* ==========================================
   Scroll Animation
========================================== */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ==========================================
   Hover Effects
========================================== */

.service-card,
.contact-card,
.stat-box,
.hero-card,
.glass-card{
    transition:all .35s ease;
}

.primary-btn:active,
.secondary-btn:active,
.nav-btn:active{
    transform:scale(.96);
}

/* ==========================================
   Mobile Menu
========================================== */

@media (max-width:991px){

    .menu-btn{
        display:block;
    }

    .nav-links{
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        background:#ffffff;
        flex-direction:column;
        align-items:center;
        gap:0;
        box-shadow:0 10px 30px rgba(0,0,0,.08);

        max-height:0;
        overflow:hidden;

        transition:max-height .4s ease;
    }

    .nav-links.active{
        max-height:400px;
    }

    .nav-links li{
        width:100%;
        text-align:center;
    }

    .nav-links a{
        display:block;
        padding:18px;
        border-bottom:1px solid #edf2f7;
    }

    .nav-btn{
        display:none;
    }

}

/* ==========================================
   Tablet
========================================== */

@media (max-width:992px){

    section{
        padding:80px 6%;
    }

    .hero{

        grid-template-columns:1fr;

        text-align:center;

        min-height:auto;

        padding-top:60px;

    }

    .hero-left{
        order:2;
    }

    .hero-right{
        order:1;
    }

    .hero h1{
        font-size:48px;
    }

    .hero p{
        margin:0 auto 35px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .about-content{

        grid-template-columns:1fr;

        text-align:center;

    }

}

/* ==========================================
   Mobile
========================================== */

@media (max-width:768px){

    section{
        padding:70px 20px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .section-title h2{
        font-size:32px;
    }

    .about-text h3{
        font-size:30px;
    }

    .glass-card{
        padding:45px 25px;
    }

    .service-card{
        padding:30px 25px;
    }

    .contact-card{
        padding:30px 20px;
    }

    .stat-box h2{
        font-size:40px;
    }

    .logo h2{
        font-size:18px;
    }

    .logo span{
        font-size:12px;
    }

}

/* ==========================================
   Small Phones
========================================== */

@media (max-width:480px){

    .hero h1{
        font-size:32px;
    }

    .badge{
        font-size:13px;
        padding:10px 18px;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .service-grid,
    .contact-grid,
    .stats{
        gap:20px;
    }

    .footer-content h2{
        font-size:26px;
    }

}

/* ==========================================
   Floating Animation
========================================== */

@keyframes pulseGlow{

    0%{
        box-shadow:0 0 0 rgba(37,99,235,.2);
    }

    50%{
        box-shadow:0 0 25px rgba(37,99,235,.35);
    }

    100%{
        box-shadow:0 0 0 rgba(37,99,235,.2);
    }

}

.primary-btn{
    animation:pulseGlow 3s infinite;
}

/* ==========================================
   Fade In
========================================== */

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.hero-left{
    animation:fadeIn .8s ease;
}

.hero-right{
    animation:fadeIn 1.2s ease;
}

/* ==========================================
   Utility
========================================== */

.text-center{
    text-align:center;
}

.mt-2{
    margin-top:20px;
}

.mt-3{
    margin-top:30px;
}

.mt-4{
    margin-top:40px;
}

.mb-2{
    margin-bottom:20px;
}

.mb-3{
    margin-bottom:30px;
}

.mb-4{
    margin-bottom:40px;
}

.primary-btn{
    position:relative;
    overflow:hidden;
}

.ripple{
    position:absolute;
    border-radius:50%;
    transform:scale(0);
    background:rgba(255,255,255,.5);
    animation:ripple .6s linear;
    pointer-events:none;
}

@keyframes ripple{

    to{
        transform:scale(4);
        opacity:0;
    }

}