/* =====================================================
   CODEFARMS TECHNOLOGY LIMITED
   Official Website
===================================================== */

:root{

--primary:#2563eb;
--secondary:#60a5fa;

--dark:#08111d;
--dark2:#0f172a;

--card:#132033;

--text:#ffffff;
--muted:#b5c0d0;

--border:rgba(255,255,255,.08);

--radius:18px;

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

}

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

html{

scroll-behavior:smooth;

}

body{

font-family:
Inter,
Segoe UI,
Roboto,
Arial,
sans-serif;

background:var(--dark);

color:var(--text);

line-height:1.7;

overflow-x:hidden;

}

/* ==================================== */

.container{

width:min(1200px,92%);

margin:auto;

}

/* ==================================== */

.header{

position:fixed;

top:0;

left:0;

width:100%;

z-index:1000;

backdrop-filter:blur(18px);

background:rgba(8,17,29,.72);

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

transition:.35s;

}

.nav{

height:82px;

display:flex;

align-items:center;

justify-content:space-between;

}

/* ==================================== */

.logo{

display:flex;

align-items:center;

gap:14px;

}

.logo-circle{

width:52px;

height:52px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:26px;

font-weight:700;

background:linear-gradient(135deg,#2563eb,#60a5fa);

color:#fff;

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

}

.logo-text{

display:flex;

flex-direction:column;

}

.company{

font-size:20px;

font-weight:700;

letter-spacing:2px;

}

.subtitle{

font-size:12px;

color:var(--muted);

}

/* ==================================== */

nav ul{

display:flex;

gap:38px;

list-style:none;

}

nav a{

color:white;

text-decoration:none;

font-weight:500;

transition:.3s;

}

nav a:hover{

color:#60a5fa;

}

/* ==================================== */

#menuButton{

display:none;

font-size:34px;

cursor:pointer;

}

/* ==================================== */

.hero{

position:relative;

min-height:100vh;

display:flex;

align-items:center;

padding-top:100px;

overflow:hidden;

}

.hero-background{

position:absolute;

inset:0;

background:

radial-gradient(circle at top right,
rgba(37,99,235,.18),
transparent 35%),

radial-gradient(circle at bottom left,
rgba(96,165,250,.14),
transparent 45%);

z-index:0;

}

.hero-content{

position:relative;

z-index:2;

max-width:760px;

}

.small-title{

text-transform:uppercase;

letter-spacing:3px;

font-size:13px;

color:#60a5fa;

margin-bottom:20px;

}

.hero h1{

font-size:68px;

line-height:1.1;

margin-bottom:28px;

font-weight:800;

}

.hero p{

font-size:21px;

color:var(--muted);

max-width:700px;

margin-bottom:40px;

}

/* ==================================== */

.hero-buttons{

display:flex;

gap:20px;

flex-wrap:wrap;

}

.btn{

padding:18px 34px;

border-radius:50px;

text-decoration:none;

font-weight:700;

transition:.35s;

}

.btn-primary{

background:#2563eb;

color:white;

}

.btn-primary:hover{

transform:translateY(-5px);

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

}

.btn-secondary{

border:2px solid #2563eb;

color:white;

}

.btn-secondary:hover{

background:#2563eb;

}

/* ==================================== */

.section{

padding:120px 0;

}

.dark{

background:#0d1728;

}

.section h2{

font-size:44px;

margin-bottom:35px;

text-align:center;

}

.section-text{

max-width:900px;

margin:auto;

text-align:center;

color:var(--muted);

font-size:19px;

}

/* ==================================== */

.cards{

display:grid;

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

gap:35px;

margin-top:70px;

}

.card{

background:var(--card);

padding:38px;

border-radius:var(--radius);

border:1px solid var(--border);

transition:.35s;

box-shadow:var(--shadow);

}

.card:hover{

transform:translateY(-12px);

border-color:#2563eb;

}

.card h3{

font-size:28px;

margin-bottom:18px;

}

.card p{

color:var(--muted);

margin-bottom:20px;

}

.card a{

text-decoration:none;

color:#60a5fa;

font-weight:700;

}

.icon{

font-size:54px;

margin-bottom:20px;

}

/* ==================================== */

.tech-grid{

display:grid;

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

gap:25px;

margin-top:70px;

}

.tech-grid span{

background:#12213a;

padding:18px;

text-align:center;

border-radius:14px;

transition:.3s;

font-weight:600;

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

}

.tech-grid span:hover{

transform:translateY(-8px);

background:#2563eb;

}

/* ==================================== */

.contact-box{

margin-top:60px;

display:grid;

gap:20px;

}

.contact-box p{

padding:22px;

background:#132033;

border-radius:15px;

font-size:18px;

}

/* ==================================== */

footer{

padding:50px 0;

background:#050b13;

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

}

.footer{

display:flex;

justify-content:space-between;

flex-wrap:wrap;

gap:20px;

color:#8d98aa;

}

/* ==================================== */

.fade{

opacity:0;

transform:translateY(60px);

transition:1s;

}

.fade.show{

opacity:1;

transform:none;

}

/* ==================================== */

@media(max-width:900px){

.hero h1{

font-size:50px;

}

nav{

display:none;

}

#menuButton{

display:block;

}

}

@media(max-width:600px){

.hero{

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero h1{

font-size:40px;

}

.section h2{

font-size:34px;

}

.company{

font-size:17px;

}

.subtitle{

font-size:11px;

}

}
