@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0a0e14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-teal: #1da1b1;
    --accent-teal: #008080;
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.glass-header {
    background: rgba(10, 14, 20, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-teal);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 5rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hero-logo-large {
    width: 100%;
    max-width: 500px;
}

.hero-logo-large img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(29, 161, 177, 0.2));
    clip-path: inset(0 0 18% 0);
    /* Cropping 'Security Consulting' tagline */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.6);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--primary-teal);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(29, 161, 177, 0.3);
}

.btn-primary:hover {
    background: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 177, 0.4);
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
}

/* Background Image Contextual Utility */
.thematic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: var(--transition-smooth);
}

.card:hover .thematic-img {
    opacity: 0.3;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 3rem;
    transition: var(--transition-smooth);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
    background: rgba(255, 255, 255, 0.05);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 800px;
    width: 90%;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-smooth);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--primary-teal);
    transform: rotate(90deg);
}

.modal-body h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.modal-body h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.modal-body ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.modal-body li {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.modal-body li:hover {
    border-color: var(--primary-teal);
    background: rgba(29, 161, 177, 0.05);
}

.modal-body li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-teal);
}

.card {
    cursor: pointer;
}

/* Cookie Banner - Premium Redesign */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid #1da1b1;
    border-radius: 24px;
    padding: 2rem 4rem;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.8);
}

.cookie-banner.active {
    bottom: 3rem;
}

.cookie-content p {
    color: #e0e6ed;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.cookie-content a {
    color: #1da1b1;
    text-decoration: none;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: #1da1b1;
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-cookie-reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-cookie-accept:hover {
    background: #008080;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(29, 161, 177, 0.4);
}

.btn-cookie-reject:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 992px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 3rem;
        gap: 2rem;
        width: 95%;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}