/* Global Styles */
:root {
    /* Cybersecurity Color Theme */
    --primary-color: #00a8ff;
    --secondary-color: #7367f0;
    --dark-blue: #1e3799;
    --terminal-green: #32ff7e;
    --terminal-black: #192a56;
    --warning-red: #ff4757;
    --background-dark: #0c1226;
    --background-light: #f1f2f6;
    --text-light: #f1f2f6;
    --text-dark: #2f3542;
    --accent-color: #ff6b6b;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-code: 'Source Code Pro', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 168, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0097e6;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 168, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(12, 18, 38, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(12, 18, 38, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a2a6c 100%);
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="60" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="20" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.2;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    height: 100%;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-headline {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.expertise-badge {
    background: linear-gradient(135deg, #ff4757 0%, #7367f0 100%);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.badge-text {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

.specialty-area {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.specialty-icon {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--terminal-green);
}

.hero .subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--terminal-green);
    opacity: 0.9;
    margin: 0;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.skill-tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background-color: rgba(0, 168, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skill-tag i {
    margin-right: 8px;
    color: var(--primary-color);
}

.red-text {
    color: #ff4757;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
    font-weight: 700;
}

.purple-text {
    color: #7367f0;
    text-shadow: 0 0 10px rgba(115, 103, 240, 0.5);
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn i {
    margin-right: 8px;
}

.security-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Digital Fortress Animation */
.digital-fortress {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(12, 18, 38, 0.8);
    box-shadow: 
        0 0 30px rgba(0, 168, 255, 0.3),
        inset 0 0 20px rgba(0, 168, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Network Grid Background */
.network-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(0, 168, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 168, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: gridMove 20s linear infinite;
    opacity: 0.4;
    z-index: 1;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* Binary Particles Animation */
.binary-particle {
    position: absolute;
    color: rgba(0, 168, 255, 0.7);
    font-family: var(--font-code);
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.5);
    animation: float-up 15s linear infinite;
    opacity: 0.7;
    z-index: 2;
}

@keyframes float-up {
    0% {
        transform: translateY(100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100%) rotate(360deg);
        opacity: 0;
    }
}

/* Scanning effect */
.scan-line {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(50, 255, 126, 0.5), 
        rgba(50, 255, 126, 0.8), 
        rgba(50, 255, 126, 0.5), 
        transparent);
    z-index: 3;
    animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { 
        top: 0%;
        opacity: 0;
    }
    25%, 75% {
        opacity: 1;
    }
    50% {
        top: 100%;
    }
}

/* Security Layers */
.security-layers {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transform-style: preserve-3d;
    animation: rotateY 15s linear infinite;
}

@keyframes rotateY {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.layer {
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.red-layer {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255, 71, 87, 0.7);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.3);
    animation: pulse-red 3s ease-in-out infinite;
}

.blue-layer {
    width: 140px;
    height: 140px;
    border: 2px solid rgba(0, 168, 255, 0.7);
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.3);
    animation: pulse-blue 3s ease-in-out infinite;
}

.purple-layer {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(115, 103, 240, 0.7);
    box-shadow: 0 0 15px rgba(115, 103, 240, 0.3);
    animation: pulse-purple 3s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 71, 87, 0.5); }
}

@keyframes pulse-blue {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 168, 255, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 168, 255, 0.5); }
}

@keyframes pulse-purple {
    0%, 100% { box-shadow: 0 0 15px rgba(115, 103, 240, 0.3); }
    50% { box-shadow: 0 0 25px rgba(115, 103, 240, 0.5); }
}

/* Team Labels */
.security-teams {
    position: absolute;
    width: 100%;
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.team-label {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: fadeIn 1s ease;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.team-label:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.red-label {
    background-color: rgba(255, 71, 87, 0.9);
    color: white;
    border: 1px solid rgba(255, 71, 87, 1);
}

.blue-label {
    background-color: rgba(0, 168, 255, 0.9);
    color: white;
    border: 1px solid rgba(0, 168, 255, 1);
}

.purple-label {
    background-color: rgba(115, 103, 240, 0.9);
    color: white;
    border: 1px solid rgba(115, 103, 240, 1);
}

/* Tooltips */
.tooltip {
    position: absolute;
    background-color: rgba(25, 42, 86, 0.95);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
    max-width: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    border-left: 3px solid var(--primary-color);
}

.tooltip p {
    margin: 0;
    line-height: 1.4;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(12, 18, 38, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #192a56 0%, #0c1226 100%);
    margin: 10% auto;
    padding: 25px;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 168, 255, 0.3);
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    animation: modalFadeIn 0.3s ease;
    color: var(--text-light);
}

/* Team-specific modal styling */
.red-modal .modal-content {
    border-color: var(--warning-red);
    box-shadow: 0 0 25px rgba(255, 71, 87, 0.3);
}

.red-modal .modal-header h2 {
    color: var(--warning-red);
}

.blue-modal .modal-content {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 168, 255, 0.3);
}

.blue-modal .modal-header h2 {
    color: var(--primary-color);
}

.purple-modal .modal-content {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(115, 103, 240, 0.3);
}

.purple-modal .modal-header h2 {
    color: var(--secondary-color);
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-30px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

#modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

#modal-expertise h3 {
    color: var(--terminal-green);
    margin: 15px 0 10px;
    font-size: 1.2rem;
}

#modal-expertise ul {
    padding-left: 20px;
}

#modal-expertise li {
    margin-bottom: 8px;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-purple {
    0%, 100% { box-shadow: 0 0 15px rgba(115, 103, 240, 0.3); }
    50% { box-shadow: 0 0 25px rgba(115, 103, 240, 0.5); }
}

/* Pulse Ring Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 2s linear infinite;
    opacity: 0;
}

.red-layer .pulse-ring {
    border: 2px solid rgba(255, 71, 87, 0.5);
    animation-delay: 0s;
}

.blue-layer .pulse-ring {
    border: 2px solid rgba(0, 168, 255, 0.5);
    animation-delay: 0.6s;
}

.purple-layer .pulse-ring {
    border: 2px solid rgba(115, 103, 240, 0.5);
    animation-delay: 1.2s;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Team Badges */
.team-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    font-family: var(--font-code);
    transform-style: preserve-3d;
    animation: counter-rotate-y 15s linear infinite;
}

@keyframes counter-rotate-y {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(-360deg); }
}

.red-layer .team-badge {
    background-color: rgba(255, 71, 87, 0.9);
    color: white;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.7);
}

.blue-layer .team-badge {
    background-color: rgba(0, 168, 255, 0.9);
    color: white;
    box-shadow: 0 0 10px rgba(0, 168, 255, 0.7);
}

.purple-layer .team-badge {
    background-color: rgba(115, 103, 240, 0.9);
    color: white;
    box-shadow: 0 0 10px rgba(115, 103, 240, 0.7);
}

/* Security Lock */
.security-lock {
    position: absolute;
    z-index: 3;
    font-size: 24px;
    color: white;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.7); }
    50% { text-shadow: 0 0 20px rgba(255, 255, 255, 1); }
}

/* Digital Code Lines */
.code-lines {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    width: calc(100% - 40px);
}

.code-line {
    height: 8px;
    background: linear-gradient(to right, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        transparent 100%);
    margin-bottom: 8px;
    border-radius: 4px;
    opacity: 0.7;
    animation: code-typing 3s infinite;
}

.code-line:nth-child(1) {
    width: 80%;
    animation-delay: 0s;
}

.code-line:nth-child(2) {
    width: 65%;
    animation-delay: 0.5s;
}

.code-line:nth-child(3) {
    width: 90%;
    animation-delay: 1s;
}

@keyframes code-typing {
    0% { width: 0; opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Team labels */
.team-labels {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-label {
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.red-label {
    background-color: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border-left: 3px solid #ff4757;
}

.blue-label {
    background-color: rgba(0, 168, 255, 0.2);
    color: #00a8ff;
    border-left: 3px solid #00a8ff;
}

.purple-label {
    background-color: rgba(115, 103, 240, 0.2);
    color: #7367f0;
    border-left: 3px solid #7367f0;
}

/* Improved counter styles */
.threat-counter {
    position: absolute;
    width: 100%;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.counter-item {
    background: rgba(12, 18, 38, 0.85);
    border: 2px solid var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 
                inset 0 0 10px rgba(0, 168, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 
                inset 0 0 15px rgba(0, 168, 255, 0.3);
}

.counter {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--terminal-green);
    margin-bottom: 5px;
    font-family: var(--font-code);
    text-shadow: 0 0 10px rgba(50, 255, 126, 0.5);
}

.counter-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter-icon {
    margin-top: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: fadeInOut 2s infinite;
    opacity: 0.8;
}

@keyframes fadeInOut {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Animation for the orbits */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Profile Section */
.profile-section {
    background-color: white;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 6rem;
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.25);
    overflow: hidden;
    border: 5px solid white;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.image-placeholder:hover .profile-img {
    transform: scale(1.05);
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-placeholder:hover::after {
    opacity: 1;
}

.profile-text {
    flex: 2;
    max-width: 800px;
}

.profile-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-blue);
}

.profile-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.certifications-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.certifications-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    background-color: var(--background-light);
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.certifications-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.certifications-list li i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

/* Experience Section */
.experience-section {
    background-color: var(--background-light);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    width: 100%;
    position: relative;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    left: 0;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content p {
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Projects Section */
.projects-section {
    background-color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.project-link i {
    margin-left: 0.4rem;
    font-size: 0.8rem;
}

.project-tags span {
    background-color: rgba(0, 168, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Skills Section */
.skills-section {
    background-color: var(--background-light);
    position: relative;
}

.skills-chart-container {
    margin-bottom: 2.5rem;
}

.skills-chart {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills-chart h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.skills-categories-wrapper {
    margin-bottom: 4rem;
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-category h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-category h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.skill-category ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.experience-metrics {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-metrics h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.metrics-container {
    height: 300px;
}

/* Publications Section */
.publications-section {
    background-color: white;
}

.media-content {
    display: flex;
    gap: 4rem;
}

.youtube-channel, .publications-list {
    flex: 1;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.channel-preview {
    text-align: center;
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background-color: #192a56;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin-bottom: 1.5rem;
}

.video-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--warning-red);
}

.publications-list h3 {
    margin-bottom: 2rem;
}

.publications-list ul {
    list-style: none;
}

.publications-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.publications-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.publications-list ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.publications-list ul li a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.publications-list h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.publication-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.publication-link:hover {
    color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--background-dark) 0%, #1a2a6c 100%);
    color: var(--text-light);
}

.contact-section .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.contact-card h3 {
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.contact-card h3 i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact Details List */
.contact-details {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-details li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-details li i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

/* Availability Info */
.availability-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.availability-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.availability-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.availability-item h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.availability-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Connect Options */
.connect-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.connect-button {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.connect-button i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.email-btn {
    background-color: #d14836;
}

.linkedin-btn {
    background-color: #0077b5;
}

.calendar-btn {
    background-color: #0069ff;
}

.connect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--terminal-black);
    color: var(--text-light);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .media-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-content {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    
    .profile-text {
        padding: 0 1rem;
    }
    
    .certifications-list {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 1.5rem auto 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
}

@media screen and (max-width: 768px) {
    .navbar .container {
        position: relative;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-dark);
        flex-direction: column;
        padding: 1rem 0;
        display: none;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    /* Enhanced Hero Section Mobile Styles */
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }
    
    .hero .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        margin-bottom: 3rem;
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .tag-container {
        justify-content: center;
    }
    
    .expertise-badge {
        margin: 0 auto 0.5rem;
    }
    
    .hero-headline {
        flex-direction: column;
        justify-content: center;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .security-animation {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .digital-fortress {
        width: 250px;
        height: 250px;
    }
    
    .security-layers {
        width: 180px;
        height: 180px;
    }
    
    .red-layer {
        width: 160px;
        height: 160px;
    }
    
    .blue-layer {
        width: 120px;
        height: 120px;
    }
    
    .purple-layer {
        width: 80px;
        height: 80px;
    }
    
    /* Improve specialty area display on mobile */
    .specialty-area {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .specialty-icon {
        margin-bottom: 5px;
    }
    
    /* Mobile styles for threat counter */
    .threat-counter {
        position: relative;
        flex-direction: column;
        top: auto;
        bottom: auto;
        gap: 15px;
        margin-top: 40px;
        left: 0;
        transform: none;
    }
    
    .counter-item {
        width: 100%;
        min-width: unset;
    }
}
