:root {
    --navy-primary: #0A192F;
    --navy-secondary: #112240;
    --navy-light: #233554;
    --navy-darker: #0d1f3d;
    --navy-medium: #1a2942;
    --text-primary: #ffffff;
    --text-secondary: #8892B0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--navy-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

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

section {
    padding: 5rem 0;
    position: relative;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05), 
        rgba(255, 255, 255, 0.1)
    );
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-primary);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid var(--text-secondary);
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.quote {
    font-style: italic;
    font-size: 1.5rem;
    border-left: 4px solid var(--text-secondary);
    padding-left: 1rem;
    margin: 2rem 0;
}

/* Common full-height section style */
.achievements,
.projects,
.contact {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Update Achievements Section */
.achievements .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.achievements h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.achievements h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--text-secondary), transparent);
}

.achievement-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
}

.achievement-list li {
    background-color: rgba(17, 34, 64, 0.5);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 0;
    position: relative;
    line-height: 1.5;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.achievement-list li:hover {
    transform: translateY(-5px);
    background-color: rgba(17, 34, 64, 0.7);
}

.achievement-list li::before {
    display: none;
}

.achievement-list h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.achievement-list p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Update Projects Section */
.projects {
    background-color: #0d1f3d;
}

.projects .container {
    width: 100%;
}

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

.project-card {
    background-color: var(--navy-secondary);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-content {
    padding: 1.5rem;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Update Contact Section */
.contact {
    background-color: #1a2942;
    padding-bottom: 0;
}

.contact .container {
    width: 100%;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left;
    max-width: 1200px;
}

.contact-text {
    flex: 1;
}

.contact-image {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-email {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Update section headings for consistency */
.projects h2,
.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.projects h2::after,
.contact h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--text-secondary), transparent);
}

/* Add new quote section styles */
.quote-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-secondary);
    text-align: center;
}

.quote {
    font-style: italic;
    font-size: 2.5rem;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        flex: 0 0 250px;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    .quote {
        font-size: 1.8rem;
        padding: 1rem;
    }

    .quote::before,
    .quote::after {
        font-size: 3rem;
    }

    .achievement-list {
        grid-template-columns: 1fr;
    }

    .achievements::before,
    .achievements::after {
        width: 400px;
        height: 400px;
    }

    .achievements,
    .projects,
    .contact {
        min-height: auto;
        padding: 4rem 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .achievement-list h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .achievement-list p {
        font-size: 0.95rem;
    }
} 

/* Update navigation styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent; /* Remove background */
    z-index: 1000;
    padding: 2rem 0;
    transition: padding 0.3s ease;
}

/* Add scroll effect */
.navbar.scrolled {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: center; /* Center the menu */
    align-items: center;
    height: auto;
}

.nav-logo {
    display: none; /* Hide the logo since we're using the h1 as home */
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

/* Remove the underline effect */
.nav-links a::after {
    display: none;
}

/* Update hero section to account for removed navbar height */
.hero {
    padding-top: 0;
}

section {
    padding-top: 5rem;
}

/* Mobile styles update */
@media (max-width: 768px) {
    /* Navigation mobile styles */
    .navbar {
        background-color: var(--navy-primary);
        padding: 1rem 0;
    }

    .nav-links {
        display: none; /* Hide by default on mobile */
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--navy-primary);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 2rem;
        background: none;
        border: none;
        color: var(--text-secondary);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* Hero section mobile styles */
    .hero {
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-content {
        flex-direction: column;
        gap: 3rem;
    }

    /* Quote section mobile styles */
    .quote-section {
        padding: 6rem 0;
        min-height: auto;
    }

    .quote {
        font-size: 1.5rem;
        padding: 2rem;
    }

    /* Achievements section mobile styles */
    .achievement-list {
        grid-template-columns: 1fr;
    }

    .achievement-list li {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .achievements h2,
    .projects h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Projects section mobile styles */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }

    /* Contact section mobile styles */
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .contact-image {
        order: -1;
    }

    .contact-image .profile-image {
        width: 250px;
        height: 250px;
    }

    .contact-email {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .quote {
        font-size: 1.3rem;
    }

    .achievements h2,
    .projects h2,
    .contact h2 {
        font-size: 1.8rem;
    }
}

/* Landscape mode adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero,
    .quote-section,
    .achievements,
    .projects,
    .contact {
        min-height: auto;
        padding: 4rem 0;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }
}

/* Update social links styles */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-button svg {
    width: 20px;
    height: 20px;
}

.social-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.social-button.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

/* Contact section social links */
.contact-social {
    margin-top: 3rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .social-button {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .social-button svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-direction: column;
        align-items: stretch;
    }

    .social-button {
        justify-content: center;
    }
}

/* Add company info styles */
.company-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.company-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Update shake effect styles */
@keyframes shake {
    0%, 100% { transform: translateX(0) rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-8px) rotate(-1deg); }
    20%, 40%, 60%, 80% { transform: translateX(8px) rotate(1deg); }
}

@keyframes noise {
    0%, 100% { background-position: 0 0; }
    10% { background-position: -10% -20%; }
    20% { background-position: -25% 15%; }
    30% { background-position: 15% -35%; }
    40% { background-position: 30% 35%; }
    50% { background-position: -35% 20%; }
    60% { background-position: 25% 15%; }
    70% { background-position: 0% 25%; }
    80% { background-position: 35% 45%; }
    90% { background-position: -20% 20%; }
}

.shake-effect {
    animation: shake 1s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0;
    animation: noise 0.8s steps(3) infinite, fadeInOut 1s ease-in-out forwards;
    mix-blend-mode: overlay;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 0.7; }
    80% { opacity: 0.7; }
    100% { opacity: 0; }
}

/* Update combined section styles */
.section-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.competence-area,
.projects-area {
    width: 100%;
}

/* Update mobile styles */
@media (max-width: 768px) {
    .section-content {
        gap: 4rem;
    }
}

@media (max-width: 480px) {
    .section-content {
        gap: 3rem;
    }
}

/* Unified Experience Section Styles */
.experience-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--navy-light);
    padding: 6rem 0;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    width: 100%;
}

.mosaic-card {
    background-color: rgba(17, 34, 64, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.mosaic-card:hover {
    transform: translateY(-5px);
    background-color: rgba(17, 34, 64, 0.7);
}

/* Cards without images */
.mosaic-card:not(.with-image) {
    padding: 2rem;
}

.mosaic-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.mosaic-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Cards with images */
.mosaic-card.with-image .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.mosaic-card.with-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mosaic-card.with-image:hover img {
    transform: scale(1.05);
}

.mosaic-card.with-image .card-content {
    padding: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mosaic-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mosaic-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .mosaic-card p {
        font-size: 0.95rem;
    }

    .mosaic-card.with-image .card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .experience-section {
        padding: 4rem 0;
    }

    .mosaic-card:not(.with-image) {
        padding: 1.5rem;
    }

    .mosaic-card.with-image .card-content {
        padding: 1.2rem;
    }
}

/* Add styles for linked images in cards */
.mosaic-card.with-image .card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.mosaic-card.with-image .card-image a:hover img {
    transform: scale(1.05);
}

.mosaic-card.with-image .card-image a img {
    transition: transform 0.3s ease;
}

/* Add these styles for clickable cards */
.mosaic-card.with-link {
    position: relative;
    cursor: pointer;
}

.mosaic-card.with-link a.card-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mosaic-card.with-link:hover {
    transform: translateY(-5px);
}

/* Ensure content stays above the link layer */
.mosaic-card.with-link .card-content {
    position: relative;
    z-index: 0;
}

/* Update company name styles */
.company-name {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 2rem 0;
    padding-top: 2rem;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.company-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--text-secondary), transparent);
}

/* Update mobile styles */
@media (max-width: 768px) {
    .company-name {
        font-size: 1.3rem;
        margin: 1.5rem 0;
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.2rem;
        margin: 1.2rem 0;
        padding-top: 1.2rem;
    }
}

/* Update quote section mobile styles */
@media (max-width: 768px) {
    .quote-section {
        padding: 6rem 0;
        min-height: auto;
    }

    .quote {
        font-size: 1.5rem;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .quote-section {
        padding: 8rem 0;
    }

    .quote {
        font-size: 1.3rem;
        padding: 2rem;
    }
}