/* =====================================
   Sai Swami Computer
   style.css
   Part 1
======================================*/

:root{

--primary:#003366;
--secondary:#ffcc00;
--accent:#e63946;
--dark:#0d1b2a;
--light:#f5f7fa;
--white:#ffffff;
--text:#444;
--shadow:0 10px 25px rgba(0,0,0,.12);
--radius:14px;
--transition:.35s ease;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;
background:var(--light);
color:var(--text);
line-height:1.7;
overflow-x:hidden;

}

img{

width:100%;
display:block;

}

a{

text-decoration:none;

}

ul{

list-style:none;

}

.container{

width:90%;
max-width:1200px;
margin:auto;

}

/* ===========================
TOP BAR
=========================== */

.top-bar{

background:var(--primary);
color:#fff;
font-size:14px;
padding:10px 0;

}

.top-bar .container{

display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;

}

.top-bar i{

color:var(--secondary);
margin-right:8px;

}

/* ===========================
NAVBAR
=========================== */

.navbar{

background:#fff;
position:sticky;
top:0;
z-index:999;
box-shadow:0 4px 20px rgba(0,0,0,.08);

}

.nav-container{

display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;

}

.logo{

font-size:30px;
font-weight:800;
color:var(--primary);

}

.logo span{

color:var(--accent);

}

.nav-links{

display:flex;
gap:28px;

}

.nav-links a{

color:#222;
font-weight:500;
transition:var(--transition);

}

.nav-links a:hover{

color:var(--accent);

}

.menu-btn{

display:none;
font-size:28px;
cursor:pointer;

}

/* ===========================
BUTTONS
=========================== */

.btn{

display:inline-block;
padding:15px 32px;
background:var(--accent);
color:#fff;
border-radius:50px;
font-weight:600;
transition:var(--transition);
box-shadow:var(--shadow);

}

.btn:hover{

transform:translateY(-5px);

}

.btn.secondary{

background:var(--secondary);
color:#222;

}

/* ===========================
HERO
=========================== */

.hero{

height:90vh;

background:

linear-gradient(rgba(0,25,60,.75),

rgba(0,25,60,.75)),

url("../assets/images/banner.jpg");

background-size:cover;
background-position:center;

display:flex;
align-items:center;

position:relative;

}

.hero-content{

color:#fff;

}

.hero-text{

max-width:700px;

animation:fadeUp 1s;

}

.hero h1{

font-size:60px;
font-weight:800;
margin-bottom:20px;
line-height:1.2;

}

.hero p{

font-size:20px;
margin-bottom:35px;
opacity:.95;

}

.hero-buttons{

display:flex;
gap:20px;
flex-wrap:wrap;

}

/* ===========================
SECTION TITLE
=========================== */

section{

padding:90px 0;

}

.section-title{

font-size:38px;
text-align:center;
margin-bottom:60px;
color:var(--primary);
font-weight:700;
position:relative;

}

.section-title::after{

content:"";

width:90px;
height:5px;

background:var(--accent);

display:block;

margin:18px auto;

border-radius:20px;

}

/* ===========================
SERVICES
=========================== */

.service-grid{

display:grid;

grid-template-columns:

repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.card{

background:#fff;

padding:40px 30px;

border-radius:18px;

text-align:center;

box-shadow:var(--shadow);

transition:var(--transition);

cursor:pointer;

}

.card:hover{

transform:translateY(-10px);

}

.card i{

font-size:55px;

color:var(--accent);

margin-bottom:25px;

}

.card h3{

font-size:24px;

margin-bottom:15px;

color:var(--primary);

}

.card p{

font-size:15px;

}

/* ===========================
ANIMATION
=========================== */

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(60px);

}

to{

opacity:1;

transform:translateY(0);

}

}


/* =====================================
   style.css
   Part 2
   Products • Why Choose • Counter
   Contact • Footer • WhatsApp
======================================*/


/* ===========================
PRODUCTS
=========================== */

.products{
    background:#fff;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.product{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.product:hover{
    transform:translateY(-10px);
}

.product img{
    height:240px;
    object-fit:cover;
}

.product h3{
    padding:20px;
    color:var(--primary);
    text-align:center;
}

.product p{
    padding:0 20px 20px;
    font-size:15px;
    text-align:center;
}

.product .btn{
    margin:20px;
    display:block;
    text-align:center;
}


/* ===========================
WHY CHOOSE
=========================== */

.why{
    background:linear-gradient(135deg,#003366,#001d3d);
    color:#fff;
}

.why .section-title{
    color:#fff;
}

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.why-grid div{
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.15);
    padding:25px;
    border-radius:15px;
    font-size:18px;
    transition:.3s;
}

.why-grid div:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.12);
}

.why-grid i{
    color:var(--secondary);
    font-size:26px;
    margin-right:12px;
}


/* ===========================
COUNTER
=========================== */

.counter{
    background:#fff;
}

.counter-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
    text-align:center;
}

.counter-grid div{
    background:#f7f7f7;
    padding:40px;
    border-radius:15px;
    box-shadow:var(--shadow);
    transition:.3s;
}

.counter-grid div:hover{
    transform:translateY(-10px);
}

.counter h2{
    color:var(--accent);
    font-size:48px;
    font-weight:800;
}

.counter p{
    margin-top:10px;
    color:#555;
}


/* ===========================
CONTACT CTA
=========================== */

.contact-home{
    background:linear-gradient(135deg,#e63946,#b5172d);
    color:#fff;
    text-align:center;
}

.contact-home h2{
    font-size:42px;
    margin-bottom:20px;
}

.contact-home p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
    font-size:18px;
}

.contact-home .btn{
    background:#fff;
    color:var(--accent);
}


/* ===========================
FOOTER
=========================== */

footer{
    background:#0d1b2a;
    color:#ddd;
    padding-top:70px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-grid h3{
    color:#fff;
    margin-bottom:20px;
}

.footer-grid p{
    margin-bottom:10px;
    font-size:15px;
}

.footer-grid a{
    display:block;
    color:#ddd;
    margin-bottom:10px;
    transition:.3s;
}

.footer-grid a:hover{
    color:var(--secondary);
    padding-left:8px;
}

.copyright{
    text-align:center;
    border-top:1px solid rgba(255,255,255,.1);
    margin-top:50px;
    padding:20px;
    font-size:14px;
}


/* ===========================
WHATSAPP BUTTON
=========================== */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:999;
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}


/* ===========================
SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:var(--accent);
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#eee;
}


/* ===========================
UTILITY CLASSES
=========================== */

.text-center{
    text-align:center;
}

.mt-1{margin-top:10px;}
.mt-2{margin-top:20px;}
.mt-3{margin-top:30px;}
.mt-4{margin-top:40px;}
.mt-5{margin-top:50px;}

.mb-1{margin-bottom:10px;}
.mb-2{margin-bottom:20px;}
.mb-3{margin-bottom:30px;}
.mb-4{margin-bottom:40px;}
.mb-5{margin-bottom:50px;}


/* ===========================
HOVER EFFECTS
=========================== */

.card,
.product,
.counter-grid div,
.why-grid div{
    transition:all .35s ease;
}

.card:hover,
.product:hover,
.counter-grid div:hover{
    box-shadow:0 18px 40px rgba(0,0,0,.18);
}


/* ===========================
FADE ANIMATION CLASS
=========================== */

.fade{
    animation:fadeUp .8s ease forwards;
}


/* =====================================
END OF style.css
====================================== */


