/* -------------------- GLOBAL STYLES -------------------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

.site-title {
  font-family: 'Lobster', cursive; /* Google Font */
  font-size: 3rem;
  background: linear-gradient(90deg, #537CC3, #537CC3);
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  margin: 0;
}

/* -------------------- HEADER -------------------- */

/* Logo left styling */
.logo-left {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.logo-left .logo {
  width: 100px;
  height: auto;
}

/* Header styling (clean, merged) */
header {
  position: relative;
  background: #537CC3; /* Final color */
  color: white;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);

  /* animation */
  opacity: 0;
  transform: translateY(-30px);
  animation: slideFadeIn 1s forwards;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  color: white;

  /* animation */
  opacity: 0;
  transform: translateY(-20px);
  animation: slideFadeIn 1s forwards 0.3s; /* delay for h1 */
}

nav {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: white;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: 0.3s, color 0.3s;

  /* animation */
  opacity: 0;
  transform: translateY(-20px);
  animation: slideFadeIn 0.8s forwards 0.6s; /* delay for nav links */
}

nav a:hover {
  background-color: #36589f; /* darker shade for hover */
  color: #fff;
}

/* Responsive header for mobile */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.5rem;
  }
  nav {
    gap: 10px;
  }
  nav a {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
}

/* -------------------- CONTAINER -------------------- */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  flex: 1;
}

/* -------------------- HOME SECTION -------------------- */
.home-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 20px;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.home-content {
  flex: 1;
}

.home-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #2a9df4;
}

.home-content .highlight {
  color: #ff6600;
}

.home-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #e65c00;
}

.home-image {
  flex: 1;
  text-align: center;
}

.home-image img {
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ---- HOME SECTION ANIMATION ---- */
.home-content,
.home-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 1s forwards;
}

.home-content {
  animation-delay: 0.3s;
}

.home-image {
  animation-delay: 0.6s;
}

/* Keyframes for fade + slide up */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- ABOUT SECTION -------------------- */
.about-section {
  padding: 40px 20px;
  margin-top: 0;
}

.about-section h2 {
  margin-top: 0;
  padding-top: 10px;
  color: #2a9df4;
}

/* -------------------- CONTACT FORM -------------------- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group.full-width {
  grid-column: span 2;
}

.contact-form label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #537CC3;
  box-shadow: 0 0 4px rgba(0,150,136,0.3);
}

.contact-form button {
  grid-column: span 2;
  padding: 12px;
  background: #537CC3;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #00796b;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
  .contact-form button {
    grid-column: span 1;
  }
}

/* -------------------- FOOTER -------------------- */
footer {
  margin-top: auto;
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
  padding: 10px;
}

.footer-container div {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

.footer-container h3,
.footer-container h4 {
  margin-bottom: 10px;
  color: #ffcc00;
}

.footer-container a {
  color: #fff;
  text-decoration: none;
}

.footer-container a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  border-top: 1px solid #444;
  padding-top: 10px;
}

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

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  color: #fff;
  background: #333;
  padding: 8px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #4CAF50;
  color: #fff;
}

/* ---- Keyframes for header animation ---- */
@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

