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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --background: #ffffff;
    --surface: #f8fafc;
    --border: #e5e7eb;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 50%, #1E90FF 100%);
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 15%;
    left: -200px;
    width: 300px;
    height: 150px;
    background: url('https://svgsilh.com/svg_v2/296440.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1) opacity(0.8);
    animation: moveCloudsRight 25s linear infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 45%;
    right: -250px;
    width: 250px;
    height: 120px;
    background: url('https://svgsilh.com/svg_v2/296440.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1) opacity(0.6);
    animation: moveCloudsLeft 30s linear infinite;
    z-index: 1;
}

.hero-content::before {
    content: '';
    position: absolute;
    bottom: 2%;
    left: -200px;
    width: 220px;
    height: 110px;
    background: url('https://svgsilh.com/svg_v2/296440.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1) opacity(0.7);
    animation: moveCloudsRight 35s linear infinite;
    z-index: 0;
}

@keyframes moveCloudsRight {
    0% {
        left: -300px;
    }
    100% {
        left: 100%;
    }
}

@keyframes moveCloudsLeft {
    0% {
        right: -300px;
    }
    100% {
        right: 100%;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

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

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background);
}

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

.about-profile {
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    height: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 2/4;
}

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

.about-text p {
    margin-bottom: 1.5rem;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievement-item {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.achievement-item i {
    font-size: 2rem;
    color: #fbbf24;
}

.achievement-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: var(--surface);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    padding: 20px 0;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 0 2rem;
}

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

.company {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background: var(--background);
}

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

.skill-category {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.skill-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.certifications {
    background: var(--surface);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cert-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.cert-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--surface);
    text-align: center;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    color: var(--primary-color);
}

.future-projects {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.coming-soon i {
    font-size: 1.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contactForm input, #contactForm textarea {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
}

#contactForm textarea {
    min-height: 100px;
    resize: vertical;
}

#contactForm button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* 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: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }
    
    .about-profile {
        order: -1;
    }
    
    .profile-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text {
        text-align: left;
        font-size: 1rem;
    }
    
    .achievements {
        margin-top: 1.5rem;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .achievement-item i {
        margin-bottom: 0.5rem;
    }
    
    .timeline {
        padding: 0;
        max-width: 100%;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        margin: 0 0 1.5rem 0;
        width: 100%;
    }
    
    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-date{
        /* text-align: left;
        background: transparent;
        color: var(--primary-color);
        padding: 0 1rem;
        margin: 0;
        font-size: 0.9rem;
        font-weight: 600;
        width: fit-content;
        display: block;
        white-space: pre-line;
        line-height: 1.3; */
        display: flex;
        justify-content: first baseline;
        padding-left: 5%;
        margin-bottom: -15%;

    }
    
    .timeline-content {
        margin: 0;
        padding: 0.8rem;

    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
}

@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .profile-image {
        max-width: 220px;
    }
    
    .timeline-content {
        margin: 0 1rem;
        padding: 1.2rem;
    }
    
    .achievement-item {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .about, .experience, .skills, .contact {
        padding: 60px 0;
    }
    
    .about-content {
        gap: 1rem;
    }
    
    .profile-image {
     
        max-width: 280px;
     

    }
    
    .about-text {
        font-size: 0.95rem;
        padding: 0.8rem;
    }
    
    .achievement-item {
        padding: 0.8rem;
    }
    
    .timeline-content {
        padding: 0.8rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .skill-category {
        padding: 1.2rem;
    }
    
    .cert-items {
        grid-template-columns: 1fr;
    }
    
    .cert-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}