/* --- OneProtection Future Glass Design System (2025) --- */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800&display=swap');

:root {
    /* --- THEME: DEEP FUTURE GLASS --- */
    --bg-deep: #050511;
    --primary-color: #0f172a;
    /* Legacy override */

    /* Gradients */
    --gradient-glow: radial-gradient(circle at 15% 50%, rgba(56, 189, 248, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 25%);

    /* Glass Tokens */
    --glass-surface: rgba(255, 255, 255, 0.03);
    --glass-surface-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.08);

    /* Accents */
    --accent-neon: #00f2ea;
    /* Cyan Neon */
    --accent-gold: #ffd700;
    /* Gold */
    --accent-purple: #8b5cf6;

    /* Text */
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --white: #ffffff;

    /* Typos */
    --font-heading: 'Outfit', sans-serif;
    --font-main: 'Inter', sans-serif;

    /* Dims */
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    background-image: var(--gradient-glow);
    background-attachment: fixed;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-neon);
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- GLASS COMPONENTS --- */
.glass-panel {
    background: var(--glass-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 24px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 0.9em;
    color: var(--text-muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent-neon);
}

.breadcrumbs [aria-current="page"] {
    color: var(--text-main);
    font-weight: 500;
}

.btn-glow {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-neon), #0ea5e9);
    border: none;
    border-radius: 50px;
    color: #000 !important;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 15px rgba(0, 242, 234, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 25px rgba(0, 242, 234, 0.6);
}

.btn-glass {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--white) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-neon);
    color: var(--accent-neon) !important;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

nav ul li a:hover {
    color: var(--accent-neon);
    text-shadow: 0 0 10px rgba(0, 242, 234, 0.5);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    /* Header clearance */
    padding-bottom: 50px;
}

.hero-orb {
    position: absolute;
    width: 60vh;
    height: 60vh;
    background: linear-gradient(45deg, var(--accent-neon), var(--accent-purple));
    filter: blur(120px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: pulseOrb 8s ease-in-out infinite alternate;
}

@keyframes pulseOrb {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(1.1);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 60px 40px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.stat h3 {
    font-size: 2rem;
    color: var(--accent-neon);
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* --- SECTIONS --- */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--white);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Service Card */
.service-card {
    padding: 40px;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--glass-surface-hover);
    border-color: var(--accent-neon);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-neon);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card .learn-more {
    color: var(--accent-neon);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 30px;
    margin-top: 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid,
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--accent-neon);
}

.whatsapp-button {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--glass-border);
    }

    nav {
        display: none;
    }

    /* Use JS for mobile toggle */
    .mobile-nav-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .contact-grid-redesigned {
        grid-template-columns: 1fr;
    }
}

/* --- Contact Page Grid --- */
.contact-grid-redesigned {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid-redesigned {
        grid-template-columns: 1fr;
    }
}

/* --- Legacy Fixes for Internal Pages (e.g. Careers) --- */
/* Ensure pages not yet redesigned still look passable with new vars */
.page-header {
    background: linear-gradient(135deg, var(--bg-deep) 0%, #1e293b 100%);
}

.modern-form-container {
    background: var(--white);
    color: var(--text-heading);
}