:root {
    --uoc-blue: #000078;
    --uoc-light-blue: #73EDFF; /* Updated to requested color */
    --uoc-gray: #F8F9FA;
    --uoc-dark-gray: #1A1A1A;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--uoc-dark-gray);
    scroll-behavior: smooth;
    background-color: white;
}

.bg-uoc-blue { background-color: var(--uoc-blue); }
.text-uoc-blue { color: var(--uoc-blue); }
.bg-uoc-accent { background-color: var(--uoc-light-blue); }
.text-uoc-accent { color: var(--uoc-light-blue); }

/* Navigation Effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* Card & Action Styles */
.academic-card {
    border: 1px solid #E5E7EB;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.academic-card:hover {
    border-color: var(--uoc-light-blue);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 120, 0.1);
}

.btn-uoc {
    background-color: var(--uoc-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-uoc:hover {
    background-color: var(--uoc-light-blue);
    color: var(--uoc-blue);
}

.section-header {
    border-left: 8px solid var(--uoc-light-blue);
    padding-left: 1.5rem;
}

/* Profile Image Container */
.profile-container {
    position: relative;
    width: 280px;
    height: 350px;
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background-color: var(--uoc-light-blue);
    z-index: 0;
}

.profile-img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.profile-container:hover .profile-img {
    filter: grayscale(0%);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--uoc-blue); }
::-webkit-scrollbar-thumb:hover { background: var(--uoc-light-blue); }

/* Mobile name text size reduction */
@media (max-width: 768px) {
    .name-container span:first-child {
        font-size: 1.25rem; /* Reduced from text-2xl */
    }
    .name-container span:last-child {
        font-size: 1rem; /* Reduced from text-xl */
    }
}

/* Contact Modal Styles */
.contact-card {
    background: white;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    box-shadow: 0 20px 40px rgba(0, 0, 120, 0.08);
}

.card-accent-bar {
    height: 8px;
    background-color: var(--uoc-light-blue);
    width: 100%;
}

.qr-section {
    padding: 2rem;
    background: var(--uoc-blue);
    text-align: center;
}

.qr-wrapper {
    background: white;
    padding: 12px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.profile-strip {
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.btn-contact {
    background-color: var(--uoc-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-contact:hover {
    background-color: var(--uoc-light-blue);
    color: var(--uoc-blue);
}

.qr-toggle-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 4px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
    cursor: pointer;
}

.qr-toggle-btn.active {
    background: var(--uoc-light-blue);
    color: var(--uoc-blue);
    border-color: var(--uoc-light-blue);
}

.scan-instruction {
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 1rem;
    opacity: 0.8;
}

.hidden-qr {
    display: none;
}

