/* --- Global Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
  color: white;
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ffe0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover,
nav a.active {
  color: #00ffe0;
}

/* --- Hero Section --- */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c') center/cover no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  animation: fadeInUp 1.5s ease;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content span {
  color: #00ffe0;
}

.hero-content p {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #ccc;
}

.btn {
  background: #00ffe0;
  color: #0f2027;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: white;
  color: #0f2027;
}

/* --- About Preview --- */
.about-preview {
  text-align: center;
  padding: 80px 50px;
  background: #12232e;
}

.about-preview h2 {
  font-size: 2rem;
  color: #00ffe0;
  margin-bottom: 20px;
}

.about-preview p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ccc;
}

.btn-secondary {
  color: #00ffe0;
  border: 2px solid #00ffe0;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #00ffe0;
  color: #0f2027;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 20px;
  background: #0b141a;
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    gap: 15px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* --- About Page --- */
.about-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 50px;
  background: linear-gradient(120deg, #12232e, #203a43);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1100px;
  gap: 50px;
}

.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00ffe0;
  box-shadow: 0 0 25px rgba(0, 255, 224, 0.5);
  transition: transform 0.3s;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-text {
  flex: 1;
  color: #eee;
  animation: fadeInUp 1.5s ease;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.about-text span {
  color: #00ffe0;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.about-text .quote {
  font-style: italic;
  color: #00ffe0;
  margin-top: 20px;
}

/* --- Skills Section --- */
.skills-section {
  text-align: center;
  padding: 80px 50px;
  background: #0f2027;
}

.skills-section h2 {
  color: #00ffe0;
  font-size: 2rem;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.skill-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00ffe0;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.skill-card:hover {
  background: #00ffe0;
  color: #0f2027;
  transform: translateY(-5px);
}

/* --- Services Page --- */
.services-section {
  text-align: center;
  padding: 80px 50px;
  background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
}

.services-section h1 {
  font-size: 2.5rem;
  color: #00ffe0;
  margin-bottom: 15px;
}

.services-section span {
  color: #fff;
}

.intro-text {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00ffe0;
  border-radius: 15px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.2);
}

.service-card h2 {
  color: #00ffe0;
  margin-bottom: 15px;
}

.service-card p {
  color: #ddd;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-8px);
  background: #00ffe0;
  color: #0f2027;
  box-shadow: 0 0 25px rgba(0, 255, 224, 0.6);
}

.service-card:hover h2 {
  color: #0f2027;
}

@media (max-width: 768px) {
  .services-section {
    padding: 50px 20px;
  }
}

/* --- Projects Page --- */
.projects-section {
  text-align: center;
  padding: 80px 50px;
  background: linear-gradient(120deg, #12232e, #203a43);
}

.projects-section h1 {
  font-size: 2.5rem;
  color: #00ffe0;
  margin-bottom: 15px;
}

.projects-section span {
  color: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00ffe0;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.2);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
  color: #eee;
}

.project-info h2 {
  color: #00ffe0;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

.project-card:hover {
  transform: translateY(-8px);
  background: #00ffe0;
  color: #0f2027;
  box-shadow: 0 0 30px rgba(0, 255, 224, 0.6);
}

.project-card:hover h2,
.project-card:hover p {
  color: #0f2027;
}

@media (max-width: 768px) {
  .projects-section {
    padding: 50px 20px;
  }
}

/* --- Contact Page --- */
.contact-section {
  padding: 80px 50px;
  text-align: center;
  background: linear-gradient(120deg, #12232e, #203a43);
}

.contact-section h1 {
  font-size: 2.5rem;
  color: #00ffe0;
  margin-bottom: 15px;
}

.contact-section span {
  color: #fff;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  width: 400px;
  border: 1px solid #00ffe0;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.2);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  outline: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #ccc;
}

.contact-form .btn {
  width: 100%;
  padding: 12px;
  background: #00ffe0;
  border: none;
  color: #0f2027;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form .btn:hover {
  background: #00c8a2;
}

.contact-info {
  color: #eee;
  width: 300px;
  text-align: left;
}

.contact-info h2 {
  color: #00ffe0;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links img {
  width: 30px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, .contact-info {
    width: 100%;
    max-width: 400px;
  }
}

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0.9);
}

.social-links img:hover {
  transform: scale(1.2);
  filter: brightness(1.3);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0077b6;
}

.logo img {
  width: 70px;          /* Increased from 45px */
  height: 70px;         /* Increased from 45px */
  margin-right: 12px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 119, 182, 0.4);
}

.logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 119, 182, 0.6);
}

.logo span {
  font-size: 2rem;       /* Slightly larger text */
  letter-spacing: 1px;
}
