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

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    /* Slightly off-white background */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: #111;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #111 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    padding: 6rem 0;
}

/* Header / Navigation */
header {
    padding: 2rem 0;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    position: relative;
    padding: 5px 0;
    z-index: 1000;
    display: inline-block;
    text-shadow: none !important;
}

.nav-links a:hover {
    color: #000;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #0077b5, #00a0dc);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(216, 241, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(230, 230, 250, 0.4) 0%, transparent 20%),
        linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    position: relative;
    overflow: hidden;
}

/* Mesh Gradient Blobs */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    /* Organic shape */
    object-fit: cover;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1), -20px -20px 60px rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    animation: morph 8s ease-in-out infinite;
    border: 5px solid rgba(255, 255, 255, 0.5);
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 500;
    background: linear-gradient(90deg, #0077b5, #00a0dc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-text p {
    font-size: 1.15rem;
    color: #555;
    max-width: 650px;
    line-height: 1.8;
}

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

.social-links a {
    font-size: 1.8rem;
    color: #444;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.social-links a:hover {
    color: #0077b5;
    transform: translateY(-5px) scale(1.1);
}

/* Timeline Section */
.timeline-section {
    background-color: #fff;
    position: relative;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, #ddd, #eee, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: #fff;
    border: 4px solid #0077b5;
    top: 22px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(0, 119, 181, 0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover::after {
    transform: scale(1.2);
    background-color: #0077b5;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 25px 35px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    /* Glassmorphism */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 119, 181, 0.2);
}

.timeline-date {
    font-size: 0.85rem;
    color: #0077b5;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 0.3rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.timeline-content ul {
    list-style: disc;
    padding-left: 1.2rem;
    text-align: left;
    /* Always left align list text */
}

.timeline-content ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.6rem;
    position: relative;
}

/* Carousel Section */
.carousel-section {
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
    padding-bottom: 8rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #111 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    margin-bottom: 3rem;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 60px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 600px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.swiper-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    backdrop-filter: blur(2px);
    padding: 2rem;
    color: #fff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.slide-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slide-overlay p {
    color: #ddd;
    font-size: 1rem;
    margin: 0;
}

/* Projects Modal / Grid */
.projects-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    /* More transparent */
    backdrop-filter: blur(20px);
    /* Heavy blur for glass effect */
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    overflow-y: auto;
    padding: 8rem 2rem 4rem;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    background: #f0f0f0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-thumb {
    height: 240px;
    position: relative;
    overflow: hidden;
}

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

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-thumb::after {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

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

.tag {
    font-size: 0.75rem;
    background-color: rgba(0, 119, 181, 0.08);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: #0077b5;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        margin: 0 auto 1.5rem;
    }

    .social-links {
        justify-content: center;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item.right::after {
        left: 21px;
    }

    .swiper-slide {
        width: 85vw;
        height: 320px;
    }
}

/* Expertise Section */
.expertise-section {
    background-color: #fff;
    position: relative;
    padding-bottom: 2rem;
}

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

.expertise-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #0077b5, #00a0dc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0077b5 0%, #00a0dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.expertise-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
}

.expertise-card li {
    margin-bottom: 0.8rem;
    color: #555;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.expertise-card li::before {
    content: '•';
    color: #0077b5;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Fix for Project Page Headers */
.post header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    z-index: auto;
}

.post footer {
    margin-bottom: 4rem;
}

/* Footer */
#footer {
    background-color: #000;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: auto;
}

#footer .icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

#footer .icons a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#footer .icons a:hover {
    color: #0077b5;
}

#footer .copyright {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

```