/* /patchwebsite/assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
    --bg-dark: #0D0F12;
    --bg-card: #181B20;
    --bg-input: #111418;
    --bg-input-focus: #1A1E24;
    --cyan: #00F0FF;
    --cyan-glow: rgba(0, 240, 255, 0.15);
    --magenta: #FF0055;
    --magenta-glow: rgba(255, 0, 85, 0.15);
    --white: #FFFFFF;
    --muted: #A0A5B5;
    --border-color: #2A2F38;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* GLOBAL RESET & HORIZONTAL SCROLL FIX */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden !important; max-width: 100vw; width: 100%; }
body { font-family: 'Inter', sans-serif; background: var(--bg-dark); color: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }
a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--magenta); }
.text-muted { color: var(--muted) !important; }
.text-cyan { color: var(--cyan) !important; }

/* BUTTONS */
.btn-signup, .btn-hero-primary, .btn-hero-secondary, .btn-outline-cyan, 
.btn-primary-cyan, .btn-service, .btn-cta-primary {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition);
}
.btn-hero-primary { background: var(--cyan); color: var(--bg-dark) !important; font-weight: 600; padding: 14px 32px; border-radius: 50px; border: none; text-transform: uppercase; font-size: 14px; }
.btn-hero-primary:hover { background: var(--white); transform: translateY(-3px); box-shadow: 0 0 30px var(--cyan-glow); }

.btn-hero-secondary { background: transparent; color: var(--white) !important; border: 2px solid var(--white); font-weight: 600; padding: 12px 32px; border-radius: 50px; text-transform: uppercase; font-size: 14px; }
.btn-hero-secondary:hover { background: var(--white); color: var(--bg-dark) !important; transform: translateY(-3px); }

.btn-signup { background: var(--cyan); color: black !important; font-weight: 600; padding: 10px 24px !important; border-radius: 50px; text-transform: uppercase; font-size: 13px; }
.btn-primary-cyan { background: var(--cyan); color: var(--bg-dark) !important; font-weight: 600; padding: 12px; border-radius: 50px; width: 100%; text-transform: uppercase; border: none; font-size: 13px;}
.btn-outline-cyan { background: transparent; color: var(--cyan) !important; border: 2px solid var(--cyan); font-weight: 600; padding: 10px; border-radius: 50px; width: 100%; text-transform: uppercase; font-size: 13px;}
.btn-service { color: var(--cyan); font-weight: 600; font-size: 14px; }

/* TOP BAR & NAVBAR */
.top-bar { background: black; padding: 6px 0; font-size: 13px; position: fixed; top: 0; left: 0; right: 0; z-index: 1001; }
.top-bar small { color: var(--muted); }
.top-bar small i { margin-right: 6px; color: var(--cyan); }
.navbar { background: rgba(13, 15, 18, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-color); padding: 12px 0; position: fixed; top: 30px; left: 0; right: 0; z-index: 1000; }
.navbar-brand img { max-height: 40px; width: auto; }
.navbar-toggler { border-color: var(--border-color); color: var(--white); padding: 8px 12px; flex-shrink: 0; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link { color: var(--muted) !important; font-weight: 500; padding: 10px 16px !important; font-size: 14px; min-height: 44px; display: flex; align-items: center; }
.nav-link:hover, .nav-link.active { color: var(--cyan) !important; }

/* HERO & SECTIONS */
.hero { padding: 160px 0 80px; background: var(--bg-dark); min-height: 80vh; display: flex; align-items: center; }
.hero h1 { font-size: 64px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-text { font-size: 18px !important; color: var(--muted); max-width: 600px; margin-bottom: 30px; }

.services-section { padding: 80px 0; }
.slider-section { padding: 80px 0; }
.portfolio-grid-section { padding: 80px 0; background: var(--bg-card); }
.pricing-section { padding: 80px 0; }
.faq-section { padding: 80px 0; background: var(--bg-card); }
.blog-section { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 42px; font-weight: 800; word-break: break-word; }
.section-title h2 span { color: var(--cyan); }
.section-title p { color: var(--muted); max-width: 600px; margin: 10px auto 0; }
.section-title .line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); margin: 15px auto 0; border-radius: 10px; }

/* SERVICE CARDS */
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; text-align: center; height: 100%; transition: var(--transition); }
.service-card:hover { transform: translateY(-8px); border-color: var(--cyan); box-shadow: 0 0 40px var(--cyan-glow); }
.service-card .service-image { width: 100%; height: 180px; border-radius: 8px; overflow: hidden; margin-bottom: 16px; }
.service-card .service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-card h5 { font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* PORTFOLIO */
.portfolio-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); height: 100%; background: var(--bg-dark); }
.portfolio-item img { width: 100%; height: 250px; object-fit: cover; }
.portfolio-item .overlay { padding: 20px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); }

/* PRICING TABS & CARDS */
.pricing-tabs { gap: 8px; justify-content: center; margin-bottom: 40px; }
.pricing-tabs .nav-link { background: var(--bg-dark); color: var(--muted); border: 1px solid var(--border-color); border-radius: 50px; padding: 10px 24px; font-weight: 600; font-size: 13px; min-height: 44px; }
.pricing-tabs .nav-link.active { background: var(--cyan); color: black !important; border-color: var(--cyan); }

.pricing-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 40px 30px; text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.pricing-card.featured { border-color: var(--cyan); box-shadow: 0 0 40px var(--cyan-glow); position: relative; }
.pricing-card h5 { font-size: 20px; font-weight: 700; }
.pricing-card .price { font-size: 42px; font-weight: 800; color: var(--cyan); margin: 15px 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; text-align: left; }
.pricing-card ul li { padding: 8px 0; color: var(--muted); border-bottom: 1px solid var(--border-color); font-size: 14px; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li i { color: var(--cyan); margin-right: 10px; }

/* FAQ (PINK ICON) */
.accordion { --bs-accordion-bg: var(--bg-card); --bs-accordion-border-color: var(--border-color); }
.accordion-item { border: 1px solid var(--border-color); margin-bottom: 10px; border-radius: var(--radius) !important; overflow: hidden; background: var(--bg-card); }
.accordion-button { font-weight: 600; padding: 16px 20px; min-height: 44px; word-break: break-word; background: var(--bg-card) !important; color: var(--white) !important; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--cyan) !important; background: rgba(0, 240, 255, 0.05) !important; }
.accordion-button::after { 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FF0055'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}
.accordion-body { padding: 16px 20px 24px; word-break: break-word; color: var(--muted); background: var(--bg-card); }

/* BLOG CARDS */
.blog-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; height: 100%; }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card .body { padding: 24px; }
.blog-card .category { color: var(--cyan); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.blog-card h5 { margin: 10px 0; font-size: 18px; }

/* SLIDER */
.slider-container { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border-color); width: 100%; margin: 0 auto; }
.slider-container img { width: 100%; height: 400px; object-fit: cover; display: block; pointer-events: none; }
.slider-container .after-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; clip-path: inset(0 50% 0 0); }
.slider-container .slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: var(--cyan); cursor: ew-resize; transform: translateX(-50%); z-index: 10; }
.slider-container .slider-handle::before { content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--cyan); color: var(--bg-dark); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }

/* PRE-FOOTER & FOOTER (Fixed Layout) */
.pre-footer { padding: 80px 0 0 0; background: var(--bg-dark); }
.pre-footer .row { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-color); }
.pre-footer-form { padding: 50px 40px; border-right: 1px solid var(--border-color); }
.pre-footer-form h2 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.pre-footer-form h2 span { color: var(--cyan); }
.pre-footer-form p { margin-bottom: 24px; }
.pre-footer-cta { padding: 50px 40px; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(45deg, var(--cyan), var(--magenta)); }
.pre-footer-cta-content { color: var(--bg-dark); }
.pre-footer-cta-content .cta-icon { font-size: 50px; margin-bottom: 16px; }
.pre-footer-cta-content h3 { font-size: 28px; font-weight: 800; }
.pre-footer-cta-content p { color: rgba(0, 0, 0, 0.8); margin-bottom: 20px; font-weight: 500; }
.pre-footer-cta-content .btn-cta-primary { background: var(--bg-dark); color: var(--cyan) !important; padding: 12px 32px; border-radius: 50px; font-weight: 700; text-transform: uppercase; display: inline-block; }
.pre-footer-cta-content .btn-cta-primary:hover { background: var(--white); color: var(--bg-dark) !important; }

.footer { background: var(--bg-card); border-top: 1px solid var(--border-color); padding: 60px 0 30px; margin-top: 80px; }
.footer-logo { max-height: 50px; width: auto; margin-bottom: 15px; display: block; }
.footer h5 { font-weight: 700; margin-bottom: 16px; color: var(--white); }
.footer p, .footer a { color: var(--muted); font-size: 14px; }
.footer a { display: block; padding: 6px 0; text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer .social a { display: inline-block; margin-right: 12px; font-size: 20px; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; margin-top: 40px; }

/* FORMS & BADGES */
.form-control, .form-select { background: var(--bg-input) !important; border: 1px solid var(--border-color) !important; color: var(--white) !important; padding: 12px 16px; border-radius: var(--radius); min-height: 44px; width: 100%; }
.form-control:focus, .form-select:focus { border-color: var(--cyan) !important; box-shadow: 0 0 20px var(--cyan-glow) !important; }
.form-label { color: var(--muted); font-weight: 500; font-size: 14px; margin-bottom: 6px; }

.badge-format { background: rgba(0, 240, 255, 0.1); color: var(--cyan); border: 1px solid rgba(0, 240, 255, 0.2); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; display: inline-block; margin: 2px; }
.badge-payment { background: rgba(255, 0, 85, 0.1); color: var(--magenta); border: 1px solid rgba(255, 0, 85, 0.2); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; display: inline-block; margin: 2px; }