/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff6b6b;
    --accent-color: #4ecdc4;
    --background-dark: #0a0a0a;
    --background-secondary: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #4ecdc4 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #ffa726 100%);
    --shadow-primary: 0 20px 40px rgba(0, 212, 255, 0.1);
    --shadow-secondary: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    
    /* Responsive Breakpoints */
    --mobile: 768px;
    --small-mobile: 480px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Enhanced Hero Visual Styles */
.profile-card-container {
    position: relative;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    padding: 2rem 0;
}

.profile-silhouette {
    position: relative;
    height: 300px;
    width: 220px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, rgba(0,212,255,0.1) 0%, rgba(78,205,196,0.1) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(0,212,255,0.3);
}

.profile-silhouette:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}

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

.profile-silhouette:hover .profile-img {
    transform: scale(1.05);
}

.profile-details {
    text-align: center;
    z-index: 2;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2em;
    background: linear-gradient(90deg, #00d4ff, #4ecdc4, #ffa726);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-title {
    font-size: 1.2rem;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

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

.skill-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    animation: float 8s infinite ease-in-out;
}

.skill-icon-1 {
    top: 5%;
    left: 14%;
    color: #f89820; /* Java */
    animation-delay: 0s;
}

.skill-icon-2 {
    top: 25%;
    right: 20%;
    color: #306998; /* Python */
    animation-delay: 1s;
}

.skill-icon-3 {
    bottom: 30%;
    left: 20%;
    color: #e34c26; /* HTML */
    animation-delay: 2s;
}

.skill-icon-4 {
    top: 5%;
    right: 14%;
    color: #264de4; /* CSS */
    animation-delay: 3s;
}

.skill-icon-5 {
    bottom: 40%;
    right: 13%;
    color: #f7df1e; /* JavaScript */
    animation-delay: 4s;
}

.skill-icon-6 {
    top: 40%;
    left: 10%;
    color: #00a1f1; /* Power Automate */
    animation-delay: 5s;
}

.skill-icon-7 {
    bottom: 25%;
    right: 20%;
    color: #4ecdc4; /* Power BI */
    animation-delay: 6s;
}

.skill-icon-8 {
    top: 30%;
    left: 20%;
    color: #ffa726; /* Security */
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}
.accenture-card {
    border-left: 4px solid #a100ff !important;
    box-shadow: 0 10px 30px rgba(161, 0, 255, 0.1) !important;
}

.accenture-card .card-header {
    background: linear-gradient(135deg, rgba(161, 0, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%) !important;
}

.experience-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.project-highlight h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.project-achievements {
    margin: 15px 0;
}

.achievement-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
}

.achievement-item i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 14px;
    margin-top: 5px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tech-pill {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader p {
    color: var(--text-secondary);
    font-weight: 300;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Cursor - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }
    
    .cursor {
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--primary-color);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transition: transform 0.1s ease;
    }

    .cursor-follower {
        position: fixed;
        width: 30px;
        height: 30px;
        border: 2px solid rgba(0, 212, 255, 0.3);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transition: all 0.3s ease;
    }

    .cursor.hover {
        transform: scale(1.5);
    }

    .cursor-follower.hover {
        transform: scale(1.5);
        border-color: var(--primary-color);
    }
}

/* Hide cursor on mobile/touch devices */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none !important;
    }
    
    body {
        cursor: auto !important;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-secondary);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

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

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

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: -4s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 20%;
    animation-delay: -1s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 30%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block; 
    font-size: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }

.title-accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    font-size: 60px;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
}

.profile-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--background-dark);
    margin: 0 auto;
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 170px;
    height: 170px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.profile-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

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

.profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.profile-info p {
    color: var(--text-secondary);
    text-align: center;
}



/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background-dark);
}

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

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

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

/* About Section */
.about-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: start;
}

.centered-about {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* Experience Section */
.experience-section {
    padding: 6rem 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.project-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    border-left: 3px solid rgba(138, 43, 226, 0.6);
}

.project-section h5 {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.project-section h5 i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.accenture-card {
    border-color: rgba(138, 43, 226, 0.3); /* Accenture purple */
}

.accenture-card:hover {
    border-color: rgba(138, 43, 226, 0.7); /* Accenture purple */
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.1); /* Purple shadow */
}

.accenture-card .card-header i {
    color: rgba(138, 43, 226, 0.9); /* Accenture purple */
}

.accenture-card .achievement-item i {
    color: rgba(138, 43, 226, 0.9); /* Accenture purple */
}

.experience-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-header h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

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

/* Skills Section */
.skills {
    background: var(--background-secondary);
}

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

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

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

.skill-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-primary);
}

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

.skill-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

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

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--background-dark);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    text-decoration: none;
    transition: var(--transition);
}

.project-link:hover {
    transform: scale(1.1);
    background: var(--text-primary);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Contact Section */
.contact {
    background: var(--background-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    font-size: 1.2rem;
}

.contact-method h4 {
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-method p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    background: var(--background-secondary);
    padding: 0 0.5rem;
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

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

@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);
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Education Section Theme Styles */
.education-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.edu-card {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-primary);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 700px;
    transition: box-shadow 0.3s;
    background: rgba(218, 218, 218, 0.08);
}
.edu-card:hover {
    box-shadow: 0 12px 40px rgba(0, 213, 255, 0.25);
}
.edu-icon {
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    padding: 1rem;
    margin-right: 1.5rem;
    box-shadow: 0 2px 8px #00d4ff33;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edu-details {
    flex: 1;
}
.edu-college {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #00ffff, #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.edu-degree {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.edu-special {
    color: #ffd700;
    font-weight: 700;
}
/* .edu-badges {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.edu-badge {
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    border-radius: 12px;
    padding: 0.3rem 1rem;
    font-size: 1rem;
    box-shadow: 0 2px 8px #00d4ff33;
} */
.badge-grad {
    color: #8a2be2;
    box-shadow: 0 2px 8px #8a2be233;
}
.edu-location {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}
.edu-location i {
    color: #ffd700;
    margin-right: 6px;
}
.edu-timeline {
    margin-top: 2rem;
    text-align:right;
}
.edu-timeline-badge {
    display: inline-block;
    background: linear-gradient(90deg, #00d4ff, #8a2be2);
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
}

/* Touch Device Detection */
@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto;
    }
    .cursor, .cursor-follower {
        display: none;
    }
    
    /* Enhanced touch feedback */
    a, button, .skill-item, .experience-card {
        position: relative;
        overflow: hidden;
    }
    
    a:active, button:active, 
    .skill-item:active, .experience-card:active {
        transform: scale(0.98);
        transition: transform 0.2s;
    }
    
    .project-card {
        position: relative;
    }

    .project-overlay {
        opacity: 0;
        background: rgba(0, 0, 0, 0.9);
        transition: opacity 0.3s ease;
    }

    .project-card:active .project-overlay {
        opacity: 1;
    }

    .project-links {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        gap: 1.5rem;
        z-index: 2;
    }

    .project-link {
        width: 60px;
        height: 60px;
        background: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--background-dark);
        font-size: 1.5rem;
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .project-link:active {
        transform: scale(0.95);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* General Layout */
    .container {
        padding: 0 1rem;
    }
    .section {
        padding: 60px 0;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: 0.3s ease;
        z-index: 999;
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-text {
        order: 2;
    }
    .hero-visual {
        order: 1;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    
    /* Profile Card */
    .profile-card-container {
        height: auto;
        padding: 2rem 0;
    }
    .profile-silhouette {
        height: 280px;
        width: 200px;
        margin: 0 auto;
    }
    .profile-img {
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 100%;
    }
    .profile-name {
        font-size: 2rem;
        margin-top: 1rem;
    }
    .profile-title {
        font-size: 1rem;
    }
    .skill-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    .stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    .stat-item {
        width: 45%;
    }
    
    /* Education Section */
    .edu-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .edu-icon {
        margin: 0 0 1rem 0;
    }
    .edu-college {
        font-size: 1.5rem;
    }
    .edu-badges {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    /* Experience Section */
    .experience-grid {
        grid-template-columns: 1fr;
    }
    .experience-card {
        padding: 1.5rem;
    }
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .card-header i {
        margin: 0;
    }
    
    /* Skills Section */
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .skill-category {
        padding: 1.5rem;
    }
    .skill-items {
        justify-content: center;
    }
    
    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card {
        margin: 0;
    }
    .project-image {
        height: 200px;
    }
    
    /* Contact Section */
    .contact-content {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .contact-info {
        order: 1;
    }
    .contact-methods {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .contact-form {
        width: 100%;
        order: 2;
        margin-top: 2rem;
    }
    .contact-form h3 {
        margin-bottom: 1.5rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    
    .section-number {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .profile-silhouette {
        height: 220px;
        width: 160px;
    }
    .profile-name {
        font-size: 1.8rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .stat-item {
        width: 100%;
    }
    .edu-college {
        font-size: 1.3rem;
    }
    .edu-degree {
        font-size: 1rem;
    }
    .project-content h3 {
        font-size: 1.3rem;
    }
}
    .section-number {
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Further refinements for very small screens */
    .hero-title {
        font-size: 1.8rem;
    }
    .profile-silhouette {
        height: 220px;
        width: 160px;
    }
    .profile-name {
        font-size: 1.8rem;
    }
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    .stat-item {
        width: 100%;
    }
    .edu-college {
        font-size: 1.3rem;
    }
    .edu-degree {
        font-size: 1rem;
    }
    .project-content h3 {
        font-size: 1.3rem;
    }
    /* Collapsible Experience Card Styles */
.collapsible-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
}

.experience-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.experience-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.experience-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.toggle-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.collapsible-card.active .toggle-icon {
    transform: rotate(180deg);
}

.experience-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.collapsible-card.active .experience-details {
    max-height: 2000px;
    padding: 1.5rem;
    transition: max-height 0.8s ease-in, padding 0.3s ease-in;
}

.experience-period {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

/* Add indicator animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.collapsible-card:not(.active) .toggle-icon {
    animation: bounce 2s infinite;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .experience-header {
        padding: 1rem;
    }
    
    .experience-title-section {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .experience-icon {
        font-size: 1.5rem;
    }
    
    .experience-header h4 {
        font-size: 1rem;
    }
    /* Add these styles for smooth transitions */
.experience-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.experience-details.active {
    max-height: 1000px; /* Adjust based on content */
    opacity: 1;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.toggle-icon.active {
    transform: rotate(180deg);
}

.experience-card {
    transition: box-shadow 0.3s ease;
}

.experience-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
}
.experience-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-title-section .experience-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #8a2be2, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.experience-title-section h4 {
    font-size: 1.2rem;
    margin: 0;
    background: linear-gradient(135deg, #8a2be2 0%, #00d4ff 50%, #4ecdc4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.experience-period {
    font-size: 0.9rem;
    color: #8892b0;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.experience-header:hover h4 {
    transform: translateX(10px);
}
}
