/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif; /* Modern font */
    line-height: 1.6;
    color: #333;
    background: #f9f9f9;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Section Title Styles */
  h2 {
    text-align: center; /* Center align the title */
    font-size: 2.5rem;
    font-weight: 700;
    margin: 2rem 0; /* Add spacing above and below */
    background: linear-gradient(90deg, #050A30, #1e3a8a); /* Gradient color */
    -webkit-background-clip: text; /* Apply gradient to text */
    color: transparent; /* Make text transparent to show gradient */
    position: relative;
    padding-bottom: 1rem;
  }
  
  h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #050A30; /* Line under the title */
    margin: 0.5rem auto 0; /* Center the line */
    border-radius: 5px;
  }
  
  /* Navbar Styles */
/* Navbar Styles */
.navbar {
    background: #030720;
    color: #fff;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
.navbar .navbar-logo {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 1.7rem;
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
  }
  .navbar .navbar-logo a {
    color: #fff;
    text-decoration: none;
  }

  .navbar .navbar-logo img {
    width: 40px; /* Reduced size for navbar */
    margin-right: 15px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 3px;
  }

  .navbar .navbar-logo img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
  }

  /* Hero Banner Logo */
  .hero-logo {
    width: 120px; /* Increased size for hero */
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #d1d5db);
    padding: 8px;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .navbar .logo:hover {
    color: #d1d5db;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin-right: 0;
  }
  
  .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #050A30, #1e3a8a);
    transition: width 0.3s ease;
  }
  
  .nav-link:hover {
    color: #d1d5db; /* Lighter color on hover */
    transform: translateY(-3px); /* Slight zoom effect */
  }
  
  .nav-link:hover::after {
    width: 100%; /* Underline expands on hover */
  }
  
  .nav-link.active {
    color: #d1d5db; /* Active link color */
  }
  
  .nav-link.active::after {
    width: 100%; /* Always show underline for active link */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .nav-links {
      flex-direction: column;
      gap: 1rem;
      background: #050A30;
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      display: none;
      padding: 1rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-link {
      text-align: center;
      padding: 0.5rem 0;
    }
  }
  
  /* Hero Section Styles */
.hero {
    position: relative;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    z-index: -1;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)); /* Gradient overlay */
    z-index: -1;
  }
  
  .hero-content {
    z-index: 1;
    color: #fff;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #d1d5db); /* Gradient text */
    -webkit-background-clip: text;
    color: transparent;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #d1d5db; /* Lighter text for contrast */
  }
  
  .hero-content .btn {
    background: linear-gradient(90deg, #050A30, #1e3a8a);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .hero-content .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  }
  /* About Section Styles */
.about {
    padding: 4rem 0;
    background: #fff; /* Clean white background */
  }
  
  .about h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #050A30, #1e3a8a); /* Gradient matching theme */
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
  }
  
  .about h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #050A30;
    margin: 0.5rem auto 0;
    border-radius: 5px;
  }
  
  .about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-radius: 10px; /* Add border-radius for a card-like appearance */
    overflow: hidden; /* Ensure the border-radius is applied correctly */
  }
  
  .about-text {
    flex: 1;
    padding: 20px; /* Add padding */
    background-color: #f9f9f9; /* Subtle background color */
    text-align: center; /* Center the button */
  }
  
  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .about-text .highlight {
    color: #050A30; /* Primary theme color for emphasis */
    font-weight: bold;
  }
  
  .about-text .btn {
    background: linear-gradient(90deg, #050A30, #1e3a8a);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
  }
  
  .about-text .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  .about-image {
    flex: 1;
    text-align: center;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease;
  }
  
  .about-image img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .about-content {
      flex-direction: column;
    }
  
    .about-image {
      margin-top: 2rem;
    }
  }
  
  /* Experience Section Styles */
.experience {
    padding: 4rem 0;
    background: #f9f9f9; /* Light background for contrast */
  }
  
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #050A30; /* Vertical line matching theme */
    left: 50%;
    transform: translateX(-50%);
  }
  
  .timeline-item {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
  }
  
  .timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 15px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
  }
  
  .timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    max-width: 45%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
  }
  
  .timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #050A30; /* Primary theme color */
  }
  
  .timeline-content .company {
    font-size: 0.9rem;
    color: #555; /* Slightly muted color */
    margin-bottom: 0.5rem;
  }
  
  .timeline-content .description {
    font-size: 0.9rem;
    color: #333;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .timeline::before {
      left: 20px;
    }
  
    .timeline-item {
      flex-direction: column;
    }
  
    .timeline-item:nth-child(odd) {
      flex-direction: column;
    }
  
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
      display: none; /* Remove arrows on smaller screens */
    }
  
    .timeline-content {
      max-width: 100%;
    }
  }

  .skills h2 {
    background: linear-gradient(90deg, #ffffff, #d1d5db); /* Light gradient for contrast */
    -webkit-background-clip: text;
    color: transparent;
  }
  
  .skills h2::after {
    background: #ffffff; /* White underline */
  }


  /* Contact Section Styles */
.contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #050A30, #1e3a8a);
    color: #fff;
  }
  
  .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    color: transparent;
  }
  
  .contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .contact-info {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .contact-info p {
    margin: 0.5rem 0;
  }
  
  .contact-info i {
    margin-right: 0.5rem;
    color: #d1d5db; /* Lighter icon color */
  }
  
  .contact-info a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-info a:hover {
    color: #fff;
  }
  
  #contact-form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #contact-form input,
  #contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  #contact-form input:focus,
  #contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    outline: none;
  }
  
  #contact-form textarea {
    resize: none;
    height: 150px;
  }
  
  .btn {
    background: linear-gradient(90deg, #050A30, #1e3a8a);
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
  }
  
  .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .contact-details {
      gap: 1rem;
    }
  
    #contact-form {
      max-width: 100%;
    }
  
    #contact-form input,
    #contact-form textarea {
      font-size: 0.9rem; /* Smaller font size for mobile */
    }
  }
  
 /* Skills Section Gradient Background */
 .skills {
    padding: 4rem 0;
    background: linear-gradient(135deg, #050A30, #1e3a8a); /* Gradient matching theme */
    color: #fff; /* White text for contrast */
  }
  
  .skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .skill-item {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background for cards */
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
  }
  
  /* Contact Section Gradient Background */
  .contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #050A30, #1e3a8a); /* Gradient matching theme */
    color: #fff; /* White text for contrast */
  }
  
  #contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  #contact-form input,
  #contact-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    color: #fff; /* White text */
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  #contact-form input:focus,
  #contact-form textarea:focus {
    background: rgba(255, 255, 255, 0.2); /* Slightly brighter background on focus */
    transform: scale(1.02); /* Slight zoom effect */
    outline: none;
  }
  
  #contact-form textarea {
    resize: none;
    height: 150px;
  }
  
  /* Button Styles */
  .btn {
    background: linear-gradient(90deg, #050A30, #1e3a8a); /* Gradient matching theme */
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
  }
  
  .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
  }

  footer {
    background: linear-gradient(135deg, #050A30, #1e3a8a); /* Gradient matching theme */
    color: #fff;
    text-align: center;
    padding: 1rem 0; /* Reduced padding for smaller height */
  }
  
  footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem; /* Reduce spacing between text and icons */
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem; /* Add slight spacing above icons */
  }
  
  .social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #d1d5db; /* Lighter color on hover */
    transform: scale(1.2); /* Slight zoom effect */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    #contact-form {
      max-width: 100%; /* Full width on smaller screens */
    }
  
    #contact-form input,
    #contact-form textarea {
      font-size: 0.9rem; /* Smaller font size for mobile */
    }
  }
  
  .social-icons a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.2rem;
  }
  
  /* Responsive Design */
/* 404 Error Page Styles */
.error-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #050A30, #1e3a8a);
    color: #fff;
}

.error-container h1 {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    color: transparent;
}

.error-container p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #ffffff, #d1d5db);
    color: #050A30;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {

    .hero-content {
      text-align: center;
    }

    h2 {
        font-size: 2rem; /* Smaller font size for mobile */
      }

    .error-container h1 {
        font-size: 4rem;
    }

    .error-container p {
        font-size: 1.2rem;
    }
  }

  /* Floating Actions Styles */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
  }
  
  .btn-floating {
    background: linear-gradient(90deg, #050A30, #1e3a8a);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-floating:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .social-links-floating {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .social-links-floating a {
    background: #fff;
    color: #050A30;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .social-links-floating a:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  }
/* Enhanced Timeline Styles */
.timeline-item {
    margin-bottom: 20px;
    padding: 0; /* Remove default padding */
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #050A30; /* Match the theme color */
    margin-bottom: 0.5rem;
}

.timeline-content .company {
    font-size: 1rem;
    color: #555;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.timeline-content .description {
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
}

/* Timeline Arrow */
.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 12px solid transparent;
    border-left-color: #fff;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 12px solid transparent;
    border-right-color: #fff;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        display: none;
    }

    .timeline-content {
        max-width: 100%;
    }
}

/* About Section Styles */
.about-content {
    border-radius: 10px;
    overflow: hidden;
}

.about-text {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center; /* Center the button */
}

.logo {
  width: 100px; /* Adjust the width as needed */
  height: auto;
  margin-bottom: 20px; 
}
