/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
}

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

section {
    opacity: 1 !important; /* Ensure sections are visible by default */
    visibility: visible !important;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    background: url('../Mt. everest (2).png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section > .container {
    position: relative;
    z-index: 2;
}

.profile-img {
    max-width: 300px;
    border: 4px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem auto;
    display: block;
    border-radius: 50%;
    height: 300px;
    width: 300px;
    object-fit: cover;
}

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

.social-links .btn {
    margin: 0 0.5rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

/* Experience Cards */
.experience-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.experience-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.experience-card h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.image-gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

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

/* Education & Certification Cards */
.education-card, .certification-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

/* Achievements Section */
.achievements-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.achievement-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.achievement-list li::before {
    content: '🏆';
    position: absolute;
    left: 0;
}

/* Skills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
}

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

.contact-info a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Contact Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.contact-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.8rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-submit {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-form .btn-submit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.contact-form label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.form-message {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    text-align: center;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 100px;
    }
    
    .profile-img {
        margin-bottom: 2rem;
        max-width: 200px;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .image-gallery img {
        max-width: 250px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

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

/* Fix for opacity issues */
.opacity-0 {
    opacity: 1 !important;
}

/* Prayer Flags Animation */
.prayer-flags {
    position: fixed;
    top: 8%;
    left: 0;
    right: 0;
    width: 100%;
    height: 200px;
    background: url('../Prayer Flag.png') no-repeat top center;
    background-size: contain;
    animation: floatingFlags 2s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
    opacity: 1;
    mix-blend-mode: multiply;
    transform-origin: center;
    margin: 0 auto;
    max-width: 1920px;
}

@keyframes floatingFlags {
    0% {
        transform: translateY(0) rotate(0.5deg);
    }
    25% {
        transform: translateY(-8px) rotate(-0.5deg);
    }
    50% {
        transform: translateY(-12px) rotate(0.8deg);
    }
    75% {
        transform: translateY(-6px) rotate(-0.3deg);
    }
    100% {
        transform: translateY(0) rotate(0.5deg);
    }
}

/* Profile Section Styles */
.profile-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 500px;
    height: 500px;
    margin: 2rem auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.profile-img {
    max-width: 200px;
    border: 4px solid white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 0 auto 1.5rem;
    display: block;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    object-fit: cover;
}

.profile-text {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.profile-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.social-links .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    margin: 0 0.3rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-links .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .profile-container {
        width: 90%;
        height: auto;
        aspect-ratio: 1;
        max-width: 400px;
        padding: 1.5rem;
    }

    .profile-img {
        width: 150px;
        height: 150px;
        max-width: 150px;
    }

    .profile-text h1 {
        font-size: 1.5rem;
    }

    .profile-text p {
        font-size: 1rem;
    }
} 