* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* Remove any specific font-family declarations */
.logo-text,
.nav-links a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
.timeline-title,
.timeline-company,
.section-title,
.tab,
.btn,
.service-number,
.service-title,
.service-description,
.project-title,
.project-description,
.contact-form input,
.contact-form textarea {
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #2c2f33;
    --primary-color: #7289da;
    --secondary-color: #99aab5;
    --text-color: #ffffff;
    --primary-rgb: 114, 137, 218;
    --hover-color: rgba(var(--primary-rgb), 0.1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation Styles */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--surface-color);
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: var(--primary-color);
    padding: 0.9rem 10%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-toggle-btn {
    background: var(--hover-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav.scrolled .lang-toggle-btn {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.lang-toggle-btn:hover {
    background: var(--hover-color);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1.5rem; /* Increased from 1.3rem */
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
}

nav.scrolled .logo {
    color: white;
}

.logo-text {
    opacity: 0;
    animation: fadeSlideIn 0.5s ease forwards;
    font-size: 1.5rem; /* Increased from 1.3rem */
    font-weight: 600;
}

.logo-dot {
    width: 5px;
    height: 5px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-left: 2px;
    animation: popIn 0.5s ease forwards 0.5s;
    opacity: 0;
}

.nav-item {
    opacity: 0;
    animation: fadeSlideIn 0.5s ease forwards;
}

.nav-links {
    display: flex;
    gap: 2.8rem; /* Increased from 2.5rem */
    align-items: center;
    margin: 0 auto; /* This centers the nav-links */
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.1rem; /* Increased from 0.95rem */
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

nav.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a:nth-child(1) {
    animation-delay: 0.1s;
}
.nav-links a:nth-child(2) {
    animation-delay: 0.2s;
}
.nav-links a:nth-child(3) {
    animation-delay: 0.3s;
}
.nav-links a:nth-child(4) {
    animation-delay: 0.4s;
}
.nav-links a:nth-child(5) {
    animation-delay: 0.5s;
}
.nav-links a:nth-child(6) {
    animation-delay: 0.6s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-links a:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary-color); /* Initial color */
    margin: 4px 0;
    transition: all 0.3s ease;
}

nav.scrolled .hamburger span {
    background-color: white; /* Color when navbar is scrolled */
}

/* Adjust main content padding */
.main-content {
    padding-top: 70px;
}

/* Main Content */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem 10%;
    min-height: calc(100vh - 80px);
    align-items: center;
}

.text-content {
    padding-right: 2rem;
}

/* Simple hello text style */
.hello {
    display: inline-block;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards 0.3s;
}

.title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 600;
}

.highlight {
    color: var(--primary-color);
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.profile-section {
    justify-self: end;
}

.profile-image {
    width: 450px;
    height: 450px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* About Section Styles */
.about-section {
    background-color: var(--bg-color);
    padding: 2rem 10%; /* Reduced padding from 3rem to 2rem */
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;
    position: relative;
}

.about-title {
    font-family: "Poppins", sans-serif;
    font-size: 4.5rem; /* Increased size */
    font-weight: 700; /* Extra bold */
    color: #4285f4; /* Google Blue color, similar to the image */
    margin-bottom: 2rem;
    letter-spacing: -0.02em; /* Slight negative letter spacing for modern look */
    line-height: 1.2;
}

/* Optional: Add a subtle animation */
.about-title {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-subtitle {
    color: var(--text-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.info-grid {
    display: grid;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.info-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.info-label::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    transform: translateY(-50%);
}

.info-value {
    color: var(--text-color);
}

.project-count {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.count {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: bold;
    margin-right: 1rem;
    position: relative;
    display: inline-block;
}

.count::after {
    content: "+";
    font-size: 1.5rem;
    position: absolute;
    top: 0;
    right: -1rem;
    color: var(--secondary-color);
}

/* Profile image in about section */
.about-section .profile-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards 0.3s;
    width: 90%; /* Added width constraint */
    margin: 0 auto; /* Center the image */
}

.about-content {
    padding-left: 1rem; /* Added left padding to create some space from the image */
}

.about-section .profile-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(72, 166, 167, 0.1),
        transparent
    );
    animation: shimmer 8s infinite linear;
}

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

/* Responsive design for about section */
@media screen and (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 5%; /* Further reduced padding for mobile */
    }

    .about-section .profile-image {
        width: 70%; /* Reduced image width on mobile */
        margin: 0 auto;
    }

    .about-content {
        padding-left: 0; /* Remove padding on mobile */
    }

    .info-item {
        grid-template-columns: 1fr;
        text-align: left;
        padding: 0.75rem;
    }

    .info-label {
        margin-bottom: 0.25rem;
    }

    .info-label::after {
        display: none; /* Hide the dot separator on mobile */
    }

    .info-value {
        padding-left: 0;
    }
}

/* Intersection Observer Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Innovative Services Section */
.services-section {
    background-color: var(--bg-color);
    padding: 4rem 8% 2rem; /* Reduced bottom padding */
    position: relative;
    overflow: hidden;
}

/* Background Animation */
.services-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(
            circle at 0% 0%,
            rgba(72, 166, 167, 0.03) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(72, 166, 167, 0.03) 0%,
            transparent 50%
        );
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.2s;
}

/* Title Animation */
.services-title {
    font-size: 3.5rem;
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-30px);
    animation: slideInDown 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Subtitle Animation */
.services-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 6rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.3s;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* When there's only one service */
.services-grid:has(> :first-child:last-child) {
    grid-template-columns: minmax(250px, 400px) !important;
    justify-content: center; /* Center the grid itself */
}

.services-grid:has(> :first-child:last-child) .service-card {
    max-width: 400px !important;
    height: auto !important;
}

/* When there are exactly two services */
.services-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
}

.service-card {
    position: relative;
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 12px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.service-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(72, 166, 167, 0.1); /* Using primary color with low opacity */
    line-height: 1;
    z-index: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-number {
    color: rgba(72, 166, 167, 0.2); /* Slightly more visible on hover */
    transform: scale(1.1);
}

.service-icon-wrapper {
    width: 42px;
    height: 42px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-icon {
    color: #ffffff;
    font-size: 1.15rem;
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-title {
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-description {
    color: #555;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Hover Interactions */
.service-card:hover .service-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15);
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .services-section {
        padding: 3rem 5% 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-number {
        font-size: 2.5rem;
    }
}

/* Projects Section Styles */
.projects-section {
    background-color: var(--bg-color);
    padding: 1rem 8% 4rem; /* Reduced top padding */
    position: relative;
}

.projects-header {
    text-align: center;
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.projects-title {
    background: linear-gradient(
        45deg,
        var(--primary-color),
        var(--secondary-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    font-weight: 700;
}

.projects-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.8;
}

.project-filter {
    margin: 2rem auto 3rem; /* Reduced margins */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    justify-items: center; /* Center items horizontally */
}

/* When there's only one project */
.projects-grid:has(> :first-child:last-child) {
    grid-template-columns: minmax(250px, 400px) !important;
    justify-content: center; /* Center the grid itself */
}

.projects-grid:has(> :first-child:last-child) .project-card {
    max-width: 400px !important; /* Maximum width for a single card */
    height: auto !important;
}

.projects-grid:has(> :first-child:last-child) .project-image {
    height: 250px !important;
}

/* When there are exactly two projects */
.projects-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(auto, 600px));
}

.project-card {
    width: 100%; /* Make cards take full width of their grid cell */
    max-width: 600px; /* Maximum width for each card */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(30px);
    height: 100%; /* Ensure consistent height */
}

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

.project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.8)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

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

.project-category {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.project-card:hover .project-category {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.project-card:hover .project-tech {
    transform: translateY(0);
    opacity: 1;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.4s;
}

.project-card:hover .project-links {
    transform: translateY(0);
    opacity: 1;
}

.project-link {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--secondary-color);
}

@media screen and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .projects-section {
        padding: 1.5rem 5% 3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0;
    }

    .projects-title {
        font-size: 2.5rem;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Update animation delays for dynamic content */
.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Use nth-child for first 6 items, then repeat pattern */
.project-card:nth-child(6n + 1) {
    animation-delay: 0.2s;
}
.project-card:nth-child(6n + 2) {
    animation-delay: 0.3s;
}
.project-card:nth-child(6n + 3) {
    animation-delay: 0.4s;
}
.project-card:nth-child(6n + 4) {
    animation-delay: 0.5s;
}
.project-card:nth-child(6n + 5) {
    animation-delay: 0.6s;
}
.project-card:nth-child(6n + 6) {
    animation-delay: 0.7s;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .projects-section {
        padding: 1.5rem 5% 3rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
        padding: 0;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 8rem 10%;
    background: linear-gradient(
        to bottom,
        var(--bg-color) 0%,
        rgba(242, 245, 247, 0.5) 100%
    );
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.contact-title {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.8;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.contact-info-item {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.icon i {
    color: white;
    font-size: 1.5rem;
}

.icon-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-color);
    opacity: 0.2;
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

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

.contact-info-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-item p {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.text-muted {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

.social-mini-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.social-mini-link {
    background: var(--primary-color);
    color: white;
    opacity: 0.9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-mini-link:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper {
    padding: 3rem;
    background: var(--card-bg);
}

.contact-image-wrapper {
    height: 100%;
    position: relative;
}

.contact-image {
    height: 100%;
    width: 100%;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Update responsive styles */
@media screen and (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-image-wrapper {
        min-height: 300px;
    }
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.input-group label {
    position: absolute;
    left: 0;
    top: 0.8rem;
    color: var(--text-color);
    opacity: 0.7;
    pointer-events: none;
    transition: all 0.3s ease;
}

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

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:valid ~ label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 1;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(72, 166, 167, 0.3);
}

.contact-image-wrapper {
    position: relative;
    min-height: 100%;
}

.contact-image {
    height: 100%;
    position: relative;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(72, 166, 167, 0.9),
        rgba(72, 166, 167, 0.8)
    );
}

.contact-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@media screen and (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-info-item {
        padding: 1.2rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .icon {
        width: 50px;
        height: 50px;
    }

    .icon i {
        font-size: 1.2rem;
    }

    .contact-info-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-info-item p {
        font-size: 0.9rem;
    }

    .social-mini-grid {
        gap: 0.75rem;
    }

    .social-mini-link {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 576px) {
    .contact-info-grid {
        gap: 0.75rem;
    }

    .contact-info-item {
        padding: 1rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .icon {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .contact-info-grid {
        gap: 0.5rem;
    }

    .contact-info-item {
        padding: 0.75rem;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }

    .icon {
        width: 35px;
        height: 35px;
    }

    .contact-info-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-info-item p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .text-muted {
        font-size: 0.7rem;
    }

    .social-mini-grid {
        gap: 0.5rem;
    }

    .social-mini-link {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 375px) {
    .contact-info-grid {
        gap: 0.35rem;
    }

    .contact-info-item {
        padding: 0.5rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        margin-bottom: 0.35rem;
    }

    .icon {
        width: 32px;
        height: 32px;
    }

    .contact-info-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-info-item p {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .social-mini-link {
        width: 28px;
        height: 28px;
    }
}

@media screen and (max-width: 320px) {
    .contact-info-grid {
        gap: 0.25rem;
    }

    .contact-info-item {
        padding: 0.35rem;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-bottom: 0.25rem;
    }

    .icon {
        width: 28px;
        height: 28px;
    }

    .contact-info-item h3 {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }

    .contact-info-item p {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }

    .text-muted {
        font-size: 0.6rem;
    }

    .social-mini-grid {
        gap: 0.35rem;
    }

    .social-mini-link {
        width: 25px;
        height: 25px;
    }

    .social-mini-link i {
        font-size: 0.7rem;
    }
}

/* Animations */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scroll Animation */
nav.scrolled .logo,
nav.scrolled .nav-links a {
    transform: scale(0.95);
}

/* Hover effects */
.nav-links a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Update specific text styles */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

p,
span,
a {
    font-weight: 400;
}

html {
    scroll-behavior: smooth;
}

/* Update Section Spacing */
.section {
    min-height: auto;
    padding: 0;
 
}

#about {
  
}

#experience {
    
    padding-top: 10px; */
}

#services {
   
    padding-top: 10px;
}

#projects {
  
    padding-top: 0;
}

/* Update specific section styles */
#home {
    padding-top: 80px;
    padding-bottom: 0;
    margin-bottom: 0;
}

#about,
#services,
#projects,
#contact {
    padding-top: 0;
}

.main-content,
.about-section,
.services-section,
.projects-section,
.contact-section {
    padding: 1rem 10%;
    margin: 0;
}

/* Adjust main content layout */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 10% 0;
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Update footer spacing */
.footer-section {
    padding: 4rem 10% 0.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.developer {
    text-align: center;
    padding: 0.5rem 0 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.developer a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.developer-logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.developer a:hover .developer-logo {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .developer {
        font-size: 0.8rem;
    }

    .developer-logo {
        height: 28px;
    }
}

/* Adjust logo brightness based on theme */
[data-theme="dark"] .developer-logo {
    --logo-brightness: 10;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .footer-section {
        padding: 3rem 5% 0.5rem;
    }

    .copyright {
        padding: 0.4rem 0;
    }
}

/* Optional: Add subtle section separators if needed */
.section:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Update responsive styles */
@media screen and (max-width: 768px) {
    .main-content,
    .about-section,
    .services-section,
    .projects-section,
    .contact-section {
        padding: 3rem 5%;
    }
}

/* Home Section Animations */
.text-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.profile-section {
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.3s;
}

.hello {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.title {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.buttons {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

/* Professional hover effects for buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 166, 167, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 166, 167, 0.2);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Profile image enhancement */
.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: linear-gradient(45deg, rgba(72, 166, 167, 0.2), transparent);
    pointer-events: none;
}

/* Update main content layout */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 10%;
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .text-content {
        order: 2;
    }

    .profile-section {
        order: 1;
    }

    .buttons {
        justify-content: center;
    }
}

/* Slower floating animation for profile image */
.profile-image {
    animation: float 10s ease-in-out infinite;
}

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

/* Creative text reveal effect for the title */
.title {
    position: relative;
    display: inline-block;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background-color: var(--secondary-color);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left;
    animation: revealHighlight 0.8s ease forwards 1.2s;
}

@keyframes revealHighlight {
    to {
        transform: scaleX(1);
    }
}

/* Professional card effect for text content */
.text-content {
    position: relative;
    padding: 2rem;
}

.text-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    animation: lineDown 1s ease forwards 0.5s;
}

@keyframes lineDown {
    to {
        height: 100%;
    }
}

/* Enhanced hello text */
.hello {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(
        120deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    border-radius: 25px;
    color: white;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.3s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Professional button animations */
.buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

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

/* Enhanced profile image effect */
.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.profile-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(114, 137, 218, 0.1) 45%,
        rgba(114, 137, 218, 0.2) 50%,
        rgba(114, 137, 218, 0.1) 55%,

        transparent 60%
    );
    transform: translateX(-100%);
    animation: lightPass 8s ease-in-out infinite;
}

@keyframes lightPass {
    0% {
        transform: translateX(-100%);
    }
    20%,
    100% {
        transform: translateX(100%);
    }
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
    .profile-image {
        width: 80%;
        margin: 0 auto;
    }

    .buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Enhanced About Section Animations */
.about-content {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.3s;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Entrance Animations for Services Section */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate3d(1, 0, 0, 30deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate3d(0, 0, 0, 0);
    }
}

.service-card {
    opacity: 0;
    animation: cardEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.4s;
}
.service-card:nth-child(2) {
    animation-delay: 0.6s;
}
.service-card:nth-child(3) {
    animation-delay: 0.8s;
}

/* Icon Animation */
@keyframes iconEntrance {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.service-icon-wrapper {
    opacity: 0;
    animation: iconEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-card:nth-child(1) .service-icon-wrapper {
    animation-delay: 0.8s;
}
.service-card:nth-child(2) .service-icon-wrapper {
    animation-delay: 1s;
}
.service-card:nth-child(3) .service-icon-wrapper {
    animation-delay: 1.2s;
}

/* Number Animation */
@keyframes numberSlide {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 0.1;
        transform: translateX(0);
    }
}

.service-number {
    animation: numberSlide 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-card:nth-child(1) .service-number {
    animation-delay: 1s;
}
.service-card:nth-child(2) .service-number {
    animation-delay: 1.2s;
}
.service-card:nth-child(3) .service-number {
    animation-delay: 1.4s;
}

/* Text Content Animation */
@keyframes contentFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-title {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-description {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-link {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-card:nth-child(1) .service-title {
    animation-delay: 1.2s;
}
.service-card:nth-child(2) .service-title {
    animation-delay: 1.4s;
}
.service-card:nth-child(3) .service-title {
    animation-delay: 1.6s;
}

.service-card:nth-child(1) .service-description {
    animation-delay: 1.3s;
}
.service-card:nth-child(2) .service-description {
    animation-delay: 1.5s;
}
.service-card:nth-child(3) .service-description {
    animation-delay: 1.7s;
}

.service-card:nth-child(1) .service-link {
    animation-delay: 1.4s;
}
.service-card:nth-child(2) .service-link {
    animation-delay: 1.6s;
}
.service-card:nth-child(3) .service-link {
    animation-delay: 1.8s;
}

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Footer Section Styles */
.footer-section {
    background: var(--bg-color);
    padding: 5rem 10%;
    color: var(--text-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h2,
.footer-links h2,
.footer-services h2,
.footer-questions h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.footer-about p {
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links ul,
.footer-services ul,
.footer-questions ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li,
.footer-questions li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-services a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    opacity: 1;
}

.footer-questions li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.developer {
    text-align: center;
    padding: 0.5rem 0 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.developer a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.developer-logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.developer a:hover .developer-logo {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .developer {
        font-size: 0.8rem;
    }

    .developer-logo {
        height: 28px;
    }
}

/* Adjust logo brightness based on theme */
[data-theme="dark"] .developer-logo {
    --logo-brightness: 10;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .footer-section {
        padding: 3rem 5% 0.5rem;
    }

    .copyright {
        padding: 0.4rem 0;
    }
}

/* Optional: Add subtle section separators if needed */
.section:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Update responsive styles */
@media screen and (max-width: 768px) {
    .main-content,
    .about-section,
    .services-section,
    .projects-section,
    .contact-section {
        padding: 3rem 5%;
    }
}

/* Home Section Animations */
.text-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.profile-section {
    opacity: 0;
    animation: fadeInRight 1s ease forwards 0.3s;
}

.hello {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.title {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.buttons {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

/* Professional hover effects for buttons */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 166, 167, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 166, 167, 0.2);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Profile image enhancement */
.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px;
    background: linear-gradient(45deg, rgba(72, 166, 167, 0.2), transparent);
    pointer-events: none;
}

/* Update main content layout */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 10%;
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .text-content {
        order: 2;
    }

    .profile-section {
        order: 1;
    }

    .buttons {
        justify-content: center;
    }
}

/* Slower floating animation for profile image */
.profile-image {
    animation: float 10s ease-in-out infinite;
}

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

/* Creative text reveal effect for the title */
.title {
    position: relative;
    display: inline-block;
}

.highlight {
    position: relative;
    display: inline-block;
}

.highlight::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background-color: var(--secondary-color);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left;
    animation: revealHighlight 0.8s ease forwards 1.2s;
}

@keyframes revealHighlight {
    to {
        transform: scaleX(1);
    }
}

/* Professional card effect for text content */
.text-content {
    position: relative;
    padding: 2rem;
}

.text-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--primary-color), transparent);
    animation: lineDown 1s ease forwards 0.5s;
}

@keyframes lineDown {
    to {
        height: 100%;
    }
}

/* Enhanced hello text */
.hello {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(
        120deg,
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    border-radius: 25px;
    color: white;
    font-weight: 500;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards 0.3s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Professional button animations */
.buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

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

/* Enhanced profile image effect */
.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.profile-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(114, 137, 218, 0.1) 45%,
        rgba(114, 137, 218, 0.2) 50%,
        rgba(114, 137, 218, 0.1) 55%,

        transparent 60%
    );
    transform: translateX(-100%);
    animation: lightPass 8s ease-in-out infinite;
}

@keyframes lightPass {
    0% {
        transform: translateX(-100%);
    }
    20%,
    100% {
        transform: translateX(100%);
    }
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
    .profile-image {
        width: 80%;
        margin: 0 auto;
    }

    .buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Enhanced About Section Animations */
.about-content {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards 0.3s;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Entrance Animations for Services Section */
@keyframes cardEntrance {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate3d(1, 0, 0, 30deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate3d(0, 0, 0, 0);
    }
}

.service-card {
    opacity: 0;
    animation: cardEntrance 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.4s;
}
.service-card:nth-child(2) {
    animation-delay: 0.6s;
}
.service-card:nth-child(3) {
    animation-delay: 0.8s;
}

/* Icon Animation */
@keyframes iconEntrance {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.service-icon-wrapper {
    opacity: 0;
    animation: iconEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-card:nth-child(1) .service-icon-wrapper {
    animation-delay: 0.8s;
}
.service-card:nth-child(2) .service-icon-wrapper {
    animation-delay: 1s;
}
.service-card:nth-child(3) .service-icon-wrapper {
    animation-delay: 1.2s;
}

/* Number Animation */
@keyframes numberSlide {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 0.1;
        transform: translateX(0);
    }
}

.service-number {
    animation: numberSlide 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.service-card:nth-child(1) .service-number {
    animation-delay: 1s;
}
.service-card:nth-child(2) .service-number {
    animation-delay: 1.2s;
}
.service-card:nth-child(3) .service-number {
    animation-delay: 1.4s;
}

/* Text Content Animation */
@keyframes contentFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-title {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-description {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-link {
    opacity: 0;
    animation: contentFade 0.8s ease forwards;
}

.service-card:nth-child(1) .service-title {
    animation-delay: 1.2s;
}
.service-card:nth-child(2) .service-title {
    animation-delay: 1.4s;
}
.service-card:nth-child(3) .service-title {
    animation-delay: 1.6s;
}

.service-card:nth-child(1) .service-description {
    animation-delay: 1.3s;
}
.service-card:nth-child(2) .service-description {
    animation-delay: 1.5s;
}
.service-card:nth-child(3) .service-description {
    animation-delay: 1.7s;
}

.service-card:nth-child(1) .service-link {
    animation-delay: 1.4s;
}
.service-card:nth-child(2) .service-link {
    animation-delay: 1.6s;
}
.service-card:nth-child(3) .service-link {
    animation-delay: 1.8s;
}

/* Base Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Footer Section Styles */
.footer-section {
    background: var(--bg-color);
    padding: 5rem 10%;
    color: var(--text-color);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h2,
.footer-links h2,
.footer-services h2,
.footer-questions h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.footer-about p {
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
}

.footer-links ul,
.footer-services ul,
.footer-questions ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-services li,
.footer-questions li {
    margin-bottom: 1rem;
}

.footer-links a,
.footer-services a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    opacity: 1;
}

.footer-questions li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    background: var(--secondary-color);
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
}

.developer {
    text-align: center;
    padding: 0.5rem 0 1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.developer a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.developer-logo {
    height: 35px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.developer a:hover .developer-logo {
    transform: scale(1.1);
}

@media screen and (max-width: 768px) {
    .developer {
        font-size: 0.8rem;
    }

    .developer-logo {
        height: 28px;
    }
}

/* Adjust logo brightness based on theme */
[data-theme="dark"] .developer-logo {
    --logo-brightness: 10; /* Makes logo visible on dark background */
}

@media screen and (max-width: 768px) {
    .footer-section {
        padding: 4rem 5%;
    }

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

    .footer-about,
    .footer-links,
    .footer-services,
    .footer-questions {
        text-align: center;
    }

    .footer-questions li {
        justify-content: center;
    }

    .social-links {
        margin-top: 2rem;
    }
}

/* Add or update these styles */
.service-card {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(100px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    backface-visibility: hidden;
    will-change: transform, opacity;
}

.service-card.visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

/* Optional: Add hover animation */
.service-card:hover {
    transform: perspective(1000px) rotateX(0) translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Add these new animation styles */
.animate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Update services section styles */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-title {
    animation-delay: 0.2s;
}

.services-subtitle {
    animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(1) {
    animation-delay: 0.6s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.8s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 1s;
}

/* Update/Add animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Update service card styles */
.service-card {
    opacity: 0;
}

.services-section {
    background-color: var(--bg-color);
    padding: 5rem 8%;
    position: relative;
}

.services-title {
    font-size: 4.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    opacity: 0;
}

.services-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Skills Section Specific Styles */
.skills-section {
    padding: 5rem 10%;
    background-color: var(--bg-color);
}

.skills-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
}

.skills-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.skill-item:nth-child(even) {
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.skill-item:nth-child(1) {
    animation-delay: 0.3s;
}
.skill-item:nth-child(2) {
    animation-delay: 0.4s;
}
.skill-item:nth-child(3) {
    animation-delay: 0.5s;
}
.skill-item:nth-child(4) {
    animation-delay: 0.6s;
}
.skill-item:nth-child(5) {
    animation-delay: 0.7s;
}
.skill-item:nth-child(6) {
    animation-delay: 0.8s;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-name {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.skill-percentage {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(72, 166, 167, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.1, 0.45, 0.1, 1);
}

@media screen and (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-title {
        font-size: 2.5rem;
    }
}

/* Skills Section Styles - Force initial visibility */
.skills-section {
    background-color: var(--bg-color);
    padding: 5rem 8%;
    position: relative;
    z-index: 1;
    display: block;
    min-height: 100vh;
}

.skills-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    opacity: 1;
    transform: none;
}

.skills-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    opacity: 1;
    transform: none;
}

.skill-item {
    opacity: 1;
    transform: none;
    margin-bottom: 2rem;
}

/* Ensure progress bars are visible */
.progress-bar {
    background-color: rgba(72, 166, 167, 0.1);
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 0.5rem;
}

.progress {
    background-color: var(--primary-color);
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: width 1.5s ease;
}

/* Projects Section Animation Styles */
.projects-title {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
}

.projects-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.project-filter {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.project-card {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease forwards;
}

.project-card:nth-child(even) {
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease forwards;
}

.project-card:nth-child(1) {
    animation-delay: 0.6s;
}
.project-card:nth-child(2) {
    animation-delay: 0.7s;
}
.project-card:nth-child(3) {
    animation-delay: 0.8s;
}
.project-card:nth-child(4) {
    animation-delay: 0.9s;
}
.project-card:nth-child(5) {
    animation-delay: 1s;
}
.project-card:nth-child(6) {
    animation-delay: 1.1s;
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Experience Section Styles */
.experience-section {
    padding: 3rem 8%; /* Increased from 2rem to 3rem for better spacing */
    background: var(--bg-color);
    position: relative;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    padding: 0 2rem;
    position: relative;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-company {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.timeline-description {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
}

.timeline-dot {
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: -7.5px;
    top: 0;
}

.timeline-line {
    width: 1px;
    background: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 0;
}

/* Section Title Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    margin-bottom: 1rem;
}

/* Tab Styles */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(72, 166, 167, 0.1);
}

.tab {
    padding: 0.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.7;
    white-space: nowrap; /* Prevent text wrapping */
    text-transform: uppercase; /* Make both texts uppercase */
}

.tab.active {
    color: var(--primary-color);
    opacity: 1;
}

.tab::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab.active::after {
    transform: scaleX(1);
}

/* Make sure both tabs have the same width */
.tab[data-tab="work"],
.tab[data-tab="education"] {
    width: 200px;
    text-align: center;
    font-size: 1rem; /* Slightly reduce font size to fit text */
}

@media screen and (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-content {
        padding: 1rem 0 1rem 2rem;
    }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 1px;
    background: var(--primary-color);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 1;
    box-shadow: 0 0 0 5px rgba(72, 166, 167, 0.1);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -50px;
}

.timeline-content {
    padding: 0 1rem;
}

.timeline-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.timeline-company {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.timeline-description {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 80%;
    margin: auto;
    opacity: 0.7;
}

.timeline-item:nth-child(odd) .timeline-description {
    margin-left: auto;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-description {
    margin-right: auto;
    text-align: left;
}

/* Hover effects */
.timeline-icon {
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(72, 166, 167, 0.1);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 1rem;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        right: auto;
        left: 16px;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: 16px;
    }

    .timeline-description {
        max-width: 100%;
        margin-left: 0 !important;
        text-align: left !important;
    }
}

/* Animation delays for timeline items */
.timeline-item:nth-child(1) {
    animation-delay: 0.3s;
}
.timeline-item:nth-child(2) {
    animation-delay: 0.6s;
}
.timeline-item:nth-child(3) {
    animation-delay: 0.9s;
}

/* Section Titles */
.section-titles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title-item {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-title-item.active {
    background-color: var(--primary-color);
    color: white;
}

/* Education Section Styles */
.education-section {
    padding: 5rem 8%;
    background-color: var(--bg-color);
    position: relative;
}

.education-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards 0.2s;
}

.education-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from 3 to 2 columns */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.education-card:nth-child(1) {
    animation-delay: 0.6s;
}
.education-card:nth-child(2) {
    animation-delay: 0.8s;
}
.education-card:nth-child(3) {
    animation-delay: 1s;
}

.education-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.education-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.education-subtitle {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.education-description {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 0.95rem;
    max-width: 80%;
    margin: auto;
    opacity: 0.7;
}

.education-item:nth-child(odd) .education-description {
    margin-left: auto;
    text-align: right;
}

.education-item:nth-child(even) .education-description {
    margin-right: auto;
    text-align: left;
}

.education-item:nth-child(odd) .education-icon {
    right: -50px;
}

.education-item:nth-child(even) .education-icon {
    left: -50px;
}

.education-item:nth-child(odd) .education-icon,
.education-item:nth-child(even) .education-icon {
    transition: all 0.3s ease;
}

.education-item:hover .education-icon {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(72, 166, 167, 0.1);
}

@media screen and (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .education-card {
        width: 80%;
        margin: 0 auto;
    }

    .education-item:nth-child(odd) .education-description,
    .education-item:nth-child(even) .education-description {
        max-width: 100%;
        margin-left: 0 !important;
        text-align: left !important;
    }
}

/* Add these new styles */
.experience-header {
    text-align: center;
    margin-bottom: 2rem;
}

.experience-title {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease forwards;
}

@media screen and (max-width: 768px) {
    .experience-title {
        font-size: 2.5rem;
    }
}

/* About Section Animation Styles */
.animate-hidden {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-hidden.profile-image {
    transform: translateX(100px); /* Come from right side */
}

.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    transition-delay: 0.2s;
}

.profile-image {
    transition-delay: 0.4s;
}

.info-grid {
    transition-delay: 0.6s;
}

.project-count {
    transition-delay: 0.8s;
}

/* Add these keyframe animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Add these new section animation styles */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section-specific animations */
#home.animate-visible .text-content {
    animation: fadeInLeft 1s ease forwards;
}

#home.animate-visible .profile-section {
    animation: fadeInRight 1s ease forwards 0.3s;
}

#about.animate-visible .about-content {
    animation: fadeInLeft 1s ease forwards;
}

#about.animate-visible .profile-image {
    animation: fadeInRight 1s ease forwards 0.3s;
}

#services.animate-visible .services-title {
    animation: fadeInDown 1s ease forwards;
}

#services.animate-visible .services-subtitle {
    animation: fadeInUp 1s ease forwards 0.3s;
}

#services.animate-visible .service-card {
    animation: fadeInUp 1s ease forwards;
}

#services.animate-visible .service-card:nth-child(1) {
    animation-delay: 0.4s;
}
#services.animate-visible .service-card:nth-child(2) {
    animation-delay: 0.6s;
}
#services.animate-visible .service-card:nth-child(3) {
    animation-delay: 0.8s;
}

#experience.animate-visible .experience-title {
    animation: fadeInDown 1s ease forwards;
}

#experience.animate-visible .timeline-item {
    animation: fadeInUp 1s ease forwards;
}

#experience.animate-visible .timeline-item:nth-child(1) {
    animation-delay: 0.3s;
}
#experience.animate-visible .timeline-item:nth-child(2) {
    animation-delay: 0.5s;
}
#experience.animate-visible .timeline-item:nth-child(3) {
    animation-delay: 0.7s;
}

#projects.animate-visible .projects-title {
    animation: fadeInDown 1s ease forwards;
}

#projects.animate-visible .projects-subtitle {
    animation: fadeInUp 1s ease forwards 0.3s;
}

#projects.animate-visible .project-card {
    animation: fadeInUp 1s ease forwards;
}

#projects.animate-visible .project-card:nth-child(1) {
    animation-delay: 0.4s;
}
#projects.animate-visible .project-card:nth-child(2) {
    animation-delay: 0.5s;
}
#projects.animate-visible .project-card:nth-child(3) {
    animation-delay: 0.6s;
}
#projects.animate-visible .project-card:nth-child(4) {
    animation-delay: 0.7s;
}
#projects.animate-visible .project-card:nth-child(5) {
    animation-delay: 0.8s;
}
#projects.animate-visible .project-card:nth-child(6) {
    animation-delay: 0.9s;
}

#contact.animate-visible .contact-header {
    animation: fadeInDown 1s ease forwards;
}

#contact.animate-visible .contact-info-item {
    animation: fadeInUp 1s ease forwards;
}

#contact.animate-visible .contact-info-item:nth-child(1) {
    animation-delay: 0.3s;
}
#contact.animate-visible .contact-info-item:nth-child(2) {
    animation-delay: 0.4s;
}
#contact.animate-visible .contact-info-item:nth-child(3) {
    animation-delay: 0.5s;
}
#contact.animate-visible .contact-info-item:nth-child(4) {
    animation-delay: 0.6s;
}

#contact.animate-visible .contact-container {
    animation: fadeInUp 1s ease forwards 0.7s;
}

#contact.animate-visible .contact-form-wrapper {
    animation: fadeInLeft 1s ease forwards 0.8s;
}

#contact.animate-visible .contact-image-wrapper {
    animation: fadeInRight 1s ease forwards 0.8s;
}

#contact.animate-visible .form-group {
    animation: fadeInUp 0.6s ease forwards;
}

#contact.animate-visible .form-group:nth-child(1) {
    animation-delay: 0.9s;
}
#contact.animate-visible .form-group:nth-child(2) {
    animation-delay: 1s;
}
#contact.animate-visible .form-group:nth-child(3) {
    animation-delay: 1.1s;
}
#contact.animate-visible .form-group:nth-child(4) {
    animation-delay: 1.2s;
}

#contact.animate-visible .submit-btn {
    animation: fadeInUp 0.6s ease forwards 1.3s;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    #contact.animate-visible .contact-form-wrapper,
    #contact.animate-visible .contact-image-wrapper {
        animation-name: fadeInUp;
    }
}

/* Update timeline animations */
.timeline-item {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:nth-child(even) {
    transform: translateX(100px);
}

.timeline-item.animate-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Ensure proper animation direction on mobile */
@media screen and (max-width: 768px) {
    .timeline-item,
    .timeline-item:nth-child(even) {
        transform: translateX(-50px);
    }

    .timeline-item.animate-visible {
        transform: translateX(0);
    }
}

/* Dark mode variables */
:root {
    --primary-color: #3b82f6; /* Vibrant blue - professional and fresh */
    --secondary-color: #60a5fa; /* Softer blue - complements primary */
    --accent-color: #10b981; /* Emerald green - adds a radiant touch */
    --text-color: #1e293b; /* Dark slate - highly readable */
    --bg-color: #f8fafc; /* Light gray - clean and airy background */
    --card-bg: #ffffff; /* Pure white for cards */
    --border-color: rgba(59, 130, 246, 0.15); /* Light blue borders */
    --font-primary: "Poppins", sans-serif;
}

/* Dark mode colors */
[data-theme="dark"] {
    --primary-color: #60a5fa; /* Soft blue - easy on the eyes in dark mode */
    --secondary-color: #3b82f6; /* Slightly brighter blue for contrast */
    --accent-color: #10b981; /* Emerald green - pops in dark mode */
    --text-color: #e2e8f0; /* Light gray-blue - clear and readable */
    --bg-color: #0f172a; /* Deep blue-gray - professional dark background */
    --card-bg: #1e293b; /* Slate blue for cards */
    --border-color: rgba(96, 165, 250, 0.15); /* Soft blue borders */
}

/* Theme toggle styles */
.theme-toggle {
    margin-left: 20px;
    position: relative;
}

.theme-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 76px; /* Increased from 70px */
    height: 34px; /* Increased from 32px */
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.theme-toggle-btn .sun,
.theme-toggle-btn .moon {
    position: absolute;
    top: 2px; /* Adjusted to center in button */
    width: 28px; /* Increased from 24px */
    height: 28px; /* Increased from 24px */
    border-radius: 50%;
    background-color: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn .sun {
    left: 4px;
    opacity: 1;
    transform: translateX(0);
}

.theme-toggle-btn .moon {
    right: 4px;
    opacity: 0;
    transform: translateX(20px);
}

/* Dark mode states */
[data-theme="dark"] .theme-toggle-btn {
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .theme-toggle-btn .sun {
    opacity: 0;
    transform: translateX(-20px);
}

[data-theme="dark"] .theme-toggle-btn .moon {
    opacity: 1;
    transform: translateX(0);
    background-color: #333;
    color: #fff;
}

/* Remove the dots */
[data-theme="dark"] .theme-toggle-btn::after {
    content: none;
}

/* ... existing code ... */



.together-section {
    position: relative;
    background: linear-gradient(
        to right,
        rgba(100, 255, 218, 0.1),
        rgba(100, 255, 218, 0.05)
    );
    padding: 60px 0;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.together-section .content {
    position: relative;
    z-index: 2;
}

.together-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        45deg,
        rgba(100, 255, 218, 0.1) 0%,
        transparent 100%
    );
    border-radius: 10px;
}

.contact-image {
    position: relative;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.8);
}

.contact-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: luminosity;
}

.contact-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(114, 137, 218, 0.2) 0%,
        rgba(114, 137, 218, 0.05) 30%,
        transparent 100%
    );
    z-index: 1;
}
/* Language Toggle Button Styles */
.lang-toggle-btn {
    background: var(--hover-color);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    padding: 5px 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-left: 10px;
    transition: all 0.3s ease;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.lang-toggle-btn span {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 1.1rem; /* Increased from default */
}

.lang-toggle-btn .lang-np {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 100%);
    opacity: 0;
}

.lang-toggle-btn .lang-en {
    transform: translateY(0);
    opacity: 1;
}

.lang-toggle-btn.nepali .lang-en {
    transform: translateY(-100%);
    opacity: 0;
}

.lang-toggle-btn.nepali .lang-np {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.lang-toggle-btn:hover {
    background: var(--hover-color);
}

/* Add these variables to your existing CSS custom properties */
:root {
    --hover-color: rgba(var(--primary-rgb), 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--surface-color);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2.8rem; /* Increased from 2.5rem */
    align-items: center;
    margin: 0 auto; /* This centers the nav-links */
}

.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Adjust logo to take up consistent space */
.logo {
    min-width: 150px; /* Adjust this value based on your logo width */
}

/* Make theme-toggle take up the same width as logo for balance */
.theme-toggle {
    min-width: 150px; /* Should match logo min-width */
    justify-content: flex-end;
}

/* Optional: Add responsive adjustments */
@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .logo,
    .theme-toggle {
        min-width: 100px;
    }
}

/* Navigation Styles */
@media screen and (max-width: 950px) {
    .nav-links {
        display: none; /* Hide only the navigation links */
    }

    nav {
        padding: 0.8rem 5%; /* Adjust padding for smaller screens */
    }

    /* Keep logo and theme toggle visible */
    .logo,
    .theme-toggle {
        display: flex;
    }
}

/* Ensure nav links are visible above 950px */
@media screen and (min-width: 951px) {
    .nav-links {
        display: flex;
    }
}

/* Add this CSS to style the "See more" link */
.see-more {
    color: #007bff; /* Change to your desired color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make it bold */
    transition: color 0.2s; /* Faster color transition */
    will-change: transform; /* Performance hint */
}

.see-more:hover {
    color: #0056b3; /* Change color on hover */
    text-decoration: none; /* Underline on hover */
}

/*See more and less of Experience and Education*/
.timeline-description-container {
    position: relative;
    transform: translateZ(0); /* Force hardware acceleration */
}

.timeline-description-short,
.timeline-description-full {
    margin: 0;
    transition: opacity 0.2s ease-out; /* Faster transition */
    will-change: opacity; /* Performance hint */
}

.timeline-description-full {
    opacity: 0;
}

.timeline-description-full.show {
    opacity: 1;
}

.timeline-see-more {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9em;
    cursor: pointer;
    display: inline-block;
    margin-top: 5px;
    will-change: transform; /* Performance hint */
}

.timeline-see-more:hover {
    text-decoration: underline;
}

/* See more and less of About Footer */
.see-more-link {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 5px;
    font-weight: 500;
    transition: all 0.2s ease-out; /* Faster transition */
    will-change: transform, color; /* Performance hint */
}

.see-more-link:hover {
    color: var(--secondary-color);
}

.see-more-link i {
    font-size: 12px;
    margin-left: 4px;
    transition: transform 0.2s ease-out; /* Faster transition */
    will-change: transform; /* Performance hint */
    transform: translateZ(0); /* Force hardware acceleration */
}

.see-more-link:hover i {
    transform: translateX(3px) translateZ(0); /* Force hardware acceleration */
}

/* Experience Section Styles */
#experience {
    padding-top: 2rem; /* Added small padding to move section down */
}

.experience-section {
    padding-top: 1rem; /* Additional fine-tuning if needed */
}

/* Responsive design adjustments */
@media screen and (min-width: 768px) and (max-width: 950px) {
    .profile-image {
        width: 300px; /* Reduced from 450px */
        height: 300px; /* Reduced from 450px */
        margin: 0 auto;
    }
}

@media screen and (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1.2rem;
    }

    .icon {
        width: 55px;
        height: 55px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-info-item {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding: 6rem 5%;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-image-wrapper {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-info-item {
        padding: 1.2rem;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .icon {
        width: 50px;
        height: 50px;
    }

    .icon i {
        font-size: 1.2rem;
    }

    .contact-info-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-info-item p {
        font-size: 0.9rem;
    }

    .text-muted {
        font-size: 0.8rem;
    }

    .social-mini-grid {
        gap: 0.75rem;
    }

    .social-mini-link {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 576px) {
    .contact-info-grid {
        gap: 0.75rem;
    }

    .contact-info-item {
        padding: 1rem;
    }

    .icon-wrapper {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

    .icon {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .contact-info-grid {
        gap: 0.5rem;
    }

    .contact-info-item {
        padding: 0.75rem;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 0.5rem;
    }

    .icon {
        width: 35px;
        height: 35px;
    }

    .contact-info-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-info-item p {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .text-muted {
        font-size: 0.7rem;
    }

    .social-mini-grid {
        gap: 0.5rem;
    }

    .social-mini-link {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 375px) {
    .contact-info-grid {
        gap: 0.35rem;
    }

    .contact-info-item {
        padding: 0.5rem;
    }

    .icon-wrapper {
        width: 40px;
        height: 40px;
        margin-bottom: 0.35rem;
    }

    .icon {
        width: 32px;
        height: 32px;
    }

    .contact-info-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .contact-info-item p {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .social-mini-link {
        width: 28px;
        height: 28px;
    }
}

@media screen and (max-width: 320px) {
    .contact-info-grid {
        gap: 0.25rem;
    }

    .contact-info-item {
        padding: 0.35rem;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
        margin-bottom: 0.25rem;
    }

    .icon {
        width: 28px;
        height: 28px;
    }

    .contact-info-item h3 {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }

    .contact-info-item p {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }

    .text-muted {
        font-size: 0.6rem;
    }

    .social-mini-grid {
        gap: 0.35rem;
    }

    .social-mini-link {
        width: 25px;
        height: 25px;
    }

    .social-mini-link i {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 1360px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media screen and (max-width: 600px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
