  /* Reset & Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
scroll-behavior: smooth;
}


body {
    background-color: #000;
    transition: 0.3s ease-in-out;
    color: #fff;
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #646cff;
}

p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Header */
header {
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}




.floating-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #646cff;
    
}

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

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

.nav-links a {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #646cff;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1472&q=80') no-repeat center center/cover;
}

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

.hero-content h1 {
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #646cff;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    margin-right: 15px;
}

.btn:hover {
    background: #535bf2;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid #646cff;
}

.btn-outline:hover {
    background: #646cff;
}

/* About Section */
#about {
    background-color: #111;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #ccc;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #646cff;
}

/* Skills Section */
#skills {
    text-align: center;
}

#skills h2:after {
    left: 50%;
    transform: translateX(-50%);
}

.skills-container {
    display: flex;
    flex-direction: column; /* Arrange items vertically */
    gap: 20px; /* Add spacing between sections */
}

.skill-card {
    margin-bottom: 20px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-bar {
    height: 10px;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: #646cff;
    border-radius: 5px;
}

/* Projects Section */
#projects {
    background-color: #111;
    text-align: center;
}

#projects h2:after {
    left: 50%;
    transform: translateX(-50%);
}

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

.project-card {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

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

.project-info {
    padding: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    justify-content: center;
}

.tech-tag {
    background: rgba(100, 108, 255, 0.1);
    color: #646cff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-form {
    flex: 1;
}

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

.form-control {
    width: 100%;
    padding: 15px;
    background: #111;
    border: none;
    border-radius: 5px;
    color: #fff;
}

textarea.form-control {
    min-height: 150px;
}

.cert-marquee {
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    background-color: #ecf0f1;
    padding: 10px;
    border-radius: 10px;
  }

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    color: #646cff;
    font-size: 1.5rem;
    margin-right: 15px;
}



.contact-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.whatsapp-btn, .email-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s;
}

.whatsapp-btn {
    background: #25D366; /* WhatsApp green color */
}

.whatsapp-btn:hover {
    background: #1DA851; /* Darker green on hover */
    transform: translateY(-3px);
}

.email-btn {
    background: #0078D4; /* Email blue color */
}

.email-btn:hover {
    background: #005A9E; /* Darker blue on hover */
    transform: translateY(-3px);
}

#resume {
    padding: 50px 0;
    text-align: center;
    background-color: #f9f9f9;
}

#resume h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

#resume p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

#resume .btn {
    padding: 12px 30px;
    background: #646cff;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

#resume .btn:hover {
    background: #4a5cd4;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #111;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.footer-links a {
    color: #ccc;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #646cff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .contact-container {
        flex-direction: column;
    }
    
    .about-image, .contact-info {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

