/* style.css */

:root {
  --primary-color: #00bcd4;
  --bg-color: #0d1117;
  --text-color: #ffffff;
  --accent-color: #ff4081;
  --font-main: 'Poppins', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}
/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.8rem 2rem;
  transition: background 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #00ffd5;
}

/* Hamburger styles for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.open {
    max-height: 300px;
  }

  .hamburger {
    display: flex;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(to right, #0f0f0f, #1c1c1c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-text h1 span {
  color: #00ffd5;
}

.hero-text p {
  margin: 1rem 0;
  font-size: 1.2rem;
  color: #ccc;
  animation: fadeInUp 1.5s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  animation: fadeInUp 2s ease-out;
}

.btn {
  background: #00ffd5;
  color: #000;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #00cbb3;
}

.btn.outline {
  background: transparent;
  border: 2px solid #00ffd5;
  color: #00ffd5;
}

.btn.outline:hover {
  background: #00ffd5;
  color: #000;
}

.hero-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 5px solid #00ffd5;
  box-shadow: 0 0 20px #00ffd5;
  object-fit: cover;
  animation: fadeInRight 2s ease-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #00ffd5;
  box-shadow: 0 0 15px #00ffd5;
  object-fit: cover;
  animation: fadeInRight 2s ease-out;
}

  .hero-text h1 {
    font-size: 2.2rem;
  }
}



@keyframes typewriter {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blinkTextCursor {
  from { border-right-color: rgba(255,255,255,.75); }
  to { border-right-color: transparent; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


footer {
  padding: 2rem;
  background-color: #0d1117;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Lazy loading fade effect */
.lazy {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.lazy-loaded {
  opacity: 1;
}


.projects-section {
  background: #0c0c0c;
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.projects-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #00ffd5;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.1);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.3);
}

.project-card h3 {
  color: #00ffd5;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.project-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 20px;
}

.project-links a {
  display: inline-block;
  margin: 5px 10px;
  padding: 8px 16px;
  background: #00ffd5;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.project-links a:hover {
  background: #00bfa6;
}


/* Responsive tweaks */
@media screen and (max-width: 768px) {
  

  
}

@media screen and (max-width: 480px) {
  
  .project-grid {
    grid-template-columns: 1fr;
  }
}
.about-section {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  padding: 80px 20px;
  color: #fff;
  text-align: center;
  animation: fadeInUp 2s ease-out;
}

.about-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #00ffd5;
  position: relative;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text .highlight {
  color: #00ffd5;
  font-weight: bold;
}

.contact-section {
  background: #0f0f0f;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contact-section .section-title {
  font-size: 2.5rem;
  color: #00ffd5;
  margin-bottom: 20px;
}

.contact-message {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 30px;
}

.contact-details p {
  font-size: 1.1rem;
  color: #eee;
}

.copy-btn {
  background-color: #00ffd5;
  border: none;
  padding: 6px 12px;
  margin-left: 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.copy-btn:hover {
  background-color: #00bfa6;
  color: #000;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  margin: 0 10px;
  font-size: 2rem;
  color: #00ffd5;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00bfa6;
}
