
/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f0f4f8, #dfe9f3); /* Light gradient background */
  margin: 0;
  padding: 0;
  color: #333; /* Darker text for readability */
  line-height: 1.6;
}

/* Header Styles */
header {
  background: linear-gradient(45deg, #4a90e2, #0056b3); /* Cool gradient for header */
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Lighter shadow for modern look */
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

header h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  flex: 1; /* Allows the h1 to take up available space */
  text-align: center; /* Center-aligns the text within the flex item */
}

header img {
  height: 40px;
  width: auto;
  margin-left: 20px;
}

/* Main Styles */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px; /* Space for fixed header and padding */
  background: #f0f4f8; /* Light background for contrast */
  min-height: 100vh; /* Full viewport height for vertical centering */
}

.doggy, .container {
  background: #ffffff; /* Clean white background */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
  padding: 60px;
  max-width: 800px; /* Limit width for better readability */
  width: 100%; /* Ensure full width within the max-width constraint */
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doggy::before, .container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
  z-index: 0;
}

.doggy h2, .container h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.doggy p, .container p {
  font-size: 20px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
  z-index: 1;
  position: relative;
}

.doggy button, .container button {
  padding: 15px 30px;
  font-size: 18px;
  color: #ffffff;
  background: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  z-index: 1;
}

.doggy button:hover, .container button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.container form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative; /* Ensures no overlapping issues */
}

.container label {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  z-index: 1;
}

.container input[type="email"] {
  padding: 15px;
  font-size: 18px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  outline: none;
  position: relative; /* Ensure it’s not hidden behind other elements */
  z-index: 2; /* Bring it above other elements */
}

.container input[type="email"]::placeholder {
  color: #aaa;
}

.container input[type="email"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Footer Styles */
footer {
  padding: 20px;
  background: linear-gradient(45deg, #4a90e2, #0056b3); /* Matching gradient for footer */
  color: white;
  text-align: center;
  position: relative; /* Ensure icons are positioned correctly */
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

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

.footer-icons {
  display: flex;
  gap: 15px;
}

.footer-icons a {
  color: white; /* Color for the icons */
  font-size: 24px; /* Adjust size as needed */
  transition: transform 0.3s ease;
}

.footer-icons a:hover {
  transform: scale(1.2); /* Zoom effect on hover */
}

/* Contact Section Styles */
.contact {
  background: #ffffff; /* Clean white background */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
  padding: 60px;
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
  z-index: 0;
}

.contact h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.contact .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px; /* Larger icon size */
  height: 80px; /* Larger icon size */
  background: none; /* No background */
  border: none; /* No border */
  color: #007bff; /* Blue color for the icon */
  font-size: 60px; /* Larger icon size */
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.contact .contact-icon:hover {
  color: #0056b3; /* Darker shade of blue on hover */
  transform: scale(1.1); /* Slight zoom effect on hover */
}

/* Mobile Styles */
@media (max-width: 768px) {
  main {
    padding: 60px 20px;
  }

  .doggy, .container, .contact {
    width: 90%;
    padding: 30px;
  }

  .doggy h2, .container h2, .contact h2 {
    font-size: 24px;
  }

  .doggy p, .container p {
    font-size: 18px;
  }

  .container input[type="email"], .container button {
    font-size: 16px;
  }

  .contact .contact-icon {
    width: 60px; /* Slightly smaller icon for mobile */
    height: 60px; /* Slightly smaller icon for mobile */
    font-size: 48px; /* Slightly smaller icon size for mobile */
  }

  .contact, .container {
    background: #ffffff; /* Clean white background */
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    padding: 60px;
    max-width: 800px; /* Limit width for better readability */
    width: 65%; /* Ensure full width within the max-width constraint */
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .doggy, .container {
    background: #ffffff; /* Clean white background */
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); /* Enhanced shadow for depth */
    padding: 60px;
    max-width: 800px; /* Limit width for better readability */
    width: 65%; /* Ensure full width within the max-width constraint */
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
}
