
:root {
  
  --primary-color: #14315d;
  --primary-light: rgb(0, 2, 146);
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray-dark: #6b7280;
  --primary: rgb(0, 0, 0);
  --primary-dark: #425e87;
  --secondary: #ec4899;
  --accent: #f59e0b;
  --dark: #1f2937;
  --light: #f9fafb;
  --success: #10b981;
  --gray-light: #f5f7fa;
  --gray-dark: #6b7280;
  --white: #ffffff;
  --black: #111827;
}

body {
  font-family: "Nunito Sans", sans-serif;
  background-color: var(--gray-light);
}

/* Hero Section */
.about-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 160px 0 180px;
  position: relative;
  overflow: hidden;
}

/* Wave effect using SVG background */
.about-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.1' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.1' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  pointer-events: none;

  /* Rotate the wave */
  transform: rotate(180deg);
  transform-origin: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.hero-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.shape-1 {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
}

.shape-2 {
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
}

/* Hero Section end */


.social-media-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: start;
}

.top-gap {
  margin-top: 150px !important;
  color: #4f46e5 !important;
}

.social-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f1f1f1;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-4px);
  background-color: var(--gray-light);
}

.social-icon:hover img {
  transform: scale(1.1);
}

.gradient-bg {
  background: var(--primary-color);
  border-radius: 12px;
}

.social-media-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  /* make SVGs white on dark */
  transition: transform 0.3s ease;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.social-icon:hover img {
  transform: scale(1.2);
}

.fun-message p,
.fun-message small {
  color: #fff;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--gray-light);
}

.contact-section {
  padding: 30px 0 !important;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.social-icon:hover {
  background: #4f46e5;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4);
}

.social-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Makes dark SVGs appear white */
  transition: all 0.3s ease;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray-dark);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.contact-form:hover::before {
  transform: scaleX(1);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-dark);
  transition: all 0.3s ease;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  outline: none;
  background-color: var(--white);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn {
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-primary:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

.btn-secondary {
  background-color: var(--gray-dark);
  color: white;
  margin-left: 15px;
  box-shadow: 0 4px 6px rgba(107, 114, 128, 0.2);
}

.btn-secondary:hover {
  background-color: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(107, 114, 128, 0.3);
}

.contact-info {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.social-links {
  margin-top: 40px;
}

.social-links h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.social-icon:hover {
  background-color: var(--primary-light);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 15px rgba(79, 70, 229, 0.3);
}

.company-image {
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.company-image:hover {
  transform: scale(1.02);
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }

  20% {
    transform: scale(25, 25);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
}
