/* ================================================================
   SafeTech Systems — Stylesheet
   ================================================================ */

/* --- Custom Properties --- */
:root {
    --primary:       #0a2342;
    --primary-mid:   #1a4a8a;
    --accent:        #0ea5e9;
    --accent-dark:   #0284c7;
    --light-bg:      #dce8f4;
    --lighter-bg:    #e4eef8;
    --border:        #c8d9ec;
    --text:          #1e293b;
    --text-mid:      #475569;
    --text-light:    #94a3b8;
    --white:         #eaf2fb;
    --success:       #10b981;
    --error:         #ef4444;
    --radius:        14px;
    --radius-sm:     8px;
    --shadow:        0 4px 24px rgba(10, 35, 66, 0.08);
    --shadow-md:     0 8px 40px rgba(10, 35, 66, 0.14);
    --transition:    0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 68px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-pad {
    padding: 96px 0;
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.01em;
    font-family: inherit;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover, .btn-outline:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ================================================================
   SECTION HEADERS
================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-header p {
    color: var(--text-mid);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.72);
}

.section-tag {
    display: inline-block;
    background: rgba(14, 165, 233, 0.12);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.tag-light {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

/* ================================================================
   SCROLL REVEAL
================================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* ---- Logo ---- */
.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-pill {
    background: transparent;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    height: 54px;
    transition: opacity var(--transition);
}

.nav-logo:hover .logo-pill {
    opacity: 0.85;
}

.logo-pill-img {
    height: 44px;
    width: auto;
    display: block;
    overflow: visible;
}

.logo-pill-fb {
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.logo-pill-fb i {
    color: var(--accent);
    font-size: 1.15rem;
}

.logo-pill-fb strong {
    font-weight: 800;
}

.logo-pill-fb--light {
    color: var(--white);
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 16px;
    gap: 10px;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 2px 12px rgba(14, 165, 233, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ================================================================
   HERO
================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(145deg, rgba(5,18,32,0.92) 0%, rgba(10,35,66,0.85) 45%, rgba(5,18,32,0.93) 100%),
        url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 100px;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.13;
    margin-bottom: 22px;
}

.hero h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-trust span i {
    color: var(--accent);
    font-size: 0.85rem;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    transition: all var(--transition);
    animation: heroScrollBounce 2.2s ease-in-out infinite;
}

.hero-scroll:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* Hero logo */
.hero-logo {
    width: 320px;
    max-width: 65%;
    height: auto;
    margin: 0 auto 36px;
    display: block;
    overflow: visible;
    filter: drop-shadow(0 4px 28px rgba(14, 165, 233, 0.5));
}

/* ================================================================
   SERVICES
================================================================ */
.services {
    background: var(--lighter-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 0;
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card-img {
    width: 100%;
    height: 168px;
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
    color: var(--text);
}

.service-card-body h3,
.service-card-body p,
.service-card-body li {
    color: var(--text-mid);
}

.service-card-body h3 {
    color: var(--primary);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(26, 74, 138, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.35rem;
    color: var(--accent-dark);
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-card-body > p {
    font-size: 0.88rem;
    color: var(--text-mid);
    margin-bottom: 18px;
    line-height: 1.65;
}

.service-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card ul li {
    font-size: 0.84rem;
    color: var(--text-mid);
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* ================================================================
   SHOWCASE STRIP
================================================================ */
.showcase-strip {
    padding: 0;
    background: var(--primary);
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.showcase-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.78);
}

.showcase-item:hover img {
    transform: scale(1.07);
    filter: brightness(0.65);
}

.showcase-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(transparent, rgba(5, 18, 32, 0.88));
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: padding var(--transition);
}

.showcase-label i {
    color: var(--accent);
    font-size: 0.9rem;
}

.showcase-item:hover .showcase-label {
    padding-bottom: 20px;
}

/* ================================================================
   ABOUT
================================================================ */
.about {
    background: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 72px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    padding-bottom: 28px;
    padding-right: 28px;
}

.about-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: block;
}

.about-img-chip {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 11px 22px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.about-img-chip i {
    color: var(--accent-dark);
    font-size: 0.9rem;
}

.about-content .section-tag {
    display: inline-block;
    margin-bottom: 14px;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.15;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 0.975rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat span {
    font-size: 0.78rem;
    color: var(--text-mid);
    line-height: 1.4;
}

/* ================================================================
   WHY US
================================================================ */
.why-us {
    background: linear-gradient(145deg, #071929, #0a2342 50%, #071929);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    text-align: center;
    padding: 36px 24px 32px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 165, 233, 0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.why-icon i {
    font-size: 1.35rem;
    color: var(--accent);
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
}

/* ================================================================
   ENQUIRY
================================================================ */
.enquiry {
    background: var(--lighter-bg);
}

.enquiry-container {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 48px;
    align-items: start;
}

.enquiry-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text);
    transition: color var(--transition);
}

a.contact-item:hover {
    color: var(--accent-dark);
}

.contact-item i {
    font-size: 1.15rem;
    color: var(--accent-dark);
    margin-top: 2px;
    min-width: 22px;
}

.contact-item div strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.contact-item div span {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.5;
}

.enquiry-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}

.enquiry-note i {
    color: var(--accent-dark);
    font-size: 1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.enquiry-note p {
    font-size: 0.84rem;
    color: var(--text-mid);
    line-height: 1.55;
}

/* Form */
.enquiry-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group label span {
    color: var(--accent-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--lighter-bg);
    transition: all var(--transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-success,
.form-error {
    display: none;
    align-items: flex-start;
    gap: 12px;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-top: 16px;
    font-size: 0.88rem;
}

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #065f46;
}

.form-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #7f1d1d;
}

.form-success i { color: var(--success); font-size: 1.15rem; margin-top: 1px; }
.form-error i   { color: var(--error);   font-size: 1.15rem; margin-top: 1px; }

.form-success strong,
.form-error strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
    background: #060f1e;
    padding-top: 64px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 290px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all var(--transition);
}

.social-link:hover {
    background: #1877F2;
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 18px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links ul a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 22px 0;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
    text-align: center;
}

/* ================================================================
   RESPONSIVE — TABLET (≤1024px)
================================================================ */
@media (max-width: 1024px) {
    .services-grid  { grid-template-columns: repeat(2, 1fr); }
    .why-grid       { grid-template-columns: repeat(2, 1fr); }
    .showcase-grid  { grid-template-columns: repeat(3, 1fr); }

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
================================================================ */
@media (max-width: 768px) {
    .section-pad { padding: 72px 0; }

    /* Nav */
    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        gap: 2px;
    }

    .nav-menu.open { display: flex; }

    .nav-link {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .nav-cta {
        text-align: center;
        margin-top: 6px;
        justify-content: center;
    }

    /* Hero */
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Services */
    .services-grid { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }

    /* Why */
    .why-grid { grid-template-columns: 1fr 1fr; }

    /* Enquiry */
    .enquiry-container { grid-template-columns: 1fr; }

    .enquiry-form {
        padding: 28px 20px;
    }

    .form-row { grid-template-columns: 1fr; }

    /* Footer */
    .footer-container { grid-template-columns: 1fr; gap: 36px; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
================================================================ */
@media (max-width: 480px) {
    .why-grid   { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .about-stats .stat:last-child { grid-column: 1 / -1; }
}

/* ================================================================
   CAMERA-THEMED ANIMATIONS
================================================================ */

/* ---- CCTV Hero Overlay ---- */
@keyframes scanline-move {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
@keyframes rec-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
@keyframes aperture-in {
    0%   { clip-path: circle(0% at 50% 50%); opacity: 0; }
    100% { clip-path: circle(75% at 50% 50%); opacity: 1; }
}
@keyframes focus-reveal {
    0%   { opacity: 0; filter: blur(8px); transform: translateY(18px) scale(0.97); }
    100% { opacity: 1; filter: blur(0);   transform: translateY(0)    scale(1); }
}
@keyframes vf-expand {
    0%   { opacity: 0; transform: scale(1.12); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes lens-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,0.5); }
    50%       { box-shadow: 0 0 0 8px rgba(14,165,233,0); }
}

.cctv-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Scanline sweep */
.cctv-scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14,165,233,0.18), transparent);
    animation: scanline-move 6s linear infinite;
    top: 0;
}

/* REC indicator */
.cctv-rec {
    position: absolute;
    top: 22px; left: 26px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.75);
    text-shadow: 0 0 6px rgba(14,165,233,0.6);
}

.cctv-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239,68,68,0.8);
    animation: rec-blink 1.2s step-start infinite;
}

/* Timestamp */
.cctv-timestamp {
    position: absolute;
    bottom: 22px; right: 26px;
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    text-shadow: 0 0 6px rgba(14,165,233,0.4);
}

/* Corner brackets (hero) */
.cctv-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: rgba(14,165,233,0.5);
    border-style: solid;
}
.cctv-tl { top: 18px; left: 18px;  border-width: 2px 0 0 2px; }
.cctv-tr { top: 18px; right: 18px; border-width: 2px 2px 0 0; }
.cctv-bl { bottom: 18px; left: 18px;  border-width: 0 0 2px 2px; }
.cctv-br { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }

/* ---- Service Card Viewfinder Corners ---- */
.service-card {
    position: relative;
}

.vf-tl, .vf-tr, .vf-bl, .vf-br {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--accent);
    border-style: solid;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
    pointer-events: none;
}
.vf-tl { top: 10px;    left: 10px;  border-width: 2px 0 0 2px; transform: translate(-4px,-4px); }
.vf-tr { top: 10px;    right: 10px; border-width: 2px 2px 0 0; transform: translate(4px,-4px); }
.vf-bl { bottom: 10px; left: 10px;  border-width: 0 0 2px 2px; transform: translate(-4px, 4px); }
.vf-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; transform: translate(4px, 4px); }

.service-card:hover .vf-tl,
.service-card:hover .vf-tr,
.service-card:hover .vf-bl,
.service-card:hover .vf-br {
    opacity: 1;
    transform: translate(0, 0);
}

/* ---- Service icon lens-pulse ---- */
.service-icon {
    animation: lens-pulse 3s ease-in-out infinite;
}

/* ---- Aperture-open reveal for section tags ---- */
.section-tag {
    animation: aperture-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
    animation-play-state: paused;
}
.section-tag.revealed {
    animation-play-state: running;
}

/* ---- Lens focus scroll reveal (overrides default reveal) ---- */
.reveal {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

