/*==================================================
    WebSuites - Premium Agency Website
    STYLE.CSS
    PART 1A
==================================================*/

/*==============================
GOOGLE FONT
==============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#071321;
    color:#fff;
    line-height:1.7;
    overflow-x:hidden;
}

/*==============================
CUSTOM SCROLLBAR
==============================*/
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#071321;
}

::-webkit-scrollbar-thumb{
    background:#1d8cff;
    border-radius:30px;
}

::-webkit-scrollbar-thumb:hover{
    background:#46a6ff;
}

/*==============================
ROOT VARIABLES
==============================*/
:root{

    --primary:#1d8cff;
    --primary-light:#4da9ff;
    --primary-dark:#156fd3;

    --bg:#071321;
    --bg-light:#0d2038;

    --card:rgba(18,38,63,.75);

    --text:#b8c7d8;

    --white:#ffffff;

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

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

    --radius:22px;

    --transition:.35s ease;

}

/*==============================
GLOBAL
==============================*/

img{
    max-width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

button,
input,
textarea,
select{
    font-family:inherit;
}

/*==============================
CONTAINER
==============================*/

.container{

    width:min(1280px,92%);
    margin:auto;

}

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

section{

    padding:120px 0;

}

.section-heading{

    text-align:center;
    margin-bottom:70px;

}

.section-heading span{

    color:var(--primary);

    text-transform:uppercase;

    font-size:15px;

    letter-spacing:2px;

    font-weight:700;

}

.section-heading h2{

    font-size:48px;

    margin:18px 0;

    line-height:1.2;

}

.section-heading p{

    color:var(--text);

    max-width:720px;

    margin:auto;

}

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

.btn{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    padding:16px 34px;

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

    color:#fff;

    border:none;

    border-radius:100px;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:var(--transition);

    box-shadow:0 15px 35px rgba(29,140,255,.25);

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 45px rgba(29,140,255,.45);

}

.btn-outline{

    background:transparent;

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

    box-shadow:none;

}

.btn-outline:hover{

    background:var(--primary);

}

/*==============================
GLASS CARD
==============================*/

.glass-card{

    background:var(--card);

    backdrop-filter:blur(18px);

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

    border-radius:var(--radius);

    padding:35px;

    transition:var(--transition);

}

.glass-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

/*==============================
UTILITY
==============================*/

.text-center{

    text-align:center;

}

.mt-1{margin-top:20px;}
.mt-2{margin-top:40px;}
.mt-3{margin-top:60px;}

.mb-1{margin-bottom:20px;}
.mb-2{margin-bottom:40px;}
.mb-3{margin-bottom:60px;}

/*==============================
BACKGROUND DECORATION
==============================*/

body::before{

    content:"";

    position:fixed;

    top:-250px;

    right:-200px;

    width:600px;

    height:600px;

    background:radial-gradient(circle,
        rgba(29,140,255,.20),
        transparent 70%);

    z-index:-2;

}

body::after{

    content:"";

    position:fixed;

    bottom:-300px;

    left:-250px;

    width:650px;

    height:650px;

    background:radial-gradient(circle,
        rgba(29,140,255,.15),
        transparent 70%);

    z-index:-2;

}
/*==================================================
        PART 2
HEADER • NAVIGATION • HERO
==================================================*/

/*==============================
HEADER
==============================*/

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    transition:.4s ease;

    background:rgba(7,19,33,.75);

    backdrop-filter:blur(18px);

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

}

header.scrolled{

    background:#071321;

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

}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

/*==============================
LOGO
==============================*/

.logo{

    font-size:34px;

    font-weight:800;

    color:#fff;

    letter-spacing:.5px;

}

.logo span{

    color:var(--primary);

}

/*==============================
NAVIGATION
==============================*/

nav{

    display:flex;

    align-items:center;

    gap:40px;

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links li{

    position:relative;

}

.nav-links a{

    color:#fff;

    font-size:15px;

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:var(--primary);

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.35s;

}

.nav-links a:hover::after{

    width:100%;

}

/*==============================
NAV BUTTON
==============================*/

.nav-btn{

    margin-left:10px;

}

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

.menu-btn{

    display:none;

    font-size:30px;

    color:#fff;

    cursor:pointer;

}

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

.hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

    background:

    radial-gradient(circle at top right,
    rgba(29,140,255,.18),
    transparent 35%),

    radial-gradient(circle at bottom left,
    rgba(29,140,255,.12),
    transparent 40%),

    linear-gradient(
        180deg,
        #071321,
        #08192b
    );

}

.hero::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:#1d8cff;

    filter:blur(180px);

    opacity:.18;

    top:-180px;

    right:-150px;

    border-radius:50%;

}

.hero::after{

    content:"";

    position:absolute;

    width:400px;

    height:400px;

    background:#1d8cff;

    filter:blur(180px);

    opacity:.12;

    left:-180px;

    bottom:-180px;

    border-radius:50%;

}

.hero-content{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

}

/*==============================
LEFT SIDE
==============================*/

.hero-left{

    position:relative;

    z-index:2;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:rgba(29,140,255,.12);

    border:1px solid rgba(29,140,255,.25);

    color:#7bc0ff;

    padding:12px 22px;

    border-radius:100px;

    margin-bottom:25px;

}

.hero-left h1{

    font-size:70px;

    line-height:1.05;

    margin-bottom:25px;

}

.hero-left h1 span{

    color:var(--primary);

}

.hero-left p{

    font-size:18px;

    color:var(--text);

    margin-bottom:35px;

    max-width:620px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

/*==============================
STATS
==============================*/

.hero-stats{

    display:flex;

    gap:50px;

    margin-top:60px;

}

.hero-stat h2{

    font-size:40px;

    color:var(--primary);

}

.hero-stat p{

    margin-top:6px;

    color:var(--text);

    font-size:15px;

}

/*==============================
RIGHT SIDE
==============================*/

.hero-right{

    position:relative;

}

.hero-image{

    position:relative;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 35px 80px rgba(0,0,0,.45);

}

.hero-image img{

    width:100%;

    display:block;

}

/*==============================
FLOATING CARD
==============================*/

.floating-card{

    position:absolute;

    background:rgba(18,38,63,.88);

    backdrop-filter:blur(15px);

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

    border-radius:20px;

    padding:18px 22px;

    box-shadow:0 20px 40px rgba(0,0,0,.3);

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

}

.floating-card h4{

    color:#fff;

    margin-bottom:5px;

}

.floating-card p{

    color:var(--text);

    font-size:14px;

}

.card-one{

    top:40px;

    left:-40px;

}

.card-two{

    bottom:40px;

    right:-30px;

}

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

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

100%{

transform:translateY(0);

}

}
/*==================================================
        PART 3
TRUST • SERVICES • ABOUT • PROCESS
==================================================*/

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

.trust{

    background:var(--bg-light);

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

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

    padding:70px 0;

}

.trust-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    flex-wrap:wrap;

}

.trust-text h3{

    font-size:34px;

    margin-bottom:10px;

}

.trust-text p{

    color:var(--text);

}

.trust-logos{

    display:flex;

    gap:40px;

    flex-wrap:wrap;

    align-items:center;

}

.trust-logos img{

    height:45px;

    opacity:.65;

    transition:.35s;

    filter:grayscale(100%);

}

.trust-logos img:hover{

    opacity:1;

    filter:none;

    transform:scale(1.08);

}

/*==============================
SERVICES
==============================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:var(--card);

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

    border-radius:24px;

    padding:40px 35px;

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.service-card::before{

    content:"";

    position:absolute;

    top:-100px;

    right:-100px;

    width:220px;

    height:220px;

    background:rgba(29,140,255,.12);

    border-radius:50%;

    transition:.4s;

}

.service-card:hover::before{

    transform:scale(1.3);

}

.service-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

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

}

.service-icon{

    width:75px;

    height:75px;

    border-radius:20px;

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

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:30px;

    margin-bottom:25px;

}

.service-card h3{

    margin-bottom:18px;

    font-size:25px;

}

.service-card p{

    color:var(--text);

    margin-bottom:25px;

}

.service-card a{

    color:var(--primary);

    font-weight:600;

}

.service-card a:hover{

    letter-spacing:1px;

}

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

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image{

    position:relative;

}

.about-image img{

    border-radius:30px;

    box-shadow:0 30px 70px rgba(0,0,0,.4);

}

.about-content h2{

    font-size:46px;

    margin-bottom:20px;

}

.about-content p{

    color:var(--text);

    margin-bottom:20px;

}

.about-list{

    display:grid;

    gap:18px;

    margin:35px 0;

}

.about-list li{

    display:flex;

    gap:15px;

    align-items:flex-start;

}

.about-list i{

    color:var(--primary);

    font-size:22px;

    margin-top:3px;

}

/*==============================
PROCESS
==============================*/

.process{

    background:var(--bg-light);

}

.process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.process-card{

    text-align:center;

    background:var(--card);

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

    padding:40px 25px;

    border-radius:25px;

    transition:.35s;

}

.process-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

}

.process-number{

    width:70px;

    height:70px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

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

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    font-weight:700;

}

.process-card h3{

    margin-bottom:15px;

    font-size:24px;

}

.process-card p{

    color:var(--text);

}

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

.services,
.about,
.process{

    position:relative;

    overflow:hidden;

}

.services::before,
.about::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:rgba(29,140,255,.05);

    filter:blur(120px);

    top:-200px;

    right:-200px;

    z-index:0;

}

.services .container,
.about .container,
.process .container{

    position:relative;

    z-index:2;

}
/*==================================================
        PART 4
PORTFOLIO • PRICING • TESTIMONIALS • CTA
==================================================*/

/*==============================
PORTFOLIO
==============================*/

.portfolio-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.portfolio-card{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    background:#111;

    cursor:pointer;

    box-shadow:var(--shadow);

}

.portfolio-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.5s;

}

.portfolio-card:hover img{

    transform:scale(1.08);

}

.portfolio-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(7,19,33,.96),
        rgba(7,19,33,.15)
    );

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:35px;

    opacity:0;

    transition:.4s;

}

.portfolio-card:hover .portfolio-overlay{

    opacity:1;

}

.portfolio-overlay h3{

    font-size:28px;

    margin-bottom:10px;

}

.portfolio-overlay p{

    color:var(--text);

    margin-bottom:18px;

}

.portfolio-overlay a{

    color:var(--primary);

    font-weight:600;

}

/*==============================
PRICING
==============================*/

.pricing{

    background:var(--bg-light);

}

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.price-card{

    position:relative;

    padding:45px 35px;

    border-radius:26px;

    background:var(--card);

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

    transition:.35s;

}

.price-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

}

.price-card.featured{

    transform:scale(1.05);

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

    box-shadow:0 25px 60px rgba(29,140,255,.25);

}

.price-badge{

    position:absolute;

    top:22px;

    right:22px;

    background:var(--primary);

    color:#fff;

    padding:8px 16px;

    border-radius:50px;

    font-size:13px;

    font-weight:600;

}

.price-card h3{

    font-size:30px;

    margin-bottom:15px;

}

.price{

    font-size:52px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:8px;

}

.price span{

    font-size:18px;

    color:var(--text);

}

.price-card p{

    color:var(--text);

    margin-bottom:30px;

}

.price-features{

    display:grid;

    gap:16px;

    margin-bottom:35px;

}

.price-features li{

    display:flex;

    align-items:center;

    gap:12px;

}

.price-features i{

    color:var(--primary);

}

/*==============================
TESTIMONIALS
==============================*/

.testimonials-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.testimonial-card{

    padding:35px;

    background:var(--card);

    border-radius:24px;

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

    transition:.35s;

}

.testimonial-card:hover{

    transform:translateY(-10px);

}

.testimonial-stars{

    color:#FFD54F;

    margin-bottom:20px;

}

.testimonial-card p{

    color:var(--text);

    margin-bottom:25px;

}

.client{

    display:flex;

    align-items:center;

    gap:15px;

}

.client img{

    width:65px;

    height:65px;

    border-radius:50%;

    object-fit:cover;

}

.client h4{

    margin-bottom:4px;

}

.client span{

    color:var(--text);

    font-size:14px;

}

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

.cta{

    padding:120px 0;

}

.cta-box{

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

    border-radius:35px;

    padding:80px 60px;

    text-align:center;

    box-shadow:0 30px 70px rgba(29,140,255,.30);

}

.cta-box h2{

    font-size:54px;

    margin-bottom:20px;

}

.cta-box p{

    max-width:700px;

    margin:auto;

    margin-bottom:40px;

    color:#e8f4ff;

    font-size:18px;

}

.cta-box .btn{

    background:#fff;

    color:#111;

}

.cta-box .btn:hover{

    background:#f3f3f3;

}

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

.portfolio,
.pricing,
.testimonials,
.cta{

    position:relative;

    overflow:hidden;

}

.portfolio::before,
.pricing::before{

    content:"";

    position:absolute;

    width:450px;

    height:450px;

    background:rgba(29,140,255,.05);

    border-radius:50%;

    filter:blur(120px);

    left:-200px;

    bottom:-200px;

}

.portfolio .container,
.pricing .container,
.testimonials .container,
.cta .container{

    position:relative;

    z-index:2;

}
/*==================================================
        PART 5
FAQ • CONTACT • QUOTE POPUP • FOOTER
==================================================*/

/*==============================
FAQ
==============================*/

.faq{

    background:var(--bg-light);

}

.faq-container{

    max-width:900px;

    margin:auto;

}

.faq-item{

    background:var(--card);

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

    border-radius:18px;

    margin-bottom:20px;

    overflow:hidden;

    transition:.3s;

}

.faq-item:hover{

    border-color:var(--primary);

}

.faq-question{

    width:100%;

    background:none;

    border:none;

    color:#fff;

    font-size:18px;

    font-weight:600;

    padding:22px 28px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

}

.faq-question i{

    transition:.35s;

}

.faq-item.active i{

    transform:rotate(180deg);

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .4s ease;

}

.faq-answer p{

    padding:0 28px 25px;

    color:var(--text);

    line-height:1.8;

}

/*==============================
CONTACT
==============================*/

.contact-grid{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:40px;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:25px;

}

.info-card{

    background:var(--card);

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

    border-radius:20px;

    padding:25px;

}

.info-card i{

    color:var(--primary);

    font-size:28px;

    margin-bottom:15px;

}

.info-card h3{

    margin-bottom:10px;

}

.info-card p{

    color:var(--text);

}

.contact-form{

    background:var(--card);

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

    border-radius:24px;

    padding:40px;

}

.contact-form form{

    display:grid;

    gap:18px;

}

.contact-form input,

.contact-form textarea,

.contact-form select{

    width:100%;

    padding:16px 18px;

    background:#081425;

    color:#fff;

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

    border-radius:12px;

    outline:none;

    transition:.3s;

}

.contact-form input:focus,

.contact-form textarea:focus,

.contact-form select:focus{

    border-color:var(--primary);

}

.contact-form textarea{

    resize:vertical;

    min-height:180px;

}

/*==============================
QUOTE POPUP
==============================*/

.quote-popup{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.75);

    backdrop-filter:blur(8px);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9999;

}

.quote-popup.active{

    opacity:1;

    visibility:visible;

}

.popup-box{

    width:min(650px,92%);

    background:#08192b;

    border-radius:25px;

    padding:45px;

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

    position:relative;

    animation:popup .35s ease;

}

@keyframes popup{

from{

transform:translateY(40px);

opacity:0;

}

to{

transform:translateY(0);

opacity:1;

}

}

.close-popup{

    position:absolute;

    top:18px;

    right:20px;

    font-size:34px;

    cursor:pointer;

    color:#fff;

}

.popup-box h2{

    margin-bottom:25px;

    text-align:center;

}

.popup-box form{

    display:grid;

    gap:18px;

}

.popup-box input,

.popup-box textarea,

.popup-box select{

    width:100%;

    padding:16px;

    border-radius:12px;

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

    background:#071321;

    color:#fff;

    outline:none;

}

.popup-box textarea{

    min-height:170px;

    resize:vertical;

}

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

footer{

    background:#050f1b;

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

    padding:70px 0 30px;

}

.footer-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

    margin-bottom:60px;

}

.footer-logo{

    font-size:34px;

    font-weight:800;

}

.footer-logo span{

    color:var(--primary);

}

.footer-column h3{

    margin-bottom:20px;

}

.footer-column ul{

    display:grid;

    gap:12px;

}

.footer-column a{

    color:var(--text);

    transition:.3s;

}

.footer-column a:hover{

    color:var(--primary);

    padding-left:6px;

}

.socials{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.socials a{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

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

    transition:.3s;

}

.socials a:hover{

    background:var(--primary);

    transform:translateY(-5px);

}

.footer-bottom{

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

    padding-top:25px;

    text-align:center;

    color:var(--text);

}
/*==================================================
        PART 6
RESPONSIVE • ANIMATIONS • FINAL POLISH
==================================================*/

/*==============================
FADE ANIMATION
==============================*/

.fade-up{

    opacity:0;

    transform:translateY(40px);

    transition:all .8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}

/*==============================
BUTTON RIPPLE
==============================*/

.btn{

    position:relative;

    overflow:hidden;

}

.btn::before{

    content:"";

    position:absolute;

    width:0;

    height:0;

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

    border-radius:50%;

    transform:translate(-50%,-50%);

    transition:.6s;

}

.btn:hover::before{

    width:350px;

    height:350px;

}

/*==============================
IMAGE HOVER
==============================*/

img{

    transition:.4s;

}

.service-card:hover img,
.portfolio-card:hover img{

    transform:scale(1.06);

}

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

::selection{

    background:var(--primary);

    color:#fff;

}

/*==============================
LOADER
==============================*/

.loader{

    position:fixed;

    inset:0;

    background:#071321;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.5s;

}

.loader.hidden{

    opacity:0;

    visibility:hidden;

}

.loader span{

    width:65px;

    height:65px;

    border-radius:50%;

    border:6px solid rgba(255,255,255,.15);

    border-top-color:var(--primary);

    animation:spin 1s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/*==============================
BACK TO TOP
==============================*/

.back-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:52px;

    height:52px;

    border-radius:50%;

    background:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

/*==============================
TABLET
==============================*/

@media(max-width:1100px){

.hero-content,
.about-grid,
.contact-grid{

grid-template-columns:1fr;

}

.process-grid{

grid-template-columns:repeat(2,1fr);

}

.services-grid,
.portfolio-grid,
.pricing-grid,
.testimonials-grid{

grid-template-columns:repeat(2,1fr);

}

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

.hero{

text-align:center;

}

.hero-buttons,
.hero-stats{

justify-content:center;

}

.hero-left h1{

font-size:56px;

}

}

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

@media(max-width:900px){

.menu-btn{

display:block;

}

.nav-links{

position:fixed;

top:90px;

right:-100%;

width:300px;

height:calc(100vh - 90px);

background:#08192b;

flex-direction:column;

padding:45px;

transition:.4s;

gap:25px;

}

.nav-links.active{

right:0;

}

.nav-btn{

display:none;

}

}

/*==============================
PHONE
==============================*/

@media(max-width:768px){

section{
padding:80px 0;
}

.section-heading h2{
font-size:36px;
}

.hero-left h1{
font-size:44px;
}

.hero-left p{
font-size:16px;
}

.hero-stats{
flex-direction:column;
gap:25px;
}

/* 2 Cards Per Row */

.services-grid,
.process-grid,
.portfolio-grid,
.pricing-grid,
.testimonials-grid{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;

}

/* Keep Footer One Column */

.footer-grid{
grid-template-columns:1fr;
}

.popup-box{
padding:30px;
}

.contact-form{
padding:25px;
}

}

/*==============================
SMALL PHONES
==============================*/

@media(max-width:500px){

.container{
width:94%;
}

.hero{
padding-top:120px;
}

.hero-left h1{
font-size:36px;
}

.section-heading h2{
font-size:30px;
}

.btn{
width:100%;
}

.hero-buttons{
flex-direction:column;
}

.hero-image{
display:none;
}

.floating-card{
display:none;
}

.logo{
font-size:28px;
}

/* Still Keep 2 Cards */

.services-grid,
.process-grid,
.portfolio-grid,
.pricing-grid,
.testimonials-grid{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;

}

}

/* ===========================
   CONTACT PAGE FIX
=========================== */

#contactForm{
    display:flex;
    flex-direction:column;
    gap:18px;
    width:100%;
}

#contactForm input,
#contactForm select,
#contactForm textarea{
    width:100%;
    padding:16px;
    background:#131f33;
    border:1px solid rgba(255,255,255,.08);
    border-radius:12px;
    color:#fff;
    font-size:15px;
    outline:none;
    transition:.3s;
    box-sizing:border-box;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus{
    border-color:#3b82f6;
    box-shadow:0 0 15px rgba(59,130,246,.25);
}

#contactForm textarea{
    resize:vertical;
    min-height:180px;
}

#contactForm button{
    width:100%;
}
.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:50px;
    width:auto;
    display:block;
}
/* =========================================================
   WEBSUITES MOBILE FINAL POLISH
========================================================= */

@media (max-width: 700px) {

    /* ---------- HEADER ---------- */

    .site-header,
    .navbar {
        min-height: 68px;
    }

    .navigation-wrapper,
    .nav-inner {
        min-height: 68px;
        padding: 0 4px;
    }

    /* Bigger WebSuites logo */
    .site-logo,
    .logo {
        gap: 10px;
    }

    .logo-symbol,
    .logo-mark {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px;
        border-radius: 13px;
    }

    .logo-symbol span,
    .logo-mark {
        font-size: 17px;
    }

    .logo-content strong,
    .logo-text strong {
        font-size: 16px;
    }

    .logo-content small,
    .logo-text span {
        font-size: 9px;
    }

    .mobile-menu-button,
    .menu-button {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }


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

    .hero,
    .hero-section {
        padding: 24px 0 42px;
    }

    .hero-layout,
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
        align-items: stretch;
    }

    .hero-copy,
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero-label,
    .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
        font-size: 9px;
        padding: 8px 11px;
    }

    .hero-copy h1,
    .hero h1 {
        font-size: 38px !important;
        line-height: .98;
        letter-spacing: -1.7px;
        margin-bottom: 14px;
    }

    .hero-description,
    .hero p {
        max-width: 100%;
        font-size: 11px !important;
        line-height: 1.65;
        margin-bottom: 18px;
    }

    .hero-actions {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .hero-actions .button,
    .hero-actions .primary-button,
    .hero-actions .secondary-button {
        width: 100%;
        min-height: 44px;
    }


    /* ---------- HERO IMAGE NOW VISIBLE ---------- */

    .hero-visual {
        display: block !important;
        width: 100%;
        max-width: 100%;
        order: 2;
        margin-top: 2px;
    }

    .hero-main-image {
        display: block !important;
        width: 100%;
        height: auto;
        border-radius: 18px;
        overflow: hidden;
    }

    .hero-main-image img {
        display: block !important;
        width: 100%;
        height: 235px !important;
        object-fit: cover;
    }

    .hero-floating-card,
    .hero-floating-card-one,
    .hero-floating-card-two {
        display: none !important;
    }


    /* ---------- MOVE STATS DOWN ---------- */

    .hero-stats,
    .hero-mini-statistics {
        justify-content: center;
        margin-top: 18px;
        gap: 14px;
    }

    .hero-stats > div,
    .hero-mini-stat {
        padding-left: 10px;
    }

    .hero-stats strong,
    .hero-mini-stat strong {
        font-size: 15px;
    }

    .hero-stats span,
    .hero-mini-stat span {
        font-size: 8px;
    }

    .hero-review {
        justify-content: center;
        margin-top: 18px;
    }


    /* =====================================================
       HOME PAGE SERVICE CARDS
       Keep 2 columns on mobile
    ===================================================== */

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .service-card {
        min-width: 0;
        border-radius: 13px;
    }

    .service-card img {
        width: 100%;
        height: 115px !important;
        object-fit: cover;
    }

    .service-content {
        padding: 11px !important;
    }

    .service-content h3 {
        font-size: 12px !important;
        line-height: 1.3;
    }

    .service-content p {
        font-size: 8px !important;
        line-height: 1.5;
    }

    .service-content a {
        font-size: 8px;
    }


    /* =====================================================
       SERVICES PAGE
       ONLY 1 CARD PER ROW
    ===================================================== */

    body:has(.full-services-grid) .full-services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    body:has(.full-services-grid) .large-service-card {
        width: 100%;
        display: grid;
        grid-template-columns: 42% 58%;
        min-height: 185px;
        border-radius: 16px;
    }

    body:has(.full-services-grid) .large-service-image {
        height: 100% !important;
        min-height: 185px;
    }

    body:has(.full-services-grid) .large-service-image img {
        height: 100% !important;
        object-fit: cover;
    }

    body:has(.full-services-grid) .large-service-content {
        padding: 17px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body:has(.full-services-grid) .large-service-content h3 {
        font-size: 16px !important;
        margin-bottom: 6px;
    }

    body:has(.full-services-grid) .large-service-content p {
        font-size: 10px !important;
        line-height: 1.55;
    }

    body:has(.full-services-grid) .large-service-content ul {
        margin: 8px 0;
    }

    body:has(.full-services-grid) .large-service-content li {
        font-size: 8px;
        margin-bottom: 4px;
    }

    body:has(.full-services-grid) .service-action {
        font-size: 9px;
        margin-top: 6px;
    }

    body:has(.full-services-grid) .full-service-icon,
    body:has(.full-services-grid) .service-icon {
        width: 35px;
        height: 35px;
        font-size: 15px;
        margin-bottom: 8px;
    }


    /* =====================================================
       GENERAL MOBILE SPACING
    ===================================================== */

    .container {
        width: 92% !important;
        max-width: 92% !important;
    }

    .content-section,
    .section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: 28px !important;
    }

    .section-heading p {
        font-size: 10px;
    }


    /* Prevent horizontal scrolling */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .hero,
    .hero-section,
    .content-section,
    .section,
    .site-header,
    footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    iframe,
    video {
        max-width: 100%;
    }
}


/* =========================================================
   EXTRA SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .logo-symbol,
    .logo-mark {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px;
    }

    .logo-content strong,
    .logo-text strong {
        font-size: 15px;
    }

    .hero-copy h1,
    .hero h1 {
        font-size: 35px !important;
    }

    .hero-main-image img {
        height: 210px !important;
    }

}
/* =========================================================
   WEBSUITES MOBILE MASTER FIX
   This block intentionally overrides older responsive rules.
========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
}

/* ---------- HEADER ---------- */
@media (max-width: 768px) {

  header {
    min-height: 72px;
  }

  .header-container {
    width: 92%;
    height: 72px;
    margin: 0 auto;
  }

  .logo {
    display: flex;
    align-items: center;
    min-width: 0;
    font-size: 0;
  }

  .logo img {
    width: auto !important;
    height: 54px !important;
    max-height: 54px;
    object-fit: contain;
  }

  .menu-btn {
    display: block !important;
    flex: 0 0 auto;
    font-size: 28px;
    line-height: 1;
    padding: 4px;
    background: transparent;
    border: 0;
    color: #fff;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: min(320px, 88vw);
    height: calc(100dvh - 72px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #08192b;
    border-left: 1px solid rgba(255,255,255,.08);
    box-shadow: -20px 0 40px rgba(0,0,0,.25);
    padding: 28px 22px 35px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transition: right .28s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 2px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-btn {
    display: none !important;
  }

  /* ---------- GLOBAL CONTAINER ---------- */
  .container {
    width: 92% !important;
    max-width: 92% !important;
    margin-left: auto;
    margin-right: auto;
  }

  section {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  /* ---------- HERO ---------- */
  .hero {
    min-height: auto;
    padding: 92px 0 62px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .hero-left {
    width: 100%;
    text-align: center;
  }

  .hero-badge {
    justify-content: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 14px;
    font-size: 10px;
  }

  .hero-left h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
  }

  .hero-left p {
    max-width: 100%;
    font-size: 12px !important;
    line-height: 1.7;
    margin: 0 auto 20px;
  }

  .hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .hero-stat {
    min-width: 0;
    padding: 0 6px;
  }

  .hero-stat h2 {
    font-size: 22px;
  }

  .hero-stat p {
    font-size: 8px;
    line-height: 1.35;
    margin: 4px 0 0;
  }

  .hero-right {
    display: block !important;
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .hero-image {
    display: block !important;
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
    overflow: hidden;
  }

  .hero-image img {
    display: block !important;
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .floating-card {
    display: none !important;
  }

  /* ---------- SECTION HEADINGS ---------- */
  .section-heading {
    max-width: 100%;
    margin-bottom: 28px;
    text-align: center;
  }

  .section-heading h2 {
    font-size: 30px !important;
    line-height: 1.12;
  }

  .section-heading p {
    font-size: 11px;
    line-height: 1.65;
  }

  /* ---------- SERVICES ON HOME: 2 PER ROW ---------- */
  .home-page .services-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
  }

  .home-page .service-card {
    padding: 16px 13px;
    min-width: 0;
    border-radius: 15px;
  }

  .home-page .service-icon {
    width: 44px;
    height: 44px;
    font-size: 19px;
    margin-bottom: 13px;
  }

  .home-page .service-card h3 {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  .home-page .service-card p {
    font-size: 9px;
    line-height: 1.55;
    margin-bottom: 10px;
  }

  .home-page .service-card a {
    font-size: 9px;
  }

  /* ---------- SERVICES PAGE: 1 PER ROW ---------- */
  .services-page .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .services-page .service-card {
    width: 100%;
    display: grid;
    grid-template-columns: 38% 62%;
    align-items: stretch;
    min-height: 160px;
    padding: 0;
    border-radius: 16px;
  }

  .services-page .service-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .services-page .service-card > .service-icon {
    grid-column: 2;
    grid-row: 1;
  }

  .services-page .service-card > div:not(.service-icon) {
    grid-column: 2;
  }

  .services-page .service-card > img {
    grid-column: 1;
    grid-row: 1 / span 5;
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
  }

  .services-page .service-card {
    position: relative;
  }

  .services-page .service-card {
    padding: 20px 18px 20px calc(38% + 18px);
  }

  .services-page .service-card:has(img) {
    background: var(--card);
  }

  /* If service page cards don't use images, keep the existing icon/card style. */

  /* ---------- ABOUT / CONTACT MAIN TEXT ---------- */
  .about-page .hero,
  .contact-page .hero {
    min-height: auto;
    padding: 92px 0 62px;
  }

  .about-page .hero-left,
  .contact-page .hero-left {
    text-align: center;
  }

  .about-page .hero-left h1,
  .contact-page .hero-left h1 {
    font-size: clamp(34px, 10vw, 45px) !important;
  }

  .about-page .about-grid,
  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .about-page .about-content h2,
  .contact-page .section-heading h2,
  .contact-page .contact-form h2 {
    font-size: 30px !important;
    line-height: 1.15;
  }

  .about-page .about-content p,
  .contact-page .section-heading p,
  .contact-page .contact-info p {
    font-size: 11px;
    line-height: 1.7;
  }

  .about-page .about-image img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
  }

  .about-page .about-list {
    gap: 12px;
    margin: 24px 0;
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-info,
  .contact-page .contact-form {
    width: 100%;
    min-width: 0;
  }

  .contact-page .contact-form {
    padding: 20px;
  }

  .contact-page .contact-form form {
    gap: 12px;
  }

  /* ---------- OTHER LONG-GRID SECTIONS ---------- */
  .portfolio-grid,
  .pricing-grid,
  .testimonials-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .process-card,
  .portfolio-card,
  .pricing-card,
  .testimonial-card {
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  /* ---------- CONTACT FORM ---------- */
  #contactForm {
    width: 100%;
    min-width: 0;
  }

  #contactForm input,
  #contactForm textarea,
  #contactForm select {
    width: 100%;
    max-width: 100%;
  }

  /* ---------- BACK TOP ---------- */
  .back-top {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .logo img {
    height: 50px !important;
    max-height: 50px;
  }

  .hero {
    padding-top: 88px;
  }

  .hero-left h1 {
    font-size: 34px !important;
  }

  .home-page .services-grid {
    gap: 8px !important;
  }

  .home-page .service-card {
    padding: 13px 10px;
  }

  .home-page .service-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .home-page .service-card h3 {
    font-size: 11px;
  }

  .home-page .service-card p {
    font-size: 8px;
  }

  .home-page .service-card a {
    font-size: 8px;
  }
}

/* =========================================================
   WEBSUITES FINAL RESPONSIVE REPAIR
   Targets the actual classes in this project.
========================================================= */

html, body {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden !important;
}

img, video, iframe, canvas, svg {
  max-width: 100%;
}

.container,
.header-container {
  max-width: 1180px;
  width: 92%;
  margin-inline: auto;
}

/* Prevent animated / wide elements from creating page width */
.hero,
.about,
.services,
.process,
.portfolio,
.pricing,
.testimonials,
.cta,
.faq,
.contact,
header,
footer {
  max-width: 100%;
  overflow-x: clip;
}

/* =========================
   PRICING PAGE
========================= */

.pricing-page .pricing {
  background: #071a33;
  padding: 90px 0;
}

.pricing-page .pricing-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
}

.pricing-page .pricing-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  border-radius: 22px;
  background: #102946;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 18px 45px rgba(0,0,0,.14);
  color: #fff;
}

.pricing-page .pricing-card.featured {
  background: linear-gradient(180deg, #123866, #0e294a);
  border: 2px solid #2486ff;
  box-shadow: 0 22px 55px rgba(23,105,255,.20);
  transform: translateY(-8px);
}

.pricing-page .pricing-header h3 {
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}

.pricing-page .pricing-header .price {
  display: flex;
  flex-direction: column;
  color: #c9d7e9;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 14px;
}

.pricing-page .pricing-header .price span {
  font-family: "Poppins", sans-serif;
  color: #2d8cff;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  margin-top: 6px;
}

.pricing-page .pricing-header p {
  color: #a8bad0;
  font-size: 12px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.pricing-page .pricing-features {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}

.pricing-page .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #d5e1ef;
  font-size: 11px;
  line-height: 1.45;
}

.pricing-page .pricing-features i {
  flex: 0 0 auto;
  color: #54a6ff;
  margin-top: 2px;
}

.pricing-page .pricing-card > .btn {
  margin-top: auto;
  width: 100%;
  min-height: 45px;
}

.pricing-page .popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #1769ff;
  color: #fff;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  z-index: 2;
}

/* Pricing compare/about sections */
.pricing-page .about {
  background: #071a33;
}

.pricing-page .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.pricing-page .about-image {
  overflow: hidden;
  border-radius: 22px;
}

.pricing-page .about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.pricing-page .about-content h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 15px;
}

.pricing-page .about-content p {
  color: #a9bbd1;
  font-size: 12px;
  line-height: 1.7;
}

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

.about-page .hero,
.contact-page .hero,
.services-page .hero,
.pricing-page .hero {
  min-height: 0;
}

.about-page .about,
.about-page .services,
.about-page .process {
  background: #071a33;
}

.about-page .about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.about-page .about-image {
  overflow: hidden;
  border-radius: 22px;
  min-width: 0;
}

.about-page .about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-page .about-content {
  min-width: 0;
  color: #fff;
}

.about-page .about-content h2 {
  color: #fff;
  font-size: 33px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.about-page .about-content p {
  color: #a9bbd1;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-page .about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.about-page .about-highlights > div {
  padding: 15px;
  min-width: 0;
  border-radius: 14px;
  background: #102946;
  border: 1px solid rgba(255,255,255,.08);
}

.about-page .about-highlights h3 {
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 5px;
}

.about-page .about-highlights p {
  color: #91a6c0;
  font-size: 9px;
  margin: 0;
}

.about-page .services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.about-page .service-card {
  min-width: 0;
  padding: 21px;
  border-radius: 17px;
  background: #102946;
  border: 1px solid rgba(255,255,255,.08);
}

.about-page .service-card h3 {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
  margin: 10px 0 7px;
}

.about-page .service-card p {
  color: #9eb1c8;
  font-size: 10px;
  line-height: 1.6;
}

.about-page .process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.about-page .process-card {
  min-width: 0;
  padding: 23px;
  border-radius: 17px;
  background: #102946;
  border: 1px solid rgba(255,255,255,.08);
}

.about-page .process-card h3 {
  color: #fff;
  font-size: 15px;
  margin: 9px 0 6px;
}

.about-page .process-card p {
  color: #9eb1c8;
  font-size: 10px;
  line-height: 1.6;
}

/* =========================
   SERVICES PAGE
========================= */

.services-page .services {
  background: #071a33;
}

.services-page .services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.services-page .service-card {
  min-width: 0;
  padding: 24px;
  border-radius: 18px;
  background: #102946;
  border: 1px solid rgba(255,255,255,.08);
}

.services-page .service-card h3 {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
  margin: 10px 0 8px;
}

.services-page .service-card p {
  color: #9eb1c8;
  font-size: 11px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.services-page .service-card ul {
  color: #ccd8e8;
  font-size: 10px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.services-page .service-card .btn {
  width: 100%;
  margin-top: 8px;
}

.services-page .about {
  background: #081a38;
}

.services-page .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.services-page .about-content {
  min-width: 0;
}

.services-page .about-content h2 {
  color: #fff;
  font-size: 32px;
  line-height: 1.15;
}

.services-page .about-content p {
  color: #9eb1c8;
  font-size: 11px;
  line-height: 1.7;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page .services,
.contact-page .about {
  background: #071a33;
}

.contact-page .services-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.contact-page .service-card {
  min-width: 0;
  padding: 21px;
  background: #102946;
  border-radius: 17px;
  border: 1px solid rgba(255,255,255,.08);
}

.contact-page .service-card h3 {
  color: #fff;
  font-size: 15px;
  margin: 10px 0 6px;
}

.contact-page .service-card p {
  color: #9eb1c8;
  font-size: 10px;
  line-height: 1.6;
}

.contact-page .about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-page .about-content h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-page .about-content p {
  color: #a5b7ce;
  font-size: 11px;
  line-height: 1.7;
}

.contact-page #contactForm {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.contact-page #contactForm .form-group {
  width: 100%;
  min-width: 0;
}

.contact-page #contactForm input,
.contact-page #contactForm select,
.contact-page #contactForm textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #0b203f;
  color: #eef5ff;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  padding: 13px 14px;
}

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

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .container,
  .header-container {
    width: 92% !important;
    max-width: 92% !important;
    min-width: 0 !important;
  }

  header,
  section,
  footer {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  /* Header */
  header .logo {
    min-width: 0;
  }

  header .logo img {
    width: auto !important;
    height: 52px !important;
  }

  header .logo {
    font-size: 0;
  }

  header .menu-btn {
    display: block !important;
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 27px;
  }

  header nav {
    min-width: 0;
  }

  .nav-links {
    position: fixed !important;
    top: 68px !important;
    right: -100% !important;
    width: min(320px, 87vw) !important;
    height: calc(100dvh - 68px) !important;
    padding: 24px 20px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #08192e !important;
    box-shadow: -20px 0 40px rgba(0,0,0,.3) !important;
    border-left: 1px solid rgba(255,255,255,.08) !important;
    transition: right .25s ease !important;
    overflow-y: auto !important;
  }

  .nav-links.active {
    right: 0 !important;
  }

  .nav-links a {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
  }

  /* Mobile hero: stable, no weird squeezing */
  .hero {
    padding: 84px 0 54px !important;
  }

  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 24px !important;
  }

  .hero-left {
    width: 100% !important;
    text-align: center !important;
  }

  .hero-left h1 {
    font-size: 40px !important;
    line-height: 1.03 !important;
    letter-spacing: -1.7px !important;
    max-width: 100% !important;
  }

  .hero-left p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
  }

  .hero-badge {
    max-width: 100%;
    font-size: 9px !important;
  }

  .hero-right {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .hero-image img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  .floating-card {
    display: none !important;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .hero-stat {
    min-width: 0 !important;
  }

  .hero-stat h2 {
    font-size: 21px !important;
  }

  .hero-stat p {
    font-size: 8px !important;
    line-height: 1.35 !important;
  }

  /* Home services remain 2 columns */
  .home-page .services-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 9px !important;
  }

  .home-page .service-card {
    min-width: 0 !important;
    padding: 15px 11px !important;
  }

  .home-page .service-card h3 {
    font-size: 12px !important;
  }

  .home-page .service-card p {
    font-size: 8px !important;
  }

  /* Services page: ONE card per row */
  .services-page .services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .services-page .service-card {
    width: 100% !important;
    min-width: 0 !important;
    padding: 21px !important;
  }

  .services-page .service-card h3 {
    font-size: 16px !important;
  }

  .services-page .service-card p {
    font-size: 10px !important;
  }

  .services-page .service-card li {
    font-size: 9px !important;
  }

  /* About page: single column where needed */
  .about-page .about-grid,
  .about-page .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-page .about-image img {
    height: auto !important;
    max-height: 320px !important;
  }

  .about-page .about-content h2 {
    font-size: 30px !important;
  }

  .about-page .about-content p {
    font-size: 10px !important;
  }

  .about-page .about-highlights {
    grid-template-columns: 1fr 1fr !important;
    gap: 9px !important;
  }

  .about-page .about-highlights > div {
    padding: 13px !important;
  }

  .about-page .services-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .about-page .service-card {
    padding: 18px !important;
  }

  .about-page .process-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Pricing: stack cleanly and prevent clipping */
  .pricing-page .pricing {
    padding: 62px 0 !important;
  }

  .pricing-page .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pricing-page .pricing-card,
  .pricing-page .pricing-card.featured {
    width: 100% !important;
    min-width: 0 !important;
    padding: 27px 22px !important;
    transform: none !important;
  }

  .pricing-page .pricing-card.featured {
    order: -1;
  }

  .pricing-page .pricing-header h3 {
    font-size: 23px !important;
  }

  .pricing-page .pricing-header .price span {
    font-size: 39px !important;
  }

  .pricing-page .pricing-header p {
    font-size: 10px !important;
  }

  .pricing-page .pricing-features li {
    font-size: 9px !important;
    line-height: 1.45 !important;
  }

  .pricing-page .popular-badge {
    top: 13px !important;
    right: 13px !important;
    font-size: 8px !important;
  }

  .pricing-page .pricing-card > .btn {
    width: 100% !important;
  }

  /* Contact */
  .contact-page .services-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .about-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-page .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Other grids */
  .portfolio-grid,
  .testimonials-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Main page headings */
  .section-heading h2 {
    font-size: 28px !important;
  }

  .section-heading p {
    font-size: 10px !important;
  }

  /* Never let a flex/grid child force width */
  .hero-left,
  .hero-right,
  .about-content,
  .about-image,
  .contact-info,
  .contact-form,
  .pricing-card,
  .service-card,
  .portfolio-card,
  .testimonial-card,
  .process-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 390px) {
  .hero-left h1 {
    font-size: 36px !important;
  }

  .pricing-page .pricing-card,
  .pricing-page .pricing-card.featured {
    padding: 23px 18px !important;
  }

  .about-page .about-highlights {
    grid-template-columns: 1fr !important;
  }
}

/* Faster page feel: reduce expensive motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-image img,
  .service-card,
  .portfolio-card,
  .pricing-card,
  .testimonial-card,
  .process-card {
    transition-duration: .18s;
  }
}


/* =========================================================
   SERVICES PAGE — FINAL MOBILE CARD LAYOUT
   Home remains 2-column; Services page is 1-column.
========================================================= */

@media (max-width: 768px) {
  .services-page .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .services-page .service-card,
  .services-page .service-card:hover {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 18px !important;
    margin: 0 !important;
    border-radius: 17px !important;
    transform: none !important;
    background: #102946 !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .services-page .service-card::before {
    top: -90px !important;
    right: -90px !important;
    width: 190px !important;
    height: 190px !important;
    pointer-events: none !important;
  }

  .services-page .service-card .service-icon {
    position: relative !important;
    z-index: 1 !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    margin: 0 0 12px !important;
    border-radius: 13px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 20px !important;
  }

  .services-page .service-card h3 {
    position: relative !important;
    z-index: 1 !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    margin: 0 0 8px !important;
  }

  .services-page .service-card p {
    position: relative !important;
    z-index: 1 !important;
    color: #a9bad0 !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
    margin: 0 0 12px !important;
  }

  .services-page .service-card ul {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 12px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .services-page .service-card li {
    color: #d2deeb !important;
    font-size: 9px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .services-page .service-card .btn,
  .services-page .service-card > a.btn,
  .services-page .service-card a.quote-btn {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-height: 43px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    padding: 0 12px !important;
    color: #fff !important;
    background: linear-gradient(135deg,#1769ff,#4d9aff) !important;
  }

  .services-page .service-card .btn:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 390px) {
  .services-page .service-card {
    padding: 15px !important;
  }

  .services-page .service-card h3 {
    font-size: 16px !important;
  }

  .services-page .service-card p {
    font-size: 10px !important;
  }

  .services-page .service-card ul {
    grid-template-columns: 1fr !important;
  }
}

/* Improve initial load: do not lazy-load the visible logo. */
.logo img { loading: eager; }
