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

body {
    background: #f5f5f5; /* Light gray background */
    color: #333; /* Dark charcoal text */
    line-height: 1.6;
}

header {
    background: #0a192f; /* Dark navy */
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #64ffda; /* Deep teal accent */
}

section {
    padding: 5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#home {
    background: url('../Images/bimage.jpg') no-repeat center center/cover;
    position: relative;
    color: #fff; /* White text for contrast */
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7); /* Dark navy overlay */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff; /* White container background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#home h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

#home p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* About Section */
#about {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

#about h2 {
    text-align: center;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Education Section */
#education {
    padding: 4rem 0;
    background: white;
}

#education h2 {
    text-align: center;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.education-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.education-item h3 {
    font-size: 1.5rem;
    color: #1a2b3d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.education-item p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.cv-download {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cv-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Skills Section */
#Skills {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.skills-container h3 {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.skills-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.skill-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-item i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
    display: block;
}

.skill-item span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a2b3d;
}

/* Interests Section */
#interests {
    padding: 4rem 0;
    background: white;
}

#interests h2 {
    text-align: center;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.interest-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.interest-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
}

* Projects Section */
#projects {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

#projects h2 {
    text-align: center;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    color: #1a2b3d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.project-links {
    display: flex;
    gap: 10px; 
}

.project-link {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display:inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.project-link.primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.project-link.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.project-link.secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.project-link.secondary:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}


/* Contact Section */
#contact {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#contact h2 {
    text-align: center;
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto 4rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.availability-status i {
    color: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Contact Info Section */
.contact-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-method h4 {
    font-size: 1.1rem;
    color: #1a2b3d;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: #6b7280;
    font-size: 0.95rem;
}

.social-links-section h4 {
    color: #1a2b3d;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #fff;
}

/* Footer */
footer {
    background-color: #2b2d30;
    color: white;
    padding: 20px;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-info i {
    color: #fff;
    width: 16px;
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    #contact h2 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem 3rem;
    }
    
    .contact-info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    #contact h2 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
} 