:root {
    --primary: #09b4c0;       /* Deep blue - replaces purple */
    --secondary: #171544;     /* Keeping this dark navy as it's neutral */
    --accent: #117088;        /* Burnt orange/red - strong accent */
    --light: #F8F9FA;         /* Keeping light background */
    --dark: #1A1A2E;          /* Keeping dark navy */
    --text: #0c3258;         /* Dark blue-gray for text */
    --text-light: #7F8C8D;    /* Grayish blue for secondary text */
}

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

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

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

 /* Navigation Styles */


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

/* Logo */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Cormorant+Garamond:wght@500;600&display=swap');

.logo {
  --primary-color: #5e4b3a; /* Rich taupe */
  --secondary-color: #a38f78; /* Warm beige */
  --accent-color: #c0a78e; /* Gold-ish highlight */
  font-family: 'Marcellus', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  position: relative;
  display: inline-block;
  cursor: default;
}

.logo-inner {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%,
    var(--primary-color) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Shimmer animation */
.logo:hover .logo-inner {
  background-position: 100% 0;
  text-shadow: 0 0 8px rgba(192, 167, 142, 0.3);
}

/* Decorative underline animation */
.logo::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-color),
    transparent
  );
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.logo:hover::after {
  transform: scaleX(1);
}

/* Floating initials effect (optional) */
.logo::before {
  content: 'NM';
  position: absolute;
  font-size: 0.8em;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent-color);
  opacity: 0;
  transition: all 0.6s ease;
}

.logo:hover::before {
  opacity: 0.6;
  top: -20px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1acec5c9;  /* Change to your preferred hover color */
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
    transition: var(--transition);
    padding: 10px;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2rem;
        gap: 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1001;
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        width: 100%;
    }

    .nav-links a::after {
        bottom: 5px;
        height: 2px;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* Animated Gradient Header */
header {
    background: linear-gradient(-45deg, var(--secondary), var(--primary), var(--accent), var(--secondary));
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    color: white;
    padding: 4rem 0 6rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    overflow: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,25 C75,50 50,25 0,50 L0,0 Z"></path></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

.header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.profile-img-container {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.profile-img-container:hover {
    transform: scale(1.05) rotate(5deg);
}

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

.profile-img-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent,
        transparent,
        transparent,
        rgba(255, 255, 255, 0.1)
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 1.2rem;
}

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


.social-links {
    display: flex;
    justify-content: center; /* Centers horizontally */
    gap: 15px; /* Adds spacing between icons */
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Floating Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

section {
    padding: 5rem 0;
    position: relative;
}

section:nth-child(even) {
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    display: inline-block;
    position: relative;
}

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

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 1rem auto 0;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease;
}

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

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

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

.timeline-content {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-date {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.timeline-company {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.timeline-content ul {
    padding-left: 1.2rem;
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

/* Projects Section */
.projects-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--order) * 0.1s);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.project-card:hover .project-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

.project-tags {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    z-index: 2;
}

.project-tag {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.project-info h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin: auto 0;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.project-link.demo {
    background: var(--primary);
    color: white;
}

.project-link.code {
    background: var(--light);
    color: var(--secondary);
    border: 1px solid #ddd;
}

.project-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-link.full-width {
    width: 100%;
    justify-content: center;
}

/* Interests Section */
.interests-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.interest-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 180px;
    opacity: 0;
    transform: translateY(50px);
}

.interest-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--order) * 0.1s);
}

.interest-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.interest-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.interest-card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.skill-category {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}


.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 5px;
    position: relative;
    transition: width 1.5s ease;
}

.skill-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.1)
    );
    animation: shimmer 2s infinite;
}

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

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.3);
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 3rem 0;
    position: relative;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,100 L100,100 L100,80 C50,100 50,80 0,80 L0,100 Z"></path></svg>');
    background-size: 100% 100%;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
    font-size: 1.2rem;
}

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

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile First Approach */
@media (max-width: 767px) {
    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    /* Header */
    header {
        padding: 2rem 0 4rem;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    
    .profile-img-container {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .contact-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 2rem;
        transform: none !important;
    }
    
    /* Timeline */
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 30px;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 180px;
    }
    
    /* Skills */
    .skills-container {
        flex-direction: column;
    }
    
    .skill-category {
        min-width: 100%;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer */
    footer {
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
        padding: 2rem 0;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Back to top button */
    .back-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .profile-img-container {
        width: 130px;
        height: 130px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .interest-card {
        width: 140px;
        padding: 1.5rem;
    }
    
    .interest-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Very Small Mobile Devices (up to 360px) */
@media (max-width: 360px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .nav-links {
        width: 90%;
    }
    
    .profile-img-container {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .interest-card {
        width: 120px;
        padding: 1rem;
    }
}