/* Variables */
:root {
    --primary-pink: #f7dfdf;
    --primary-blue: #26656e;
    --primary-purple: #d9bfd9;
    --primary-green: #858033;
    --primary-yellow: #fce08b;
    --primary-orange: #dd7740;
    --primary-brown: #3c1c18;



    --light-bg: var(--primary-pink);
    --dark-text: var(--primary-blue);
    --med-text: var(--primary-brown);
    --light-text: var(--primary-yellow);
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--dark-text);
    /* background: linear-gradient(135deg, #f0f4ff 0%, #fff 50%, #fef3ff 100%); */
    line-height: 1.6;
    background: var(--primary-pink);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-pink);
    backdrop-filter: blur(10px);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease, height 0.3s ease;
    height: auto;
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    position: relative;
    width: 100%;
}

/* Wrapper for centered nav group (left links + logo + right links) */
.nav-center-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex: 1;
}

/* Logo centered with stacked names */
.logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.logo-first {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    transition: font-size 0.3s ease;
}

.logo-last {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
    transition: font-size 0.3s ease;
}

.navbar.scrolled .logo-first,
.navbar.scrolled .logo-last {
    font-size: 18px;
}

/* Nav links split left and right */
.nav-links-left,
.nav-links-right {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links-left a,
.nav-links-right a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 16px;
}

.nav-links-left a:hover,
.nav-links-right a:hover {
    color: var(--primary-blue);
}

.nav-links-left a::after,
.nav-links-right a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links-left a:hover::after,
.nav-links-right a:hover::after {
    width: 100%;
}

/* Get In Touch button */
.btn-touch {
    background: var(--primary-green);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-touch:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.btn-touch::after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    margin-top: 80px;
    background: var(--primary-pink)
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 8vw, 126px);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    color: var(--primary-green);
    text-shadow: var(--shadow);
    /* text-align: center; */
}

.hero h2 {
    font-size: clamp(36px, 8vw, 48px);
    font-weight: 600;
    margin-bottom: 20px;
    /* margin-left: -30px; */
    line-height: 1.2;
    color: var(--primary-blue);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--med-text);
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    color: white;
    transform: translateY(-2px);
}

.hero-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: left;
}

.info-item {
    display: flex;
    gap: 10px;
    color: var(--med-text);
    font-weight: 500;
    margin-bottom: 10px;
}

.icon {
    font-size: 20px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

.social-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 15px;
}

.social-box a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-box a:hover {
    color: var(--primary-purple);
    transform: scale(1.1);
}

.divider {
    aspect-ratio: 900/100;
    background: no-repeat center;
    background-size: cover;
}

.wave-1{
    background-image: url('./images/borders/wave-1.svg');
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--primary-purple);
}

.about h2 {
    color: var(--primary-blue);
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-content p {
    font-size: 16px;
    color: var(--med-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.skill-badge {
    background: linear-gradient(135deg, #dbeafe, #e9d5ff);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.skill-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.wave-2{
    background-image: url('./images/borders/wave-2.svg');
}

/* Stats Section */
/* .stats {
    padding: 80px 0;
    background: rgba(59, 130, 246, 0.05);
}

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

.stat-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.stat-card p {
    color: var(--med-text);
    font-size: 16px;
} */


/* Experience Section */
.experience {
    padding: 80px 0;
    background: var(--primary-green);
}

.experience h2 {
    /* background: var(--primary-green); */
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--primary-yellow)
}

.experience-grid {
    /* background: var(--primary-green); */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    max-width: 900px;
}

/* Experience Card Flip */
.experience-card {
    perspective: 1000px;
    cursor: pointer;
    height: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.experience-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-front {
    background: var(--primary-pink);
    color: var(--med-text);
    box-shadow: var(--shadow);
}

.card-back {
    background: var(--primary-pink);
    color: var(--med-text);
    box-shadow: var(--shadow);
    transform: rotateY(180deg);
    overflow-y: auto;
}

.card-front h3 {
    font-size: 24px;
    color: var(--primary-blue);
    text-shadow: var(--shadow);
    font-weight: 700;
    margin-bottom: 15px;
}

.card-back h3 {
    font-size: 20px;
    color: var(--primary-blue);
    text-shadow: var(--shadow);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-front .company {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.card-back .company {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.card-front .dates {
    color: var(--med-text);
    text-shadow: var(--shadow);
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 15px;
}

.card-front .tagline {
    font-size: 15px;
    color: var(--med-text);
    line-height: 1.6;
    font-style: italic;
    margin-top: auto;
}

.experience-highlights {
    list-style: none;
    width: 100%;
    font-size: 13px;
}

.experience-highlights li {
    color: var(--med-text);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 13px;
    line-height: 1.6;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.experience-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
}

.wave-3{
    background-image: url('./images/borders/wave-3.svg');
}

/* Education Section */
.education {
    padding: 80px 20px;
    background: var(--primary-yellow);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.education h2 {
    color: var(--primary-orange);
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 5px;
    font-weight: 700;
}

.education .container {
    flex: 1;
    min-width: 500px;
    max-width: 800px;
    padding: 0 20px;
}

.education .container:nth-of-type(2) h2 {
    margin-bottom: 5px;
}

.education-card {
    background: var(--primary-purple);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.education-card h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 10px;
    font-weight: 700;
}

.degree {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.minor {
    color: var(--med-text);
    font-size: 16px;
    margin-bottom: 30px;
}

.coursework h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.course-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.course-tags span {
    background: #f3f4f6;
    color: var(--primary-blue);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    border-left: 3px solid var(--primary-blue);
}

.wave-4 {
    background-image: url('./images/borders/wave-4.svg');
}

/* Technical Skills Section */
.technical-skills {
    padding: 80px 0;
    background: var(--primary-orange);
}

.technical-skills h2 {
    color: var(--primary-pink);
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 700;
}

.skill-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.skill-category h3 {
    font-size: 20px;
    margin-bottom: 25px;
    text-shadow: var(--shadow);
    color: var(--primary-yellow);
    text-align: center;
    font-weight: 600;
}

.skill-list {
    display: grid;
    gap: 15px;
}

.skill-item {
    background: var(--primary-pink);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* transform: translateX(5px); */
}

.skill-name {
    font-weight: 600;
    color: var(--dark-text);
}

.skill-level {
    background: var(--primary-purple);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.wave-5{
    background-image: url('./images/borders/wave-5.svg');
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: var(--primary-orange);
}

.portfolio h2 {
    color: var(--primary-pink);
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--med-text);
    margin-bottom: 50px;
    font-size: 18px;
}

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

.project-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.project-card h3 {
    font-size: 20px;
    color: var(--dark-text);
    flex: 1;
}

.category {
    background: var(--primary-purple);;
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.project-card > p {
    color: var(--med-text);
    margin-bottom: 20px;
    font-size: 14px;
}

.highlights {
    margin-bottom: 20px;
}

.highlights h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.highlights ul {
    list-style: none;
    padding-left: 0;
}

.highlights li {
    color: var(--med-text);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

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

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-tag {
    background: var(--primary-pink);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid var(--primary-pink);
}

.wave-6 {
    background-image: url('./images/borders/wave-6.svg');
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--primary-blue);
}

.contact h2 {
    color: var(--primary-purple);
    text-shadow: var(--shadow);
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-text);
    font-weight: 700;
}

.contact-info > p {
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: center;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--primary-pink);
    border-radius: 8px;
}

.method-icon {
    font-size: 24px;
    min-width: 24px;
}

.contact-method strong {
    color: var(--dark-text);
    display: block;
    margin-bottom: 5px;
}

.contact-method a,
.contact-method p {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--primary-pink);
    padding: 30px;
    border-radius: 12px;
}

.contact-form-wrapper h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-text);
    font-weight: 700;
}   

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 40px 0;
    /* margin-top: 80px; */
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--primary-pink);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-purple);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links-left,
    .nav-links-right {
        gap: 15px;
    }
    
    .nav-container {
        gap: 20px;
    }
    
    .logo-first,
    .logo-last {
        font-size: clamp(16px, 4vw, 32px);
    }
    
    .navbar.scrolled .logo-first,
    .navbar.scrolled .logo-last {
        font-size: 14px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-image {
        display: none;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .skill-categories {
        grid-template-columns: 1fr;
    }

    .experience-header {
        flex-direction: column;
        width: 100%;
    }

    .experience-header h3 {
        font-size: 18px;
    }

    .dates {
        font-size: 12px;
    }

    .experience-highlights li {
        padding-left: 35px;
        font-size: 14px;
    }

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

    .footer .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    h2 {
        font-size: 32px !important;
    }

    .nav-links-left,
    .nav-links-right {
        gap: 10px;
        font-size: 14px;
    }

    .hero-info {
        gap: 15px;
    }

    .contact-methods {
        gap: 15px;
    }

    .experience-item {
        width: 100%;
    }

    .experience-highlights li {
        padding-left: 30px;
        font-size: 13px;
    }

    .experience-header h3 {
        font-size: 16px;
    }

    .company-info p {
        padding-left: 0;
        font-size: 14px;
    }
}
