/* =========================
1. RESET
========================= */

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

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

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

ul {
    list-style: none;
}

/* =========================
2. VARIABLES
========================= */

:root {
    --color_bg: #ffffff;
    --color_text: #111111;

    --color_primary: #16a34a;
    --color_primary_dark: #15803d;

    --color_muted: #6b7280;
    --color_border: #e5e7eb;

    --color_dark_1: #0b1220;
    --color_dark_2: #0f172a;

    --space_1: 4px;
    --space_2: 8px;
    --space_3: 16px;
    --space_4: 24px;
    --space_5: 32px;
    --space_6: 48px;
    --space_7: 64px;

    --radius_sm: 6px;
    --radius_md: 10px;

    --shadow_soft: 0 4px 12px rgba(0,0,0,0.06);
    --shadow_card: 0 20px 40px rgba(0,0,0,0.25);
}

/* =========================
3. BASE
========================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color_bg);
    color: var(--color_text);
    font-size: 16px;
    line-height: 1.6;
}

section {
	scroll-margin-top:70px;
}

h1 {
    font-size: clamp(42px,6vw,72px);
    line-height: 1.05;
}

h2 {
    font-size: clamp(26px,4vw,36px);
}

h3 {
    font-size: 20px;
}

p {
    color: var(--color_muted);
}

/* =========================
4. LAYOUT
========================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space_3);
    padding-right: var(--space_3);
}

.section {
    padding-top: var(--space_7);
    padding-bottom: var(--space_7);
}

/* =========================
5. BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: var(--radius_md);
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.btn_primary {
    background: var(--color_primary);
    color: #fff;
}

.btn_primary:hover {
    background: var(--color_primary_dark);
}

.btn_secondary {
    border: 1px solid var(--color_primary);
    color: var(--color_primary);
}

.btn_save_10 {
    background: rgba(0,0,0,0.15);
}

.btn_secondary:hover {
    background: rgba(22,163,74,0.08);
}

/* =========================
6. HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(0,0,0,0.5);
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 14px 15px;
    background: linear-gradient(
    	90deg,
    	rgba(0,0,0,1.0) 28%,
        rgba(0,0,0,0.65) 65%,
        rgba(0,0,0,0.3) 100%
    );
}

.header_logo {
    height: 56px;
    z-index: 22;
}

.header_nav {
    display: flex;
    gap: 20px;
}

.header_nav a {
    position: relative;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.header_nav a.active {
    color: #22c55e;
}

.header_nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #22c55e;
    transition: 0.3s;
}

.header_nav a:hover::after {
    width: 100%;
}

.header_nav .btn_primary {
	position: relative;
	top: -4px;
	padding: 4px 10px;
	
    /*display: none;*/
}

/* =========================
7. HERO
========================= */

/*.hero_section {
    position: relative;
    min-height: 80vh;
    background: url('/assets/images/hero-background-dark.jpg') center right / cover no-repeat;
    display: flex;
    align-items: center;
}

.hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11,18,32,0.95) 0%,
        rgba(11,18,32,0.7) 40%,
        rgba(11,18,32,0.25) 100%
    );
}

.hero_overlay_black {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0) 70%
    );
}

.hero_overlay_bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(16,23,43,0.9) 0%,
        rgba(16,23,43,0.3) 15%,
        rgba(16,23,43,0) 30%
    );
}

.hero_content {
    position: relative;
    z-index: 5;
    max-width: 560px;
}

.hero_badge {
    display: inline-block;
    border: 1px solid rgba(96,144,208,0.25);
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
    color: #fff;
    background: rgba(0,0,0,0.25);
    box-shadow: 0 0 10px rgba(96,144,208,0.4);
}

.hero_title {
    color: #fff;
    margin-bottom: 30px;
}

.hero_subtitle {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 40px;
}

.hero_cta_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}*/

.hero{
	position: relative;
    background: url('/assets/images/hero-background-dark.jpg') center right / cover no-repeat;
    display: flex;
    align-items: center;
    
    /*background-position:center;
    overflow:hidden;*/
}
.hero_home{
    min-height: 80vh;
    background-image:url("/assets/images/hero-background-dark.jpg");
}
.hero_service{
    background-image:url("/assets/images/hero-background-dark.jpg");
    padding-top: 80px;
    padding-bottom: 80px;
}
.hero_overlay{
	position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(11,18,32,0.95) 0%,
        rgba(11,18,32,0.7) 40%,
        rgba(11,18,32,0.25) 100%
    );
    
    /*background:rgba(0,0,0,0.25);*/
}
.hero_overlay_black{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        145deg,
        rgba(0,0,0,0.9) 0%,
        rgba(0,0,0,0.3) 40%,
        rgba(0,0,0,0) 70%
    );
    
    /*background:linear-gradient(to bottom,rgba(0,0,0,0.6),rgba(0,0,0,0));*/
}
.hero_overlay_bottom{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(16,23,43,0.9) 0%,
        rgba(16,23,43,0.3) 15%,
        rgba(16,23,43,0) 30%
    );
    
    /*bottom:0;
    left:0;
    width:100%;
    height:120px;
    background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,0.7));*/
}
.hero_content{
    position: relative;
    z-index: 5;
    max-width: 560px;
    
    /*max-width:720px;
    color:#fff;*/
}
.hero_badge{
	display: inline-block;
    border: 1px solid rgba(96,144,208,0.25);
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
    color: #fff;
    background: rgba(0,0,0,0.25);
    box-shadow: 0 0 10px rgba(96,144,208,0.4);
    
    /*margin-bottom:20px;*/
}
.hero_title{
    color: #fff;
    margin-bottom: 30px;
    
    /*font-size:52px;
    line-height:1.1;
    margin-bottom:20px;*/
}
.hero_subtitle{
    font-size: 18px;
    color: #cbd5e1;
    max-width: 520px;
    margin-bottom: 40px;
    
    /*margin-bottom:30px;*/
}
.hero_cta_wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    
    /*gap:16px;*/
}

/* =========================
SOCIAL PROOF
========================= */

.social_proof_section {
    background: #0f172a;
    padding: 50px 0;
}

.social_proof_stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    margin-bottom: 40px;
}

.proof_item {
    padding: 10px;
}

.proof_number {
    font-size: 32px;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 6px;
}

.proof_label {
    font-size: 14px;
    color: #9ca3af;
}

.social_proof_logos {
    text-align: center;
}

.proof_text {
    font-size: 14px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.logos_row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logos_row img {
    height: 26px;
    opacity: 0.6;
    transition: 0.2s;
}

.logos_row img:hover {
    opacity: 1;
}

/* =========================
ROTATING CLIENT LOGOS
========================= */

.logos_slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.logos_track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: logos_scroll 20s linear infinite;
}

.logos_track img {
    height: 28px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: 0.2s;
}

.logos_track img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* animation */

@keyframes logos_scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.logos_slider::before,
.logos_slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
}

.logos_slider::before {
    left: 0;
    background: linear-gradient(
        90deg,
        #0f172a,
        rgba(15,23,42,0)
    );
}

.logos_slider::after {
    right: 0;
    background: linear-gradient(
        270deg,
        #0f172a,
        rgba(15,23,42,0)
    );
}

/* =========================
8. SERVICES
========================= */

.services_section {
	position: relative;
    background: var(--color_dark_2);
    text-align: center;
    padding-top: 70px;
    padding-bottom: 70px;
}

.services_line {
	position: absolute;
	top: 0;
	width: 80%;
	margin: 0 10%;
	border-top: 1px solid rgba(255,255,255,0.15);
}

.services_title {
    color: #fff;
    margin-bottom: 60px;
}

.services_grid {
    display: grid;
    gap: 30px;
}

@media (min-width:768px) {
    .services_grid {
        grid-template-columns: repeat(2,1fr);
    }
}

.service_card {
    position: relative;
    background: url('/assets/images/service-card-background.jpg') center/cover no-repeat;
    padding: 60px 32px 32px;
    border-radius: 12px;
    text-align: left;
    box-shadow: var(--shadow_card);
    transition: 0.3s;
}

.service_card:hover {
    transform: translateY(-6px) scale(1.02);
}

.service_card_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        330deg,
        rgba(16,128,32,0.35) 0%,
        rgba(16,128,32,0.15) 25%,
        rgba(16,128,32,0) 50%
    );
    border-radius: 12px;
    display: none;
}

.service_icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 64px;
}

.service_title {
    margin-bottom: 16px;
}

.service_desc {
    font-size: 15px;
    margin-bottom: 24px;
}

.service_link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color_primary);
}

/* =========================
9. OFFER
========================= */

.offer_section {
    background: linear-gradient(
        180deg,
        var(--color_dark_1) 0%,
        var(--color_dark_2) 100%
    );
    text-align: center;
    padding: 80px 0;
}

.offer_title {
    color: #fff;
    margin-bottom: 20px;
}

.offer_line {
    width: 40px;
    height: 2px;
    background: #22c55e;
    margin: 0 auto 20px;
}

.offer_text {
    font-size: 16px;
    margin-bottom: 30px;
}

.offer_btn {
    padding: 14px 28px;
}

/* =========================
CASE STUDIES
========================= */

.case_section {
    background: #ffffff;
    padding: 90px 0;
}

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

.case_grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .case_grid {
        grid-template-columns: repeat(3,1fr);
    }
}

.case_card {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: 0.25s;
}

.case_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.case_image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.case_content {
    padding: 24px;
}

.case_category {
    font-size: 12px;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 8px;
}

.case_heading {
    font-size: 18px;
    margin-bottom: 10px;
}

.case_desc {
    font-size: 14px;
    margin-bottom: 16px;
    color: #6b7280;
}

.case_result {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

/* =========================
10. SMALL BUSINESS SWITCH
========================= */

.switch_section {
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.switch_box {
    max-width: 640px;
    margin: 0 auto;
}

.switch_title {
    margin-bottom: 20px;
}

.switch_text {
    font-size: 16px;
    margin-bottom: 30px;
}

.switch_btn {
    padding: 14px 28px;
}

/* =========================
11. FOOTER
========================= */

footer {
    text-align: center;
    padding: 40px 0;
}

/* =========================
SCROLL ANIMATIONS
========================= */

.reveal {

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}

.reveal.visible {

    opacity: 1;
    transform: translateY(0);

}