/* Home page styles */
.main-name {
    font-size: 48px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.tagline {
    font-size: 20px;
    font-weight: 500;
    color: #666;
    margin-bottom: 30px;
}

.about-me p {
    font-size: 16px;
    margin-bottom: 1.2em;
    line-height: 1.7;
    color: #444;
}

/* Contact section */
#contact {
    margin-top: 50px;
    padding: 2em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#contact h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.contact-btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-btn:hover {
    transform: translateY(-2px);
}

/* Individual button colors */
.email {
    background-color: #0078D4;
}

.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, 
        #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.github {
    background-color: #333;
}

.leetcode {
    background-color: #FFA116;
    color: #000;
}


/* Tech Stack Section */
#tech-stack {
    margin-top: 50px;
    padding: 2em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#tech-stack h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #222;
}

/* Grid layout for 4 categories */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Individual category card */
.tech-category h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Badge container */
.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-grid img {
    height: 32px;
    transition: transform 0.2s ease;
}

.badge-grid img:hover {
    transform: scale(1.05);
}

/* Quick Links Section */
#quick-links {
    margin-top: 50px;
    padding: 2em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#quick-links h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #222;
}

/* Card Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Individual Cards */
.card {
    display: block;
    padding: 1.5em;
    border-radius: 10px;
    background: #fafafa;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.25s ease-in-out;
    border: 1px solid #e0e0e0;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #00bcd4;
}

/* Card Typography */
.card h3 {
    font-size: 20px;
    margin-bottom: 0.5em;
    color: #333;
}

.card p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
