:root {
    --primary-color: #060a0f;
    --secondary-color: #efc678;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    background: var(--primary-color);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/ng4.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    margin-top: -80px; /* Adjust based on your nav height */
    padding-top: 80px; /* Compensate for negative margin */
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: white;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    animation: slideUp 0.8s ease-out;
}

.title-block {
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

.title-block h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.tagline {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.location-badge .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-right: 8px;
}

.location-badge span {
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .title-block h2 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}

/* Optional: Add a subtle scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

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

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.experience-card {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.role-summary {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-style: italic;
    border-left: 3px solid var(--secondary-color);
    padding-left: 1rem;
}

.achievements {
    list-style: none; /* Remove default bullets */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.achievements li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.achievements li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem; /* Make bullet slightly larger */
}

.achievements li strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.achievements li p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0; /* Remove default paragraph margins */
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-header h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.duration {
    color: #718096;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-card {
        margin-left: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .experience-card {
        padding: 1.5rem;
    }
    
    .achievements li {
        padding-left: 1rem;
    }
}

.profile-container {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 3px solid var(--primary-color);
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin: 0 12px;
    transition: transform 0.3s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon:hover svg {
    fill: var(--secondary-color);
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.timeline {
    position: relative;
    /* max-width: 800px; */
    margin: 0 auto;
}

.experience-card {
    border-left: 4px solid var(--secondary-color);
    padding-left: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.experience-card::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--secondary-color);
}

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

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add these new styles for the modal */
.contact-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.contact-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-color);
}

/* Add these animations */
@keyframes slideIn {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Update mobile styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        width: 90%;
        padding: 1.5rem;
    }

    .contact-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* Add these new styles for SVG icons */
.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 8px;
}

/* Update location styling */
.location {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

/* Update modal close button */
.close {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    cursor: pointer;
}

.close svg {
    width: 100%;
    height: 100%;
    fill: #aaa;
    transition: fill 0.3s ease;
}

.close:hover svg {
    fill: var(--primary-color);
}

.tech-journey {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.tech-journey::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.tech-journey h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.tech-journey h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.tech-journey p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.skills-list li {
    padding: 1rem 1.5rem;
    background: rgba(213, 188, 149, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(213, 188, 149, 0.1);
}

.skills-list li::before {
    content: '→';
    margin-right: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}

.skills-list li:hover {
    transform: translateX(5px);
    background: rgba(213, 188, 149, 0.5);
    border-color: var(--secondary-color);
}

/* Add responsive design */
@media (max-width: 768px) {
    .tech-journey {
        padding: 1.5rem;
    }

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

/* Add animation */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.tech-journey p, .tech-journey li {
    animation: slideInFromLeft 0.5s ease-out forwards;
    opacity: 0;
}

.tech-journey p:nth-child(2) { animation-delay: 0.2s; }
.tech-journey p:nth-child(3) { animation-delay: 0.4s; }
.tech-journey li:nth-child(1) { animation-delay: 0.6s; }
.tech-journey li:nth-child(2) { animation-delay: 0.7s; }
.tech-journey li:nth-child(3) { animation-delay: 0.8s; }
.tech-journey li:nth-child(4) { animation-delay: 0.9s; }
.tech-journey li:nth-child(5) { animation-delay: 1.0s; }
.tech-journey li:nth-child(6) { animation-delay: 1.1s; }

.skills-section {
    padding: 4rem 0;
    /* background: #f8fafc; */
}

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

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.skill-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

.detailed-skills {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detailed-skills li {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(213, 188, 149, 0.1);
    transition: all 0.3s ease;
}
.detailed-skills li:hover {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(213, 188, 149, 0.5);
    transition: all 0.3s ease;
}
.detailed-skills h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

/* Remove ALL other ::before or ::after pseudo-elements for h4 and li */
/* Add just this one arrow */
.detailed-skills li::before {
    content: "→";
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.detailed-skills p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

/* Add animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detailed-skills li {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.detailed-skills li:nth-child(1) { animation-delay: 0.1s; }
.detailed-skills li:nth-child(2) { animation-delay: 0.2s; }
.detailed-skills li:nth-child(3) { animation-delay: 0.3s; }
.detailed-skills li:nth-child(4) { animation-delay: 0.4s; }

.family-section {
    padding: 4rem 0;
    /* background: var(--light-bg); */
}

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

.values-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.values-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.values-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.values-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

.values-text > p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    padding: 1.5rem;
    background: rgba(213, 188, 149, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(5px);
    background: rgba(213, 188, 149, 0.5);
}

.value-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.value-item h4::before {
    content: "→";
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.value-item p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .values-container {
        padding: 1.5rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.value-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.value-item:nth-child(1) { animation-delay: 0.2s; }
.value-item:nth-child(2) { animation-delay: 0.4s; }
.value-item:nth-child(3) { animation-delay: 0.6s; }

.company-logo {
    margin-top: 0.5rem;
}

.company-logo img {
    height: 30px; /* Adjust this value to match your desired logo size */
    width: auto;
    filter: brightness(0) invert(1); /* This makes the logo white */
    transition: opacity 0.3s ease;
}

.company-logo img:hover {
    opacity: 0.9;
}

.family-image {
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    position: relative;
    height: 600px; /* Increased from 400px to 500px */
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

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

.family-image:hover img {
    transform: scale(1.02);
}

/* Update existing values-container to accommodate the image */
.values-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .family-image {
        height: 500px; /* Increased from 300px to 400px */
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    }
}

/* Thanks page styles */
.thanks-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.thanks-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.back-btn:hover {
    background: var(--secondary-color);
}

.form-status {
    margin: 1rem 0;
}

.success-message {
    padding: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.error-message {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
