/* ================= DESIGN SYSTEM ================= */
:root{
    --primary-gradient: linear-gradient(135deg, rgba(4,16,45,.95), rgba(14,69,170,.88));
    --primary-dark:#04102d;
    --primary:#0e45aa;
    --primary-light:#4f8dff;
    --accent:#6ec1ff;

    --text:#1f2937;
    --muted:#64748b;
    --white:#fff;
    --bg:#eef4fb;

    --radius:22px;
    --shadow:0 12px 40px rgba(4,16,45,.08);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter', Arial, sans-serif;
    background:var(--bg);
    color:var(--text);
    padding-top:90px;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

/* ================= NAVBAR ================= */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(255,255,255,.97);
    backdrop-filter:blur(12px);
    z-index:9999;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
}

.nav-container{
    width:95%;
    max-width:1400px;
    margin:auto;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.logo img{
    height:65px;
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:24px;
    align-items:center;
}

.nav-menu li{
    position:relative;
}

.nav-menu li a{
    color:#334155;
    font-size:15px;
    font-weight:700;
    text-transform:uppercase;
}

.nav-menu li a:hover{
    color:var(--primary);
}

.nav-arrow{
    font-size:12px;
    margin-left:6px;
}

.dropdown-menu{
    position:absolute;
    top:42px;
    left:0;
    min-width:270px;
    background:#fff;
    border-radius:18px;
    box-shadow:var(--shadow);
    list-style:none;
    padding:12px 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(10px);
    transition:.3s;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-menu li a{
    display:block;
    padding:14px 20px;
    font-size:14px;
    font-weight:500;
}

.nav-btn a{
    background:var(--primary-gradient);
    color:#fff;
    padding:14px 24px;
    border-radius:14px;
    font-weight:600;
}

/* ================= BUTTONS ================= */
.btn-primary{
    display:inline-block;
    padding:16px 32px;
    background:#fff;
    color:var(--primary);
    border-radius:14px;
    font-weight:700;
}

.btn-secondary{
    display:inline-block;
    padding:16px 32px;
    border:2px solid white;
    color:white;
    border-radius:14px;
    font-weight:700;
}

/* ================= HERO ================= */
/* ================= HERO ================= */
.hero{
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: var(--primary-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Background glow effects */
.hero::before{
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -140px;
    right: -120px;
    filter: blur(50px);
}

.hero::after{
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: rgba(110,193,255,0.12);
    bottom: -100px;
    left: -100px;
    filter: blur(50px);
}

.hero-wrapper{
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

/* Left Content */
.hero-text{
    width: 100%;
}

.hero-text h1{
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 28px;
    font-weight: 800;
    max-width: 850px;
}

.hero-text p{
    font-size: 21px;
    line-height: 1.9;
    margin-bottom: 35px;
    max-width: 720px;
    color: rgba(255,255,255,0.9);
}

/* Buttons */
.hero-buttons{
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

/* Right Image */
.hero-image{
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img{
    width: 100%;
    max-width: 420px;
    padding: 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Stats */
.hero-stats{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box{
    min-width: 170px;
    padding: 24px 22px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(12px);
}

.stat-box h3{
    font-size: 34px;
    margin-bottom: 8px;
    font-weight: 800;
}

.stat-box p{
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* ================= RESPONSIVE ================= */
@media(max-width: 1100px){
    .hero-wrapper{
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-text h1{
        font-size: 50px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text p{
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons{
        justify-content: center;
    }

    .hero-stats{
        justify-content: center;
    }
}

@media(max-width: 768px){
    .hero{
        padding: 60px 0;
    }

    .hero-text h1{
        font-size: 36px;
    }

    .hero-text p{
        font-size: 18px;
        line-height: 1.8;
    }

    .hero-image img{
        max-width: 300px;
        padding: 20px;
    }

    .hero-stats{
        flex-direction: column;
        align-items: center;
    }

    .stat-box{
        width: 100%;
        max-width: 260px;
    }
}

/* ================= SHARED SECTIONS ================= */
.services,
.about-page,
.services-page,
.industries-page,
.case-studies-page,
.integrations-page,
.blog-page,
.pricing-page{
    padding:100px 0;
}

.services h2{
    text-align:center;
    font-size:48px;
    margin-bottom:16px;
}

.section-subtitle{
    text-align:center;
    color:var(--muted);
    font-size:18px;
    margin-bottom:60px;
}

/* ================= CARDS ================= */
/* ================= GENERIC CARDS ================= */
.cards{
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 30px;
}

/* Shared card design */
.card,
.service-box,
.industry-box,
.case-box,
.integration-box,
.blog-card,
.price-card,
.about-box{
    background: white;
    padding: 42px 36px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(14,69,170,0.06);
    transition: all .35s ease;
}

/* Hover animation */
.card:hover,
.service-box:hover,
.industry-box:hover,
.case-box:hover,
.integration-box:hover,
.blog-card:hover,
.price-card:hover,
.about-box:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 55px rgba(14,69,170,0.16);
}

/* Headings */
.card h3,
.service-box h2,
.industry-box h2,
.case-box h2,
.integration-box h2,
.blog-card h2,
.about-box h2{
    color: var(--primary-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}

/* Paragraph */
.card p,
.about-box p{
    color: var(--muted);
    line-height: 1.85;
    font-size: 16px;
}

/* Service icon */
.service-icon{
    font-size: 46px;
    margin-bottom: 20px;
}

/* ================= WHY CHOOSE US ================= */
.why-us{
    padding: 130px 0;
}

.why-header{
    text-align: center;
    margin-bottom: 70px;
}

.why-header h2{
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 18px;
}

.why-header .section-subtitle{
    max-width: 900px;
    margin: auto;
    font-size: 19px;
    line-height: 1.8;
    color: var(--muted);
}

/* 2-column grid */
.why-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Why cards */
.why-box{
    background: white;
    padding: 42px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(14,69,170,0.06);
    transition: all .35s ease;
    min-height: 320px;
}

.why-box:hover{
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 55px rgba(14,69,170,0.16);
}

.why-icon{
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 18px;
    margin-bottom: 24px;
    background: linear-gradient(135deg,#eef5ff,#dbeaff);
}

.why-box h3{
    color: var(--primary-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.35;
}

.why-box p{
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px){
    .cards{
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid{
        grid-template-columns: 1fr;
    }

    .why-header h2{
        font-size: 42px;
    }
}

@media (max-width: 768px){
    .cards{
        grid-template-columns: 1fr;
    }

    .card,
    .service-box,
    .industry-box,
    .case-box,
    .integration-box,
    .blog-card,
    .price-card,
    .about-box,
    .why-box{
        padding: 32px 24px;
    }

    .why-header h2{
        font-size: 34px;
    }

    .why-box{
        min-height: auto;
    }

    .why-box h3{
        font-size: 24px;
    }
}

/* ================= PAGE BANNER ================= */
.page-banner{
    background:var(--primary-gradient);
    color:#fff;
    text-align:center;
    padding:130px 0;
}

.page-banner h1{
    font-size:60px;
    margin-bottom:16px;
}

.page-banner p{
    font-size:22px;
}

/* ================= CTA ================= */
.cta-section{
    padding:110px 0;
    text-align:center;
    background:var(--primary-gradient);
    color:white;
}

.cta-section h2{
    font-size:52px;
    margin-bottom:20px;
}

.cta-section p{
    font-size:20px;
    margin-bottom:30px;
}

/* ================= CONTACT ================= */
.contact-hero{
    min-height:100vh;
    background:url('assets/images/contact-bg.jpg') center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    padding:120px 50px 80px;
}

.contact-overlay{
    position:absolute;
    inset:0;
    background:var(--primary-gradient);
}

.contact-main{
    position:relative;
    z-index:2;
    width:100%;
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 550px;
    gap:60px;
}

.contact-left{
    color:white;
}

.contact-left h1{
    font-size:64px;
    margin-bottom:25px;
}

.contact-left p{
    font-size:22px;
    line-height:1.7;
}

.contact-form-card{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.18);
    padding:45px;
    border-radius:30px;
}

.contact-form-card h2{
    color:white;
    font-size:42px;
}

.contact-form-card p{
    color:rgba(255,255,255,.85);
    margin-bottom:30px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
    width:100%;
    padding:18px 20px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.09);
    color:white;
    margin-bottom:18px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color:rgba(255,255,255,.7);
}

.contact-form select option{
    color:black;
}

.contact-form button{
    width:100%;
    border:none;
    padding:18px;
    border-radius:999px;
    background:linear-gradient(135deg,#00c6ff,#0072ff);
    color:white;
    font-size:18px;
    font-weight:700;
}

/* ================= FOOTER ================= */
.footer{
    background:var(--primary-gradient);
    color:white;
}

.footer-wrapper{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.2fr;
    gap:40px;
    padding:60px 0;
}

.footer-brand img{
    height:70px;
    background:white;
    padding:8px;
    border-radius:12px;
    margin-bottom:20px;
}

.footer-brand p,
.footer-contact p{
    color:rgba(255,255,255,.9);
    line-height:1.8;
}

.footer-links h3,
.footer-contact h3{
    margin-bottom:20px;
}

.footer-links a{
    display:block;
    margin-bottom:14px;
    color:rgba(255,255,255,.9);
}

.footer-bottom{
    text-align:center;
    padding:20px;
    background:rgba(0,0,0,.2);
}

/* ================= RESPONSIVE ================= */
@media(max-width:1100px){
    .hero-wrapper,
    .contact-main{
        grid-template-columns:1fr;
        display:grid;
    }

    .hero-text h1,
    .contact-left h1{
        font-size:48px;
    }

    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-wrapper{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:768px){
    .nav-menu{
        display:none;
    }

    .cards,
    .form-row,
    .footer-wrapper{
        grid-template-columns:1fr;
    }

    .hero-text h1,
    .contact-left h1{
        font-size:36px;
    }

    .hero-text p,
    .contact-left p{
        font-size:18px;
    }

    .hero-stats{
        flex-direction:column;
    }
}
/* ================= ANIMATIONS ================= */

/* Hero text animation */
@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.hero-text h1{
    animation:fadeUp .8s ease forwards;
}

.hero-text p{
    opacity:0;
    animation:fadeUp .8s ease forwards;
    animation-delay:.2s;
}

.hero-buttons{
    opacity:0;
    animation:fadeUp .8s ease forwards;
    animation-delay:.4s;
}

.hero-stats{
    opacity:0;
    animation:fadeUp .8s ease forwards;
    animation-delay:.6s;
}

/* Floating hero image */
@keyframes floatImage{
    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

.hero-image img{
    animation:floatImage 4s ease-in-out infinite;
}

/* Gradient movement */
@keyframes gradientMove{
    0%{background-position:0% 50%;}
    50%{background-position:100% 50%;}
    100%{background-position:0% 50%;}
}

.hero,
.cta-section,
.footer{
    background-size:200% 200%;
    animation:gradientMove 8s ease infinite;
}

/* Scroll reveal */
.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:all .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}