/* ====================================
   GOOGLE FONT
==================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ====================================
   ROOT VARIABLES
==================================== */
:root{
    --primary:#0f172a;
    --secondary:#2563eb;
    --secondary-dark:#1d4ed8;
    --light:#ffffff;
    --gray:#64748b;
    --border:#e2e8f0;
    --bg-light:#f8fafc;

    --shadow-sm:0 5px 20px rgba(0,0,0,0.05);
    --shadow-md:0 12px 35px rgba(0,0,0,0.08);
    --shadow-lg:0 20px 45px rgba(37,99,235,0.15);

    --radius:20px;
    --transition:0.35s ease;
}

/* ====================================
   GLOBAL STYLES
==================================== */
html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg-light);
    color:#1e293b;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

section{
    padding:100px 0;
    position:relative;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
}

/* ====================================
   HERO SECTION
==================================== */
.webdev-hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(
        135deg,
        #eff6ff 0%,
        #ffffff 50%,
        #f8fafc 100%
    );

    overflow:hidden;
    position:relative;
}

.webdev-hero::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(37,99,235,0.08);
    border-radius:50%;
    top:-220px;
    right:-150px;
    filter:blur(40px);
}

.webdev-hero::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(59,130,246,0.06);
    border-radius:50%;
    bottom:-150px;
    left:-100px;
    filter:blur(40px);
}

.hero-badge{
    display:inline-block;
    background:#dbeafe;
    color:var(--secondary);
    padding:10px 20px;
    border-radius:50px;
    font-size:0.9rem;
    font-weight:600;
    margin-bottom:20px;
}

.hero h1{
    font-size:4rem;
    font-weight:800;
    line-height:1.15;
    color:var(--primary);
    margin-bottom:22px;
}

.hero p{
    color:var(--gray);
    font-size:1.05rem;
    line-height:1.9;
    margin-bottom:35px;
    max-width:620px;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-btn{
    padding:15px 34px;
    border-radius:14px;
    font-weight:600;
    transition:var(--transition);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.btn-main{
    background:var(--secondary);
    color:#fff;
    box-shadow:0 10px 25px rgba(37,99,235,0.25);
}

.btn-main:hover{
    background:var(--secondary-dark);
    color:#fff;
    transform:translateY(-4px);
}

.btn-light-custom{
    background:#fff;
    border:1px solid var(--border);
    color:var(--primary);
}

.btn-light-custom:hover{
    background:#f1f5f9;
    transform:translateY(-4px);
    color:var(--primary);
}

.hero img{
    max-width:450px;
    animation:float 4s ease-in-out infinite;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,0.08));
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }
}

/* ====================================
   SECTION TITLE
==================================== */
.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:2.8rem;
    font-weight:800;
    color:var(--primary);
    margin-bottom:18px;
}

.section-title p{
    color:var(--gray);
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

/* ====================================
   SERVICE CARDS
==================================== */
.service-card{
    background:#fff;
    border-radius:var(--radius);
    padding:40px 30px;
    border:1px solid var(--border);
    transition:var(--transition);
    position:relative;
    overflow:hidden;
    height:100%;
    box-shadow:var(--shadow-sm);
}

.service-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        135deg,
        rgba(37,99,235,0.04),
        transparent
    );

    opacity:0;
    transition:0.4s;
}

.service-card:hover::before{
    opacity:1;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:var(--shadow-lg);
}

.service-icon{
    width:85px;
    height:85px;
    border-radius:22px;
    background:#eff6ff;
    color:var(--secondary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:2rem;
    margin-bottom:25px;
    transition:0.4s;
}

.service-card:hover .service-icon{
    background:var(--secondary);
    color:#fff;
    transform:rotate(-5deg) scale(1.05);
}

.service-card h4{
    font-size:1.35rem;
    font-weight:700;
    color:var(--primary);
    margin-bottom:15px;
}

.service-card p{
    color:var(--gray);
    line-height:1.8;
    margin-bottom:0;
}

/* ====================================
   TECHNOLOGY SECTION
==================================== */
.technologies-section{
    background:#ffffff;
}

.tech-card{
    background:#fff;
    border-radius:20px;
    padding:35px 20px;
    text-align:center;
    border:1px solid var(--border);
    transition:var(--transition);
    box-shadow:var(--shadow-sm);
    height:100%;
}

.tech-card:hover{
    transform:translateY(-8px);
    box-shadow:var(--shadow-md);
}

.tech-card i{
    font-size:3rem;
    color:var(--secondary);
    margin-bottom:18px;
    display:block;
}

.tech-card h5{
    font-weight:600;
    margin-bottom:0;
    color:var(--primary);
}

/* ====================================
   ABOUT SECTION
==================================== */
.about{
    background:#fff;
}

.about img{
    border-radius:25px;
    box-shadow:var(--shadow-md);
}

.about-content h2{
    font-size:2.7rem;
    font-weight:800;
    margin-bottom:25px;
    color:var(--primary);
}

.about-content p{
    color:var(--gray);
    line-height:1.9;
}

.feature-item{
    display:flex;
    align-items:center;
    margin-top:18px;
    font-weight:500;
}

.feature-item i{
    color:var(--secondary);
    font-size:1.2rem;
    margin-right:12px;
}

/* ====================================
   CONTACT SECTION
==================================== */
.contact-box{
    background:#fff;
    padding:55px;
    border-radius:28px;
    box-shadow:var(--shadow-md);
    border:1px solid var(--border);
}

.form-control{
    height:58px;
    border-radius:14px;
    border:1px solid #dbe2ea;
    padding:12px 18px;
    margin-bottom:20px;
    box-shadow:none !important;
    transition:0.3s;
}

textarea.form-control{
    height:auto;
    resize:none;
}

.form-control:focus{
    border-color:var(--secondary);
    box-shadow:0 0 0 4px rgba(37,99,235,0.1) !important;
}

.btn-submit{
    background:var(--secondary);
    color:#fff;
    border:none;
    padding:15px 40px;
    border-radius:14px;
    font-weight:600;
    transition:var(--transition);
}

.btn-submit:hover{
    background:var(--secondary-dark);
    transform:translateY(-3px);
}

/* ====================================
   RESPONSIVE DESIGN
==================================== */
@media(max-width:1200px){

    .hero h1{
        font-size:3.3rem;
    }
}

@media(max-width:991px){

    section{
        padding:80px 0;
    }

    .hero{
        text-align:center;
        padding-top:120px;
    }

    .hero h1{
        font-size:2.8rem;
    }

    .hero p{
        margin:auto auto 30px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero img{
        margin:auto;
        margin-top:50px;
    }

    .section-title h2{
        font-size:2.3rem;
    }

    .about-content{
        text-align:center;
        margin-top:40px;
    }

    .feature-item{
        justify-content:center;
    }
}

@media(max-width:576px){

    section{
        padding:70px 0;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero p{
        font-size:0.95rem;
    }

    .section-title h2{
        font-size:2rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .hero-btn{
        width:100%;
    }

    .contact-box{
        padding:30px 20px;
    }

    .service-card,
    .tech-card{
        padding:30px 22px;
    }
}