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

:root {
    --primary-color: #1a73e8;
    --secondary-color: #0d47a1;
    --accent-color: #f5f5f5;
    --text-color: #333;
    --light-text: #777;
    --white: #ffffff;
    --success: #28a745;
}

body {
    background-color: #f9f9f9;
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.custom-logo {
    display: flex;
    align-items: center;
    gap: 15px;  /* Adjust the spacing between the image and text */
    text-decoration: none;
    font-family: 'Arial', sans-serif;
}

.logo-img {
    width: 50px;  /* Size of the image */
    height: auto;
    border-radius: 50%;  /* Optional: to make the logo image round */
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;  /* Optional: to capitalize the text */
}

.custom-logo:hover .logo-text {
    color: #3498db;  /* Change text color on hover */
    transition: color 0.3s ease;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover:after {
    width: 100%;
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s;
}

/* Page Styles */
.page {
    display: none;
    padding: 100px 0 50px;
    min-height: 100vh;
}

.page.active {
    display: block;
}



.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

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

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

/* About Section */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding: 10px 0;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.skill-item {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgb(239, 22, 22 / 88%);
    margin: 0 10px 10px 0;
    display: flex;
    align-items: center;
}

.skill-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 20px;
}

/* Experience Section */
.experience {
    background-color: var(--accent-color);
}

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

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

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

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

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.right::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.timeline-content p {
    color: var(--light-text);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-info p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
}

.project-tag {
    background: var(--accent-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Development Projects Section */
.dev-projects {
    background-color: var(--accent-color);
}

.dev-project {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.dev-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dev-project-title {
    color: var(--primary-color);
}

.dev-project-date {
    color: var(--light-text);
    font-style: italic;
}

.dev-project-content {
    display: flex;
    flex-wrap: wrap;
}

.dev-project-image {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

.dev-project-details {
    flex: 2;
    min-width: 300px;
    padding: 10px;
}

.dev-project-details ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.dev-project-details li {
    margin-bottom: 10px;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 20px;
    transition: color 0.3s;
}

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

.contact-form {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .left, .right {
        left: 0;
        text-align: left;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
}