/* Reset margins and ensure body spans full viewport height */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* Takes up at least the full screen height */
}

/* Centers the inner div and forces the footer downward */
.content-wrapper {
  flex: 1;
  /* Absorbs all remaining vertical space */
  display: flex;
  justify-content: center;
  /* Horizontally centers the child div */
  align-items: center;
  /* Vertically centers the child div */
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  /* space between rows */
  width: 100%;
}

img {
  width: 100%;
  height: auto;
}

.row {
  width: 100%;
  max-width: 100%;
  /* individual row width limit */
}

/* Optional styling for your footer */
.site-footer {
  background-color: transparent;
  color: white;
  text-align: center;
  padding: 15px;
}

/*--------------------------------------
     Background image
----------------------------------------*/

.bg {
  background: url(../images/bg.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  position: relative;
  text-align: center;
}

/* Base styles and custom variables */
:root {
  --primary-color: #579dae;
  /* Modern Indigo color */
  --primary-hover: #579dae;
  /* Darker shade for hover state */
  --bg-color: #f9fafb;
  /* Off-white background */
  --text-dark: #ffffff;
  /* Dark gray text */
  --text-muted: #ffffff;
  /* Medium gray for paragraph text */
  --border-radius: 8px;
  /* Clean rounded look */
}

/* Card Container layout */
.notify-container {
  max-width: 700px;
  margin: 4rem auto;
  padding: 2.5rem;
  background-color: transparent;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.notify-container h2 {
  color: var(--text-dark);
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.notify-container p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

/* Form layout structure */
.notify-form {
  width: 100%;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

/* HTML5 Input Styling */
.notify-input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  outline: none;
  transition: all 0.2s ease;
}

/* Focus and input states */
.notify-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Native HTML5 validation styling hooks */
.notify-input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

/* Button Styling */
.notify-button {
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.notify-button:hover {
  background-color: var(--primary-hover);
  /* */
}

.notify-button:active {
  transform: scale(0.98);
}

/* Responsive adjustment for small mobile viewports */
@media (max-width: 480px) {
  .notify-container {
    margin: 1.5rem;
    padding: 1.5rem;
  }

  .input-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .notify-button {
    width: 100%;
  }
}

/* Target the button directly */
.effect-button {
  /* Key property: name | duration | timing-function | infinite loop */
  animation: pulseEffect 2s ease-in-out infinite;
}

@keyframes pulseEffect {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
  }

  50% {
    transform: scale(1.05);
    /* Creates a widening ripple/glow effect */
    box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
  }
}

.social-icons {
  gap: 20px;
}

.social-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Hover effects */
.social-icon:hover {
  transform: translateY(-5px);
}

.social-icon.twitter:hover {
  background-color: var(--primary-color);
}

.social-icon.linkedin:hover {
  background-color: var(--primary-color);
}

.social-icon.whatsapp:hover {
  background-color: var(--primary-color);
}

.social-icon.telegram:hover {
  background-color: var(--primary-color);
}
