@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Variables for Light/Dark Mode */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: rgb(232, 232, 232);
    --primary-color: rgb(73, 73, 182);
    --secondary-color: rgb(79, 79, 202);
    --accent-color: rgb(55, 19, 118);
    --about-bg: #f8f9fa;
    --about-text: #555;
    --about-heading: #2c3e50;
    --card-bg: aliceblue;
    --footer-bg: rgb(57, 57, 111);
    --project-bg: #1a2a57;
    --border-color: #e9ecef;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --header-bg: #2d2d2d;
    --primary-color: #9bb5ff;
    --secondary-color: #a8c5ff;
    --accent-color: #7ea7fe;
    --about-bg: #2a2a2a;
    --about-text: #cccccc;
    --about-heading: #e0e0e0;
    --card-bg: #333333;
    --footer-bg: #1f1f1f;
    --project-bg: #2d3748;
    --border-color: #404040;
}

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
header {
    background-color: var(--header-bg);
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
    transition: background-color 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    text-decoration: none;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

.navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    display: inline-block;
    transition: 0.35s ease;
}

.navigation a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.1);
}

.main{
    padding: 0 55px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:url(img/1.png) no-repeat center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}

.hero-content {
    flex: 0 0 450px;
    max-width: 450px;
}

.hero-image {
    flex: 0 0 auto;
    margin-left: 270px;
}

.image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.profile-image {
    width: 400px;
    height: 480px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}
.main h2{
    color: aliceblue;
    font-size: 1.6em;
    font-weight: 500;
    cursor: default;
}
.main h2 span {
    display: inline-block;
    margin-top: 10px;
color: rgb(154, 154, 241);
font-size: 2.5em;
font-weight: 600;
cursor: default;
}
.main h3{
    color: aliceblue;
    font-size: 2em;
    font-weight: 700;
letter-spacing: 1px;
margin-top: 10px;
margin-bottom: 30px;
cursor: default;
}
.main-btn{
    color: aliceblue;
    background-color:rgb(79, 79, 187);
    text-decoration: none;
    font-size: 1.1;
    font-weight: 600;
    display: inline-block;
    padding:0.9375em 2.1875em ;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    margin-right: 10px;
    transition: 0.35s ease;
}
.main-btn:hover{
    background-color: rgb(49, 49, 126);
    transform: scale(1.1);
}
.social a{
    color: aliceblue;
     font-size: 1.7em;
     padding-right: 30px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social a:hover {
    color: #7ea7fe;
    transform: scale(1.2);
}

.title{
    display: flex;
    justify-content: center;
    color: rgb(63, 63, 177);
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 25px;
    margin-top: 20px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.card{
    background-color: var(--card-bg);
    cursor: default;
    width: 21.25em;
    box-shadow: 0 5px 25px rgba(1 1 1/25%);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.35s ease, background-color 0.3s ease;
}
.card:hover{
    transform: scale(1.1); 
}
.icon{
    color: rgb(63, 63, 177);
    font-size: 4em;
    text-align: center;
}
.info{
    text-align: center;
}
.info h3{
    color: var(--primary-color);
   font-size:1.2em ;
   font-weight: 700;
   margin: 10px;
}
.projects {
    background: linear-gradient(135deg, var(--project-bg) 0%, var(--about-bg) 100%);
    padding: 40px 20px 30px;
    margin: 10px 0;
    transition: background 0.3s ease;
}

.project-t{
    text-align: center;
    color: white !important;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.project-t::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.projects .content{
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.project-card{
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

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

.project-image {
    position: relative;
    overflow: hidden;
    width: 40%;
    min-width: 280px;
    flex-shrink: 0;
}

.project-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: var(--bg-color);
}

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

.project-info{
    padding: 25px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category{
    font-size: 0.9em;
    color: var(--about-text);
    margin-bottom: 10px;
    line-height: 1.5;
}

.project-title{ 
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    margin-top: 15px;
    color: var(--text-color);
    text-transform: none;
}

.project-title span {
    font-size: 1.3em;
    color: var(--about-heading);
}

.more-details{
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9em;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.more-details:hover{
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Project Card Styles */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-header .project-title {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--about-heading);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.project-date {
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(73, 73, 182, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    white-space: nowrap;
}

.project-type {
    font-size: 0.95em;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
    font-style: italic;
}

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

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.project-description {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--about-text);
    margin-bottom: 15px;
    text-align: justify;
    flex-grow: 1;
}

.project-features {
    margin-bottom: 15px;
}

.project-features h4 {
    font-size: 1em;
    color: var(--about-heading);
    margin-bottom: 8px;
    font-weight: 600;
}

.project-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.project-features li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--about-text);
}

.project-features li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
}

.project-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(73, 73, 182, 0.3);
}

/* Responsive adjustments for new project layout */
@media (max-width: 768px) {
    .projects .content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .project-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .project-image {
        width: 100%;
        height: 200px;
        min-width: auto;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .project-date {
        align-self: flex-start;
    }
    
    .project-tech {
        gap: 6px;
    }
    
    .tech-tag {
        font-size: 0.75em;
        padding: 3px 8px;
    }
    
    .project-features ul {
        grid-template-columns: 1fr;
        gap: 3px;
    }
    
    .project-features li {
        font-size: 0.8em;
        padding-left: 12px;
        margin-bottom: 3px;
    }
    
    .project-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .project-image {
        width: 35%;
        min-width: 250px;
    }
    
    .project-features ul {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Contact Section */
.cards-contact {
    padding: 30px 20px 60px;
    background: linear-gradient(135deg, var(--about-bg) 0%, var(--bg-color) 100%);
}

.cards-contact .title {
    position: relative;
    margin-bottom: 50px;
}

.cards-contact .title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.cards-contact .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.cards-contact .card {
    background-color: var(--card-bg);
    cursor: default;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cards-contact .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

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

.cards-contact .icon {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.cards-contact .card:hover .icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.cards-contact .info h3 {
    color: var(--about-heading);
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.cards-contact .info p {
    font-size: 1.1em;
    color: var(--about-text);
    margin-bottom: 20px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(73, 73, 182, 0.3);
}
/* Footer Styles */
.footer {
    background: var(--footer-bg);
    padding: 20px 20px;
    border-top: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-title {
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    transition: color 0.3s ease;
}

.footer-title span {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer .social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer .social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
    padding: 0;
    margin: 0;
}

.footer .social a:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* About Section Styles */
.about-section {
    padding: 60px 20px;
    background: var(--about-bg);
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--about-heading);
    margin-bottom: 4rem;
    font-weight: 700;
    position: relative;
    transition: color 0.3s ease;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Section Headings */
.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--about-heading);
    margin-bottom: 2rem;
    font-weight: 600;
    border-bottom: 3px solid var(--border-color);
    padding-bottom: 0.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.section-icon {
    color: #667eea;
    font-size: 2rem;
}

/* Bio Section */
.about-bio {
    margin-bottom: 3rem;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--about-text);
    text-align: justify;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

/* Education Section */
.about-education {
    margin-bottom: 3rem;
}

.education-content {
    display: flex;
    gap: 3rem;
    margin-left: 1rem;
}

.education-item {
    flex: 1;
}

.education-item h4 {
    color: var(--about-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.institution {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.duration {
    color: var(--about-text);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.achievement {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Skills Section */
.about-skills {
    margin-bottom: 3rem;
}

.skills-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: 1rem;
}

.skill-category {
    flex: 1;
    min-width: 180px;
}

.skill-category h4 {
    color: var(--about-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
}

/* Experience Section */
.about-experience {
    margin-bottom: 1.5rem;
}

.experience-timeline {
    position: relative;
    padding-left: 3rem;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.experience-item {
    position: relative;
    margin-bottom: 3rem;
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.8rem;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.experience-content h4 {
    color: var(--about-heading);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.company {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.experience-content .duration {
    color: var(--about-text);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.description {
    color: var(--about-text);
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        padding: 60px 20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .bio-text,
    .education-content,
    .skills-content {
        margin-left: 1rem;
    }
    
    .education-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .skills-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .skill-category {
        min-width: auto;
    }
    
    .experience-timeline {
        padding-left: 2rem;
    }
    
    .experience-dot {
        left: -1.5rem;
    }
}

@media (max-width:1023px){
    header{
        padding: 12px 20px;
    }
    .navigation {
        gap: 15px;
    }
    .navigation a{
        margin-left: 0;
        font-size: 1.0em;
    }
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    .logo {
            font-weight: 700;
            font-size: 1.3em;
        }
    .title{
        font-size: 1.8;
        margin-bottom: 10px;
        margin-top: 10px;
    }
        .project-t {
            font-size: 2.2em;
            font-weight: 700;
            margin-bottom: 30px;
        }
        
        .projects .content {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }
        
        .project-card {
            margin: 0;
        }
        
        .project-image {
            height: 200px;
        }
        
        .project-info {
            padding: 20px;
        }
        
        .project-title {
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
        
        .more-details {
            align-self: flex-start;
        }
        
    section{
        padding: 50px 18px;
    }
    
    .projects {
        padding: 40px 15px;
    }
    
    .project-t {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    
    .projects .content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        padding: 0 10px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 18px;
    }
    
    .project-category {
        font-size: 0.85em;
    }
    
    .project-title span {
        font-size: 1.1em;
    }
    
    .more-details {
        font-size: 0.8em;
        padding: 6px 12px;
    }
   
    .main {
        padding: 80px 18px 20px 18px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        margin-left: 0;
    }
    
    .image-card {
        padding: 12px;
    }
    
    .profile-image {
        width: 280px;
        height: 350px;
    }
    
    .main h2{
        font-size: 1.0em;
    }
    .main h3{
        font-size: 1.6em;
    }
    .cards-contact {
        padding: 60px 20px;
    }
    .cards-contact .content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        justify-items: center;
        max-width: 800px;
        margin: 0 auto;
    }
    .cards-contact .card {
        padding: 30px 20px;
        width: 100%;
        max-width: 300px;
    }
    .cards-contact .icon {
        font-size: 3em;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-title {
        font-size: 0.8em;
    }
    .footer .social a {
        width: 32px;
        height: 32px;
        font-size: 1em;
        line-height: 1;
        padding: 0;
        margin: 0;
    }
}
.header-right {
    display: none;
}

.mobile-theme-toggle {
    display: none;
}

@media (max-width:641px){
    body{
        font-size: 12px;
        width: 100%;
        overflow-x: hidden;
    }
    
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
    }
    
    .logo {
        flex: 1;
    }
    
    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 998;
    }
    
    .navigation .theme-toggle {
        display: none;
    }
    
    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-theme-toggle {
        display: flex;
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 998;
        order: 4;
    }
    
    .navigation.active {
        left: 0;
    }
    
    .navigation a {
        font-size: 1.2em;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        width: 80%;
        text-align: center;
    }
    
    .main{
        background: url(img/1.1.png) no-repeat center;
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        padding: 80px 15px 20px 15px;
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 0px;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: -30px;
        padding: 0px;
        z-index: 2;
        position: relative;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: -45px;
        z-index: 1;
        position: relative;
    }
    
    .profile-image {
        width: 220px;
        height: 280px;
    }
    
    .main h2{
        font-size: 1.5em;
        margin-bottom: 0px;
    }
    .main h3{
        font-size: 1.4em;
        margin-bottom: 15px;
        margin-top: 5px;
    }
    
    .main-btn {
        margin-bottom: 10px;
        margin-top: 3px;
        display: block;
        width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .social a {
        font-size: 2em;
        padding-right: 20px;
    }
    
    .social {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .cards-contact {
        padding: 40px 15px;
    }
    
    .cards-contact .content {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .cards-contact .card {
        padding: 25px 20px;
        width: 100%;
        max-width: 280px;
    }
    
    .cards-contact .icon {
        font-size: 2.5em;
    }
}
@media (max-width:300px){
    body{
        font-size: 10px;
    }
}
