:root {
    --bg-dark: #111111;
    --bg-light: #5c626b;
    --deep-navy: #111111; /* Kept for compatibility */
    --amber-gold: #ffffff;
    --cream: #f4f4f4;
    --navy-light: rgba(255, 255, 255, 0.05);
    --navy-lighter: rgba(255, 255, 255, 0.1);
    --transition: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to right, var(--bg-dark), var(--bg-light));
    color: var(--cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--amber-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 10%;
    display: flex;
    justify-content: center; /* Center the links */
    align-items: center;
    background: transparent;
    z-index: 1000;
}

.logo {
    display: none; /* Hide logo to match reference */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 60px;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--amber-gold);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--cream);
}

/* BUTTONS */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: none;
}

.btn-view-work {
    background: #fff;
    color: #111;
    border-radius: 40px;
    padding: 15px 40px;
    font-weight: 500;
}
.btn-view-work:hover {
    background: #ccc;
}

.btn-play-circle {
    background: #fff;
    color: #111;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0;
}
.btn-play-circle:hover {
    background: #ccc;
}

/* LANDING */
.landing {
    padding-top: 100px;
    display: flex;
    align-items: center;
}

.landing-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 5%;
}

.landing-text-col {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.landing-img-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.arch-image-container {
    width: 400px;
    height: 550px;
    overflow: hidden;
    border-radius: 200px 200px 0 0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

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

.landing-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 5rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.landing-intro {
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease 1s forwards;
}

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

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ABOUT ME */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-left.hidden {
    opacity: 0;
    transform: translateX(-50px);
}

.about-left.show {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

.profile-img-container {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--amber-gold);
    box-shadow: 0 0 0 rgba(245, 166, 35, 0);
    transition: box-shadow 0.5s ease;
    margin-bottom: 30px;
}

.about-left.show .profile-img-container {
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.3);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-work-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.work-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.work-link::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.about-left.show .work-link {
    opacity: 1;
    transform: translateY(0);
}

.about-left.show .work-link:nth-child(1) { transition-delay: 0.2s; }
.about-left.show .work-link:nth-child(2) { transition-delay: 0.3s; }
.about-left.show .work-link:nth-child(3) { transition-delay: 0.4s; }
.about-left.show .work-link:nth-child(4) { transition-delay: 0.5s; }
.about-left.show .work-link:nth-child(5) { transition-delay: 0.6s; }

.work-link:hover {
    color: var(--amber-gold);
    border-bottom-color: var(--amber-gold);
}

.work-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.about-right {
    flex: 2;
}

.about-summary {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #ddd;
}

.about-summary.hidden {
    opacity: 0;
}
.about-summary.show {
    opacity: 1;
    transition: opacity 1s ease;
}

.mission-vision {
    display: flex;
    gap: 20px;
}

.mv-card {
    background: var(--navy-light);
    padding: 25px;
    border-radius: 15px;
    flex: 1;
    transform-style: preserve-3d;
}

.mv-card h3 {
    color: var(--amber-gold);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mv-card.hidden {
    opacity: 0;
    transform: perspective(1000px) rotateY(90deg);
}

.mv-card.show {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vision-card.show {
    transition-delay: 0.2s;
}

/* WORK EXPERIENCE */
.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.exp-card {
    display: flex;
    background: var(--navy-light);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.exp-card.left-align.hidden { opacity: 0; transform: translateX(-50px); }
.exp-card.right-align.hidden { opacity: 0; transform: translateX(50px); }
.exp-card.show { opacity: 1; transform: translateX(0); transition: all 0.6s ease; }

.exp-panel-dark {
    background: var(--navy-lighter);
    padding: 30px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.exp-card.show .exp-panel-dark {
    animation: curtainOpen 0.8s ease forwards;
}

@keyframes curtainOpen {
    from { width: 0; padding-left: 0; padding-right: 0; opacity: 0; }
    to { width: 300px; padding: 30px; opacity: 1; }
}

.exp-panel-dark h3 {
    color: var(--amber-gold);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.exp-panel-dark span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #ccc;
}

.exp-panel-dark i {
    width: 20px;
    color: var(--amber-gold);
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(245, 166, 35, 0.2);
    color: var(--amber-gold);
    border-radius: 20px;
    font-size: 0.8rem !important;
    margin-top: 10px;
    width: max-content;
    transition: var(--transition);
}

.exp-card:hover .badge {
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}

.exp-content {
    padding: 30px 40px;
    flex: 1;
}

.exp-content h4 {
    color: var(--cream);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.exp-content h4:nth-of-type(2) {
    margin-top: 25px;
}

.exp-content ul {
    list-style-position: outside;
    padding-left: 20px;
}

.exp-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #ccc;
    opacity: 0;
    transform: translateY(10px);
}

.exp-card.show .exp-content li {
    animation: slideUpFade 0.5s ease forwards;
}

/* Delay staggered li animations dynamically in JS or CSS nth-child */
.exp-card.show .exp-content li:nth-child(1) { animation-delay: 0.4s; }
.exp-card.show .exp-content li:nth-child(2) { animation-delay: 0.55s; }
.exp-card.show .exp-content li:nth-child(3) { animation-delay: 0.7s; }
.exp-card.show .exp-content li:nth-child(4) { animation-delay: 0.85s; }

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

@media(max-width: 768px) {
    .exp-card { flex-direction: column; }
    .exp-panel-dark { width: 100%; border-radius: 15px 15px 0 0; }
    @keyframes curtainOpen {
        from { height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }
        to { height: auto; padding: 30px; opacity: 1; }
    }
}

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

.edu-card {
    background: var(--navy-light);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.edu-card:hover {
    border-color: var(--amber-gold);
    box-shadow: 0 5px 20px rgba(245, 166, 35, 0.15);
}

.edu-card.hidden.top-drop {
    opacity: 0;
    transform: translateY(-50px) rotate(-5deg);
}
.edu-card.hidden.bottom-rise {
    opacity: 0;
    transform: translateY(50px);
}
.edu-card.show {
    opacity: 1;
    transform: translateY(0) rotate(0);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.edu-card.show.delay {
    transition-delay: 0.2s;
}

.edu-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.edu-icon {
    font-size: 2rem;
    color: var(--amber-gold);
    transition: transform 0.3s ease;
}

.edu-card:hover .edu-icon {
    transform: translateY(-5px) rotate(10deg);
}

.edu-title-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.institution {
    color: var(--amber-gold);
    font-weight: 500;
    font-size: 0.95rem;
}

.edu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #aaa;
}

.edu-meta i {
    margin-right: 5px;
}

.edu-meta .score {
    color: var(--cream);
    font-weight: 700;
    background: var(--navy-lighter);
    padding: 2px 8px;
    border-radius: 4px;
}

.edu-highlights {
    list-style: none;
}

.edu-highlights li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow: hidden;
}

.edu-highlights li::before {
    content: '•';
    color: var(--amber-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.edu-card.show .edu-highlights li {
    animation: drawText 0.8s ease forwards;
}

.edu-card.show .edu-highlights li:nth-child(1) { animation-delay: 0.3s; }
.edu-card.show .edu-highlights li:nth-child(2) { animation-delay: 0.6s; }
.edu-card.show .edu-highlights li:nth-child(3) { animation-delay: 0.9s; }

@keyframes drawText {
    from { opacity: 0; clip-path: inset(0 100% 0 0); }
    to { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* PROJECTS */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    display: flex;
    background: var(--navy-light);
    border-radius: 15px;
    overflow: hidden;
}

.project-card.hidden .proj-panel-dark {
    transform: translateX(-100%);
    filter: blur(10px);
}
.project-card.hidden .proj-content {
    opacity: 0;
}

.project-card.show .proj-panel-dark {
    transform: translateX(0);
    filter: blur(0);
    transition: all 0.6s ease;
}

.project-card.show .proj-content {
    opacity: 1;
    transition: opacity 0.6s ease 0.3s;
}

.project-card:hover .proj-panel-dark {
    box-shadow: inset 0 0 30px rgba(245, 166, 35, 0.2);
}

.project-card:hover .proj-panel-dark h3 {
    letter-spacing: 1px;
}

.proj-panel-dark {
    background: var(--navy-lighter);
    padding: 30px;
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.proj-panel-dark h3 {
    color: var(--amber-gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
    transition: letter-spacing 0.3s ease;
}

.proj-type, .proj-duration {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-pills span {
    background: rgba(245, 166, 35, 0.1);
    color: var(--amber-gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(245, 166, 35, 0.3);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.project-card.show .tech-pills span {
    animation: rubberBand 0.8s ease forwards;
}

.project-card.show .tech-pills span:nth-child(1) { animation-delay: 0.5s; }
.project-card.show .tech-pills span:nth-child(2) { animation-delay: 0.6s; }
.project-card.show .tech-pills span:nth-child(3) { animation-delay: 0.7s; }
.project-card.show .tech-pills span:nth-child(4) { animation-delay: 0.8s; }
.project-card.show .tech-pills span:nth-child(5) { animation-delay: 0.9s; }

.project-card:hover .tech-pills span {
    background: rgba(245, 166, 35, 0.2);
    box-shadow: 0 0 8px rgba(245, 166, 35, 0.5);
}

@keyframes rubberBand {
    0% { transform: scale3d(1, 1, 1); opacity: 0; }
    30% { transform: scale3d(1.25, 0.75, 1); opacity: 1; }
    40% { transform: scale3d(0.75, 1.25, 1); }
    50% { transform: scale3d(1.15, 0.85, 1); }
    65% { transform: scale3d(0.95, 1.05, 1); }
    75% { transform: scale3d(1.05, 0.95, 1); }
    100% { transform: scale3d(1, 1, 1); opacity: 1; }
}

.proj-content {
    padding: 30px 40px;
    width: 65%;
}

.proj-desc {
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 25px;
}

.proj-content h4 {
    margin-bottom: 15px;
    color: var(--amber-gold);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.outcome-box {
    background: var(--navy-lighter);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.outcome-box.hidden-outcome {
    opacity: 0;
    transform: scale(0.9);
}

.project-card.show .outcome-box {
    animation: popInCard 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.project-card.show .outcome-box:nth-child(1) { animation-delay: 0.6s; }
.project-card.show .outcome-box:nth-child(2) { animation-delay: 0.8s; }
.project-card.show .outcome-box:nth-child(3) { animation-delay: 1.0s; }
.project-card.show .outcome-box:nth-child(4) { animation-delay: 1.2s; }

@keyframes popInCard {
    to { opacity: 1; transform: scale(1); }
}

.outcome-num {
    background: var(--amber-gold);
    color: var(--deep-navy);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.outcome-box p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

@media(max-width: 900px) {
    .project-card { flex-direction: column; }
    .proj-panel-dark, .proj-content { width: 100%; }
    .outcomes-grid { grid-template-columns: 1fr; }
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.skill-cat-card {
    background: var(--navy-light);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    transition: all 0.4s ease;
}

.skill-cat-card.hidden-skill {
    opacity: 0;
    transform: scale(0.85);
}

.skill-cat-card.show {
    opacity: 1;
    transform: scale(1);
}

.skill-cat-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.skill-cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245, 166, 35, 0.05);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.skill-cat-card:hover::before {
    opacity: 1;
}

.cat-icon {
    font-size: 2rem;
    color: var(--amber-gold);
    margin-bottom: 15px;
    transition: transform 1s linear;
}

.skill-cat-card:hover .cat-icon {
    transform: rotate(360deg);
}

.skill-cat-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #ddd;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: var(--navy-lighter);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--amber-gold);
    width: 0;
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* CERTIFICATIONS */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--cream);
    color: var(--deep-navy);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-card.hidden-cert {
    opacity: 0;
    transform: translateY(-50px);
}

.cert-card.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover {
    background: #fdf5e6;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    /* Transform handled by JS for mouse-follow tilt, but fallback here */
    transform: translateY(-10px);
}

.cert-img-wrapper {
    height: 200px;
    overflow: hidden;
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-card:hover .cert-img-wrapper img {
    transform: scale(1.05);
}

.cert-info {
    padding: 20px;
}

.cert-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.cert-info .provider {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.cert-info .year {
    font-size: 0.85rem;
    color: #888;
}

/* ACHIEVEMENTS */
.achievements-sub {
    text-align: center;
    color: #ccc;
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stats-counter {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    background: var(--navy-light);
    padding: 30px;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-item.hidden-stat {
    opacity: 0;
    transform: scale(0.5);
}

.stat-item.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-num, .stat-plus {
    font-size: 3rem;
    font-weight: 800;
    color: var(--amber-gold);
}

.stat-label {
    display: block;
    color: #ccc;
    font-size: 1rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achieve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.achieve-card {
    background: var(--navy-light);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.achieve-card.hidden-achieve {
    opacity: 0;
    transform: scale(0.7);
}

.achieve-card.show {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.achieve-card:hover {
    border-color: var(--amber-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.achieve-img-box {
    height: 250px;
    overflow: hidden;
}

.achieve-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.achieve-card.show .achieve-img-box img {
    transform: scale(1.1); /* Ken burns */
}

.achieve-content {
    padding: 30px;
    position: relative;
}

.achieve-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--amber-gold);
    color: var(--deep-navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.achieve-card.show .achieve-badge {
    animation: badgePop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); box-shadow: 0 0 20px rgba(245, 166, 35, 0.8); }
    100% { transform: scale(1); }
}

.achieve-card:hover .achieve-badge {
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.8);
}

.achieve-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.achieve-inst {
    display: block;
    color: var(--amber-gold);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.achieve-content p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
}

@media(max-width: 768px) {
    .achieve-grid { grid-template-columns: 1fr; }
}

/* CONTACT */
.contact-wrapper {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.contact-left {
    flex: 3;
    padding: 50px;
    background: var(--cream);
    color: var(--deep-navy);
}

.contact-left.hidden-contact-l {
    opacity: 0;
    transform: translate(-50px, 50px);
}
.contact-left.show {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.8s ease;
}

.contact-right {
    flex: 2;
    background: var(--navy-lighter);
    padding: 50px;
    color: var(--cream);
}

.contact-right.hidden-contact-r {
    opacity: 0;
    transform: translate(50px, 50px);
}
.contact-right.show {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 0.8s ease;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    outline: none;
    color: var(--deep-navy);
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--amber-gold);
}

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--amber-gold);
    transition: all 0.4s ease;
}

.input-group input:focus ~ .underline,
.input-group textarea:focus ~ .underline {
    width: 100%;
}

/* Sequential underline draw on load */
.contact-left.show .input-group:nth-child(1) .underline { animation: drawLine 0.5s ease 0.5s forwards; }
.contact-left.show .input-group:nth-child(2) .underline { animation: drawLine 0.5s ease 0.7s forwards; }
.contact-left.show .input-group:nth-child(3) .underline { animation: drawLine 0.5s ease 0.9s forwards; }
.contact-left.show .input-group:nth-child(4) .underline { animation: drawLine 0.5s ease 1.1s forwards; }

@keyframes drawLine {
    0% { width: 0; }
    100% { width: 100%; }
}

.btn-send {
    background: var(--deep-navy);
    color: var(--cream);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-left.show .btn-send {
    animation: pulseOnce 0.5s ease 1.5s;
}

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

.shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
}

.btn-send:hover .shimmer {
    animation: shimmerSweep 0.5s forwards;
}

@keyframes shimmerSweep {
    to { left: 200%; }
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--amber-gold);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.info-row i {
    font-size: 1.3rem;
    color: var(--cream);
    transition: color 0.3s ease;
}

.info-row:hover {
    transform: translateX(10px);
}

.info-row:hover i {
    color: var(--amber-gold);
}

.social-links-footer {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-row {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.social-row i {
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.social-row:hover {
    transform: translateX(10px);
    color: var(--amber-gold);
}

.social-row:hover i {
    color: var(--amber-gold);
}

@media(max-width: 900px) {
    .contact-wrapper { flex-direction: column; }
    .contact-left.hidden-contact-l, .contact-right.hidden-contact-r { transform: translateY(50px); }
}

/* FOOTER */
footer {
    background: #060c16;
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 50px;
}

footer h2 {
    font-size: 2rem;
    color: var(--amber-gold);
    margin-bottom: 10px;
}

footer p {
    color: #aaa;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-socials a {
    color: var(--cream);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--amber-gold);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

/* Mobile Nav */
@media(max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        background: var(--navy-light);
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transition: 0.3s;
    }
    .nav-links.active {
        left: 0;
    }
    .hamburger { display: block; }
}

/* --- PREMIUM ENHANCEMENTS --- */

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--amber-gold);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(245, 166, 35, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
    body, a, button, input, textarea {
        cursor: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--deep-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-lighter);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--amber-gold);
}



/* Glassmorphism Enhancements */
.nav-links, .exp-panel-dark, .proj-panel-dark, .skill-cat-card, .edu-card, .achieve-card, .contact-right, .mv-card {
    background: rgba(21, 42, 74, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.exp-panel-dark, .proj-panel-dark {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glowing Logo & Titles */
.logo {
    text-shadow: 0 0 10px rgba(245, 166, 35, 0.5);
}
.logo-large {
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.8), 0 0 40px rgba(245, 166, 35, 0.4);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% { text-shadow: 0 0 20px rgba(245, 166, 35, 0.8); }
    100% { text-shadow: 0 0 30px rgba(245, 166, 35, 1), 0 0 50px rgba(245, 166, 35, 0.6); }
}
