
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #bccee0;
  color: #222;
  line-height: 1.6;
}

header {
  background: #eff1f1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}



.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.logo span {
  color: #007bff;
}

/* .nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links li a:hover,
.btn.contact-btn:hover {
  color: #007bff;
} */

/* ...existing code... */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  padding: 0.5rem 0;
  transition: color 0.2s;
  position: relative;
  display: inline-block;
}

.nav-links li a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: #007bff;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: 0;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #2b7587;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}
/* ...existing code... */

.btn {
  background: #007bff;
  color: #fff;
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
  margin-left: 1rem;
  cursor: pointer;
}

.btn.outlined {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.btn:hover,
.btn.outlined:hover {
  background: #0056b3;
  color: #fff;
  border-color: #0056b3;
}

.hero {
  background: #edeadf;
  padding: 4rem 0;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 350px;
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro-text .highlight {
  color: #007bff;
}

.social-icons {
  margin: 1rem 0;
}

.social-icons a {
  color: #222;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #007bff;
}

.hero-buttons {
  margin-top: 1.5rem;
}

.hero-img {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  width: 280px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.about {
  max-width: 1200px;
  margin: 4rem auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.about-img img {
  width: 190px;
  height: 220px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.about-content {
  flex: 1 1 350px;
}
.about-content p {
  margin-bottom: 2rem;
}
.about-content a.btn{
    margin-top: 2rem !important; /* Adjust this value as needed */
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.services {
  background: #b9c2b9;
  padding: 4rem 0;
}

.services h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.service-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Projects Section */
.projects {
  background: #d7d2e8;
  padding: 4rem 0;
}

.projects h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.projects-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  background: #f1f3f6;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.project-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.project-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Skills Section */
.skills {
  background: #f5d9d9;
  padding: 8rem 0;
}

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.skills-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  list-style: none;
  padding: 10px;
  height: 200px;
}

.skills-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 2rem;
  font-weight: 600;
  font-size: 1.15rem;
 
}

.skills-list li:hover {
  color: #007bff;
  cursor: pointer;
  animation: bounce 0.8s infinite alternate;
}

/* Interests Section */
.interests {
  background: #c2efd0;
  padding: 4rem 0;
}

.interests h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.interests-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  
}

.interests-list li {
  background: #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .projects-list,
  .skills-list,
  .interests-list {
    flex-direction: column;
    align-items: center;
  }
}

.card {
  background: #f1f3f6;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem;
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .hero-content,
  .about {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .hero-img,
  .about-img {
    justify-content: center;
  }
  .service-cards {
    flex-direction: column;
    align-items: center;
  }
}

.footer {
  background: #222;
  color: #91968a;
  text-align: center;
  padding: 0.5rem 0;
  margin-top: 2rem;
  font-family: 'Times New Roman', Times, serif;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  display: inline;
}

.highlight {
  color: #ff9800; /* Your highlight color */
}

.intro-text h1 span {
  border-right: 2px solid #ff9800;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

.intro-text h2 span {
  border-right: 2px solid #ff9800;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}

/* --- Project Card Hover Animations --- */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  transition: transform 0.3s ease;
}

/* Icon bounce animation */
.project-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.project-card:hover .project-icon {
  animation: bounce 0.8s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* link animation */
.project-link {
  display: inline-block;
  margin-top: 1rem;
  position: relative;
  color: #4a3dbf;
  text-decoration: none;
  font-weight: bold;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #4a3dbf;
  transition: width 0.3s ease;
}

.project-link:hover::after {
  width: 100%;
}

.photography {
  background: #f5f1c1;
  padding: 2rem 1rem;
  text-align: center;
}

.photography h2 {
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}

.gallery-container {
  position: relative;
  max-width: 1150px;
  margin: auto;
  overflow: hidden;
}

.gallery {
  display: flex;
  gap: 8px;
  transition: transform 0.4s ease;
  overflow-x: auto;       /* important for scrollBy to work */
  scroll-behavior: smooth;/* smooth native scrolling */
}


.gallery img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  z-index: 1;
}

.gallery-btn.prev {
  left: 10px;
}

.gallery-btn.next {
  right: 10px;
}

.gallery-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* Fullscreen Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.prev:hover, .next:hover {
  color: #ccc;
}
