/* Variables */
:root {
    /* Black Theme (Night Mode - Default) */
    --primary-color: #121212;
    --secondary-color: #1e1e1e;
    --accent-color: red;
    --text-color: #ffffff;
    --light-text: #e0e0e0;
    --dark-text: #333333;
    --bg-color: #121212;
    --card-bg: rgba(30, 30, 30, 0.9);
    --nav-bg: rgba(20, 20, 20, 0.95);
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --border-radius: 10px;
}

.white-theme {
    /* White Theme (Day Mode) */
    --primary-color: #708090;
    --secondary-color: #708090;
    --accent-color: #00FF00;
    --text-color: #333333;
    --light-text: #666666;
    --dark-text: #111111;
    --bg-color: #708090;
    --card-bg:#C0C0C0;
    --nav-bg: rgba(255, 255, 255, 0.97);
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title span {
    color: var(--accent-color);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    gap: 10px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-color);
    font-size: 1.2rem;
}

.theme-btn:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.theme-btn.active {
    color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px var(--accent-color);
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

#menu-toggle {
    display: none;
}

.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

.sidebar-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 80px 20px 30px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

/* Menu Toggle Functionality */
#menu-toggle:checked ~ .sidebar-nav {
    left: 0;
}

#menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    visibility: visible;
}

#menu-toggle:checked ~ .hamburger-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked ~ .hamburger-btn span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked ~ .hamburger-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Nav Links */
.nav-links {
    list-style: none;
    margin: 30px 0;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: var(--text-color);
    border-radius: 5px;
    transition: var(--transition);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    transform: translateX(10px);
}

.nav-links a i {
    width: 20px;
    text-align: center;
}

/* Footer in Sidebar */
.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sidebar-footer .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.sidebar-footer .social-icons a:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-5px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--accent-color);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.hero:hover .hero-content h1 span::after {
    transform: scaleX(1);
}

.hero-content h2 {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    max-width: 600px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    transition: var(--transition);
    backdrop-filter: blur(5px);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scale(0);
    border-radius: 50%;
    transition: var(--transition);
    z-index: -1;
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hire-btn {
    background: var(--accent-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.hire-btn:hover {
    transform: translateY(-5px);
}

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

.hero-image img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 40px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    opacity: 0.05;
    z-index: -1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

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

.about-text {
    flex: 2;
    color: var(--text-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}

.detail-item span:first-child {
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.detail-item span:last-child {
    color: var(--light-text);
    word-break: break-word;
    flex: 1;
}

/* Skills Section */
.skills {
    position: relative;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: -1;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), transparent);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.2);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.skill-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.skill-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Projects Section */
.projects {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 40px;
    box-shadow: var(--box-shadow);
}

.projects::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    opacity: 0.05;
    z-index: -1;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 30px;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.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-card:hover .project-image img {
    transform: scale(1.1);
}

.project-links {
    display: flex;
    gap: 15px;
}

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

.project-link:hover {
    transform: scale(1.1);
    background: white;
    color: var(--accent-color);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: var(--transition);
}

.tech-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Achievements Section */
.achievements {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 40px;
    box-shadow: var(--box-shadow);
}

.achievements::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    opacity: 0.05;
    z-index: -1;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.achievement-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.achievement-content {
    flex: 1;
}

.achievement-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.achievement-content .issuer {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.achievement-content .description {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Resume Section */
.resume {
    text-align: center;
    position: relative;
}

.resume::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgwLDAsMCwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.1;
    z-index: -1;
}

.resume-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.resume-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.resume-preview {
    margin-bottom: 30px;
    border: 10px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    overflow: hidden;
    border-radius: 5px;
}

.resume-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.resume-preview:hover {
    transform: scale(1.02);
}

.resume-preview:hover img {
    transform: scale(1.05);
}

.resume-content p {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.download-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    color: var(--text-color);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-top: 5px;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-text p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Form Messages */
.form-message {
    display: none;
    padding: 15px;
    margin-top: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.success-message {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.error-message {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Show message when form is submitted */
.form-submitted .success-message,
.form-error .error-message {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Footer */
.footer {
    background: var(--nav-bg);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--light-text);
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--light-text);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about {
        margin: 20px 0 !important;
        padding: 20px !important;
    }
    
    .about-content {
        padding: 20px !important;
    }
    
    .about-image img {
        width: 250px;
        height: 250px;
    }
    
    .detail-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-item span:last-child {
        padding-left: 28px;
    }
    
    .theme-toggle {
        top: 70px;
        right: 15px;
    }
    
    .hamburger-menu {
        top: 15px;
        left: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .projects {
        margin: 20px 0 !important;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        padding: 20px !important;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-image img {
        width: 200px;
        height: 200px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .theme-toggle {
        top: 15px;
        right: 15px;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}
/* LeetCode Specific Styles */
.leetcode-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 161, 22, 0.5));
    transition: var(--transition);
}

.leetcode-badge {
    display: block;
    margin-top: 15px;
    transition: var(--transition);
    border-radius: 5px;
    overflow: hidden;
}

.leetcode-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 161, 22, 0.3);
}

.leetcode-count {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1em;
}

/* Achievement Link Styling */
.achievement-link {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.achievement-link .btn {
    margin: 0;
}