/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  background: linear-gradient(to bottom right, #f0f8ff, #e6f0fa);
  color: #333;
  transition: background-color 0.3s ease;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, #007BFF 0%, #0056b3 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  animation: slideIn 1s ease-out;
  color: #FFD700;
}
.logo:hover {
  color: #00BFFF; /* DeepSkyBlue on hover */
  text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
  cursor:pointer;
}

@keyframes slideIn {
  from {
      transform: translateX(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  position: relative;
  transition: color 0.3s ease;
  font-size: 1.3rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #FFD700;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #FFD700;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-content {
  max-width: 600px;
  background-color: #ffffffc9;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #007BFF;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.btn-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(to right, #007BFF, #00BFFF);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.7);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #007BFF;
  color: #007BFF;
}

.btn-outline:hover {
  background-color: #007BFF;
  color: white;
}

.hero-img {
  margin-top: 2rem;
  animation: zoomIn 1.5s ease-in-out;
}

@keyframes zoomIn {
  from {
      transform: scale(0.95);
      opacity: 0;
  }
  to {
      transform: scale(1);
      opacity: 1;
  }
}

.hero-img img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-img img:hover {
  transform: scale(1.02);
}

/* Footer */
footer {
  background: linear-gradient(90deg, #007BFF, #0056b3);
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero {
      flex-direction: row;
      justify-content: space-between;
      padding: 4rem 2rem;
  }

  .hero-content, .hero-img {
      flex: 1;
  }

  .hero-content {
      text-align: left;
      padding-right: 2rem;
  }

  .hero-img {
      margin-top: 0;
  }
}
/* contact and about section */

/* Smooth Section Styling */
.about, .contact {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
  animation: fadeInUp 1s ease-in-out;
}

/* Section Titles */
.about h2, .contact h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #0077ff;
  position: relative;
  display: inline-block;
}

.about h2::after,
.contact h2::after {
  content: '';
  width: 60%;
  height: 3px;
  background: #0077ff;
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-radius: 5px;
  animation: underline 1s ease-in-out;
}

/* Paragraph Text */
.about p {
  max-width: 800px;
  margin: 15px auto;
  font-size: 1.3rem;
  color: #333;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
}

/* Inputs */
.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0077ff;
  outline: none;
}

/* Submit Button */
.contact-form .btn {
  background-color: #0077ff;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.contact-form .btn:hover {
  background-color: #005fcc;
  transform: scale(1.03);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underline {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

