/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Body Styling */
body {
  background: #f5f7fa;
  color: #333;
  font-size: 16px;
}

/* Header Section */
header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 50px 0;
  text-align: center;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #6a11cb, #2575fc);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.cta-button {
  background: #ff6a00;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease; /* Added transition for transform */
}

.cta-button:hover {
  background: #ff4b2b;
  transform: scale(1.1); /* Added transform on hover */
}

/* Animation Section */
.animation-section {
  background: #2a5298;
  color: white;
  padding: 60px 0;
  text-align: center;
}

.animation-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.circle, .square, .triangle {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.circle:hover {
  background-color: #6a11cb;
  transform: rotate(45deg);
}

.square {
  border-radius: 10px;
  background-color: #2575fc;
}

.square:hover {
  transform: scale(1.2);
  background-color: #1e3c72;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 100px solid #6a11cb;
}

.triangle:hover {
  transform: rotate(180deg);
  border-bottom-color: #ff6a00;
}

/* Added ::before for subtle enhancement on the circle */
.circle::before {
  content: "Hover me!";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.circle:hover::before {
  opacity: 1;
}

/* Transition Section */
.transition-section {
  background: linear-gradient(135deg, #4ca1af, #c4e0e6);
  padding: 60px 0;
  text-align: center;
}

.transition-box {
  background-color: white;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  transition: all 0.5s ease;
}

.transition-box:hover {
  background-color: #1e3c72;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* Form Section */
.form-section {
  background: #2a5298;
  color: white;
  padding: 60px 0;
  text-align: center;
}

form {
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
}

form input, form textarea, form button {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
}

form input, form textarea {
  font-size: 1rem;
}

form button {
  background: #6a11cb;
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background: #2575fc;
  transform: scale(1.1); /* Added transform on hover */
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #4ca1af, #c4e0e6);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
}

.cta-button {
  background: #ff6a00;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background: #ff4b2b;
  transform: scale(1.1); /* Added transform on hover */
}

/* Footer Section */
footer {
  background: #2a5298;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer p {
  font-size: 1rem;
}
