/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
}
.blog-category-title{
    color: #000000;
}
/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Navbar */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.logo span {
    color: #7a36ff;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #7a36ff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    flex-wrap: wrap;
    text-align: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h3 {
    font-size: 28px;
    font-weight: 500;
    color: #333;
}

.hero-text h3 span {
    color: #7a36ff;
    font-weight: 700;
}

.hero-text h1 {
    font-size: 48px;
    margin: 10px 0;
    font-weight: 700;
    color: #333;
}

.hero-text p {
    margin: 20px 0;
    line-height: 1.6;
    color: #666;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.primary-btn {
    background: #7a36ff;
    color: #fff;
}

.primary-btn:hover {
    background: #5b27cc;
}

.secondary-btn {
    border: 2px solid #7a36ff;
    color: #7a36ff;
    background: transparent;
}

.secondary-btn:hover {
    background: #7a36ff;
    color: #fff;
}

/* Social Icons */
.social-icons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icons a {
    color: #7a36ff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #5b27cc;
}

/* Hero Image */
.hero-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border: 5px solid #7a36ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* About, Skills, Contact Sections */
.about-section,
.skills-section,
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.about-section h2,
.skills-section h2,
.contact-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-section p,
.contact-section p {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: auto;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.skill-item:hover {
    background: #7a36ff;
    color: #fff;
}

/* Contact Section */

.contact-section {
    background: linear-gradient(135deg, #f2f4f9, #d1d9f6); /* Lighter background */
    color: #333; /* Dark text */
    padding: 80px 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #5f6a8a; /* Darker color for heading */
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8); /* Light background with transparency */
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(177, 177, 177, 0.1); /* Lighter border */
}

.contact-left, .contact-right {
    flex: 1 1 45%;
    color: #333; /* Dark text */
}

.contact-left h2 {
    font-size: 28px;
    color: #4b4b4b; /* Darker heading color */
    margin-bottom: 10px;
}

.contact-left p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555; /* Slightly darker text */
}

.contact-left .social-icons {
    margin-top: 20px;
}

.contact-left .social-icons a {
    color: #fff;
    background: #7a36ff;
    padding: 10px;
    font-size: 20px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.contact-left .social-icons a:hover {
    background: #5b27cc;
    transform: scale(1.1);
}

.contact-right .form-group {
    margin-bottom: 20px;
}

.contact-right label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333; /* Dark label color */
}

.contact-right input,
.contact-right textarea {
    width: 100%;
    padding: 12px 15px;
    background: #f1f1f1; /* Light input background */
    border: 1px solid #ddd; /* Lighter border */
    border-radius: 10px;
    font-size: 14px;
    color: #333; /* Dark text */
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-right input:focus,
.contact-right textarea:focus {
    border-color: #7a36ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(122, 54, 255, 0.3);
}

.submit-btn {
    background: #7a36ff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #5b27cc;
}

/* Responsive Contact Layout */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 30px;
    }

    .contact-left, .contact-right {
        flex: 1 1 100%;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-section h2 {
        font-size: 28px;
    }
}

/* ==================== RESPONSIVE ==================== */

/* Tablet & Below */
@media (max-width: 992px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-section {
        flex-direction: column;
    }

    .hero-image img {
        width: 100%;
        margin-top: 30px;
    }

    .hamburger {
        display: flex;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .logo {
        font-size: 20px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h3 {
        font-size: 22px;
    }

    .about-section h2,
    .skills-section h2,
    .contact-section h2 {
        font-size: 28px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        width: 80%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }
}

