/* ===================================
   Biz Lanka Online - Main Stylesheet
   =================================== */

:root{
    --primary-color:#2563eb;
    --primary-dark:#1d4ed8;
    --primary-light:#3b82f6;
    --secondary-color:#0f172a;
    --dark-gray:#1e293b;
    --medium-gray:#475569;
    --light-gray:#f1f5f9;
    --white:#ffffff;
    --bg-light:#f8fafc;

    --shadow-sm:0 1px 3px rgba(0,0,0,0.1);
    --shadow-md:0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg:0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl:0 20px 40px rgba(0,0,0,0.2);

    --transition:all 0.3s ease;

    --border-radius:8px;
    --border-radius-lg:16px;
}

/* Reset */

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

html{
    scroll-behavior:smooth;
    scroll-padding-top:80px;
}

body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    line-height:1.6;
    color:var(--dark-gray);
    background:var(--white);
    overflow-x:hidden;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

/* Typography */

h1,h2,h3,h4,h5,h6{
    font-weight:600;
    color:var(--secondary-color);
}

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

ul{
    list-style:none;
}

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

.navbar{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
    transition:all .3s ease;
}

.navbar.scrolled{
    padding:5px 0;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.navbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

/* Logo */

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo-img{
    height:50px;
    transition:transform .3s ease;
}

.logo:hover .logo-img{
    transform:scale(1.08);
}

.logo-text{
    font-size:1.3rem;
    font-weight:700;

    background:linear-gradient(135deg,var(--secondary-color),var(--primary-color));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Menu */

.nav-menu{
    display:flex;
    gap:30px;
}

.nav-link{
    font-size:.95rem;
    font-weight:500;
    position:relative;
}

.nav-link::after{
    content:'';
    position:absolute;
    bottom:-4px;
    left:0;
    width:0;
    height:2px;
    background:var(--primary-color);
    transition:var(--transition);
}

.nav-link:hover{
    color:var(--primary-color);
}

.nav-link:hover::after{
    width:100%;
}

/* Mobile menu */

.menu-toggle{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.menu-toggle .bar{
    width:25px;
    height:3px;
    background:var(--secondary-color);
}

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

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;

    background:linear-gradient(
    135deg,
    var(--secondary-color),
    var(--dark-gray),
    #1e3a5f);

    padding-top:80px;
}

.hero-overlay{
    position:absolute;
    inset:0;
    opacity:.4;
}

.hero-content{
    position:relative;
    text-align:center;
    color:var(--white);
    max-width:900px;
}

/* Title */

.hero-title{
    font-size:3.5rem;
    margin-bottom:24px;
}

.title-highlight{
    display:block;

    background:linear-gradient(
    135deg,
    var(--white),
    var(--primary-light));

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    font-size:3rem;
}

/* Subtitle */

.hero-subtitle{
    font-size:1.15rem;
    opacity:.85;
    margin-bottom:35px;
}

/* Buttons */

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

.btn{
    padding:14px 32px;
    border-radius:var(--border-radius);
    font-weight:600;
}

.btn-primary{
    background:var(--primary-color);
    color:var(--white);
}

.btn-primary:hover{
    background:var(--primary-dark);
}

/* =========================
   SINHALA MESSAGE BLOCK
   ========================= */

.hero-message{
    margin-top:30px;
    max-width:850px;
    margin-left:auto;
    margin-right:auto;

    padding:18px 24px;

    background:rgba(255,255,255,0.10);
    border:1px solid rgba(255,255,255,0.18);

    border-radius:12px;

    color:var(--white);
    font-size:1.2rem;
    line-height:1.9;
    text-align:center;

    backdrop-filter:blur(6px);
}

/* Scroll arrow */

.scroll-down{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    font-size:1.5rem;
    color:white;
}

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

.section{
    padding:100px 0;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-title{
    font-size:2.5rem;
}

.section-divider{
    width:60px;
    height:4px;
    background:var(--primary-color);
    margin:15px auto;
}

.section-subtitle{
    color:var(--medium-gray);
}

/* =========================
   GRID SECTIONS
   ========================= */

.services-grid,
.features-grid,
.industries-grid,
.why-choose-grid{
    display:grid;
    gap:30px;
}

/* cards */

.service-card,
.feature-item,
.industry-card,
.why-choose-item{
    background:white;
    padding:35px;
    border-radius:var(--border-radius-lg);
    box-shadow:var(--shadow-md);
}

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

.footer{
    background:var(--secondary-color);
    color:white;
    padding:60px 0;
}

.footer-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-links{
    display:grid;
    gap:10px;
}

.footer-links a{
    color:rgba(255,255,255,.7);
}

.footer-links a:hover{
    color:var(--primary-light);
}

/* =========================
   WHATSAPP FLOAT
   ========================= */

.whatsapp-float{
    position:fixed;
    bottom:30px;
    right:30px;

    width:60px;
    height:60px;

    background:linear-gradient(#25D366,#128C7E);

    border-radius:50%;

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

    color:white;
    font-size:1.8rem;

    box-shadow:var(--shadow-lg);
}

/* =========================
   MOBILE
   ========================= */

@media (max-width:768px){

.menu-toggle{
display:flex;
}

.nav-menu{
position:fixed;
top:80px;
left:-100%;
width:100%;
height:calc(100vh - 80px);
background:white;
flex-direction:column;
padding-top:40px;
}

.nav-menu.active{
left:0;
}

.hero-title{
font-size:2.2rem;
}

.title-highlight{
font-size:1.8rem;
}

.hero-message{
font-size:1rem;
padding:15px 18px;
line-height:1.8;
}

.services-grid,
.features-grid,
.industries-grid,
.why-choose-grid{
grid-template-columns:1fr;
}

}