/* DESIGN SYSTEM
- STYLE: "Minimalist Tech"
- COLORS: Clean white background (#FFFFFF), Deep charcoal text (#1F2937), Single accent color (#2563EB - Royal Blue). 
- FONTS: Inter
*/

:root {
    --bg-color: #FFFFFF;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --accent-color: #2563EB;
    --accent-hover: #1D4ED8;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.accent {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

p {
    color: var(--text-secondary);
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: #FFFFFF;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--text-primary);
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    /* Adjust based on original text size */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
}

.nav-links .btn-primary {
    padding: 0.5rem 1.25rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.03), transparent 40%);
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #111827;
}

.sub-headline {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 1.75rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.75rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.hero-image-container {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.05);
    z-index: 0;
    transform: scale(1.1);
}

.hero-image {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-color);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.08);
}

/* About / Narrative */
.about-content>p {
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.subsection-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

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

.toolkit-card {
    background: var(--bg-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.toolkit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.toolkit-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.toolkit-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-color);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.3);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: rgba(37, 99, 235, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.project-card {
    display: flex;
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-img {
    flex: 1;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-right: 1px solid var(--border-color);
}

.img-placeholder {
    color: var(--accent-color);
    opacity: 0.8;
    transition: var(--transition);
}

.project-card:hover .img-placeholder {
    transform: scale(1.1);
}

.project-info {
    flex: 1.2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    align-self: flex-start;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    align-self: flex-start;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Experience Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.timeline-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.role {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Education */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.education-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.edu-icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

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

.edu-details h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.edu-desc {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Footer & Contact */
.contact {
    background-color: var(--bg-color);
}

footer {
    background: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .project-card {
        flex-direction: column;
    }

    .project-img {
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .cta-group {
        justify-content: center;
    }

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

    .hero-image {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 1rem 3rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-image {
        max-width: 280px;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Mobile Menu */
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 100% 0%);
        transition: clip-path 0.5s ease-in-out;
        gap: 1.5rem;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0%);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-dot {
        left: 4px;
        width: 12px;
        height: 12px;
    }

    .education-card {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}