/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #181818;
    color: white;
}

/* Navbar */
header {
    background: #1c1c1c;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}
nav .logo {
    font-size: 24px;
    font-weight: bold;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}
nav ul li a:hover {
    color: #f39c12;
}

/* Home Section */
#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #181818, #1e1e2f 50%, #2b2b4a);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

/* Headings */
#home h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Gradient Text Effect for Name */
.gradient-text {
    background: linear-gradient(45deg, #ff8c00, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Subheading */
#home h2 {
    font-size: 22px;
    color: #e67e22;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Typing Effect */
.typing {
    font-size: 24px;
    font-weight: 600;
    color: #ff8c00;
}

/* Description Box */
.description-box {
    background: rgba(255, 255, 255, 0.1); /* Light transparent background */
    padding: 20px;
    border-radius: 10px;
    border: 2px solid transparent;
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Neon Gradient Border Effect */
.description-box::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg,rgba(255, 255, 255, 0.1));
    z-index: -1;
}

/* CTA Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    color: white;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    font-weight: bold;
    margin: 15px;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.6);
}

/* Button Hover Effects */
.btn:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(255, 140, 0, 0.7);
}

/* Secondary Button */
.btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    box-shadow: none;
}

.btn.secondary:hover {
    background: white;
    color: black;
}

/* Floating Effect */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}


/* About Me Section */
#about {
    text-align: center;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    padding: 80px 20px;
    color: #ffffff;
}

#about h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: inline-block;
}


.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* Profile Image Styling */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.about-content img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f39c12;
    box-shadow: 0 0 15px rgba(255, 153, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-content img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 153, 0, 0.8);
}
.about-content .text:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(255, 153, 0, 0.4);
}
/* Text Content */
.about-content .text {
    text-align: left;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out;
}

.about-content .text:hover {
    transform: translateY(-5px);
}

/* Button Styling */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #f39c12;
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.btn:hover {
    background: #ffac41;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content .text {
        text-align: center;
        padding: 15px;
    }
}
/* Skills */
#skills {
    background: #1a1a1a; /* Matching the dark theme */
    padding: 80px 20px;
    text-align: center;
}
#skills h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: inline-block;
    
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.skill {
    padding: 12px 20px;
    background: #262626; /* Darker gray for contrast */
    color: #F1D39A;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.skill-container {
    max-width: 700px;
    margin: auto;
    text-align: left;
}

.skill-name {
    font-weight: bold;
    margin-bottom: 5px;
    color:#F1D39A ; /* Accent color */
    text-transform: uppercase;
    font-size: 14px;
}


.skills-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.skills-card {
    background: #222;
    padding: 30px 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    transition: 0.3s ease-in-out;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
   box-shadow: 0 6px 25px rgba(243, 156, 18, 0.3);
}

.skills-card h3 {
    color: #f39c12;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}



.skills-grid-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.skill-card {
  background: #262626;
  padding: 30px 20px;
  border-radius: 16px;
  width: 260px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 12px rgba(255, 153, 0, 0.4); /* Golden glow like project cards */
}


.skill-card h3 {
  color: #fff;
  font-size: 20px;
  margin: 15px 0;
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-card li {
  background: #333;
  margin: 8px 0;
  padding: 10px;
  color: #F1D39A;
  border-radius: 8px;
  transition: 0.3s;
}

.skill-card li:hover {
  background: #444;
  transform: scale(1.05);
}

.skill-icon {
  width: 50px;
  height: 50px;
  margin: auto;
  border-radius: 12px;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

.programming-icon {
  background-color: #7b2ff7;
  background-image: url('https://img.icons8.com/ios-filled/50/code--v1.png');
}
.webtech-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background-color: #2ecc71;
  background-image: url('https://img.icons8.com/ios-filled/50/cloud-development.png');
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
  border-radius: 12px;
}

.ml-icon {
  background-color: #c0392b;
  background-image: url('https://img.icons8.com/ios-filled/50/brain.png');
}
.tools-icon {
  background-color: #e67e22;
  background-image: url('https://img.icons8.com/ios-filled/50/settings--v1.png');
}
/* Projects */
#projects h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}
#projects {
  background: linear-gradient(135deg, #1a1a1a, #1e1e2f);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding-top: 40px;
}

/* Project Card with Glassmorphism */
.project-card {
  background-color: #1e1e25;
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 500px;
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  padding-bottom: 20px;
}

.project-card:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(255, 140, 0, 0.7);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card h3 {
  font-size: 24px;
  color: #f39c12;
  margin: 20px 0 10px;
}

.project-card p {
  font-size: 15px;
  color: #dcdcdc;
  padding: 0 20px 10px;
}

/* Fancy CTA Button */
.project-card .btn {
 display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    color: black;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    font-weight: bold;
    margin: 15px;
    box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.6);
}

.project-card .btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 12px rgba(255, 140, 0, 0.7);
}

/* Tags (Tech Stack Pills) */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.project-tags span {
  background-color: #2e2e3e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-description {
  background-color: rgba(255, 255, 255, 0.05); /* subtle light overlay */
  padding: 15px 20px;
  margin: 0 20px 15px 20px; /* Add left & right margin to avoid edge contact */
  border-radius: 12px;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}



/* Experience */
#experience {
    text-align: center;
    background: linear-gradient(135deg, #121212, #1e1e1e); 
    padding: 60px 20px;
    color: #fff;
}
#experience h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: inline-block;
    
}


.experience-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

.experience-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 8px rgba(255, 153, 0, 0.2); /* Subtle orange glow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(255, 153, 0, 0.4);
}

.experience-title {
    font-size: 22px;
    font-weight: bold;
    color: #f39c12;
}


.experience-details {
    list-style: none; /* Removes default bullets */
    padding: 0;
    text-align: center; /* Centers text */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally */
    justify-content: center; /* Centers items vertically */
}

.experience-details li {
    display: flex;
    align-items: center; /* Aligns tick and text in the middle */
    justify-content: center;
    font-size: 16px;
    padding: 10px 0;
    gap: 10px; /* Space between tick and text */
}

.experience-details li::before {
    content: "✔";
    color: #f39c12;
    font-size: 18px;
    display: flex;
    align-items: center; /* Centers tick vertically */
    justify-content: center;
}
.experience-card {
  background-color: #1e1e2f;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #2e2e3e;
  box-shadow: 0 0 10px rgba(150, 100, 255, 0.2);
  color: #fff;
  margin-bottom: 2rem;
  position: relative;
}

.experience-date {
  background: #f39c12;
  color: #100000;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}



.experience-role {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.experience-company {
  color: #f39c12;
  margin-bottom: 0.8rem;
}

.experience-description {
  font-size: 0.95rem;
  color: #dcdcdc;
  margin-bottom: 1rem;
}

.experience-tags span {
  background: #2d2d3d;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  display: inline-block;
  color: #ddd;
}
.timeline {
  position: relative;
  margin: 40px auto;
  padding-left: 30px;
  border-left: 3px solid #f39c12;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-dot {
  position: absolute;
  left: -10px;
  top: 10px;
  width: 16px;
  height: 16px;
  background-color: #704a0c;
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px #f39c12;
  z-index: 1;
  transform: rotate(45deg); /* diamond look */
}



#contact {
    text-align: center;
    padding: 80px 20px;
    background: #121212;
}
#contact h2 {
    font-size: 36px;
    color: #fff;
}
#contact p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
}
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact-form input, #contact-form textarea {
    width: 80%;
    max-width: 500px;
    margin: 10px 0;
    padding: 12px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}
#contact-form textarea {
    height: 120px;
}
#contact-form button {
    background: #ff7b00;
    color: white;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
#contact-form button:hover {
    background: #ff4f00;
}
.social-links {
    margin-top: 20px;
}
.social-links a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}
.social-links a:hover {
    transform: scale(1.2);
}
.social-links img {
    width: 40px;
    height: 40px;
}
#scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #ff7b00;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}
#scroll-top-btn:hover {
    background: #ff4f00;
}

/* Certification  */
#certifications {
  text-align: center;
  padding: 80px 40px;
  background: #181818;
}

/* Certification Title */
#certifications h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 40px; /* More space below heading */
}

/* Certification Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ensures exactly 3 items per row */
    gap: 40px; /* More spacing between certification blocks */
    justify-content: center;
    align-items: center; /* Centers items vertically */
    padding: 20px 5%; /* Adds space from left and right */
}

/* Certification Card */
.cert-item-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.cert-item img {
  width: 100%;
  max-width: 240px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 10px;
}

.cert-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}


.cert-item img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px; /* Optional rounded corners */
}


.cert-item p {
      font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

/* Certification Title */

.cert-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}
/* Certification Description */
.cert-description {
    font-size: 16px;
    color: #ddd; /* Lighter color for contrast */
    margin-top: 6px;
    max-width: 90%;
    line-height: 1.6;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}


/* Responsive Tweaks */
@media (max-width: 992px) { /* Tablets */
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 items per row */
    }
}

@media (max-width: 600px) { /* Mobile */
    .certifications-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 item per row */
    }
}
/* Achievements Section */
#achievements {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #1e1e2f);
    padding: 60px 20px;
    color: #fff;
}

#achievements h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: #fff;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.achievements-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
}

/* Achievement Item */
.achievement-item {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 8px rgba(255, 153, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(255, 153, 0, 0.4);
}

/* Alternating Layout */
.achievement-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Achievement Text */
.achievement-text {
    flex: 1;
    text-align: left;
    color: #f8f9fa;
}

.achievement-title {
    font-size: 22px;
    font-weight: bold;
    color: #f39c12;
}

.achievement-date {
    font-size: 16px;
    font-style: italic;
    color: #aaa;
    margin-bottom: 10px;
}

/* Achievement Details */
.achievement-details {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-details li {
    display: flex;
    align-items: center;
    font-size: 16px;
    gap: 10px;
}

.achievement-details li::before {
    content: "✔";
    color: #f39c12;
    font-size: 18px;
}

/* Links */
.achievement-details a {
    color: #f39c12;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.achievement-details a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* Achievement Image */
.achievement-image {
    flex: 1;
    max-width: 300px;
}

.achievement-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }

    .achievement-item:nth-child(even) {
        flex-direction: column;
    }

    .achievement-text {
        text-align: center;
    }

    .achievement-details {
        align-items: center;
    }

    .achievement-image {
        max-width: 100%;
    }
}