/* GLOBAL STYLES */
body {
    margin: 0;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #fdf6ff, #e6f0ff, #fff0f6);
    color: #444;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #d7dbff, #cbddff);
    padding: 20px 50px;
}

/* Logo + Name (Left) */
.logo {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #77a1fc;
    cursor: pointer;
    gap: 8px; /* space between image and text */
}

.logo-img {
    width: 45px;  /* adjust size as needed */
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

/* Right side: About Me + Menu */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px; /* space between About Me and menu icon */
}

.sections {
    display: flex;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #77a1fc;
    cursor: pointer;
}

.menu-icon {
    display: flex;
    font-size: 28px;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 60px 20px;
   /* background: radial-gradient(circle at top, #ffffff, #e8f0ff);*/
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #77a1fc;
}

.hero p {
    font-size: 16px;
    color: #777;
}

/* PROJECTS LAYOUT */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    padding: 80px 60px;
}

/* PROJECT CARDS */
.project-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 35px;
    padding: 25px 20px 30px 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(150, 170, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 25px 50px rgba(150, 170, 255, 0.35);
}

/* Image styling */
.project-card img {
    width: 100%;
    height: 300px; /* changed from 420px for better scaling */
    object-fit: cover;
    border-radius: 25px;
    margin-bottom: 20px;
}

/* Text */
.project-card h2 {
    font-size: 20px;
    color: #7a88ff;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

/* BUTTONS */
.project-card button {
    margin-top: 18px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #a8b8ff, #ffb3e6);
    border: none;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(170, 150, 255, 0.4);
    transition: all 0.3s ease;
}

.project-card button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(170, 150, 255, 0.6);
}

/* FLOATING ANIMATION */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); } /* reduced float amount */
    100% { transform: translateY(0px); }
}