* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: radial-gradient(circle at top left, #a1364d, #4a0e1c);
    color: white;
    min-height: 100vh;
}

/* --- SMOOTH SCROLLING ENABLED --- */
html {
    scroll-behavior: smooth;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    align-items: center;
    padding: 20px 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

/* --- UPDATED LOGO: GRADIENT & GLOW --- */
.logo {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 1001;

    /* 1. Gradient Text Setup */
    background: linear-gradient(to right, #ffffff, #ff7878, #000000, #4fb1f6);
    background-size: 300% auto; /* Make gradient large to move it */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* 2. Glow Animation */
    animation: gradient-glow 3s linear infinite;
}

/* Animation for Moving Gradient + Glow */
@keyframes gradient-glow {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 10px rgba(192, 120, 255, 0.9)); /* Purple Glow */
    }
    100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
    }
}


/* NAV LINKS: True Center Alignment */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    background: rgba(255, 255, 255, 0.06); 
    padding: 5px 10px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.1s ease;
    border: 2px solid transparent; 
    border-radius: 20px;
    display: block;
}

.nav-links li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08); 
    border: 2px solid rgba(255, 255, 255, 0.3); 
}

/* Active State Highlight */
.nav-links li a.active {
    background: white;
    color: #4a0e1c; 
    font-weight: 700;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 80px 20px 80px; 
    min-height: 100vh;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse-border 2s infinite;
}

.badge span { color: #c078ff; animation: blink-text 1.5s infinite; }

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(192, 120, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(192, 120, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 120, 255, 0); }
}

@keyframes blink-text { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

h1 { font-weight: 400; font-size: 2.5rem; }
.name { font-size: 4rem; font-weight: 800; margin: 10px 0; }
.tagline { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; }

/* --- CTA BUTTONS CONTAINER --- */
.cta-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap; 
}

/* Old .btn classes for About Me section */
.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-white { background: white; color: black; }

/* --- UNIFIED SWIPE BUTTON STYLE (Used for Contact, Download, Mail) --- */
.swipe-btn {
    position: relative;
    width: 170px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.swipe-text {
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
    transform: translateX(10px); 
    transition: 0.4s;
}

.swipe-circle {
    position: absolute;
    left: 4px;
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

/* Icon style inside the circle */
.swipe-circle svg {
    width: 20px;
    height: 20px;
    stroke: #4a0e1c; 
}

/* HOVER EFFECTS */
.swipe-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.swipe-btn:hover .swipe-circle {
    width: calc(100% - 8px); 
    border-radius: 30px;
    left: 4px;
}

.swipe-btn:hover .swipe-text {
    opacity: 0; 
    transform: translateX(50px);
}

.swipe-btn:hover .swipe-circle svg {
    transform: scale(1.2);
}


/* Image Area */
.image-area {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    flex: 1;
    padding-bottom: 50px; 
}

.circle-wrapper {
    width: 380px; 
    height: 380px;
    border-radius: 50%; 
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    background: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -30px; 
}

.circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.5s ease;
}

/* Typing Text */
.typing-text {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: none; 
    width: 0;
    animation: typing 12s steps(50) infinite;
}

@keyframes typing {
    0% { width: 0; }
    45% { width: 100%; } 
    75% { width: 100%; } 
    100% { width: 0; }
}

/* --- About Section --- */
.about-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    background: transparent;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 80px;
}

.about-text { flex: 1.5; }

.section-title {
    font-size: 3.5rem;
    text-decoration: underline;
    text-underline-offset: 12px;
    margin-bottom: 25px;
    font-weight: 700;
}

.role-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: #ffffff;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    text-align: justify; 
    text-align-last: left; 
}

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

/* PLAIN IMAGE STYLE (No Border/Frame) */
.plain-image-container {
    width: 400px;
    height: auto;
    background: transparent;
    transition: transform 0.3s ease;
}

.plain-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px; 
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
}

.plain-image-container:hover {
    transform: scale(1.02);
}

/* --- Tools Section --- */
.tools-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.centered-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 50px;
    margin-top: 80px;
}

.tools-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 500px;
}

.tool-card {
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.tool-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

/* --- Experience Section --- */
.exp-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    padding-top: 60px; 
    position: relative;
}

.exp-wrapper {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px; 
}

.exp-section .centered-title {
    margin-top: 40px; 
    margin-bottom: 30px;
}

.exp-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.4s ease;
}

.exp-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.exp-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.exp-info .duration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.exp-points {
    list-style: none;
    text-align: right;
}

.exp-points li {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exp-points li::after {
    content: ' ✦';
    color: #ffffff;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .exp-card { flex-direction: column; gap: 15px; }
    .exp-points { text-align: left; }
    .exp-points li::after { content: ''; }
    .exp-points li::before { content: '✦ '; }
}

/* --- Works Section --- */
.works-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10%;
}

.works-container {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.works-main-area {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
}

.qr-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.qr-card:hover {
    transform: translateY(-15px) rotateX(10deg) rotateY(-5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.qr-card img {
    width: 250px;
    height: 250px;
    display: block;
    transition: transform 0.5s ease;
}

.qr-card:hover img { transform: scale(1.05); }

.qr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.qr-card:hover::before { left: 100%; }

.instruction-container {
    position: relative;
    padding-left: 20px;
}

.scan-text {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    color: white;
    line-height: 1.2;
    animation: blinker 2s linear infinite;
}

.curvy-pointer {
    position: absolute;
    top: 50px;
    left: -80px;
    transform: rotate(15deg);
    opacity: 0.8;
}

@keyframes blinker {
    50% { opacity: 0.3; }
}

.works-footer {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.works-btn {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    display: inline-block;
}

.works-btn:hover {
    background: white;
    color: #4a0e1c; 
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: white;
}

@media (max-width: 768px) {
    .works-main-area { flex-direction: column; text-align: center; }
    .curvy-pointer { display: none; }
}

/* --- Connect Section --- */
.connect-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.connect-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.connect-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.connect-item {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: 0.4s ease;
}

.qr-frame {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 20px;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.2);
    transition: 0.5s;
}

.qr-frame img {
    width: 90px;
    height: 90px;
    display: block;
}

.creative-link {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

.creative-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.4s ease;
}

.connect-item:hover .creative-link::after { width: 100%; }
.connect-item:hover .qr-frame {
    transform: scale(1.15) rotate(5deg);
    background: #ffffff;
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.connect-item:hover .creative-link {
    letter-spacing: 2px;
    opacity: 1;
}

.text-link-wrapper { position: relative; }

@media (max-width: 768px) {
    .connect-item { flex-direction: column; text-align: center; }
    .creative-link { font-size: 1.8rem; }
}

/* Mobile-ku mattum ulla styles (From your code) */
@media only screen and (max-width: 600px) {
  body {
    background-color: lightblue; /* Example change */
  }
  .container {
    width: 100%; /* Mobile la full width aakanum */
  }
}
