/* Notisia Solutions – Shared Page Styles (Services, About, Contact) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #b71c1c;
    --primary-dark: #7f0000;
    --primary-rgb: 183,28,28;
    --secondary: #0f172a;
    --bg-base: #f8fafc;
    --bg-white: #ffffff;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.35s ease;
    --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-base);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; color: var(--text-heading); font-weight: 800; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1.25rem; font-size: 1rem; }
a { text-decoration: none; transition: var(--transition); color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    height: var(--nav-height);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    display: flex; align-items: center;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
/* ── NOTISIA HEXAGON LOGO ─────────────────── */
.logo-hex-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-hex {
    width: 44px;
    height: 44px;
    background: #d6d2ce;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}
.logo-hex:hover { background: var(--primary); }
.logo-hex-n {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
    transition: var(--transition);
}
.logo-hex:hover .logo-hex-n { color: #fff; }
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}
.logo-wordmark {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 19px;
    color: #8b1a1a;
    letter-spacing: 1.5px;
    line-height: 1;
}
.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 8.5px;
    color: #a0474a;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}

.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--text-body); padding: 4px 0; position: relative; }
.nav-links a::after { content:''; position:absolute; bottom:-2px; left:0; width:0; height:2px; background:var(--primary); transition:var(--transition); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hamburger */
.nav-toggle {
    display: none; flex-direction: column; justify-content: center; align-items: center;
    width: 42px; height: 42px; background: none; border: none; cursor: pointer; gap: 5px;
}
.nav-toggle span { display:block; width:24px; height:2px; background:var(--text-heading); border-radius:2px; transition:var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: #fff; flex-direction: column; gap: 0;
        padding: 0.5rem 0 1.5rem;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        border-top: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 14px 1.5rem; border-bottom: 1px solid #f1f5f9; font-size: 1rem; }
    .nav-links a::after { display: none; }
    .nav-links li:last-child a {
        margin: 1rem 1.5rem 0; text-align: center; border-bottom: none;
        background: var(--primary); color: #fff; border-radius: var(--radius-full); padding: 12px;
    }
    .nav-links li:last-child a:hover { background: var(--primary-dark); }
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 1.75rem; font-family: 'Outfit',sans-serif; font-weight: 700;
    border-radius: var(--radius-full); cursor: pointer; transition: var(--transition);
    border: none; gap: 8px; font-size: 0.95rem; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -4px rgba(183,28,28,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ── PAGE HEADER ──────────────────────────── */
.page-header {
    background: var(--secondary); color: #fff;
    padding: 5rem 0 4rem; text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 1rem; }
.page-header p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 0; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ── GRID ─────────────────────────────────── */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 900px) {
    .grid-2 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(3,1fr); }
    .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* ── CARDS ─────────────────────────────────── */
.card {
    background: var(--bg-white); padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); border: 1px solid var(--border);
    transition: var(--transition); height: 100%;
}
.managed-it-card { padding: 3rem; }

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb),0.15); }
.card i { font-size: 2.2rem; color: var(--primary); margin-bottom: 1.2rem; display: block; }
.card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.card ul { padding-left: 0; list-style: none; }
.card ul li { padding: 5px 0; font-size: 0.92rem; color: var(--text-muted); padding-left: 1.25rem; position: relative; }
.card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ── FOOTER ─────────────────────────────────── */
.footer { background: var(--secondary); color: #fff; padding: 5rem 0 2rem; }
.footer h4 { color: #fff; margin-bottom: 1.25rem; font-size: 0.95rem; font-family: 'Outfit',sans-serif; letter-spacing: 0.5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: #94a3b8; font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
    margin-top: 4rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #475569; font-size: 0.82rem; margin-bottom: 0; }
.footer-bottom a { color: #475569; font-size: 0.82rem; }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.25rem; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 0.8rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ── FORM ─────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-heading); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.85rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: 'Inter',sans-serif; font-size: 0.95rem;
    color: var(--text-body); background: #fff;
    transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.1); }
.form-group textarea { height: 130px; resize: vertical; }

/* ── SECTION TITLE ────────────────────────── */
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ── UTILITIES ─────────────────────────────── */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.bg-light { background: var(--bg-base); }
.bg-dark { background: var(--secondary); color: #fff; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 640px) {
    .section { padding: 3rem 0; }
    .page-header { padding: 4rem 0 3rem; }
    .card { padding: 1.5rem; }
    .managed-it-card { padding: 1.5rem; }
    .grid-4 { grid-template-columns: 1fr; }
    .footer { padding: 3.5rem 0 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .btn { width: 100%; justify-content: center; }
}
