/* Base styles */
:root {
    --primary: #484747;
    --secondary: #000000;
    --accent: #000000;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--gray);
    background-color: linear-gradient(135 deg, var(--primary) 0%, var(--secondary) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Header section with background */
.header {
    position: relative;
    padding: 120px 40px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.profile-container {
    position: relative;
    margin-bottom: 30px;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.profile-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 210px;
    height: 210px;
    top: -15px;
    left: calc(50% - 105px);
}
.circle-2 {
    width: 240px;
    height: 240px;
    top: -30px;
    left: calc(50% - 120px);
    opacity: 0.6;
}
h1 {
    font-size: 3rem;
    margin: 10px 0;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Content area */
.content {
    padding: 40px;
}

/* Section styling */
.section {
    
    margin-bottom: 50px;
}

h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--accent);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

/* Skills section */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Timeline for education and experience */
.timeline {
    position: relative;
    margin-top: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 5px;
    height: calc(100% - 10px);
    width: 2px;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--primary);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-item h3 {
    color: var(--primary);
    margin-bottom: 8px;
}

.date {
    color: var(--gray);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: block;
}
/* Footer styles (append to the end of your CSS) */
.footer {
    margin-top: 0;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 34px 40px;
    border-radius: 0 0 15px 15px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-left, .footer-right {
    min-width: 260px;
    flex: 1 1 300px;
}

.footer h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #fff;
}

.footer-email {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.95;
}

.footer-email:hover {
    text-decoration: underline;
}

.footer-note {
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
    font-size: 0.95rem;
}

/* Social icons */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.social-link:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
   
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

/* Responsive tweaks */
@media (max-width: 780px) {
    .footer {
        padding: 28px 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-right {
        text-align: center;
        flex: unset;
        min-width: 0;
    }

    .socials {
        justify-content: center;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 80px 20px 30px;
    }
    
    .content {
        padding: 30px 20px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}