:root {
    --font-family: 'Inter', sans-serif;
    --cyan: #22d3ee;
    --blue: #0ea5e9;
    --bg-color-light: #f9fafb;
    --text-color-light: #1f2937;
    --text-muted-light: #6b7280;
    --card-bg-light: #ffffff;
    --border-colour-light: #e5e7eb;
    --bg-color-dark: #0a0a0a;
    --text-color-dark: #e5e7eb;
    --text-muted-dark: #9ca3af;
    --card-bg-dark: #111827;
    --border-color-dark: #1f2937;
}
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-family);
    background-color: var(--bg-color-light);
    color: var(--text-color-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.dark body {
    background-color: var(--bg-color-dark) ;
    color: var(--text-color-dark);
}
.hidden {
    display: none !important;
}
.gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-colour-light);
}
.dark .site-header {
    background-color: rgba(0, 0, 0, 0.6);
    border-bottom-color: var(--border-color-dark);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-size: 2.5rem;
    font-weight: 700;
    text-decoration: none;
    padding-left: 16px;
}
.header-controls {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size : 1rem;
}
.desktop-nav {
    display: none;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-muted-light);
    transition: color 0.3s ease;
}
.dark .nav-link {
    color: var(--text-muted-dark);
}
.nav-link:hover {
    color: var(--cyan);
}
.theme-toggle-button, .mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted-light);
}
.dark .theme-toggle-button, .dark .mobile-menu-btn {
    color: var(--text-muted-dark);
}
.theme-toggle-button:hover, .mobile-menu-btn:hover {
    color: var(--cyan);
}
.icon {
    width: 24px;
    height: 24px;
}
.mobile-nav {
    border-top: 1px solid var(--border-colour-light);
    background-color: var(--bg-color-light);
}
.dark .mobile-nav {
    border-top-color: var(--border-color-dark);
    background-color: var(--card-bg-dark);
}
.mobile-nav-link {
    display: block;
    padding: 12px 24px;
    text-decoration: none;
    color: var(--text-muted-light);
}
.dark .mobile-nav-link {
    color: var(--text-muted-dark);
}
.mobile-nav-link:hover {
    background-color: #f3f4f6;
}
.dark .mobile-nav-link:hover {
    background-color: #1f2937;
}
main {
    padding-top: 72px;
}
.content-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}
.about-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('WhatsApp Image 2025-08-16 at 12.47.09 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: -1;
}
.about-text .main-heading {
    font-size: 5.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    margin-left: 150px;
}
.about-text .sub-heading {
    font-size: 3.25rem;
    color: var(--text-muted-light);
    margin-bottom: 8px;
    margin-left: 150px;
}
.dark .about-text .sub-heading {
    color: var(--text-muted-dark);
}
.about-text .description {
    max-width: 64rem;
    margin-bottom: 32px;
    margin-left: 150px;
    font-size: 1rem;
    color: var(--text-muted-light);
}
.dark .about-text .description {
    color: var(--text-muted-dark);
}
.cta-button {
    display: inline-block;
    background-color: var(--cyan);
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin-left: 150px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 14px rgba(34,211,238,0.2);
}
.cta-button:hover {
    background-color: var(--blue);
}
.profile-image {
    width: 256px;
    height: 256px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(34,211,238,0.2);
    box-shadow: 0px 10px 30px rgba(34, 211, 238, 0.2);
}
.about-image-container {
    padding-right: 200px;
}
.skills-grid, .projects-grid {
    display: grid;
    gap: 32px;
}
.skills-grid {
    grid-template-columns: repeat(1, 1fr);
}
.projects-grid {
    grid-template-columns: repeat(1, 1fr);
}
.card {
    background-color: var(--card-bg-light);
    border: 1px solid var(--border-colour-light);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dark .card {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-color-dark);
}
.card:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(100, 116, 139, 0.1);
}
.dark .card:hover {
    box-shadow: 0 10px 20px rgba(0, 172, 230, 0.2);
}
.skill-bar-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 10000px;
    height: 10px;
    overflow: hidden;
}
.dark .skill-bar-container {
    background-color: #374151;
}
.skill-bar-inner {
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    height: 100%;
    border-radius: 10000px;
    transition: width 1.5s ease-in-out;
}
.card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.card p {
    color: var(--text-muted-light);
    margin-bottom: 16px;
    font-size: 1.25rem;
}
.dark .card p {
    color: var(--text-muted-dark);
}
.card a {
    color: var(--cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
}
.card a:hover {
    text-decoration: underline;
}
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 4px;
    background-color: var(--border-colour-light);
}
.dark .timeline::before {
    background-color: var(--border-color-dark);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 60px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: var(--cyan);
    border: 4px solid var(--card-bg-light);
    border-radius: 50%;
    z-index: 1;
}
.dark .timeline-item::before {
    border-color: var(--card-bg-dark);
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-content {
    padding: 24px;
}
.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 8px;
}
.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted-light);
    margin-bottom: 16px;
}
.dark .timeline-content h4 {
    color: var(--text-muted-dark);
}
.contact-details {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.dark .contact-link {
    color: var(--text-color-dark);
}
.contact-link:hover {
    color: var(--cyan);
    text-decoration: underline;
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}
.social-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.dark .social-link {
    color: var(--text-muted-dark);
}
.social-link:hover {
    color: var(--cyan);
}
.social-links span {
    color: var(--text-muted-light);
}
.dark .social-links span {
    color: var(--text-muted-dark);
}
@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
    .mobile-menu-btn {
        display: none;
    }
    .about-section {
        flex-direction: row;
        text-align: left;
        gap: 0;
        justify-content: space-between;
    }
    .about-text .main-heading {
        font-size: 4.5rem;
    }
    .profile-image {
        width: 320px;
        height: 320px;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 767px) {
    .logo {
        font-size: 2rem;
    }
    .header-controls {
        gap: 16px;
    }
    .content-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-heading {
        font-size: 2.25rem;
        margin-bottom: 32px;
    }
    .about-section {
        min-height: calc(100vh - 72px);
        flex-direction: column-reverse;
        gap: 32px;
        text-align: center;
    }
    .about-text .main-heading,
    .about-text .sub-heading,
    .about-text .description,
    .cta-button {
        margin-left: 0;
    }
    .about-text .main-heading {
        font-size: 2.5rem;
    }
    .about-text .sub-heading {
        font-size: 1.25rem;
    }
    .about-text .description {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1rem;
    }
    .profile-image {
        width: 180px;
        height: 180px;
    }
    .about-image-container {
        padding-right: 0;
    }
    .card h3 {
        font-size: 1.25rem;
    }
    .card p, .card a {
        font-size: 1rem;
    }
    .timeline {
        padding-left: 10px;
    }
    .timeline::before {
        left: 11px;
        width: 2px;
    }
    .timeline-item {
        padding-left: 30px;
        margin-bottom: 30px;
    }
    .timeline-item::before {
        left: 0;
        width: 24px;
        height: 24px;
    }
    .timeline-content {
        padding: 0;
    }
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    .timeline-content h4 {
        font-size: 1rem;
    }
    .contact-link {
        font-size: 1.1rem;
        word-break: break-all;
    }
    .social-link {
        font-size: 1.1rem;
    }
}


