/* =====================================================
   NELLORE MEDI SYSTEMS
   style.css
===================================================== */

:root{

    --primary:#0057D9;
    --secondary:#00A884;
    --accent:#25D366;
    --dark:#10243D;
    --light:#F5F9FD;
    --white:#ffffff;
    --text:#5E6E82;
    --border:#E7EEF7;

}

*{

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

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;
    color:var(--text);
    background:#fff;
    overflow-x:hidden;

}

h1,h2,h3,h4,h5,h6{

    font-family:'Poppins',sans-serif;
    color:var(--dark);
    font-weight:700;

}

a{

    text-decoration:none;
    transition:.3s;

}

section{

    padding:90px 0;

}

img{

    max-width:100%;

}

/* ===========================
   NAVBAR
=========================== */

.navbar{

    background:#fff!important;
    padding:15px 0;
    transition:.4s;
    z-index:999;

}

.company-name{

    font-size:18px;
    font-weight:700;
    color:var(--dark);

}

.navbar-nav .nav-link{

    color:#2d3d55;
    font-weight:600;
    margin-left:18px;
    transition:.3s;

}

.navbar-nav .nav-link:hover{

    color:var(--primary);

}

.navbar-nav .nav-link.active{

    color:var(--primary);

}

.navbar .btn{

    border-radius:40px;
    padding:12px 28px;
    font-weight:600;

}

/* ===========================
   BUTTONS
=========================== */

.btn-primary{

    background:linear-gradient(90deg,#0057D9,#0085ff);
    border:none;

}

.btn-primary:hover{

    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(0,87,217,.25);

}

.btn-outline-primary{

    border:2px solid var(--primary);
    color:var(--primary);

}

.btn-outline-primary:hover{

    background:var(--primary);
    color:#fff;

}

/* ===========================
   HERO
=========================== */

.hero{

    position:relative;
    overflow:hidden;
    background:
    linear-gradient(135deg,#f8fbff 0%,#eef6ff 45%,#ffffff 100%);
    padding-top:120px;
    padding-bottom:120px;

}

.hero::before{

    content:"";
    position:absolute;
    width:600px;
    height:600px;
    background:rgba(0,87,217,.06);
    border-radius:50%;
    right:-250px;
    top:-200px;

}

.hero::after{

    content:"";
    position:absolute;
    width:400px;
    height:400px;
    background:rgba(0,168,132,.08);
    border-radius:50%;
    left:-120px;
    bottom:-150px;

}

.hero .badge{

    font-size:15px;
    padding:10px 18px;
    border-radius:40px;

}

.hero h1{

    font-size:62px;
    line-height:1.15;

}

.hero p{

    font-size:19px;
    line-height:1.8;
    max-width:650px;

}

.hero-image{

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

}

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-20px);

}

100%{

transform:translateY(0);

}

}

.hero-wave{

    position:absolute;
    left:0;
    bottom:-1px;
    width:100%;

}

/* ===========================
   COUNTERS
=========================== */

.hero h2{

    color:var(--primary);
    font-size:42px;

}

.hero .row p{

    font-weight:600;

}

/* ===========================
   ABOUT
=========================== */

.bg-light{

    background:#f7fbff!important;

}

.about-image{

    border-radius:24px;
    overflow:hidden;

}

.about-image img{

    border-radius:24px;

}

.about-box{

    padding-left:40px;

}

.about-box p{

    line-height:1.9;
    font-size:17px;

}

/* ===========================
   CARDS
=========================== */

.service-card{

    background:#fff;
    border-radius:22px;
    padding:35px;
    transition:.35s;
    border:1px solid var(--border);
    height:100%;
    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(0,87,217,.12);

    border-color:#d7e7ff;

}

.service-icon{

    width:80px;
    height:80px;
    border-radius:20px;
    background:linear-gradient(135deg,#0057D9,#00A884);

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

    margin-bottom:25px;

}

.service-icon i{

    color:#fff;
    font-size:34px;

}

.service-card h4{

    margin-bottom:15px;

}

.service-card p{

    line-height:1.8;

}

/* ===========================
   SECTION TITLE
=========================== */

section span.text-primary{

    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:700;

}

section h2{

    margin-bottom:20px;

}

section .display-5{

    font-size:46px;

}

/* ==========================================
   WHY CHOOSE US
========================================== */

.feature-box{

    background:#ffffff;
    padding:35px;
    border-radius:22px;
    text-align:center;
    transition:.35s;
    border:1px solid var(--border);
    height:100%;
    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.feature-box:hover{

    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,87,217,.15);

}

.feature-box i{

    width:85px;
    height:85px;

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

    margin:auto;
    margin-bottom:25px;

    background:linear-gradient(135deg,#0057D9,#00A884);

    border-radius:50%;

    color:#fff;
    font-size:34px;

}

.feature-box h5{

    margin-bottom:18px;

}

.feature-box p{

    line-height:1.8;

}

/* ==========================================
   INDUSTRIES
========================================== */

.industry-card{

    background:#ffffff;
    border-radius:20px;
    padding:35px 20px;
    transition:.35s;
    border:1px solid #edf3fa;
    height:100%;

}

.industry-card:hover{

    background:linear-gradient(135deg,#0057D9,#00A884);

    transform:translateY(-8px);

}

.industry-card i{

    font-size:48px;
    color:var(--primary);
    margin-bottom:20px;

}

.industry-card h5{

    margin:0;

}

.industry-card:hover i,
.industry-card:hover h5{

    color:#ffffff;

}

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

.cta-section{

    position:relative;
    overflow:hidden;

    background:
    linear-gradient(135deg,#0057D9,#00A884);

    color:white;

}

.cta-section::before{

    content:"";

    position:absolute;

    width:450px;
    height:450px;

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

    border-radius:50%;

    left:-180px;
    top:-180px;

}

.cta-section::after{

    content:"";

    position:absolute;

    width:350px;
    height:350px;

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

    border-radius:50%;

    right:-120px;
    bottom:-150px;

}

.cta-section h2{

    color:white;

}

.cta-section p{

    max-width:760px;
    margin:auto;
    line-height:1.9;

}

.cta-section .btn{

    font-weight:700;
    padding:15px 45px;

}

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

.footer{

    background:#0b1f35;

    color:#d7e1ec;

    padding-top:80px;
    padding-bottom:25px;

}

.footer h4,
.footer h5{

    color:white;
    margin-bottom:25px;

}

.footer p{

    line-height:1.8;

}

.footer ul{

    list-style:none;
    padding:0;

}

.footer ul li{

    margin-bottom:12px;

}

.footer ul li a{

    color:#d7e1ec;
    transition:.3s;

}

.footer ul li a:hover{

    color:#25D366;
    padding-left:6px;

}

.footer hr{

    border-color:rgba(255,255,255,.12);
    margin:40px 0;

}

.footer i{

    color:#25D366;
    margin-right:10px;

}

/* ==========================================
   SECTION SPACING
========================================== */

.py-5{

    padding-top:100px !important;
    padding-bottom:100px !important;

}

/* ==========================================
   IMAGE EFFECTS
========================================== */

img{

    transition:.4s;

}

img:hover{

    transform:scale(1.02);

}

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

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#0057D9;
    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#003f9e;

}

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

::selection{

    background:#0057D9;
    color:white;

}

/* ==========================================
   SHADOW UTILITIES
========================================== */

.shadow-soft{

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

}

.shadow-hover{

    transition:.35s;

}

.shadow-hover:hover{

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

}

/* ==========================================
   BORDER RADIUS
========================================== */

.rounded-xl{

    border-radius:22px;

}

.rounded-2xl{

    border-radius:30px;

}

/* ==========================================
   BACKGROUND UTILITIES
========================================== */

.bg-primary-gradient{

    background:
    linear-gradient(135deg,#0057D9,#00A884);

}

.text-gradient{

    background:
    linear-gradient(135deg,#0057D9,#00A884);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

/* ==========================================
   ANIMATIONS
========================================== */

.fade-up{

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

0%{

opacity:0;
transform:translateY(40px);

}

100%{

opacity:1;
transform:translateY(0);

}

}

.zoom{

    animation:zoom .8s;

}

@keyframes zoom{

0%{

transform:scale(.9);

opacity:0;

}

100%{

transform:scale(1);

opacity:1;

}

}

/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1200px){

.hero h1{

font-size:52px;

}

}

@media(max-width:992px){

.hero{

text-align:center;

padding-top:80px;

}

.hero h1{

font-size:42px;

}

.hero-image{

margin-top:50px;

max-width:450px;

}

.display-5{

font-size:38px !important;

}

.about-box{

padding-left:0;

margin-top:40px;

}

.navbar{

padding:12px 0;

}

}

@media(max-width:768px){

.hero h1{

font-size:36px;

}

.hero p{

font-size:17px;

}

.service-card{

padding:28px;

}

.feature-box{

padding:28px;

}

.industry-card{

padding:28px;

}

section{

padding:70px 0;

}

}

@media(max-width:576px){

.hero h1{

font-size:30px;

}

.hero .btn{

display:block;
width:100%;
margin-bottom:15px;

}

.hero .btn + .btn{

margin-left:0 !important;

}

.display-5{

font-size:30px !important;

}

.footer{

text-align:center;

}

}