:root {
    --primary: #6366f1; /* Indigo 500 */
    --primary-light: #818cf8;
    --secondary: #38bdf8; /* Sky 400 */
    --accent: #f59e0b; /* Amber 500 */
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-card: #1e293b; /* Slate 800 */
    --text-main: #f8fafc;
    --text-muted: #cbd5e1; /* Slate 300 - Brighter for better contrast */
    --glass: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(148, 163, 184, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--primary-light);
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--text-muted);
}

#typing-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff; /* Default text color for buttons */
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light) !important;
    border: 1px solid var(--glass-border);
}

.btn-small:hover {
    background: var(--primary);
    color: #fff !important;
    border-color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1f2937;
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

/* Section Styles */
section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about {
    background: var(--bg-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.profile-image-wrapper {
    width: 320px;
    height: 320px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2px;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.25);
    transition: var(--transition);
    transform: rotate(-2deg);
}

.profile-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    object-fit: cover;
}

.about-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 0.2rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.skill-category {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.skill-category:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.skill-item:hover {
    background: var(--bg-card);
    border-color: var(--secondary);
    transform: translateY(-8px);
}

.skill-item i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Experience Section */
.experience {
    background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, var(--bg-dark) 100%);
}

.experience-item {
    background: var(--glass);
    padding: 3rem;
    border-radius: 24px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.experience-item:hover {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.8);
}

.experience-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 1.5rem;
}

.location {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.duration {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.experience-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--glass);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
}

.project-image {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: var(--primary-light);
    border-bottom: 1px solid var(--glass-border);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.project-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.project-tech span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.certification-card:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    transform: scale(1.03);
}

.certification-card i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.certification-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.8rem;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #25d366;
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    background: #20ba5a;
}

.whatsapp-btn i {
    font-size: 1.6rem;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border: none;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}



.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #fbbf24);
}

/* Global Recognition Section */
.recognition {
    background: radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.08) 0%, var(--bg-dark) 100%);
    position: relative;
    z-index: 1;
}

.recognition-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.8rem;
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #1f2937;
    font-weight: 800;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.recognition-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.recognition-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Roller / Infinite Scroll */
.roller-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.roller {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.roller-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
    padding: 1rem 0;
}

.roller-track:hover {
    animation-play-state: paused;
}

.roller-item {
    flex: 0 0 auto;
    width: 450px;
    height: 320px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass);
    transition: var(--transition);
}

.roller-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: var(--transition);
}

.roller-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.roller-item:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.4);
}

.roller-item:hover img {
    filter: brightness(1) contrast(1);
    transform: scale(1.1);
}

.roller-item:hover .roller-caption {
    transform: translateY(0);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Total width of one set: (item width + gap) * number of items */
        /* (450px + 32px) * 5 = 2410px */
        transform: translateX(calc(-450px * 5 - 2rem * 5));
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .profile-image-wrapper {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .container, .hero-container {
        padding: 0 25px;
    }

    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-menu {
        display: none;
    }
    

    
    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-item {
        padding: 2rem;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .certification-card {
        padding: 1.5rem;
    }
} 
