:root {
    --primary-color: #2d3436;
    --secondary-color: #636e72;
    --accent-color: #00b894;
    --text-color: #dfe6e9;
    --dark-bg: #1a1a1a;
    --card-bg: rgba(45, 52, 54, 0.3);
    --hover-color: #00d1a7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hide specified sections */
.hidden-section {
    display: none !important;
}

.hidden-nav-item {
    display: none !important;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 184, 148, 0.3);
    z-index: 2;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

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

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

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 2;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

.menu-toggle.active i:before {
    content: "\f00d";
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 184, 148, 0.5);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.profile-frame {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-color);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(0, 184, 148, 0.3);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    margin: 0 auto 1rem;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--text-color);
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: var(--card-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent-color);
    position: relative;
}

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

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

.about-text {
    margin-bottom: 3rem;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.skills {
    margin-top: 2rem;
}

.skill-item {
    margin: 1.5rem 0;
    position: relative;
}

.progress-bar {
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--accent-color);
    width: 0;
    transition: width 1.5s ease-in-out;
}

.progress-label {
    position: absolute;
    right: 0;
    top: -25px;
    color: var(--accent-color);
}

/* Journey Section */
.journey {
    padding: 6rem 2rem;
    background-color: var(--primary-color);
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 2rem 0;
    position: relative;
    width: 50%;
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    margin: 0 2rem;
    position: relative;
}

.timeline-content h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Family Section */
.family {
    padding: 6rem 2rem;
    background-color: var(--primary-color);
}

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

.family-member {
    text-align: center;
    transition: transform 0.3s ease;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.family-member::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 184, 148, 0.1));
    top: 0;
    left: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.family-member:hover::before {
    transform: translateY(0);
}

.family-member:hover {
    transform: translateY(-10px);
}

.family-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.family-member:hover img {
    transform: scale(1.05);
}

.member-quote {
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 1rem;
}

/* Interests Section */
.interests {
    padding: 6rem 2rem;
    background-color: var(--card-bg);
}

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

.interest-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.interest-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.interest-card:hover::after {
    transform: scaleX(1);
}

.interest-card:hover {
    transform: translateY(-10px);
}

.interest-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.interest-details {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
    padding-left: 1rem;
}

.interest-details li {
    margin: 0.5rem 0;
    position: relative;
}

.interest-details li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: -1rem;
}

/* Achievements Section */
.achievements {
    padding: 6rem 2rem;
    background-color: var(--primary-color);
}

.achievement-list {
    max-width: 1200px;
    margin: 2rem auto;
}

.achievement-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateX(10px);
}

.achievement-icon {
    font-size: 2.5rem;
    background: var(--primary-color);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.achievement-content {
    flex: 1;
}

.achievement-details {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    color: var(--secondary-color);
    flex-wrap: wrap;
}

.achievement-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem 2rem;
    background-color: var(--primary-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.gallery-upload {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
}

.upload-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.upload-area {
    border: 2px dashed var(--accent-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: rgba(0, 184, 148, 0.1);
}

.upload-area i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-btn {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.upload-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background-color: var(--card-bg);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
}

/* Centered contact info */
.centered-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    background: var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

/* Right aligned quick links */
.right-aligned {
    text-align: right;
}

.right-aligned ul {
    display: inline-block;
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--secondary-color);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

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

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.animate-text {
    animation: fadeIn 1s ease-in;
}

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

.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .profile-frame {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.show {
        right: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .profile-frame {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 11px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px;
    }
    
    .timeline-content {
        margin-left: 50px;
        margin-right: 0;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .achievement-details {
        justify-content: center;
    }
    
    .right-aligned {
        text-align: center;
    }
    
    .right-aligned ul {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .profile-frame {
        width: 180px;
        height: 180px;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 80%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Additional responsive fixes */
@media (max-width: 480px) {
    .nav-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 1rem;
    }
    
    .about, .gallery, .family, .interests, .achievements, .contact {
        padding: 4rem 1rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
    
    .achievement-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .interest-card i {
        font-size: 2rem;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
}

/* Show/hide mobile menu */
.nav-links.show {
    display: flex;
}