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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

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

/* Navigation */
.navbar {
    background: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-logo h2 {
    color: #2563eb;
    font-weight: 600;
}

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

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
}

.highlight {
    color: #fbbf24;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
}

/* Hero Stats Section */
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite reverse;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed rgba(255, 255, 255, 0.3);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    opacity: 0.7;
    font-weight: 500;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.update-notice,
.disclaimer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.update-notice i,
.disclaimer i {
    margin-top: 0.2rem;
    color: #fbbf24;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i {
    color: #2563eb;
}

/* About Section */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.stat h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

/* Education Section */
.education {
    background: #f8fafc;
}

.education-card {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.education-icon {
    font-size: 3rem;
    color: #2563eb;
}

.education-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-school {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.education-date {
    color: #64748b;
    margin-bottom: 1rem;
}

.education-tip {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #f59e0b;
}

/* Experience Section */
.experience {
    background: white;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.experience-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
    transition: transform 0.3s ease;
}

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

.experience-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.company {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Interests Section */
.interests {
    background: #f8fafc;
}

.interests-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.interests-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.hobby-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-2px);
}

.hobby-card i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.hobby-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hobby-card p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Courses Table */
.courses-table-section {
    background: white;
}

.table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
}

.courses-table th,
.courses-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.courses-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.courses-table tr:hover {
    background: #f8fafc;
}

.course-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.course-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Course Descriptions */
.course-descriptions {
    background: #f8fafc;
    scroll-margin-top: 100px;
}

.course-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #e2e8f0;
    scroll-margin-top: 100px;
}

.course-card.featured {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.course-card.important {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #fefce8);
}

.course-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.instructor {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.rating {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.difficulty {
    background: #fed7d7;
    color: #c53030;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.warning {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.highlight {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.course-card p {
    margin-bottom: 1rem;
    color: #64748b;
    line-height: 1.7;
}

/* Projects */
.cs-projects,
.engineering-projects {
    background: white;
}

.engineering-projects {
    background: #f8fafc;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card.featured {
    border: 2px solid #2563eb;
}

.project-image {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image .image-placeholder {
    background: none;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    width: 80%;
    height: 80%;
    color: #64748b;
}

.project-image .image-placeholder i {
    font-size: 3rem;
    color: #2563eb;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-content p {
    margin-bottom: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.technical-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.technical-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.technical-details ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.technical-details li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.highlight-text {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin: 1rem 0;
}

.project-links {
    margin-top: 1.5rem;
}

/* Engineering Lessons */
.engineering-lessons {
    margin-top: 3rem;
}

.lessons-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.lessons-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.lesson {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.lesson h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.lesson p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Project Philosophy */
.project-philosophy {
    background: white;
}

.philosophy-card {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.philosophy-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
}

.philosophy-card p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Styles */
.current-holdings {
    background: white;
}

.holdings-intro {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.holdings-intro p {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
}

.stock-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.stock-card.featured {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.stock-header {
    margin-bottom: 2rem;
}

.stock-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag.bullish {
    background: #dcfce7;
    color: #166534;
}

.dd-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

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

.comparison-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.comparison-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.comparison-card p {
    margin-bottom: 1rem;
    color: #64748b;
}

.comparison-card ul {
    margin-left: 1rem;
}

.comparison-card li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.investment-thesis {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.investment-thesis h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.thesis-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.thesis-point {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.thesis-point.bullish {
    border-left: 4px solid #10b981;
}

.thesis-point.risk {
    border-left: 4px solid #ef4444;
}

.thesis-point h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.thesis-point.bullish h6 {
    color: #10b981;
}

.thesis-point.risk h6 {
    color: #ef4444;
}

/* Winners and Losers */
.past-winners {
    background: #f8fafc;
}

.past-losers {
    background: white;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.winners-grid,
.losers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.winner-card,
.loser-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.winner-header,
.loser-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.winner-header h3,
.loser-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
}

.return-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.loss-badge {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.period {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.winner-stats,
.loser-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.ceo-profile {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.ceo-profile h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

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

.metric {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.fun-fact {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #f59e0b;
}

.failure-timeline {
    background: #fef2f2;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.timeline-item {
    margin-bottom: 0.5rem;
    color: #64748b;
}

.lessons-learned {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.lessons-learned h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.lessons-learned ul {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.lessons-learned li {
    margin-bottom: 0.5rem;
    color: #64748b;
}

/* Crypto Section */
.crypto-section {
    background: #f8fafc;
}

.crypto-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.crypto-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.crypto-icon {
    font-size: 4rem;
    color: #f59e0b;
    margin-bottom: 1rem;
}

.crypto-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.crypto-content p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.security-note {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.security-note i {
    color: #f59e0b;
}

/* Portfolio Philosophy */
.portfolio-philosophy {
    background: white;
}

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

.philosophy-point {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
}

.philosophy-point i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.philosophy-point h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.philosophy-point p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Yacht Valuation Page Styles */
.tool-demo {
    background: white;
}

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.5rem;
    min-width: 2rem;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.feature-content p {
    color: #64748b;
    line-height: 1.6;
}

.demo-preview {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
}

.preview-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.preview-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.tool-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.preview-content {
    padding: 2rem;
    text-align: center;
}

.tool-image {
    margin-bottom: 2rem;
}

.tool-image h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.tool-image ul {
    text-align: left;
    display: inline-block;
    color: #64748b;
}

.tool-image li {
    margin-bottom: 0.5rem;
}

.launch-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.technical-details {
    background: #f8fafc;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid #2563eb;
}

.tech-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tech-content p {
    color: #64748b;
    margin-bottom: 1rem;
}

.tech-content ul {
    margin-left: 1rem;
}

.tech-content li {
    color: #64748b;
    margin-bottom: 0.5rem;
}

.model-performance {
    background: white;
}

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

.metric-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #10b981;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.metric-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.setup-instructions {
    background: #f8fafc;
}

.instructions-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.instruction-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #2563eb;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.code-block {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.note-card {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-card i {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.note-content h4 {
    color: #92400e;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.note-content p {
    color: #92400e;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.social-link {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        animation: none;
        border-right: none;
        white-space: normal;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .hobbies-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid,
    .thesis-points {
        grid-template-columns: 1fr;
    }
    
    .winners-grid,
    .losers-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-metrics {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .winner-header,
    .loser-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .winner-stats,
    .loser-stats {
        align-items: flex-start;
    }
    
    /* Yacht valuation page responsive */
    .demo-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .launch-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .instruction-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .image-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .performance-metrics {
        grid-template-columns: 1fr;
    }
    
    /* Yacht valuation page mobile */
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-value {
        font-size: 2rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }
    
    .feature i {
        align-self: center;
    }
} 

/* Photo Gallery Styles */
.construction-gallery {
    margin-top: 24px;
}

.panorama-viewer {
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.6) rgba(45, 45, 45, 0.4);
}

.panorama-viewer::-webkit-scrollbar {
    height: 8px;
}

.panorama-viewer::-webkit-scrollbar-track {
    background: rgba(45, 45, 45, 0.4);
    border-radius: 4px;
}

.panorama-viewer::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.6);
    border-radius: 4px;
}

.panorama-viewer::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

.panorama-viewer img {
    transition: transform 0.3s ease;
}

.panorama-viewer:hover img {
    transform: scale(1.02);
}

.photo-grid {
    animation: fadeInUp 0.6s ease-out;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(45, 45, 45, 0.4);
    transition: all 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.photo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.photo-item:hover::before {
    opacity: 1;
}

.photo-item img {
    position: relative;
    z-index: 0;
}

/* Animation for photo grid */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% {
        border-right-color: white;
    }
    51%, 100% {
        border-right-color: transparent;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Hover Effects */
.experience-card,
.project-card,
.winner-card,
.loser-card,
.connect-item,
.hobby-card,
.course-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.experience-card:hover,
.project-card:hover,
.winner-card:hover,
.loser-card:hover,
.connect-item:hover,
.hobby-card:hover,
.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

/* Staggered Animation Delays */
.experience-card:nth-child(1) { animation-delay: 0.1s; }
.experience-card:nth-child(2) { animation-delay: 0.2s; }
.experience-card:nth-child(3) { animation-delay: 0.3s; }
.experience-card:nth-child(4) { animation-delay: 0.4s; }

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

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

/* Enhanced Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px) scale(1.05);
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-3px) scale(1.05);
}

/* Enhanced Navigation Animations */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    transform: translateY(-2px);
    color: #2563eb;
}

.nav-link.active {
    color: #2563eb;
}

/* Enhanced Hero Section */
.hero-content {
    animation: slideInFromLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInFromRight 0.8s ease-out 0.2s both;
}

.hero h1 {
    animation: bounceIn 1s ease-out;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Enhanced Section Titles */
.section-title {
    animation: slideInFromTop 0.6s ease-out;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    animation: slideInFromLeft 0.8s ease-out 0.3s forwards;
}

/* Enhanced Stats Animation */
.stat {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.stat:nth-child(1) { animation-delay: 0.1s; }
.stat:nth-child(2) { animation-delay: 0.2s; }
.stat:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Education Card */
.education-card {
    animation: rotateIn 0.8s ease-out;
}

/* Enhanced Course Links */
.course-link {
    transition: all 0.3s ease;
    position: relative;
}

.course-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.course-link:hover::before {
    width: 100%;
}

.course-link:hover {
    color: #2563eb;
    transform: translateX(5px);
}

/* Enhanced Stock Cards */
.stock-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stock-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Enhanced Contact Icons */
.contact-icon {
    animation: bounceIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Enhanced Social Links */
.social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.2);
    color: #2563eb;
}

/* Enhanced Form Elements */
.form-group input,
.form-group select,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

/* Enhanced Tags */
.tag {
    transition: all 0.3s ease;
    animation: scaleIn 0.4s ease-out;
}

.tag:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Enhanced Metrics */
.metric {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.metric:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Enhanced Comparison Cards */
.comparison-card {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Thesis Points */
.thesis-point {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.thesis-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Footer */
.footer {
    animation: slideInFromBottom 0.8s ease-out;
}

/* Enhanced Page Headers */
.page-header {
    animation: slideInFromTop 0.8s ease-out;
}

.page-header h1 {
    animation: bounceIn 1s ease-out 0.2s both;
}

.page-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Enhanced Tables */
.courses-table tr {
    transition: all 0.3s ease;
}

.courses-table tr:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced Course Cards */
.course-card.featured {
    animation: bounceIn 0.8s ease-out;
}

.course-card.important {
    animation: rotateIn 0.8s ease-out;
}

/* Enhanced Hobby Cards */
.hobby-card {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hobby-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hobby-card i {
    transition: all 0.3s ease;
}

.hobby-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #1d4ed8;
}

/* Enhanced Philosophy Points */
.philosophy-point {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.philosophy-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-point i {
    transition: all 0.3s ease;
}

.philosophy-point:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #1d4ed8;
}

/* Enhanced Crypto Card */
.crypto-card {
    animation: scaleIn 0.8s ease-out;
}

.crypto-content {
    transition: all 0.3s ease;
}

.crypto-content:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced Response Card */
.response-card {
    animation: bounceIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.response-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

/* Enhanced Connect Items */
.connect-item {
    animation: fadeInUp 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.connect-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.connect-item i {
    transition: all 0.3s ease;
}

.connect-item:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #1d4ed8;
}

/* Enhanced Contact Methods */
.contact-method {
    animation: slideInFromLeft 0.6s ease-out;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-method:nth-child(1) { animation-delay: 0.1s; }
.contact-method:nth-child(2) { animation-delay: 0.2s; }
.contact-method:nth-child(3) { animation-delay: 0.3s; }

/* Enhanced Form Container */
.contact-form-container {
    animation: slideInFromRight 0.8s ease-out;
}

/* Enhanced Back to Top Button */
.back-to-top {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 