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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 200;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

/* Navigation Styles */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #F193FF;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #ff00b4 0%, #000000 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 80px 20px;
}

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

h2 {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 40px;
    text-align: center;
}

/* Experience Section */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.experience-card {
    background: #fff;
    padding: 30px;
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.experience-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.experience-card h4 {
    font-weight: 400;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.experience-card p {
    color: #000;
    margin-bottom: 10px;
}

.experience-card a {
    color: #ff00b4;
    text-decoration: none;
}

.management-detail {
    margin-left: 15px;
    margin-bottom: 20px !important;
}

.detail-text {
    display: block;
    font-size: 0.9em;
    color: #000;
    margin-left: 20px;
    margin-top: 5px;
    line-height: 1.4;
}

.experience-card .role {
    color: #000;
    font-style: italic;
}

/* Skills Section */
.skills {
    background-color: #ffffff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-category {
    margin-bottom: 40px;
}

.skill-category h3 {
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.skill-item {
    padding: 20px;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
}

/* Contact Section */
.contact {
    text-align: center;
    background: linear-gradient(135deg, #B4FF00 0%, #ff00b4 100%);
    color: #B4FF00;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    padding: 0 20px;
}

.contact-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 15px;
    border: 2px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-links a:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-links i {
    font-size: 1.5rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }

    .contact-links {
        gap: 20px;
    }
    
    .contact-links a {
        padding: 12px;
        width: 50px;
        height: 50px;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        font-weight: 200;
    }
    
    .hero {
        padding-top: 100px; /* Ensure enough space below fixed nav */
    }
    
    /* Ensure font sizes don't get too large on tablets */
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 6rem);
        line-height: 0.95;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 1.8vw, 1.2rem);
        line-height: 0.95;
    }
    
    .hero-description {
        font-size: clamp(1.8rem, 5vw, 3rem);
        line-height: 0.95;
    }
}

/* Additional responsive adjustments for mobile phones */
@media (max-width: 480px) {
    .hero {
        align-items: center;
        text-align: center;
        padding: clamp(60px, 8vh, 100px) clamp(15px, 3vw, 30px);
        min-height: auto; /* Allow hero to be shorter on mobile */
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile-specific font sizes as fallback if JS doesn't load */
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 3.5rem);
        line-height: 1;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: clamp(1.4rem, 4.5vw, 2.2rem);
        line-height: 1;
        max-width: 100%;
    }
    
    /* Adjust spacing for better mobile layout */
    section {
        padding: 60px 15px;
    }
    
    .experience-card {
        padding: 20px;
    }
    
    /* Ensure navigation is usable on mobile */
    .nav-menu {
        gap: 12px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
    }
}

/* Ensure proper display on very small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        line-height: 1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.6rem, 1.2vw, 0.8rem);
        margin-bottom: 8px;
    }
    
    .hero-description {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
        line-height: 1;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }
}

/* Portrait orientation specific adjustments for mobile */
@media (max-width: 480px) and (orientation: portrait) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 3rem);
    }
    
    .hero-description {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #B4FF00 0%, #ff00b4 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: clamp(80px, 10vh, 150px) clamp(20px, 5vw, 60px);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: left;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: clamp(0px, 2vw, 20px);
    border: none;
    backdrop-filter: none;
}

.hero-subtitle {
    color: #B4FF00;
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 3px);
    margin-bottom: clamp(10px, 2vh, 30px);
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
}

.hero-title {
    font-size: clamp(3rem, 15vw, 12rem);
    line-height: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    color: #B4FF00;
    margin-bottom: clamp(15px, 3vh, 40px);
    font-family: 'Roboto', sans-serif;
    background: none;
    -webkit-text-fill-color: #B4FF00;
    text-shadow: none;
}

.hero-description {
    font-size: clamp(2rem, 8vw, 4rem);
    line-height: 0.9;
    color: #B4FF00;
    text-transform: uppercase;
    font-weight: 200;
    font-family: 'Roboto', sans-serif;
    max-width: min(800px, 90vw);
}

/* Hero Arrow */
.hero-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 5;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-arrow svg {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
}

.hero-arrow:hover svg {
    stroke: white;
    transition: stroke 0.3s ease;
}

/* Angled Divider */
.angle-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #000;
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
}

.experience {
    position: relative;
    background: #fff;
    padding: 80px 20px 0px; /* Added padding at bottom to account for divider */
}

/* Update angle divider for experience section */
.experience .angle-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #ffffff;
    clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%); /* Changed polygon points */
    z-index: 1;
}

/* Container needs to sit above the divider */
.experience .container {
    position: relative;
    z-index: 2;
}

.skills {
    position: relative;  /* Make sure position is relative */
    padding-bottom: 150px; /* Add space for the divider */
}

.skills .angle-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: #000000; /* Color matching the contact section background */
    clip-path: polygon(0 0, 100% 100%, 100% 100%, 0% 100%);
    z-index: 1;
}

/* Ensure skills content stays above divider */
.skills .container {
    position: relative;
    z-index: 2;
}
