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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --text-secondary: #666;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --accent-color: #007bff;
    --accent-hover: #0056b3;
    --hero-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --section-bg: #ffffff;
    --section-bg-alt: #f8f9fa;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
    --accent-color: #4dabf7;
    --accent-hover: #339af0;
    --hero-bg: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --section-bg: #1a1a1a;
    --section-bg-alt: #2d2d2d;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.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;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.95);
}

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

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--accent-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

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

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

.nav-link:hover {
    color: var(--accent-color);
}

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

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-text {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-container {
    width: 300px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* MOBILE FIRST APPROACH - 768px and below */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2rem 0 0.5rem 0;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        margin-top: 3rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 0.5rem;
    }
    
    .hero-greeting {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-name {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
    
    .profile-image-container {
        width: 180px;
        height: 180px;
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .profile-image {
        object-fit: cover;
        object-position: center;
    }
    
    .hero-buttons {
        justify-content: center;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .btn {
        padding: 18px 36px;
        font-size: 1.2rem;
        min-width: 200px;
        font-weight: 700;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 0.8rem;
        margin-top: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-greeting {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-name {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.3rem;
    }
    
    .profile-image-container {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .profile-image {
        object-fit: cover;
        object-position: center;
    }
    
    .hero-buttons {
        margin-top: 0.8rem;
        margin-bottom: 0;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 1.1rem;
        min-width: 180px;
        font-weight: 700;
        border-radius: 8px;
    }
}

.hero-greeting {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    padding: 0.2rem 0.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease 0.7s forwards;
    position: relative;
    transition: all 0.3s ease;
}

.hero-name::before {
    content: '';
    position: absolute;
    top: 0.1em;
    left: -0.1em;
    width: 0%;
    height: calc(100% - 0.2em);
    background: #ff9800;
    border-radius: 8px 12px 6px 10px;
    transform: skew(-2deg) rotate(0.5deg);
    z-index: -1;
    opacity: 0.9;
    animation: drawHighlighter 1.5s ease 1.2s forwards;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-name::after {
    content: '';
    position: absolute;
    top: 0.15em;
    left: -0.05em;
    width: 0%;
    height: calc(100% - 0.3em);
    background: #ff5722;
    border-radius: 6px 10px 8px 12px;
    transform: skew(1deg) rotate(-0.3deg);
    z-index: -2;
    opacity: 0.7;
    animation: drawHighlighterLayer 1.5s ease 1.2s forwards;
}

@keyframes drawHighlighter {
    0% {
        width: 0%;
    }
    100% {
        width: calc(100% + 0.2em);
    }
}

@keyframes drawHighlighterLayer {
    0% {
        width: 0%;
    }
    100% {
        width: calc(100% + 0.15em);
    }
}

.hero-name:hover::before {
    opacity: 1;
    transform: skew(-2deg) rotate(0.5deg) scale(1.02);
}

.hero-name:hover::after {
    opacity: 0.8;
    transform: skew(1deg) rotate(-0.3deg) scale(1.02);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: none;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.1s forwards;
}

.highlight-text {
    color: white;
    position: relative;
    display: inline;
    font-weight: 500;
    padding: 0.1em 0.2em;
    margin: 0;
    background: #2196f3;
    border-radius: 3px;
    transform: skew(-2deg);
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2196f3;
    border-radius: 3px;
    z-index: -1;
    opacity: 0.9;
    animation: drawBlueBlock 0.8s ease 4.2s forwards;
    transform: scaleX(0) skew(-2deg);
    transform-origin: left;
    transition: all 0.3s ease;
}

@keyframes drawBlueBlock {
    0% {
        transform: scaleX(0) skew(-2deg);
    }
    100% {
        transform: scaleX(1) skew(-2deg);
    }
}

.highlight-text:hover::before {
    opacity: 1;
    background: #1976d2;
    transform: scaleX(1) skew(-2deg) scaleY(1.1);
}

.highlight-link {
    color: #2196f3;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.highlight-link::before {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: -0.1em;
    width: 0%;
    height: 0.2em;
    background: #2196f3;
    border-radius: 20px;
    transform: skew(-1deg);
    z-index: -1;
    opacity: 0.8;
    animation: drawSketchLine 1s ease 5.2s forwards;
}

.highlight-link::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -0.05em;
    width: 0%;
    height: 0.15em;
    background: #42a5f5;
    border-radius: 15px;
    transform: skew(1deg);
    z-index: -2;
    opacity: 0.6;
    animation: drawSketchLineLayer 1s ease 5.2s forwards;
}

@keyframes drawSketchLine {
    0% {
        width: 0%;
    }
    100% {
        width: calc(100% + 0.2em);
    }
}

@keyframes drawSketchLineLayer {
    0% {
        width: 0%;
    }
    100% {
        width: calc(100% + 0.15em);
    }
}

.highlight-link:hover {
    color: #1976d2;
}

.highlight-link:hover::before {
    opacity: 1;
    transform: skew(-1deg) scaleY(1.2);
}

.highlight-link:hover::after {
    opacity: 0.8;
    transform: skew(1deg) scaleY(1.2);
}

.bracket-highlight {
    color: var(--text-color);
    position: relative;
    display: inline-block;
    font-weight: 500;
    padding: 0 0.3em;
}

.bracket-highlight::before {
    content: '[';
    position: absolute;
    left: -0.25em;
    top: -0.05em;
    color: #f44336;
    font-weight: 700;
    font-size: 1.2em;
    transform: rotate(-2deg) skew(-1deg);
    animation: drawLeftBracket 0.6s ease 5.0s forwards;
    opacity: 0;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

.bracket-highlight::after {
    content: ']';
    position: absolute;
    right: -0.25em;
    top: 0.05em;
    color: #f44336;
    font-weight: 700;
    font-size: 1.2em;
    transform: rotate(2deg) skew(1deg);
    animation: drawRightBracket 0.6s ease 5.2s forwards;
    opacity: 0;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}

@keyframes drawLeftBracket {
    0% {
        opacity: 0;
        transform: rotate(-2deg) skew(-1deg) scale(0.3);
    }
    100% {
        opacity: 1;
        transform: rotate(-2deg) skew(-1deg) scale(1);
    }
}

@keyframes drawRightBracket {
    0% {
        opacity: 0;
        transform: rotate(2deg) skew(1deg) scale(0.3);
    }
    100% {
        opacity: 1;
        transform: rotate(2deg) skew(1deg) scale(1);
    }
}

.bracket-highlight:hover::before,
.bracket-highlight:hover::after {
    color: #d32f2f;
    transform: scale(1.1);
}

.company-highlight {
    color: var(--text-color);
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.company-highlight::before {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 0%;
    height: 0.15em;
    background: #4caf50;
    border-radius: 50px;
    transform: skew(-1deg);
    z-index: -1;
    opacity: 0.8;
    animation: drawWavyLine 1.2s ease 2.8s forwards;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.company-highlight::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: 0;
    width: 0%;
    height: 0.1em;
    background: #66bb6a;
    border-radius: 50px;
    transform: skew(1deg);
    z-index: -2;
    opacity: 0.6;
    animation: drawWavyLineLayer 1.2s ease 2.8s forwards;
}

@keyframes drawWavyLine {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes drawWavyLineLayer {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.company-highlight:hover::before {
    opacity: 1;
    transform: skew(-1deg) scaleY(1.2);
}

.company-highlight:hover::after {
    opacity: 0.8;
    transform: skew(1deg) scaleY(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: white;
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

/* Sections */
.section {
    padding: 100px 0;
    background-color: var(--section-bg);
    transition: background-color 0.3s ease;
}

.section:nth-child(even) {
    background-color: var(--section-bg-alt);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

/* Career Statistics */
.career-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 150px;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* MNC Companies Section */
.mnc-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
}

.company-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: var(--accent-color);
}

.company-logo::after {
    content: "Click to visit website";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: var(--bg-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.company-logo:hover::after {
    opacity: 1;
}

.logo-img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.company-logo:hover .logo-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.company-logo h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    transition: color 0.3s ease;
}

.company-logo:hover h3 {
    color: var(--accent-color);
}

.skill-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

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

.skill-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill-item:hover .skill-logo {
    transform: scale(1.1);
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Experience & Education Timeline */
.experience-timeline,
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item,
.education-item {
    background: var(--card-bg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.experience-item:hover,
.education-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

.experience-header,
.education-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
}

.experience-title,
.education-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    padding-right: 2rem;
}

.experience-company,
.education-institution {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 500;
    margin: 0;
}

.experience-duration,
.education-duration {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.expand-icon {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.experience-item.expanded .expand-icon,
.education-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.experience-content,
.education-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.experience-item.expanded .experience-content,
.education-item.expanded .education-content {
    max-height: 500px;
}

.experience-description,
.education-description {
    margin-top: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.experience-description:first-of-type,
.education-description:first-of-type {
    margin-top: 0.8rem;
}

.experience-description:not(:first-of-type),
.education-description:not(:first-of-type) {
    margin-top: 1rem;
}

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

.project-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.project-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

.project-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-tech {
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-type {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.project-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

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

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-details i {
    color: var(--accent-color);
    width: 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--card-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

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

/* Mobile Contact Form Styles */
@media (max-width: 768px) {
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        border-radius: 8px;
        border: 2px solid var(--border-color);
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .contact-form .btn {
        padding: 20px 40px;
        font-size: 1.3rem;
        font-weight: 700;
        width: 100%;
        max-width: none;
        border-radius: 10px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        gap: 0.8rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
        border-radius: 6px;
        border: 2px solid var(--border-color);
    }
    
    .form-group textarea {
        min-height: 70px;
    }
    
    .contact-form .btn {
        padding: 18px 36px;
        font-size: 1.2rem;
        font-weight: 700;
        width: 100%;
        max-width: none;
        border-radius: 8px;
        margin-top: 0.3rem;
    }
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.blog-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: var(--accent-color);
    font-weight: 500;
}

.blog-platform {
    color: var(--text-secondary);
    font-weight: 400;
}

.blog-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: var(--card-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-controls {
        gap: 0.5rem;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-left {
        gap: 0.5rem;
    }
    
    .nav-logo a {
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }


    .btn:not(.contact-form .btn) {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

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

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

    .career-stats {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-item {
        min-width: auto;
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .skill-logo {
        width: 38px;
        height: 38px;
    }

    .mnc-companies {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .company-logo {
        padding: 1.5rem;
    }

    .logo-img {
        width: 100px;
        height: 60px;
    }

    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .experience-item:hover,
    .education-item:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }


    .section {
        padding: 5px 0;
    }

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

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

    .skill-item {
        padding: 1rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }

    .skill-logo {
        width: 35px;
        height: 35px;
    }

    .skill-item span {
        font-size: 0.8rem;
    }

    .mnc-companies {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .company-logo {
        padding: 1rem;
    }

    .logo-img {
        width: 80px;
        height: 50px;
    }

    .company-logo h3 {
        font-size: 1rem;
    }

    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .career-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .experience-item,
    .education-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .experience-title,
    .education-title {
        font-size: 1rem;
    }

    .experience-company,
    .education-institution {
        font-size: 0.9rem;
    }

    .experience-duration,
    .education-duration {
        font-size: 0.8rem;
    }

    .experience-description,
    .education-description {
        font-size: 0.85rem;
        margin-top: 0.6rem;
    }

    .expand-icon {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-content {
        margin-top: 2rem;
    }
    
    .hero-greeting {
        font-size: 1.4rem;
        margin-bottom: 0.1rem;
    }
    
    .hero-name {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .profile-image-container {
        width: 140px;
        height: 140px;
        border-radius: 50%;
        overflow: hidden;
    }
    
    .profile-image {
        object-fit: cover;
        object-position: center;
    }
    
    .hero-buttons {
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 160px;
        font-weight: 700;
        border-radius: 6px;
    }
}


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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}
