/* ═══════════════════════════════════════════════════
   NO-RISKS TECHNOLOGIES — BRIGHT PREMUIUM UI
   Theme: White / Light Blue / Tech Blue / Gold
═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
    --bg-white: #ffffff;
    --bg-light: #F2F7FB;
    --bg-blue-soft: #F2F7FB;
    --border-blue-dim: rgba(30, 78, 121, 0.1);
    --border-gold-dim: rgba(201, 162, 75, 0.2);

    --tech-blue: #1E4E79;
    /* Primary Color */
    --tech-blue-lite: #3F7FBF;
    /* Accent Blue */
    --tech-gold: #C9A24B;
    /* Secondary Metallic Gold */
    --text-navy: #1E4E79;
    --text-muted: #546e7a;

    --radius: 10px;
    --radius-lg: 20px;
    --shadow: 0 10px 30px rgba(0, 51, 102, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 51, 102, 0.08);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);

    --font-ui: 'Inter', 'Cairo', sans-serif;
    --font-heading: 'Cairo', sans-serif;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-ui);
    background: var(--bg-white);
    color: var(--text-navy);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── BACKGROUND OVERLAYS ── */
.tech-bg-grid {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(30, 78, 121, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 78, 121, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.circuit-lines-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 L40 10 L40 40 L10 40 Z' stroke='%231E4E79' fill='none' stroke-width='0.5'/%3E%3Cpath d='M60 60 L90 60 L90 90 L60 90 Z' stroke='%23C9A24B' fill='none' stroke-width='0.5'/%3E%3C/svg%3E");
}

/* ── LAYOUT ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sec {
    padding: 120px 0;
}

.bg-white {
    background: var(--bg-white);
}

.bg-light-blue {
    background: var(--bg-blue-soft);
}

.shadow-inner {
    box-shadow: inset 0 -40px 100px rgba(0, 51, 102, 0.02);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.grid-2-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gold-text {
    color: var(--tech-gold);
}

.text-blue-intense {
    color: var(--tech-blue);
}

.sec-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 51, 102, 0.05);
    color: var(--tech-blue);
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── HEADER ── */
#hdr {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-blue-dim);
}

.hdr-wrap {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

#desktop-nav {
    display: flex;
    gap: 8px;
    margin-right: auto;
}

.dn-a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 8px;
}

.dn-a:hover,
.dn-a.active {
    color: var(--tech-blue);
    background: rgba(0, 51, 102, 0.04);
}

.btn-gold-sm {
    background: var(--tech-gold);
    color: black;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-gold-sm:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top right, #f0f7ff, #ffffff);
}

.hero-container {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 255, 0.08);
    border: 1px solid rgba(0, 168, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--tech-blue-lite);
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 32px;
    font-family: var(--font-ui);
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tech-blue-lite);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 950;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 650px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-gold {
    background: var(--tech-gold);
    color: black;
    padding: 18px 40px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.btn-outline-blue {
    border: 2px solid var(--tech-blue);
    color: var(--tech-blue);
    padding: 18px 40px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-outline-blue:hover {
    background: rgba(0, 51, 102, 0.04);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.logo-frame {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-blue-dim);
}

.hero-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--tech-gold);
    border-radius: 50px;
    animation: ringPulse 3s ease-out infinite;
    opacity: 0;
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ── SERVICES ── */
.sec-header {
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-blue-dim);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tech-blue-lite);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--tech-blue-lite);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card.active {
    border-color: var(--tech-gold);
}

.service-card.active::after {
    background: var(--tech-gold);
    opacity: 1;
}

.sc-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 168, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--tech-blue-lite);
    margin-bottom: 32px;
}

.service-card.active .sc-icon {
    background: rgba(212, 175, 55, 0.08);
    color: var(--tech-gold);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sc-link {
    color: var(--tech-blue-lite);
    font-weight: 700;
    font-size: 0.9rem;
}

.service-card.active .sc-link {
    color: var(--tech-gold);
}

/* ── SOLUTIONS ── */
.cyber-window {
    background: #0a192f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--tech-blue);
    position: relative;
    height: 300px;
}

.cw-header {
    background: var(--tech-blue);
    color: white;
    padding: 10px 20px;
    font-family: 'Inter';
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.cw-body {
    height: 100%;
    position: relative;
    padding: 40px;
}

.scan-line-bright {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tech-blue-lite);
    box-shadow: 0 0 15px var(--tech-blue-lite);
    animation: scanV 3s linear infinite;
}

@keyframes scanV {
    0% {
        top: 0%
    }

    100% {
        top: 100%
    }
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--tech-gold);
    border-radius: 50%;
    opacity: 0.6;
}

.n1 {
    top: 20%;
    left: 30%;
}

.n2 {
    top: 60%;
    left: 70%;
}

.n3 {
    top: 40%;
    left: 50%;
}

.sol-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
}

.si-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-blue-soft);
    border: 1px solid var(--border-blue-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--tech-blue);
    flex-shrink: 0;
}

.sol-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.sol-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── RESEARCH ── */
.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}

.research-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-blue-dim);
    transition: var(--transition);
}

.research-card:hover {
    border-color: var(--tech-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.rc-image {
    height: 220px;
    background: linear-gradient(rgba(0, 51, 102, 0.1), rgba(0, 51, 102, 0.6)), url('logo-new.png') center/contain no-repeat;
    background-color: white;
}

.rc-image.rc2 {
    opacity: 0.8;
}

.rc-content {
    padding: 40px;
}

.rc-tag {
    color: var(--tech-blue-lite);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.rc-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.4;
}

.rc-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.rc-content a {
    color: var(--tech-gold);
    font-weight: 700;
}

/* ── CONTACT ── */
.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card-white {
    width: 100%;
    max-width: 900px;
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold-dim);
    position: relative;
    overflow: hidden;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cm-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fafcff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: var(--transition);
}

.cm-item:hover {
    transform: translateY(-5px);
    border-color: var(--tech-gold);
    box-shadow: var(--shadow);
}

.cm-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--tech-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.cm-details {
    display: flex;
    flex-direction: column;
}

.cm-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cm-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tech-blue);
    direction: ltr;
    display: inline-block;
}

.cm-value:hover {
    color: var(--tech-gold);
}

.contact-form-bright {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tech-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #fafcff;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-navy);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--tech-blue-lite);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.08);
}

.submit-btn-gold {
    background: var(--tech-gold);
    color: black;
    padding: 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* ── FOOTER ── */
#footer {
    background: #051025;
    color: white;
    padding: 100px 0 40px;
}

.ft-inner {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
}

.ft-logo {
    height: 70px;
    margin-bottom: 32px;

}

.ft-brand p {
    color: #8a99b1;
    max-width: 400px;
    font-size: 0.95rem;
}

.ft-links h6,
.ft-contact h6 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--tech-gold);
    margin-bottom: 32px;
}

.ft-links a {
    display: block;
    color: #8a99b1;
    margin-bottom: 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.ft-links a:hover {
    color: white;
    padding-right: 8px;
}

.ft-contact span {
    display: block;
    color: #8a99b1;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.ft-contact i {
    color: var(--tech-blue-lite);
    width: 20px;
    text-align: center;
}

.ft-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.ft-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
}

.ft-social a:hover {
    background: var(--tech-gold);
    color: black;
    transform: translateY(-3px);
}

.ft-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 0.85rem;
    color: #8a99b1;
}

/* ── MOBILE ── */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.burger-btn span {
    width: 30px;
    height: 3px;
    background: var(--tech-blue);
    border-radius: 4px;
    transition: var(--transition);
}

.mob-nav {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 0 40px;
    transition: height 0.4s ease;
    border-bottom: 1px solid var(--border-blue-dim);
}

.mob-nav.open {
    height: auto;
    padding: 40px;
}

.mn-a {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tech-blue);
    padding: 16px 0;
    border-bottom: 1px solid #f0f4f9;
}

@media (max-width: 1024px) {
    .sec {
        padding: 80px 0;
    }

    .grid-2,
    .grid-2-center,
    .hero-container,
    .services-grid,
    .research-grid,
    .ft-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        text-align: center;
        padding-top: 140px;
        min-height: auto;
    }

    .hero-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        margin-bottom: 40px;
    }

    .logo-frame {
        width: 250px;
        height: 250px;
    }

    .hero-logo {
        width: 160px;
    }

    #desktop-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .mission-text {
        text-align: center;
    }

    .mission-image,
    .sol-visual {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .shield-pattern-deco {
        margin: 0 auto;
    }

    .cyber-window {
        width: 100%;
        max-width: 500px;
    }

    .trust-indicators {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ft-brand,
    .ft-links,
    .ft-contact {
        text-align: center;
    }

    .ft-social {
        justify-content: center;
    }

    .ft-brand p {
        margin: 0 auto 32px;
    }

    .hdr-wrap {
        height: 70px;
    }

    .logo-img {
        height: 45px;
    }
}

@media (max-width: 768px) {
    .hdr-actions {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-card-white {
        padding: 40px 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .cm-item {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .btn-primary-gold,
    .btn-outline-blue {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .sec-header h2 {
        font-size: 1.8rem;
    }
}

/* Burger Animation State */
.burger-btn.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--tech-gold);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.burger-btn.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--tech-gold);
}