@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --secondary-color: #64748b;
    --dark-color: #0f172a;
    --dark-lighter: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --border-color: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    --gradient-2: linear-gradient(135deg, #059669 0%, #34d399 100%);
    --gradient-3: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

section {
    padding: 100px 0;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
    border-radius: 2px;
}

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-color) !important;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15, 23, 42, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2314b8a6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 50px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #14b8a6;
    border-radius: 50%;
    box-shadow: 0 0 10px #14b8a6;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #14b8a6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px #14b8a6;
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 20px #14b8a6, 0 0 30px #14b8a6;
    }
}

.typing-cursor {
    color: #14b8a6;
    font-weight: 300;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.hero-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(20, 184, 166, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(20, 184, 166, 0.2);
    overflow: hidden;
    position: relative;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
    animation: scanline 3s infinite;
}

@keyframes scanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.hero-avatar i {
    font-size: 200px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.hero-avatar-svg {
    width: 70%;
    height: 70%;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.hero-avatar-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #14b8a6, #0f766e, #14b8a6, #0f766e, #14b8a6);
    animation: rotate 4s linear infinite;
    filter: blur(8px);
    opacity: 0.7;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

.hero-profession {
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
    font-family: 'Orbitron', sans-serif;
    color: #14b8a6;
    text-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 550px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-glow {
    background: white;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.5), 0 10px 25px rgba(0,0,0,0.2);
    background: #f8fafc;
}

.btn-outline-glow {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(20, 184, 166, 0.2);
}

.btn-outline-glow:hover {
    transform: translateY(-2px);
    border-color: #14b8a6;
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.4), 0 10px 25px rgba(0,0,0,0.2);
    color: #14b8a6;
}

.social-link:hover {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
    transform: translateY(-3px);
    border-color: #14b8a6;
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: #f8fafc;
}

.hero-buttons .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.social-links {
    animation: fadeInUp 1s ease 0.8s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    border-color: white;
}

.social-links {
    animation: fadeInUp 1s ease 0.8s both;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.hero-avatar {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-avatar i {
    font-size: 200px;
    color: rgba(255, 255, 255, 0.9);
}

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

.about-avatar {
    width: 300px;
    height: 300px;
    border-radius: 20px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.about-avatar:hover {
    transform: rotate(0deg) scale(1.05);
}

.about-avatar i {
    font-size: 150px;
    color: white;
}

.about-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.about-role {
    font-size: 1.2rem;
}

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

.about-details p {
    margin-bottom: 8px;
}

.about-details strong {
    color: var(--dark-color);
}

.skill-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.skill-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.skill-icon i {
    font-size: 2.5rem;
    color: white;
}

.skill-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.skill-description {
    color: var(--text-color);
    font-size: 0.95rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skill-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.timeline {
    position: relative;
    padding-left: 50px;
}

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

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

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

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.timeline-company {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline-description {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-color);
    margin-bottom: 0;
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.contact-form button {
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.education-card {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.education-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.education-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.education-icon i {
    font-size: 2.5rem;
    color: white;
}

.education-degree {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.education-field {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 8px;
}

.education-institution {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.education-year {
    display: inline-block;
    padding: 4px 16px;
    background: var(--light-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.footer {
    background: var(--dark-color) !important;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(20, 184, 166, 0.02) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
        border: 1px solid var(--border-color);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-profession {
        font-size: 1.3rem;
    }

    .hero-avatar {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .hero-avatar i {
        font-size: 140px;
    }

    .hero-avatar-svg {
        width: 60%;
        height: 60%;
    }

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

    .about-avatar {
        width: 250px;
        height: 250px;
    }

    .about-avatar i {
        font-size: 120px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 70px 0;
    }

    .section-padding {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-profession {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-avatar {
        width: 200px;
        height: 200px;
    }

    .hero-avatar i {
        font-size: 100px;
    }

    .hero-avatar-svg {
        width: 55%;
        height: 55%;
    }

    .hero-buttons .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

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

    .about-avatar {
        width: 200px;
        height: 200px;
    }

    .about-avatar i {
        font-size: 100px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -25px;
        width: 12px;
        height: 12px;
    }

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