/* Import Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  background-color: #000; /* Primary Black */
  color: #fff; /* Secondary White */
  font-family: 'IBM Plex Sans', sans-serif; /* Professional font for body text */
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  position: sticky; /* Make the header stick to the top */
  top: 0; /* Ensures it stays at the top */
  z-index: 100; /* Places it above other content */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #000; /* Primary Black */
  border-bottom: 2px solid #fff; /* Section Separator */
}


header .logo h1 {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif; /* Heading Font */
}

header .logo h1::after {
  content: ' - Vedant Singh';
  font-size: 18px;
  font-weight: 400;
  display: block;
  margin-top: 5px;
  font-family: 'IBM Plex Sans', sans-serif;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 120px 20px;
  background-color: #000;
}

.hero h2 {
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-family: 'Montserrat', sans-serif; /* Heading Font */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* Section Styling */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.section:nth-child(even)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, #000 0%, #fff 50%, #000 100%);
}

.section:nth-child(odd)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, #fff 0%, #000 50%, #fff 100%);
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1.5px;
  font-family: 'Montserrat', sans-serif; /* Heading Font */
}

/* About Section */
.about {
  background-color: #111; /* Background for the About section */
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  border-top: 2px solid #fff; /* Divider for a clean separation */
}

/* About Section Content */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* About Image */
.about-image {
  margin-bottom: 20px;
  border-radius: 50%;
  overflow: hidden;
  width: 150px;
  height: 150px;
  border: 3px solid #fff; /* White border around image */
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Text */
.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
  color: #ccc; /* Lighter color for text */
}

/* About Heading */
.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
}


/* Expertise Section */
.expertise-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.expertise-card {
  text-align: center;
  background-color: #111;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px rgba(255, 255, 255, 0.2);
}

.expertise-card i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  transition: color 0.3s ease;
}

.expertise-card:hover i {
  color: #ccc;
}

.expertise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif; /* Heading Font */
}

/* Work Section */
.projects {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  background-color: #111;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.project-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif; /* Heading Font */
}

/* Social Media */
.social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-media a {
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-media a:hover {
  background-color: #333;
  transform: scale(1.1);
}

/* Contact Form */
.contact form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  padding: 15px;
  font-size: 1rem;
  border: 2px solid #fff;
  border-radius: 10px;
  background-color: #000;
  color: #fff;
}

form button {
  padding: 15px;
  font-size: 1.2rem;
  border: none;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background-color: #ccc;
}

/* Footer */
footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  color: #fff;
  border-top: 2px solid #fff;
  font-size: 0.9rem;
}

footer::after {
  content: '© 2024 Vedant Singh. All Rights Reserved.';
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* Live Stats */

#live-stats {
  padding: 50px 0;
  background-color: #000;
  color: #fff;
  position: relative; /* To position the gradient divider */
}

#live-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, #000 0%, #fff 50%, #000 100%);
}

#live-stats {
  padding: 50px 0;
  background-color: #000;
  color: #fff;
}

#live-stats h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 50px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

.stat-item p {
  font-size: 1.2rem;
  color: #ccc;
}

.connect {
  text-align: center;
  margin-top: 40px;
}

.connect h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.connect .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #fff;
  color: #000;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  margin: 10px;
  transition: background-color 0.3s, color 0.3s;
}

.connect .btn:hover {
  background-color: #333;
  color: #fff;
}

/* FAQ Section Styling */
#faq {
  background-color: #000;
  padding: 50px 0;
  color: #333;
}
#faq {
  background-color: #000;
  padding: 50px 15%; /* Adjust the horizontal padding to create space on both sides */
  color: #333;
  box-sizing: border-box;
  position: relative; /* To position the gradient divider */
}

#faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, #000 0%, #fff 50%, #000 100%);
}


#faq .faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  margin-bottom: 30px;
  color: #fff;
  font-weight: bold;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-question {
  padding: 20px;
  background-color: #000;
  color: #fff;
  font-size: 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  width: 100%;
}

.faq-question:hover {
  background-color: #444;
}

.faq-question i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

/* FAQ Section Styling */
#faq {
  background-color: #000;
  padding: 50px 15%; /* Adjust the horizontal padding to create space on both sides */
  color: #333;
  box-sizing: border-box;
}

/* FAQ Title */
#faq .faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  margin-bottom: 30px;
}

/* FAQ Items */
.faq-item {
  margin-top: 20px;
}


/* FAQ Question */
.faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  display: flex;
  align-items: center;
}

.faq-question i {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

/* FAQ Answer */
.faq-answer {
  display: none;
  padding: 15px 25px;
  background-color: #666;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  font-family: 'IBM Plex Sans', sans-serif;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  display: block;
  opacity: 1;
  max-height: 200px; /* Adjust as needed */
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}


/* Responsive FAQ Container */
@media (max-width: 768px) {
  #faq {
      padding: 50px 20px; /* Adjust padding for smaller screens */
  }
}
