/* ==========================================================================
   GLASSMORPHISM THEME - VERSION_CHECK_TIMESTAMP: 2026-02-07T21:19:00Z
   ========================================================================== */

/* ==========================================================================
   UNIFIED THEME VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400&display=swap');

:root {
    /* Core Colors */
    --primary-bg: #010418;
    --text-color: #E0F7FA;

    /* Glow Colors */
    --glow-color-1: #00A8FF;
    --glow-color-2: #00E5FF;

    /* WhatsApp */
    --whatsapp-color: #25D366;

    /* Glassmorphism Core Variables */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-bg-strong: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-highlight: rgba(0, 229, 255, 0.3);
    --glass-blur: blur(12px);
    --glass-blur-strong: blur(20px);

    /* Shadows */
    --shadow-glow-soft: 0 0 15px rgba(0, 229, 255, 0.3);
    --shadow-glow-medium: 0 0 25px rgba(0, 229, 255, 0.5);
    --shadow-glow-strong: 0 0 40px rgba(0, 229, 255, 0.7);

    /* Z-Index Scale */
    --z-bg: -2;
    --z-base: 1;
    --z-dropdown: 1001;
    --z-navbar: 1000;
    --z-hamburger: 1001;
    --z-whatsapp: 1000;
    --z-skip: 10000;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 168, 255, 0.08), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.08), transparent 40%);
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   BACKGROUND VIDEO
   ========================================================================== */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: var(--z-bg);
    opacity: 0.3;
    pointer-events: none;
}

/* ==========================================================================
   GLASSMORPHISM UTILITY CLASSES
   ========================================================================== */

/* Base glass effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

/* Strong glass effect */
.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur-strong);
    -webkit-backdrop-filter: var(--glass-blur-strong);
    border: 1px solid var(--glass-border);
}

/* Glass with glowing border */
.glass-glow {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border-highlight);
    box-shadow: var(--shadow-glow-soft);
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
    max-width: 1200px;
    padding: 0.5rem 1rem 0.5rem;
    width: 100%;
    position: relative;
    z-index: var(--z-base);
}

.container#cv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    max-width: 100%;
}

.container#cv .cv-content p,
.container#cv .content p {
    text-align: center;
}

/* ==========================================================================
   NAVIGATION BAR - GLASSMORPHISM
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(1, 4, 24, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: var(--z-navbar);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 168, 255, 0.15);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar:hover {
    background: rgba(1, 4, 24, 0.98);
    box-shadow: 0 4px 30px rgba(0, 168, 255, 0.3);
}

.navbar.scrolled {
    background: rgba(1, 4, 24, 0.99);
    box-shadow: 0 4px 30px rgba(0, 168, 255, 0.4);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--glow-color-2);
    text-decoration: none;
    text-shadow: 0 0 10px var(--glow-color-1);
    transition: transform var(--transition-base), text-shadow var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: var(--z-hamburger);
}

.nav-logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px var(--glow-color-2);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color-1);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    display: block !important;
    background-color: rgba(0, 168, 255, 0.1);
    border: 2px solid var(--glow-color-1);
    image-rendering: -webkit-optimize-contrast;
    position: relative;
    z-index: 10;
}

.nav-logo-img:hover {
    box-shadow: 0 0 15px var(--glow-color-2), 0 0 25px var(--glow-color-1);
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.nav-item {
    margin: 0;
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: color var(--transition-base), background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    position: relative;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--glow-color-2);
    background-color: rgba(0, 168, 255, 0.15);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
    text-shadow: 0 0 8px var(--glow-color-1);
}

.nav-link:focus {
    outline: 2px solid var(--glow-color-1);
    outline-offset: 2px;
}

.nav-link.active {
    background-color: rgba(0, 168, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.5);
    color: var(--glow-color-2);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4), 0 0 10px rgba(0, 229, 255, 0.3);
    text-shadow: 0 0 8px var(--glow-color-1);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--glow-color-2), transparent);
    border-radius: 2px;
    animation: spotlight 2s ease-in-out infinite;
}

@keyframes spotlight {

    0%,
    100% {
        opacity: 0.5;
        width: 60%;
    }

    50% {
        opacity: 1;
        width: 90%;
    }
}

/* ==========================================================================
   DROPDOWN MENU - GLASSMORPHISM
   ========================================================================== */
.nav-item.has-dropdown>.nav-link::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.nav-item.has-dropdown:hover>.nav-link::after,
.nav-item.has-dropdown:focus-within>.nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: rgba(1, 4, 24, 0.98);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 168, 255, 0.3);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.dropdown-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-fast);
    border-radius: 6px;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background-color: rgba(0, 168, 255, 0.2);
    color: var(--glow-color-2);
    padding-left: 1.5rem;
    text-shadow: 0 0 5px rgba(0, 168, 255, 0.3);
}

.dropdown-link:focus {
    outline: 2px solid var(--glow-color-1);
    outline-offset: -2px;
    background-color: rgba(0, 168, 255, 0.15);
}

/* ==========================================================================
   HAMBURGER MENU
   ========================================================================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0;
    border-radius: 8px;
    transition: background-color var(--transition-base);
    z-index: var(--z-hamburger);
}

.hamburger:hover {
    background-color: rgba(0, 168, 255, 0.1);
}

.hamburger:focus {
    outline: 2px solid var(--glow-color-1);
    outline-offset: 2px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 0 5px var(--glow-color-1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(1, 4, 24, 0.99);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 168, 255, 0.3);
    border-top: 1px solid rgba(0, 168, 255, 0.2);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.nav-menu.active .nav-item {
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.nav-menu.active .nav-item:last-child {
    border-bottom: none;
}

.nav-menu.active .nav-link {
    display: flex;
    padding: 1rem 1.5rem;
    border-bottom: none;
    justify-content: space-between;
}

.nav-menu.active .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--glow-color-1);
    background-color: rgba(0, 168, 255, 0.05);
    padding: 0;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-menu.active .nav-item.has-dropdown.expanded .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
}

.nav-menu.active .nav-item.has-dropdown>.nav-link::after {
    transform: rotate(90deg);
}

.nav-menu.active .nav-item.has-dropdown.expanded>.nav-link::after {
    transform: rotate(-90deg);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON - COMPACT CHAT EXPERIENCE
   ========================================================================== */
.whatsapp-container {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: var(--z-whatsapp);
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 10px;
}

.whatsapp-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #25D366 0%, #20B357 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5),
                0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: wa-pulse 2s infinite, wa-float 4s ease-in-out infinite;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6),
                0 0 0 8px rgba(37, 211, 102, 0.1);
}

.whatsapp-icon a {
    color: #fff !important;
    font-size: 26px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 50%;
}

.whatsapp-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #25D366;
    border-radius: 50%;
    border: 2.5px solid var(--bg-color);
    animation: online-dot 2s infinite;
}

.whatsapp-popup {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 16px;
    padding: 12px 15px;
    max-width: 220px;
    position: relative;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12),
                0 2px 6px rgba(0, 0, 0, 0.08);
    animation: wa-message-cycle 20s infinite;
    animation-delay: 5s;
    opacity: 0;
    transform: translateX(15px) scale(0.95);
    border: none;
    pointer-events: none;
}

.whatsapp-popup.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup.closed {
    display: none;
}

.whatsapp-popup-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 18px;
    height: 18px;
    background: #e0e0e0;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-popup-close:hover {
    background: #25D366;
    color: white;
}

@keyframes wa-message-cycle {
    0% { opacity: 0; transform: translateX(15px) scale(0.95); }
    5% { opacity: 1; transform: translateX(0) scale(1); }
    25% { opacity: 1; transform: translateX(0) scale(1); }
    30% { opacity: 0; transform: translateX(15px) scale(0.95); }
    100% { opacity: 0; transform: translateX(15px) scale(0.95); }
}

.whatsapp-popup::before {
    content: '';
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 12px;
    border-style: solid;
    border-color: transparent transparent transparent #ffffff;
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.whatsapp-popup-avatar {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.whatsapp-popup-name {
    font-weight: 600;
    font-size: 12px;
    color: #128C7E;
}

.whatsapp-popup-status {
    font-size: 10px;
    color: #25D366;
    display: flex;
    align-items: center;
    gap: 3px;
}

.whatsapp-popup-status::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #25D366;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

.whatsapp-popup p {
    margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.whatsapp-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #25D366 0%, #20B357 100%);
    color: white;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.whatsapp-popup-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.4);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes wa-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes wa-message-in {
    0% { opacity: 0; transform: translateX(20px) scale(0.9); }
    60% { opacity: 1; transform: translateX(-3px) scale(1.02); }
    100% { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes wa-float-subtle {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}

@keyframes online-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.4; }
}

.whatsapp-container:hover .whatsapp-popup {
    animation: none;
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.whatsapp-popup:hover { animation-play-state: paused; }
.whatsapp-icon:active { transform: scale(0.95); }

@media (max-width: 768px) {
    .whatsapp-container {
        right: 15px;
        bottom: 15px;
        gap: 8px;
    }
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .whatsapp-icon a {
        font-size: 26px;
    }
    .whatsapp-popup {
        display: none;
    }
    .whatsapp-icon::before {
        width: 12px;
        height: 12px;
        top: -2px;
        right: -2px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .whatsapp-container {
        right: 12px;
        bottom: 12px;
    }
    .whatsapp-icon {
        width: 48px;
        height: 48px;
    }
    .whatsapp-icon a {
        font-size: 24px;
    }
}

/* ==========================================================================
   3D TITLE STYLING
   ========================================================================== */
.title-container {
    perspective: 1000px;
    padding: 0.5rem 0;
    margin-top: 6rem;
}

.title-3d {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 700;
    color: var(--text-color);
    text-shadow:
        0 0 5px var(--glow-color-2),
        0 0 10px var(--glow-color-2),
        0 0 20px var(--glow-color-1),
        0 0 40px var(--glow-color-1);
    transform: rotateX(15deg) rotateY(-10deg);
    transition: transform var(--transition-slow);
    cursor: pointer;
    animation: titleFloat 8s ease-in-out infinite;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.title-3d.title-row span {
    display: inline-block;
}

.title-container:hover .title-3d {
    transform: rotateX(0deg) rotateY(0deg) scale(1.05);
}

@keyframes titleFloat {

    0% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(0px) translateY(0px);
    }

    20% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(10px) translateY(-15px);
    }

    40% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(-8px) translateY(-8px);
    }

    60% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(5px) translateY(0px);
    }

    80% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(-5px) translateY(-12px);
    }

    100% {
        transform: rotateX(15deg) rotateY(-10deg) translateX(0px) translateY(0px);
    }
}

/* ==========================================================================
   BRAIN CONTAINER
   ========================================================================== */
#brain-container {
    width: 100%;
    max-width: 600px;
    height: 0;
    margin: 0 auto;
    cursor: grab;
    border-radius: 15px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.05), transparent 70%);
}

#brain-container:active {
    cursor: grabbing;
}

/* ==========================================================================
   CONTENT STYLING
   ========================================================================== */
.content {
    margin-top: 0.25rem;
    padding: 0.25rem;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(0, 168, 255, 0.05);
    border-radius: 15px;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

.content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--glow-color-2);
    text-align: center;
}

.content p {
    font-weight: 300;
}

/* ==========================================================================
   SUMMARY SECTION - GLASSMORPHISM CARDS
   ========================================================================== */
.summary-section {
    margin-top: 2rem;
    text-align: center;
}

.summary-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--glow-color-2);
    margin-bottom: 2rem;
}

.summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.summary-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-base);
}

.summary-link:hover {
    transform: scale(1.05);
}

.summary-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
}

.summary-card:hover {
    background-color: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
    transform: translateY(-5px);
    text-decoration: none;
    color: var(--text-color);
}

.summary-card i {
    font-size: 3rem;
    color: var(--glow-color-2);
    margin-bottom: 1rem;
}

.summary-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-decoration: none;
}

.summary-card p {
    font-weight: 300;
    line-height: 1.6;
    text-decoration: none;
    color: var(--text-color);
}

/* ==========================================================================
   GALLERY SECTION - GLASSMORPHISM
   ========================================================================== */
.gallery-section {
    padding: clamp(8px, 3vw, 20px);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.gallery-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: var(--glow-color-1);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
    line-height: 1.2;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(250px, 25vw, 300px), 1fr));
    gap: clamp(15px, 3vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    justify-items: center;
    align-items: start;
    padding: 0 clamp(10px, 3vw, 20px);
    box-sizing: border-box;
}

/* ==========================================================================
   GALLERY CARD - 3D FLIP WITH GLASS EFFECT
   ========================================================================== */
.gallery-card {
    width: 100%;
    max-width: clamp(250px, 25vw, 300px);
    height: clamp(350px, 45vw, 400px);
    perspective: 1000px;
    margin: 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible;
}

.gallery-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    border-radius: clamp(10px, 2vw, 15px);
    overflow: hidden;
}

.gallery-card:hover .gallery-card-inner {
    transform: rotateY(180deg);
}

.gallery-card-front,
.gallery-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: clamp(10px, 2vw, 15px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 3vw, 20px);
    box-sizing: border-box;
}

.gallery-card-front {
    background: linear-gradient(145deg, rgba(1, 4, 24, 0.95), rgba(1, 4, 24, 0.8));
    color: white;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.gallery-card-front img {
    width: 100%;
    height: clamp(180px, 60%, 220px);
    object-fit: cover;
    border-radius: clamp(8px, 1.5vw, 12px);
    margin-bottom: clamp(8px, 2vw, 12px);
}

.gallery-card-front img.smaller-img {
    height: clamp(150px, 50%, 180px);
}

.gallery-card-front i {
    color: var(--glow-color-1);
    margin-bottom: clamp(8px, 2vw, 15px);
    font-size: clamp(2rem, 5vw, 3rem);
}

.gallery-card-front h3 {
    margin: 0;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--glow-color-1);
    line-height: 1.2;
    text-align: center;
}

.gallery-card-back {
    background: rgba(1, 4, 24, 0.95);
    border: 2px solid rgba(0, 168, 255, 0.3);
    color: #E0F7FA;
    transform: rotateY(180deg);
    padding: clamp(15px, 3vw, 25px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

.gallery-card-back h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(10px, 2.5vw, 20px);
    color: var(--glow-color-1);
    line-height: 1.2;
}

.gallery-card-back p {
    margin-bottom: clamp(15px, 3vw, 30px);
    line-height: 1.5;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn {
    display: inline-block;
    padding: clamp(8px, 2vw, 12px) clamp(15px, 3vw, 20px);
    background: linear-gradient(45deg, var(--glow-color-1), var(--glow-color-2));
    color: white;
    text-decoration: none;
    border-radius: clamp(20px, 5vw, 25px);
    font-weight: bold;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.gallery-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
    border-color: var(--glow-color-1);
}

.gallery-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   VIDEO SECTION - GLASSMORPHISM
   ========================================================================== */
.video-section {
    padding: clamp(8px, 3vw, 20px);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.video-section h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: var(--glow-color-1);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
    line-height: 1.2;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 35vw, 400px), 1fr));
    gap: clamp(20px, 4vw, 30px);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 clamp(10px, 3vw, 20px);
    box-sizing: border-box;
}

.video-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: clamp(10px, 2vw, 15px);
    padding: clamp(10px, 2vw, 15px);
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.2);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 168, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
}

.video-item h3 {
    margin-bottom: clamp(8px, 2vw, 12px);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--glow-color-2);
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.video-item video {
    width: 100%;
    height: clamp(180px, 25vw, 220px);
    border-radius: clamp(8px, 1.5vw, 12px);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    object-fit: cover;
    object-position: center;
    transition: all var(--transition-base);
    max-width: 100%;
}

.video-item:hover video {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

/* ==========================================================================
   PSYCHOLOGICAL MESSAGES - SCROLLING
   ========================================================================== */
.psych-messages {
    position: relative;
    overflow: hidden;
    height: 60px;
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.psych-messages p {
    position: absolute;
    white-space: nowrap;
    font-size: 1.2rem;
    color: var(--glow-color-1);
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.7);
    animation: scroll-left-final 1200s linear infinite;
}

@keyframes scroll-left-final {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   ACCESSIBILITY - SKIP TO CONTENT
   ========================================================================== */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glow-color-1);
    color: var(--primary-bg);
    padding: 1rem 2rem;
    z-index: var(--z-skip);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top var(--transition-base);
}

.skip-to-content:focus {
    top: 10px;
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    .nav-link,
    .dropdown-link,
    .hamburger span,
    .dropdown-menu,
    .gallery-card-inner {
        transition: none !important;
    }

    .nav-link.active::after,
    .gallery-btn,
    .summary-card,
    .video-item {
        animation: none !important;
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1400px) {
    .container {
        max-width: 95%;
        padding: 4rem clamp(0.5rem, 2vw, 1.5rem) 2rem;
    }

    .nav-container {
        max-width: 100%;
        padding: 0 clamp(0.5rem, 2vw, 1.5rem);
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 4rem 1rem 2rem;
    }

    .nav-container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .cv-grid {
        max-width: 100%;
        grid-template-columns: 1fr 2fr;
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    .gallery-container {
        gap: clamp(15px, 2vw, 25px);
    }

    .gallery-card {
        width: clamp(250px, 28vw, 300px);
    }
}

@media (max-width: 992px) {
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .nav-logo {
        font-size: 1.6rem;
    }

    .nav-logo-img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }

    .nav-logo-img {
        width: clamp(24px, 3vw, 28px);
        height: clamp(24px, 3vw, 28px);
    }

    .nav-menu.active {
        left: 0;
    }

    .container {
        padding: 6rem 1rem 2rem;
    }

    .content {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.6;
    }

    .content h2 {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }

    .cv-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .gallery-container {
        justify-content: center;
        gap: clamp(10px, 3vw, 20px);
    }

    .gallery-card {
        width: clamp(240px, 45vw, 280px);
        margin: 0 auto;
    }

    .video-container {
        flex-direction: column;
        align-items: center;
    }

    .video-item {
        width: 100%;
        max-width: 500px;
    }

    .title-container {
        margin-top: 5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 clamp(0.25rem, 2vw, 0.5rem);
    }

    .nav-logo-img {
        width: clamp(20px, 5vw, 24px);
        height: clamp(20px, 5vw, 24px);
    }

    .nav-logo {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }

    .container {
        padding: 5rem clamp(0.25rem, 2vw, 0.5rem) 2rem;
    }

    .title-3d {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    #brain-container {
        max-width: 95vw;
    }

    .content {
        padding: clamp(0.5rem, 3vw, 1rem);
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    }

    .content h2 {
        font-size: clamp(1.3rem, 4vw, 1.5rem);
    }

    .content ul {
        padding-left: clamp(0.5rem, 3vw, 1rem);
    }

    .content li {
        margin-bottom: clamp(0.25rem, 1vw, 0.5rem);
    }

    .gallery-card {
        width: clamp(220px, 90vw, 280px);
        max-width: 100%;
        margin: 0 auto;
    }

    .gallery-card-inner {
        height: clamp(320px, 80vw, 380px);
    }

    .gallery-card-front img {
        width: 100%;
        height: clamp(160px, 55%, 200px);
        object-fit: cover;
        object-position: center;
    }

    .gallery-card-front h3 {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
    }
}

/* ==========================================================================
   GLASSMORPHISM FOOTER - RESPONSIVE
   ========================================================================== */
.footer {
    background: linear-gradient(180deg,
            rgba(1, 4, 24, 0.85) 0%,
            rgba(1, 4, 24, 0.75) 50%,
            rgba(0, 17, 34, 0.85) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 168, 255, 0.15);
    padding: 3rem 2rem 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: var(--z-base);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 229, 255, 0.4) 25%,
            rgba(0, 168, 255, 0.6) 50%,
            rgba(0, 229, 255, 0.4) 75%,
            transparent 100%);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 168, 255, 0.2) 50%,
            transparent 100%);
}

.footer-content {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.footer-nav {
    flex: 1;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.footer-nav li {
    position: relative;
}

.footer-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.footer-nav a:hover {
    color: var(--glow-color-2);
    background-color: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

.footer-nav a i {
    font-size: 1.1rem;
    color: var(--glow-color-1);
    transition: all var(--transition-base);
}

.footer-nav a:hover i {
    color: var(--glow-color-2);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-left: 2rem;
    border-left: 1px solid rgba(0, 229, 255, 0.15);
}

.footer-copyright {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    margin: 0;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--glow-color-1);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--glow-color-2);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.footer-separator {
    color: rgba(0, 229, 255, 0.3);
    font-size: 0.9rem;
}

/* ==========================================================================
   CONTACT PAGE REFACTOR (Control Center Layout)
   ========================================================================== */
.contact-interface {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Left: Intel (Social/Info), Right: Transmission (Form) */
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-column-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Make sure the form takes full height if needed */
.contact-form-card {
    height: 100%;
}

/* Advisory/System Notice inside Form */
.advisory-card {
    background: rgba(0, 168, 255, 0.05) !important;
    /* Override inline styles */
    border: 1px solid rgba(0, 229, 255, 0.2) !important;
    border-left: 3px solid var(--primary-color) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: none !important;
    color: var(--text-color) !important;
}

.advisory-card h4 {
    color: var(--glow-color-2) !important;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.advisory-card p,
.advisory-card li {
    color: rgba(224, 247, 250, 0.8) !important;
}

.advisory-card .fas {
    color: var(--glow-color-1) !important;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .contact-interface {
        grid-template-columns: 1fr;
        /* Stack on mobile/tablet */
    }
}

.footer-version {
    color: rgba(224, 247, 250, 0.6);
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
}

.footer-updated, .footer-build {
    color: rgba(224, 247, 250, 0.5);
    font-size: 0.8rem;
}

.footer-version:hover {
    color: var(--glow-color-2);
    cursor: help;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-content {
        padding: 0 2rem;
        max-width: 100%;
    }

    .footer-nav a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 992px) {
    .footer {
        padding: 2rem 1.5rem 1rem;
    }

    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-nav ul {
        gap: 0.75rem;
    }

    .footer-nav a {
        padding: 0.5rem 0.85rem;
        font-size: 0.9rem;
    }

    .footer-info {
        padding-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem 1rem;
        margin-top: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
        text-align: center;
    }

    .footer-nav {
        width: 100%;
    }

    .footer-nav ul {
        justify-content: center;
        gap: 0.5rem;
    }

    .footer-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .footer-nav a span {
        display: none;
    }

    .footer-nav a i {
        font-size: 1.2rem;
    }

    .footer-info {
        padding-left: 0;
        border-left: none;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 229, 255, 0.1);
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0.75rem 0.75rem;
        margin-top: 1.5rem;
    }

    .footer-nav ul {
        gap: 0.4rem;
    }

    .footer-nav a {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a,
    .footer-separator,
    .footer-version,
    .footer-updated,
    .footer-build {
        font-size: 0.7rem;
    }
}

/* ==========================================================================
    ENHANCED SUBTITLE WORDS - Soft Skills, Protection, Development
    ========================================================================== */

/* Subtitle Styling with Enhanced Word Effects */
.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-weight: 400;
    margin-top: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* "and" word - Cyan color matching the theme */
.subtitle-word {
    color: #00E5FF;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    animation: softGlow 3s ease-in-out infinite alternate;
}

/* Soft Skills - Teal/cyan gradient representing human connection and empathy */
.soft-skills {
    background: linear-gradient(135deg, #00E5FF 0%, #00B8D4 50%, #0097A7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 700;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    animation: softGlow 3s ease-in-out infinite alternate;
}

@keyframes softGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(0, 183, 212, 0.9));
    }
}

/* Protection - Deep teal/cyan gradient representing security and defense */
.protection {
    background: linear-gradient(135deg, #00E5FF 0%, #00B8D4 50%, #0097A7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 700;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    animation: protectGlow 3s ease-in-out infinite alternate;
}

@keyframes protectGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(0, 183, 212, 0.9));
    }
}

@keyframes shieldPulse {

    0%,
    100% {
        transform: translateY(-50%) scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.8));
    }

    50% {
        transform: translateY(-50%) scale(1.1);
        filter: drop-shadow(0 0 12px rgba(0, 229, 255, 1));
    }
}

/* Development - Teal/cyan gradient representing growth and innovation */
.development {
    background: linear-gradient(135deg, #00E5FF 0%, #00B8D4 50%, #0097A7 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 700;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    animation: devGlow 3s ease-in-out infinite alternate;
}

@keyframes devGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(0, 183, 212, 0.9));
    }
}

/* Responsive adjustments for subtitle words */
@media (max-width: 768px) {

    .soft-skills,
    .protection,
    .development {
        display: inline;
    }
}

/* ==========================================================================
   CV PROFILE IMAGE - ENHANCED CONTAINER
   Cross-Browser: Safari, Chrome, Firefox, Edge, iOS
   ========================================================================== */
.profile-image-container {
    /* Responsive sizing using clamp for all browsers */
    width: clamp(120px, 30vw, 200px);
    height: clamp(120px, 30vw, 200px);
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.3);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    /* Safari/WebKit fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Prevent overflow on small screens */
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.profile-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.foto {
    width: 100%;
    height: 100%;
    /* Cross-browser object-fit */
    -webkit-object-fit: cover;
    object-fit: cover;
    -webkit-object-position: center;
    object-position: center;
    border-radius: 50%;
    /* Safari image rendering fix */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Prevent image overflow */
    max-width: 100%;
    max-height: 100%;
}

/* Fallback for browsers without clamp() support */
@supports not (width: clamp(120px, 30vw, 200px)) {
    .profile-image-container {
        width: 200px;
        height: 200px;
    }
    
    @media (max-width: 480px) {
        .profile-image-container {
            width: 120px;
            height: 120px;
        }
    }
    
    @media (max-width: 768px) and (min-width: 481px) {
        .profile-image-container {
            width: 150px;
            height: 150px;
        }
    }
}

/* Ensure responsiveness for the image container */
@media (max-width: 768px) {
    .profile-image-container {
        /* Smaller on mobile for better layout */
        width: clamp(100px, 25vw, 150px);
        height: clamp(100px, 25vw, 150px);
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
}

/* ==========================================================================
   SECURE TERMINAL PDF VIEWER
   ========================================================================== */
.secure-terminal-header {
    background: rgba(0, 20, 40, 0.9);
    border: 1px solid var(--primary-color);
    border-bottom: none;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.terminal-status {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px var(--primary-color);
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.terminal-id {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.secure-frame {
    position: relative;
    width: 100%;
    /* Removed fixed height to allow auto-scaling based on canvas */
    min-height: 500px;
    border: 1px solid var(--primary-color);
    background: #000;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#pdf-render {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Terminal Controls */
.terminal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 20, 40, 0.95);
    border-top: 1px solid var(--primary-color);
    z-index: 15;
    /* Above scanlines */
    font-family: 'Orbitron', monospace;
}

.terminal-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.terminal-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 10px var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.terminal-btn:disabled {
    border-color: #555;
    color: #555;
    cursor: not-allowed;
    box-shadow: none;
}

.page-info {
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Corner Accents - kept from previous but updated z-index if needed */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    z-index: 20;
    pointer-events: none;
}

.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Overlays */
.scanline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 229, 255, 0) 50%,
            rgba(0, 229, 255, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

.security-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Covers the canvas area */
    z-index: 25;
    /* Higher than controls only if we want to block clicks, but we want controls to work */
    pointer-events: none;
    /* Let clicks pass through generally */
}

/* We want the security overlay to BLOCK right clicks on the canvas but NOT the buttons */
#canvas-container {
    position: relative;
    z-index: 5;
}

.secure-footer {
    background: rgba(0, 20, 40, 0.9);
    border: 1px solid var(--primary-color);
    border-top: none;
    padding: 10px;
    text-align: center;
    border-radius: 0 0 10px 10px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'OCR A Std', monospace;
}

.secure-footer i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Redesigned Close Button (System Exit) */
.close-btn {
    display: block;
    margin: 2rem auto;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
    z-index: 10;
}

.close-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    transition: 0.5s;
}

.close-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px var(--primary-color), inset 0 0 10px var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    transform: scale(0.98);
}

.close-btn:hover::before {
    left: 100%;
}

.close-btn i {
    margin-right: 10px;
}

/* Widen "Connect With Us" Section */
#social-media {
    width: 95%;
    /* Occupy most of the screen width */
    max-width: 1600px;
    /* Much wider cap than standard sections */
    margin-left: auto;
    margin-right: auto;
}

#social-media .social-links {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* Wider cards for better fill */
    max-width: 1400px;
    /* Constrain inner content slightly less than container */
    margin: 0 auto;
}

/* ==========================================================================
   HUMAN PROFILE SECTION - CV
   ========================================================================== */
.human-profile-card {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1) 0%, rgba(0, 229, 255, 0.05) 100%);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem 0;
}

.human-profile-card h2 {
    color: var(--glow-color-2);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.human-intro, .human-values, .human-mission, .human-closing {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.human-values {
    font-style: italic;
    border-left: 3px solid var(--glow-color-2);
    padding-left: 1rem;
    background: rgba(0, 229, 255, 0.05);
    padding: 1rem;
    border-radius: 0 10px 10px 0;
}

.human-mission {
    background: rgba(0, 168, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.human-mission strong {
    color: var(--glow-color-2);
    font-size: 1.1rem;
}

.human-closing {
    text-align: center;
    font-size: 1rem;
    opacity: 0.9;
}

.human-qualities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quality-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.quality-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--glow-color-2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.quality-item i {
    font-size: 2.5rem;
    color: var(--glow-color-2);
    margin-bottom: 1rem;
    display: block;
}

.quality-item h4 {
    color: var(--glow-color-2);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.quality-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ==========================================================================
   CERTIFICATIONS GALLERY SECTION - CV
   ========================================================================== */
.certifications-section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.certifications-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.certifications-section .section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--glow-color-2);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

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

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 229, 255, 0.2);
    border-color: var(--glow-color-2);
}

.cert-image-container {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.2) 0%, rgba(0, 229, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-placeholder {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-placeholder i {
    font-size: 6rem;
    color: var(--glow-color-2);
    opacity: 0.6;
}

.cert-content {
    padding: 1.5rem;
}

.cert-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--glow-color-2);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cert-issuer {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.cert-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.cert-year {
    display: inline-block;
    background: rgba(0, 229, 255, 0.2);
    color: var(--glow-color-2);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.cert-note {
    text-align: center;
    color: var(--text-color);
    opacity: 0.6;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.cert-note code {
    background: rgba(0, 229, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: monospace;
    color: var(--glow-color-2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .human-profile-card {
        padding: 1.5rem;
    }
    
    .human-profile-card h2 {
        font-size: 1.4rem;
    }
    
    .human-qualities {
        grid-template-columns: 1fr;
    }
    
    .certifications-section {
        padding: 2rem 1rem;
    }
    
    .certifications-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SERVICES CATALOG STYLES
   ========================================================================== */
.catalog-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.catalog-hero h2 {
    font-family: var(--font-family-display, 'Orbitron', sans-serif);
    font-size: 2.5rem;
    color: var(--glow-color-2);
    margin-bottom: 1rem;
}

.catalog-hero p {
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.pricing-note {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-note i {
    color: var(--glow-color-1);
    font-size: 1.1rem;
}

.pricing-note span {
    color: var(--text-color);
    font-size: 0.95rem;
}

.pricing-note a {
    color: var(--glow-color-2);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.pricing-note a:hover {
    color: var(--glow-color-1);
}

@media (max-width: 768px) {
    .pricing-note {
        padding: 12px 18px;
        margin: 20px 15px 0;
    }
    
    .pricing-note span {
        font-size: 0.9rem;
    }
}

.payment-methods {
    text-align: center;
    margin: 3rem 0;
    padding: 20px;
}

.payment-methods p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 15px;
    opacity: 0.9;
}

.payment-methods p i {
    color: var(--glow-color-1);
    margin-right: 8px;
}

.payment-methods div {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 2rem;
}

.payment-methods i {
    opacity: 0.8;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.payment-methods i:hover {
    opacity: 1;
    transform: scale(1.1);
}

.payment-methods span {
    font-size: 0.9rem;
    font-weight: bold;
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 6px;
    transition: all var(--transition-fast);
    cursor: default;
}

.payment-methods span:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .payment-methods {
        margin: 2rem 0;
        padding: 15px;
    }
    
    .payment-methods div {
        gap: 20px;
        font-size: 1.6rem;
    }
    
    .payment-methods span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
    align-items: stretch;
}

.catalog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-soft);
    border-color: var(--glass-border-highlight);
}

.catalog-card-header {
    background: linear-gradient(135deg, rgba(0,168,255,0.2) 0%, rgba(0,229,255,0.1) 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.catalog-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--glow-color-1) 0%, var(--glow-color-2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.catalog-card-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--glow-color-2);
}

.catalog-card-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}

.catalog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.catalog-card-content h4 {
    color: var(--glow-color-2);
    font-size: 0.95rem;
    margin: 1rem 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-card-content h4 i {
    color: var(--glow-color-1);
}

.catalog-card-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-card-content ul li {
    color: var(--text-color);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0.9;
}

.catalog-card-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #25D366;
    font-size: 0.75rem;
    top: 0.5rem;
}

.service-price {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25D366;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: center;
}

.service-price span {
    color: #25D366;
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
}

.service-price p {
    color: var(--text-color);
    font-size: 0.8rem;
    margin: 5px 0 0 0;
    opacity: 0.8;
}

.service-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-note i {
    color: var(--glow-color-1);
}

.catalog-cta {
    text-align: center;
    padding: 3rem 1rem;
    margin-top: 2rem;
}

.catalog-cta h3 {
    color: var(--glow-color-2);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #25D366 0%, #20B357 100%);
    color: white;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

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

.cta-btn-secondary:hover {
    background: rgba(0, 168, 255, 0.1);
}

/* Enhanced Card Effects */
.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.catalog-card:hover::before {
    left: 100%;
}

.catalog-card {
    position: relative;
    overflow: hidden;
}

/* Feature Tags */
.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid #25D366;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #25D366;
    margin: 2px;
}

.feature-tag.popular {
    background: rgba(255, 193, 7, 0.2);
    border-color: #FFC107;
    color: #FFC107;
}

.feature-tag.new {
    background: rgba(0, 229, 255, 0.2);
    border-color: var(--glow-color-2);
    color: var(--glow-color-2);
}

/* Service Level Badge */
.service-level {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.service-level.basic {
    background: rgba(149, 165, 166, 0.3);
    color: #95a5a6;
}

.service-level.pro {
    background: rgba(155, 89, 182, 0.3);
    color: #9b59b6;
}

.service-level.enterprise {
    background: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* Compare Table Styles */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--glass-bg);
    border-radius: 16px;
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.compare-table th {
    background: rgba(0, 168, 255, 0.1);
    color: var(--glow-color-2);
    font-weight: bold;
}

.compare-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Package Comparison Cards */
.package-card {
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.package-card.recommended {
    border-color: #25D366;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
}

.package-card.recommended::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Hover Effects for Icons */
.catalog-card-icon {
    transition: all 0.3s ease;
}

.catalog-card:hover .catalog-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

/* Animated Price Tag */
.service-price {
    position: relative;
    overflow: hidden;
}

.service-price::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Service Category Headers */
.category-header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.category-header h3 {
    color: var(--glow-color-2);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-color);
    opacity: 0.7;
}

/* FAQ Section */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 168, 255, 0.05);
}

.faq-question h4 {
    margin: 0;
    color: var(--glow-color-2);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--glow-color-1), var(--glow-color-2));
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 2px solid var(--glow-color-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--glow-color-2);
    margin: 0 auto 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--glow-color-2);
    font-weight: bold;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.trust-badge i {
    color: #25D366;
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .catalog-section {
        padding: 2rem 1rem;
    }
    
    .catalog-hero h2 {
        font-size: 1.8rem;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-card-header {
        padding: 1rem;
    }
    
    .catalog-card-content {
        padding: 1rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .process-steps::before {
        display: none;
    }
}