* {
    margin: 0;
    padding: 0;
    background-color: #1e293b;
    color: #e2e8f0;
    font-family: 'Times New Roman', Times, serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #334155;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {

    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease-out;
}

.logo:hover {
    background-color: #71a7f1;

}

.nav-links ul {
    display: flex;
    gap: 20px;
    font-size: 35px;
    list-style: none;
    font-weight: bold;
}

a {
    text-decoration: none;
    transition: all 0.5s ease-out;
    padding: 10px 20px 10px 20px;
}

.nav-links a:hover {
    background-color: #5b7aac;
}


main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

.hero {
    min-height: 75vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 20px 8%; 
}

.hero-text .tagline {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.5;
}

.hero-text .sub-text {
    font-size: 15px;
    color: #8b949e;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-text h3 {
    font-size: 20px;
    color: #8b949e;
    font-weight: normal;
    margin-bottom: 5px;
}

.hero-text h1 {
    font-size: 52px;
    color: #ffffff;
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 16px;
    color: #8b949e;
    margin-bottom: 25px;
    line-height: 1.5;
}

.hero-btns .btn {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 20px;
    font-size: 15px;
    font-family: inherit;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.hero-btns .btn:hover {
    color: #ffffff;
    background-color: #0d1117;
    transform: translateY(-2px);
}

.hero-image {
    display: grid;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    
    
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    
   
    border: 2px solid #ffffff;
}
/* projects.html ki styling */

header.Projects {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center; 
    padding: 30px 40px;
}

header.Projects .nav ul {
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    gap: 40px;
    margin: 0;
    padding: 0;
}

header.Projects .nav ul li a {
    text-decoration: none;
    color: #8b949e; 
    font-size: 28px;
    font-weight: 500;
    transition: color 0.3s ease; 
}

header.Projects .nav ul li a:hover {
    color: #ffffff; 
}


.projects-section {
    padding: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.projects-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffffff;
}

.projects-section p {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 30px;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}


.project-card {
   background-color: #1a2230;
    border: 1px solid #2a3447;
    padding: 20px;
    border-radius: 10px;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    background-color: #0d1117; 
    border-radius: 6px;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: #4f46e5;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 0;
}

.project-card p {
    font-size: 14px;
    color: #aaaaaa;
    margin: 0;
}


html {
    scroll-behavior: smooth;
}

/* About Section Styling */
.about-section {
    padding: 80px 8%;
    background-color: #1e293b; 
    color: #ffffff;
    border-top: 1px solid #334155;
}

.about-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skill-card {
    background-color: #161b22;
    border: 1px solid #30363d;
    padding: 18px;
    text-align: center;
    border-radius: 8px;
    font-weight: 500;
    color: #c9d1d9;
    transition: all 0.3s ease;
}

.skill-card:hover {
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Section Styling */
.contact-section {
    padding: 80px 8%;
    background-color: #1e293b;
    color: #ffffff;
    text-align: center;
    border-top: 1px solid #334155;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-section > p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 16px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.contact-form textarea {
    resize: vertical;
}


.contact-form .btn {
    width: max-content;
    margin: 0 auto; /* Yeh button ko horizontally bilkul center mein le ayega */
    padding: 12px 28px;
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form .btn:hover {
    color: #ffffff;
    background-color: #0f172a;
}

footer {
    background-color: transparent;
    color: #94a3b8;
    text-align: center;
    padding: 40px 20px 30px 20px;
    margin-top: 40px;
    font-family: inherit;
    border-top: 1px solid #334155; 
}

footer .footer-content p {
    margin: 6px 0;
    font-size: 14px;
}