body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f4f4f4;
  color: #222;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh; /* Centers content vertically */
}

.container {
  margin-top: 80px;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); /* Soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

h1 {
  font-size: 2em;
  margin: 0;
}

.tagline {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

nav {
  position: fixed;
  top: 20px;
  right: 30px;
  z-index: 1000;
}

nav a {
  color: #007bff;
  text-decoration:none;
  font-weight: bold;
  font-size: 1em;
  margin-left: 18px;
  transition: color 0.3s ease; /* Smooth hover color */
}

nav a:hover {
  color: #0056b3; /* Darker shade on hover */
}

nav a:first-child {
  margin-left: 0px;
}

.section {
  margin-bottom: 40px;
}

.app-link a {
  font-weight: bold;
  font-size: 1em;
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.app-link a:hover {
  color: #0056b3;
  transform: scale(1.05);
}

.myandroidapps a {
  margin-top: 20px;
  font-weight: bold;
  font-size: 1.0em;
  color: #007bff;
  text-decoration: none;
}

/* Hero Section Styles */
.hero-section {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  border: 4px solid #007bff;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.25);
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}

.text-content {
  flex: 1;
  text-align: left;
  max-width: 500px;
}

.text-content h1 {
  font-size: 3em;
  margin: 0 0 10px 0;
  color: #333;
  font-weight: 700;
}

.text-content h2 {
  font-size: 1.8em;
  margin: 0 0 20px 0;
  color: #007bff;
  font-weight: 500;
}

.text-content p {
  font-size: 1.1em;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.hero-graphics {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

.abstract-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  position: relative;
  opacity: 0.1;
}

.abstract-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.abstract-bg::after {
  content: '';
  position: absolute;
  bottom: 30%;
  right: 15%;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.hero-sidebar {
  position: absolute;
  top: 50%;
  right: 60px;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.software-icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.icon-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-5px);
}

.icon-item img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.icon-item span {
  font-weight: 600;
  color: #333;
  font-size: 0.95em;
}

.android-icon {
  font-size: 1.5em;
  color: #3ddc84;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-primary, .btn-secondary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #007bff;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
  background: white;
  color: #333;
  border: 2px solid #e9ecef;
}

.btn-secondary:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  transform: translateY(-2px);
}

.btn-secondary.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-secondary.disabled:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  transform: none;
}

.btn-icon {
  font-size: 1.1em;
}

/* Projects Section */
.projects-header {
  text-align: center;
  margin: 60px 0 40px;
}

.projects-header h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #333;
}

.projects-subtitle {
  font-size: 1.1em;
  color: #666;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

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

.project-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  border: 1px solid #e9ecef;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 2.5em;
  margin-bottom: 20px;
  display: block;
}

.project-card h3 {
  font-size: 1.4em;
  margin: 0 0 15px 0;
  color: #333;
}

.project-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 0.95em;
}

.project-card .app-link a {
  display: inline-block;
  background: #007bff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95em;
}

.project-card .app-link a:hover {
  background: #0056b3;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  nav {
    position: static;
    margin-top: 15px;
  }
  .container {
    margin-top: 40px;
  }
  .profile-image {
    width: 120px;
    height: 120px;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-section {
    padding: 40px 20px 30px;
    margin: 10px auto;
  }
  
  .projects-header {
    margin: 40px 0 30px;
  }
  
  .projects-header h2 {
    font-size: 1.8em;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .project-card {
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 25px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

/* About Page Styles */
.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-header {
  flex: 1;
}

.about-profile-image {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-profile-image:hover {
  transform: scale(1.05);
}

.about-tagline {
  font-size: 1.2em;
  color: #555;
  margin-top: 10px;
  font-weight: 500;
}

.about-content {
  display: grid;
  gap: 40px;
}

.about-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.about-section h2 {
  font-size: 1.6em;
  margin-bottom: 20px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section p {
  line-height: 1.6;
  color: #666;
  margin-bottom: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.skill-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.skill-item h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

.skill-item p {
  font-size: 0.95em;
  color: #666;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.contact-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #333;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

.contact-link:hover {
  color: #0056b3;
  background: #e7f3ff;
}

.contact-icon {
  font-size: 1.2em;
}

/* Hero Section Mobile Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-sidebar {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    margin-top: 30px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  
  .hero-graphics {
    position: static;
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content {
    gap: 30px;
    padding: 0 20px;
  }
  
  .profile-section {
    flex-direction: column;
    gap: 20px;
  }
  
  .profile-pic {
    width: 150px;
    height: 150px;
  }
  
  .text-content {
    text-align: center;
    max-width: none;
  }
  
  .hero-graphics {
    height: 150px;
  }
  
  .hero-sidebar {
    margin-top: 20px;
    padding: 20px;
  }
  
  .software-icons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .icon-item {
    flex: 1 1 0 0;
    min-width: 120px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    gap: 20px;
    padding: 0 15px;
  }
  
  .profile-pic {
    width: 120px;
    height: 120px;
  }
  
  .software-icons {
    gap: 15px;
  }
  
  .icon-item {
    padding: 12px;
    min-width: 100px;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
  .about-hero {
    flex-direction: column;
    gap: 25px;
    padding: 30px 20px;
  }
  
  .about-content {
    gap: 30px;
  }
  
  .about-section {
    padding: 25px 20px;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .about-container {
    padding: 15px;
  }
  
  .about-hero {
    padding: 25px 15px;
  }
  
  .about-section {
    padding: 20px 15px;
  }
  
  .skill-item, .contact-item {
    padding: 20px 15px;
  }
}