/* WhatsApp button */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px; /* Increase bottom to give more space */
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}

.text-width {
  width: max-content;
}
.play-regular {
  font-family: "Play", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

.play-bold {
  font-family: "Play", sans-serif !important;
  font-weight: 700;
  font-style: normal;
}
/*=====preloder css========*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loaded .preloader {
  display: none;
}

.preloder-logo {
  width: 200px;
  height: auto;
}

/* Gradient Text Effect */
.text-gradient {
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #f9cb28,
    #4dff4d,
    #4df2ff,
    #9d4dff
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 8s ease infinite;
}

/* Gradient Animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating Background Text Effect */
@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -55%) scale(1.02);
  }
}
/* Base Styles */
:root {
  --primary: #21759b;
  --primary-light: #e1f0f7;
  --accent: #ff7b00;
  --dark: #2d3748;
  --light: #f8f9fa;
  --gray: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
  min-height: 100vh;
}

/* Contact Page Layout */
.contact-page-container {
  display: flex;
  min-height: 100vh;
}

.contact-animation-side {
  flex: 1;
  background: linear-gradient(
    135deg,
    rgba(33, 117, 155, 0.1) 0%,
    rgba(33, 117, 155, 0.05) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-form-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Animation Elements */
.animation-element {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.animation-element i {
  font-size: 5rem;
  color: var(--primary);
  z-index: 2;
}

.pulse-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 117, 155, 0.1);
  border-radius: 50%;
  animation: pulse 3s infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.floating-icon {
  position: absolute;
  color: var(--primary);
  opacity: 0.7;
  font-size: 1.5rem;
}

.icon-1 {
  top: 20%;
  left: 30%;
  animation: float 6s ease-in-out infinite;
}

.icon-2 {
  top: 60%;
  left: 20%;
  animation: float 8s ease-in-out infinite 2s;
}

.icon-3 {
  top: 40%;
  left: 70%;
  animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Original Form Styles (preserved exactly) */
.cf-container {
  width: 100%;
  max-width: 500px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cf-header {
  background: var(--primary);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cf-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: cf-rotate 15s linear infinite;
}

@keyframes cf-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cf-header-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
  animation: cf-bounce 2s infinite;
}

@keyframes cf-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cf-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.cf-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.cf-subtitle {
  opacity: 0.9;
  font-weight: 300;
}

.cf-form {
  padding: 30px;
  display: grid;
  gap: 25px;
}

.cf-form-group {
  position: relative;
}

.cf-label {
  position: absolute;
  left: 0;
  top: 18px;
  color: var(--dark);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cf-icon {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

.cf-input {
  width: 100%;
  padding: 18px 0 8px 0;
  border: none;
  border-bottom: 2px solid var(--gray);
  font-size: 1rem;
  background: transparent;
  transition: all 0.3s ease;
}

.cf-textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 25px;
}

.cf-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
}

.cf-input:focus {
  outline: none;
  border-color: transparent;
}

.cf-input:focus ~ .cf-underline {
  width: 100%;
}

.cf-input:focus + .cf-label,
.cf-input:not(:placeholder-shown) + .cf-label {
  top: 0;
  font-size: 0.8rem;
  color: var(--primary);
}

.cf-submit-btn {
  background: linear-gradient(45deg, var(--primary), #2a92c5);
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(33, 117, 155, 0.3);
}

.cf-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 117, 155, 0.4);
}

.cf-btn-icon {
  transition: transform 0.3s ease;
}

.cf-submit-btn:hover .cf-btn-icon {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-page-container {
    flex-direction: column;
  }

  .contact-animation-side {
    padding: 2rem 0;
    min-height: 300px;
  }

  .contact-form-side {
    padding: 1rem;
  }

  .cf-form {
    padding: 25px;
    gap: 20px;
  }

  .cf-header {
    padding: 25px;
  }

  .cf-input {
    padding: 15px 0 5px 0;
  }

  .cf-submit-btn {
    padding: 14px 25px;
  }
}
