* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fafafa;
  color: #333;
}

header {
  width: 100%;
  background-color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.logo {
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #4E7A78;
}

.hero {
  height: 85vh;
  width: 100%;
  background: #ececec;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.hero-content span {
  color: #4E7A78;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn, .btn-outline {
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn {
  background-color: #4E7A78;
  color: #fff;
}

.btn:hover {
  background-color: #3d5c58;
}

.btn-outline {
  border: 2px solid #4E7A78;
  color: #4E7A78;
}

.btn-outline:hover {
  background-color: #e0f2f1;
}

section {
  width: 100%;
  padding: 4rem 3vw;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-container img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}
.about-text {
  flex: 1;
  min-width: 280px;

}
.about-text h2 {
  flex: 1;
  min-width: 280px;
font-size: 2.5rem;


}
#skills {
 
  padding: 40px 0;
}

#skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4E7A78;
}

.skills-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.skills-box {
  flex: 1 1 400px;
  max-width: 700px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.skills-box h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}
.skills-box ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  color: #333;
}

.skills-box ul li {
  margin-bottom: 0.5rem;
}



#projects {
  padding: 4rem 3vw;
  background-color: #fafafa;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.project-card {
  flex: 0 1 45%; /* allows wider cards while still wrapping */
  background: #fff; /* match skills box background */
  padding: 1.5rem;
  border-radius: 12px; /* rounded like skills box */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0); /* match skills box shadow */
  }

#projects h2 {
text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4E7A78;

}

.project-card h3 {
  color: #4E7A78;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #333;

}

.view-project-btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #4E7A78;
  color: white;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.view-project-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #4E7A78;
  color: white;
  text-align: center;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-project-btn:hover {
  background-color: #3d5c58;
}

.view-project-btn:active {
  background-color: #3e8e41;
}

@media (max-width: 768px) {
  .skills-box,
  .project-card {
    width: 100%;
    flex: 1 1 100%;
  }
}

footer {
  width: 100%;
  text-align: center;
  padding: 1rem 2rem;
  background: #f0f0f0;
  font-size: 0.9rem;
  color: #666;
}

#education {
  background-color: #f9f9f9;
  padding: 40px 20px;
}

.education-container {
  max-width: 1500px;
  margin: 0 auto;
}

.education-details h3 {
  margin-bottom: 5px;
  font-size: 20px;
  color: #333;
}

.education-details p {
  margin: 5px 0;
  color: #555;
}

.education-details ul {
  padding-left: 20px;
  list-style-type: disc;
  color: #444;
}
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #4E7A78;
}

.education-container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 1300px;
  margin: auto;
}

.education-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.edu-left, .edu-right {
  flex: 1;
  min-width: 280px;
}

.edu-left h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.edu-left p {
  margin: 0.4rem 0;
}

.edu-right ul {
  padding-left: 1.2rem;
  list-style-type: disc;
}

@media (max-width: 768px) {
  .education-card {
    flex-direction: column;
  }
}
#contact {
  background-color: #f9f9f9;
  padding: 4rem 3vw;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

#contact h2 {
  font-size: 2.5rem;
  color: #4E7A78;
  margin-bottom: 1rem;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #333;
}

form input, form textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.8rem 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  width: 100%;
  padding: 1rem;
  background-color: #4E7A78;
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #3d5c58;
}

form button:active {
  background-color: #3e8e41;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-links a {
  color: #4E7A78;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #3d5c58;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  padding-left: 20px;
  margin: 0;
}
#business-cases {
  padding: 4rem 3vw;
  background-color: #fafafa;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #4E7A78;
}

#business-cases {
  padding: 4rem 3vw;
  background-color: #fafafa;
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #4E7A78;
}

.business-case-container {
  display: flex;
  flex-direction: column; /* Changed to column to stack the cards vertically */
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.business-case-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
  width: 100%; /* Adjusts the card width to be 100% of its container */
  max-width: 1300px; /* Limit the maximum width */
}

.business-case-card h3 {
  color: #4E7A78;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.business-case-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.view-case-btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  background-color: #4E7A78;
  color: white;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  margin-top: 10px;
}

.view-case-btn:hover {
  background-color: #3d5c58;
}

.view-case-btn:active {
  background-color: #3e8e41;
}

@media (max-width: 768px) {
  .business-case-card {
    width: 100%;
    flex: 1 1 100%;
  }
}

#amazon-logo {
  position: absolute;
  top: 50px;
  right: 50px;
  width: 100px;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#amazon-logo:hover {
  transform: scale(1.1);
}

.image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  padding: 20px;
  gap: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.business-case-card {
  min-width: 300px;
  flex: 0 0 auto;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.business-case-card:hover {
  transform: scale(1.02);
}

.scroll-container::-webkit-scrollbar {
  height: 8px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background-color: #4E7A78;
  border-radius: 4px;
}
.scroll-container::-webkit-scrollbar-track {
  background-color: #e0e0e0;
}

.vertical-scroll-box {
  max-height: 600px;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f4f7f7;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.business-case-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.business-case-card:hover {
  transform: scale(1.01);
}

.vertical-scroll-box::-webkit-scrollbar {
  width: 8px;
}
.vertical-scroll-box::-webkit-scrollbar-thumb {
  background-color: #4E7A78;
  border-radius: 4px;
}
.vertical-scroll-box::-webkit-scrollbar-track {
  background-color: #e0e0e0;
}


 