* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease,
                color 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--primary-bg);
    color: var(--text-color);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--primary-bg);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    transition: transform 0.3s, text-shadow 0.3s;
    margin: 0 20px;
}

.nav-links a:hover {
    transform: translateY(-3px);
    text-shadow: 
        0px 1px 0px #999,
        0px 2px 0px #888,
        0px 3px 0px #777,
        0px 4px 0px #666,
        0px 5px 4px rgba(0, 0, 0, .2);
}

.resume-btn {
    background: var(--text-color);
    color: var(--primary-bg) !important;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.resume-btn:hover {
    background: linear-gradient(45deg, #ffffff, #000000); /* reversed gradient */
    color: #ffffff;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6rem 5%;
    gap: 4rem;
    min-height: 85vh;
}

.hero-content {
    flex: 0.8;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.hero-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 550px;
}

.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: center;
    line-height: 50px;
    margin-right: 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a i {
    font-size: 1.5rem;
}

.social-links a:hover {
    background: #333;
    color: white;
    transform: translateY(-5px);
}

.hero-image {
    flex: 1.2;
    text-align: right;
}

.hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px 0;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 4rem 5%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content h3 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
        display: flex;
        gap: 1rem;
    }

    .hero-image {
        flex: 1;
    }

    .hero-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-content h3 {
        font-size: 1.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Add these to your existing CSS */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgb(175, 175, 175);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links.active a {
    margin: 0.5rem 0;
}

.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);
}

.hamburger span {
    transition: all 0.3s ease-in-out;
}

/* General Section Styling */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.negative-section {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    /* color: #000; */
}
/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.skill-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card {
    transition: all 0.3s ease;
}

.skill-card:hover {
    background-color: black;
    color: white;
}

.skill-card:hover i,
.skill-card:hover h3 {
    color: white;
}

/* Experience Section */
.timeline {
    width: 100%;
    padding: 20px;
}

.timeline-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timeline-item {
    flex: 0 0 30%;
    margin: 0 10px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 5px 5px 15px var(--shadow-color),
                -5px -5px 15px rgba(255,255,255,0.8);
    border-left: 4px solid var(--text-color);
    position: relative;
}

.timeline-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.03));
    pointer-events: none;
}

.timeline-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    position: relative;
}

.timeline-content h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.timeline-content .date {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Hover effects */
.timeline-content:hover {
    box-shadow: 8px 8px 20px var(--shadow-color),
                -8px -8px 20px rgba(255,255,255,0.9);
}

/* Add decorative elements */
.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #000000;
    opacity: 0.5;
}

/* Tablet devices */
@media screen and (max-width: 992px) {
    .timeline-item {
        flex: 0 0 45%;
        margin: 0 10px 20px;
    }
}

/* Mobile devices */
@media screen and (max-width: 768px) {
    .timeline-row {
        flex-direction: column;
    }
    
    .timeline-item {
        flex: 0 0 100%;
        margin: 0 0 20px;
    }
    
    .timeline-content {
        padding: 20px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .timeline {
        padding: 10px;
    }
    
    .timeline-content {
        padding: 15px;
    }
}

/* Add animation for items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Stagger the animations */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

/* Projects Section */
.projects {
    padding: 80px 0;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    padding-top: 60%; /* 16:9 Aspect Ratio */
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: none;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #000;
}

.project-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 5px 12px;
    background: var(--hover-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.project-tech span:hover {
    background: #000;
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
}

/* Animation for cards */
.project-card {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    position: relative;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 40px;
    height: 40px;
    background: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-icon i {
    color: var(--primary-bg);
    font-size: 1.2rem;
}

.testimonial-text {
    margin: 20px 0;
    position: relative;
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--text-color);
}

.author-info h4 {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
}

/* Stagger animation for cards */
.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 30px;
    }
}

@media screen and (max-width: 480px) {
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-text p {
        font-size: 1rem;
    }
    
    .quote-icon {
        width: 35px;
        height: 35px;
        left: 25px;
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--card-bg);
    color: var(--text-color);
}

.contact-form textarea {
    height: 150px;
}

.btn {
    background: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-bg);
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    .negative-section {
        font-size: 1.5rem;
    }
}

/* Make it responsive */
@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about {
    padding: 80px 0;
    background: linear-gradient(145deg, #ffffff, #ffffff);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.02));
    pointer-events: none;
}

.about-content {
    display: flex;
    gap: 60px;
    padding: 40px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-image {
    flex: 0 0 35%;
    position: relative;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.image-border {
    position: relative;
    padding: 15px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 28px;
    bottom: 28px;
    border: 2px solid var(--text-color);
    z-index: 1;
    transition: all 0.3s ease;
}

.about-image:hover .image-border::before {
    right: 20px;
    bottom: 20px;
}

.about-image img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    display: block;
    box-shadow: 14px 14px 0 -2px var(--primary-bg), 14px 14px 0 0 var(--text-color);
    transition: all 0.3s ease;
}

.about-image:hover img {
    box-shadow: 18px 18px 0 -2px var(--primary-bg), 18px 18px 0 0 var(--text-color);
}

.about-text {
    flex: 0 0 60%;
    animation: fadeIn 1s ease;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

.intro-text {
    font-size: 1.2rem !important;
    font-weight: 500;
    border-left: 3px solid #000;
    padding-left: 20px;
    animation-delay: 0.2s !important;
}

.journey-text {
    animation-delay: 0.4s !important;
}

.personal-text {
    animation-delay: 0.6s !important;
}

.contact-details {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.2rem;
    color: #000;
    width: 24px;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

.contact-item span {
    font-size: 1.05rem;
    color: #444;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .about-image, .about-text {
        flex: 0 0 100%;
    }
    
    .about-image {
        margin: 0 auto 40px;
    }
    
    .intro-text {
        font-size: 1.1rem !important;
    }
}

@media screen and (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .image-border::before {
        right: 20px;
        bottom: 20px;
    }
    
    .about-image img {
        box-shadow: 10px 10px 0 -2px var(--primary-bg), 10px 10px 0 0 var(--text-color);
    }
    
    .contact-details {
        margin-top: 30px;
        padding-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .about-content {
        padding: 15px;
    }
    
    .intro-text {
        font-size: 1rem !important;
        padding-left: 15px;
    }
    
    .contact-item {
        margin-bottom: 15px;
    }
}

/* Navigation right side items */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: auto;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 30px;
    background: var(--hover-bg);
    transition: all 0.3s ease;
}

.theme-switch {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 34px;
    margin-left: 10px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-bg);
    border: 2px solid var(--text-color);
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-color);
    transition: .4s;
    z-index: 2;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.fa-sun, .fa-moon {
    color: var(--text-color);
    font-size: 14px;
    z-index: 1;
}

.fa-sun {
    margin-left: 5px;
}

.fa-moon {
    margin-right: 5px;
}

input:checked + .slider {
    background-color: var(--text-color);
    border-color: var(--primary-bg);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--primary-bg);
}

input:checked + .slider .fa-sun,
input:checked + .slider .fa-moon {
    color: var(--primary-bg);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .nav-right {
        width: 100%;
        justify-content: flex-end;
        margin-top: 15px;
    }
    
    .theme-switch-wrapper {
        margin-left: 0;
    }
}

/* Theme variables */
:root[data-theme="light"] {
    --primary-bg: #ffffff;
    --secondary-bg: #f8f8f8;
    --text-color: #000000;
    --inverse-text-color: #ffffff;
    --border-color: #eaeaea;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-bg: #f0f0f0;
    --section-bg: #ffffff;
    --section-text: #000000;
    --section-text1: #000000;
}

:root[data-theme="dark"] {
    --primary-bg: #121212;
    --secondary-bg: #1a1a1a;
    --text-color: #ffffff;
    --inverse-text-color: #000000;
    --border-color: #333333;
    --card-bg: #1e1e1e;
    --shadow-color: rgba(255, 255, 255, 0.1);
    --hover-bg: #2d2d2d;
    --section-bg: #000000;
    --section-text: #ffffff;
    --section-text1: #000000;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .nav-links {
        position: static;
        transform: none;
        justify-content: center;
        flex: 1;
        margin: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin: 20px 0;
        gap: 15px;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
}

/* Common section styles */
.about, .projects, .testimonials, .skills, .experience {
    background-color: var(--section-bg);
    color: var(--section-text);
    transition: all 0.3s ease;
}

/* Section titles */
.section-title {
    color: var(--section-text);
}
.negative-section {
    color: var(--section-text1);
}

/* Project cards */
.project-card {
    background-color: var(--card-bg);
    color: var(--section-text);
}

.project-info h3, 
.project-info p {
    color: var(--section-text);
}

/* Testimonial cards */
.testimonial-card {
    background-color: var(--card-bg);
    color: var(--section-text);
}

.testimonial-text p {
    color: var(--section-text);
}

.author-info h4,
.author-info p {
    color: var(--section-text);
}

/* Experience timeline */
.timeline-content {
    background-color: var(--card-bg);
    color: var(--section-text);
    border-left-color: var(--section-text);
}

.timeline-content h3,
.timeline-content h4,
.timeline-content p {
    color: var(--section-text);
}

/* Skills section */
.skill-card {
    background-color: var(--card-bg);
    color: var(--section-text);
}

/* Project tech tags */
.project-tech span {
    background-color: var(--hover-bg);
    color: var(--section-text);
}

/* Quote icon in testimonials */
.quote-icon {
    background-color: var(--section-text);
    color: var(--section-bg);
}

/* Contact section */
.contact {
    background-color: var(--section-bg);
    color: var(--section-text);
}
/* contact section end  */

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.social-links-container {
    text-align: center;
    padding: 2rem 0;
}

.social-links-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon i {
    font-size: 1.2rem;
}

.social-icon span {
    font-size: 0.9rem;
}

.facebook { background: #1877f2; }
.whatsapp { background: #25d366; }
.twitter { background: #1da1f2; }
.instagram { 
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}
.fiverr { background: #1dbf73; }

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        padding: 0.6rem 1.2rem;
    }
}

/* Contact Info Section Styling */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--card-bg, #ffffff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color, #007bff);
    color: white;
    font-size: 1.5rem;
}

.info-content h4 {
    color: var(--text-secondary, #666);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    color: var(--text-primary, #333);
    font-size: 1.1rem;
    margin: 0;
}

.info-content a {
    color: var(--text-primary, #333);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color, #007bff);
}

/* Animations */
.bounce {
    animation: bounce 2s infinite;
}

.shake {
    animation: shake 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes shake {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .info-item {
        padding: 1rem;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    height: 30px;
    width: auto;
    margin-right: 10px;
    background-color: transparent;
}

/* For light mode */
[data-theme="light"] .nav-logo {
    filter: brightness(0);
}

/* For dark mode */
[data-theme="dark"] .nav-logo {
    filter: brightness(1);
}