/* Base styles */
:root {
    --primary-bg: #F9FAFB; /* Light Gray Background */
    --secondary-bg: #FFFFFF; /* White Card Background */
    --text-color: #000000; /* Pure Black Text for light mode */
    --accent-gray: #6B7280; /* Medium Gray for secondary text */
    --border-color: #E5E7EB; /* Light Border */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --primary-color: #3B82F6;
    --secondary-color: #8B5CF6;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --danger-color: #EF4444;
}

/* Dark mode overrides */
.dark {
    --primary-bg: #111827; /* Dark Blue-Gray Background */
    --secondary-bg: #1F2937; /* Darker Card Background */
    --text-color: #F9FAFB; /* Off-White Text */
    --accent-gray: #9CA3AF; /* Light Gray for secondary text */
    --border-color: #374151; /* Dark Border */
    --shadow-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -2px var(--shadow-color);
}

/* Smooth scroll for anchors */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Responsive Map fix */
.map-container {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem; /* rounded-xl */
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Custom scrollbar for aesthetics */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: #9CA3AF;
    border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #4B5563;
}

/* Section Title */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -2px var(--shadow-color);
}

/* Skill Cards */
.skill-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -1px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color);
}

.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

/* Journey Items */
.journey-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    border-left-width: 2px;
}

.journey-dot {
    position: absolute;
    left: -0.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 3px solid var(--secondary-bg);
    box-shadow: 0 0 0 2px currentColor;
}

/* Interest Cards */
.interest-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -1px var(--shadow-color);
}

.interest-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.interest-card:hover .interest-icon {
    transform: scale(1.2);
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-link {
    color: var(--text-color);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--secondary-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Specific text color fixes for light mode */
.text-gray-900 {
    color: #000000 !important;
}

.dark .text-gray-900 {
    color: #F9FAFB !important;
}

.text-gray-800 {
    color: #000000 !important;
}

.dark .text-gray-800 {
    color: #E5E7EB !important;
}

.text-gray-700 {
    color: #000000 !important;
}

.dark .text-gray-700 {
    color: #D1D5DB !important;
}

/* Header text color */
header h1 {
    color: #000000 !important;
}

.dark header h1 {
    color: #F9FAFB !important;
}

/* Navigation links */
nav a {
    color: #000000 !important;
}

.dark nav a {
    color: #D1D5DB !important;
}

nav a:hover {
    color: #000000 !important;
}

.dark nav a:hover {
    color: #FFFFFF !important;
}

/* Hero section text fixes */
#about h2 {
    color: #000000 !important;
}

.dark #about h2 {
    color: #FFFFFF !important;
}

#about h3 {
    color: #000000 !important;
}

.dark #about h3 {
    color: #D1D5DB !important;
}

#about p {
    color: #000000 !important;
}

.dark #about p {
    color: #D1D5DB !important;
}

/* Journey section headings */
#journey h3 {
    color: #000000 !important;
}

.dark #journey h3 {
    color: #E5E7EB !important;
}

/* Contact section headings */
#contact h3 {
    color: #000000 !important;
}

.dark #contact h3 {
    color: #E5E7EB !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
    
    .interest-card {
        padding: 1rem;
    }
    
    .interest-icon {
        font-size: 2rem;
    }
}





/* About Section Layout Fixes */
#about {
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    #about {
        margin-top: 1rem;
    }
    
    .lg\:order-1 {
        order: 1;
    }
    
    .lg\:order-2 {
        order: 2;
    }
    
    .lg\:mt-12 {
        margin-top: 3rem;
    }
}

/* Mobile responsive improvements */
@media (max-width: 640px) {
    #about .card {
        margin-top: 2rem;
    }
    
    #about h2 {
        font-size: 2.5rem !important;
    }
    
    #about h3 {
        font-size: 1.25rem !important;
    }
    
    #about p {
        font-size: 1rem !important;
    }
}





















