:root {
  --primary-green: #00ff88;
  --dark-green: #00cc6a;
  --light-green: #4dffa6;
  --bg-dark: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --border-color: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  background-color: #ffffff;
  color: #333333;
  overflow-x: hidden;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Loading Container */
.loading-container {
  text-align: center;
  padding: 2rem;
}

/* Spinning Ring Animation */
.loading-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 2rem;
}

.loading-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 4px solid transparent;
  border-top: 4px solid var(--primary-green);
  border-radius: 50%;
  animation: loading-ring-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loading-ring div:nth-child(1) {
  animation-delay: -0.45s;
  border-top-color: var(--primary-green);
}

.loading-ring div:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: var(--dark-green);
}

.loading-ring div:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: var(--light-green);
}

@keyframes loading-ring-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Pulsing Dots */
.loading-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.loading-dot {
  width: 12px;
  height: 12px;
  background-color: var(--primary-green);
  border-radius: 50%;
  animation: loading-dot-pulse 1.4s ease-in-out infinite both;
}

.loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
  animation-delay: -0.16s;
  background-color: var(--dark-green);
}

.loading-dot:nth-child(3) {
  background-color: var(--light-green);
}

@keyframes loading-dot-pulse {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Loading Text */
.loading-text {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  animation: loading-text-fade 2s ease-in-out infinite;
}

.loading-subtext {
  font-size: 0.875rem;
  color: var(--text-gray);
  font-weight: 300;
}

@keyframes loading-text-fade {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Progress Bar */
.loading-progress {
  width: 250px;
  height: 4px;
  background-color: var(--bg-secondary);
  border-radius: 2px;
  margin: 1.5rem auto 0;
  overflow: hidden;
  position: relative;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--dark-green),
    var(--primary-green),
    var(--light-green)
  );
  border-radius: 2px;
  animation: loading-progress-move 2s ease-in-out infinite;
}

@keyframes loading-progress-move {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Content (hidden during loading) */
.main-content {
  padding: 4rem 0;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.main-content.show {
  opacity: 1;
}

.demo-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.1);
}

.btn-custom {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--bg-dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

/* Navigation Styles */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 255, 136, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  color: var(--primary-green) !important;
  font-size: 1.5rem;
}

.nav-link {
  font-family: var(--secondary-font) !important;
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.5rem;
}

.nav-link {
  font-family: var(--secondary-font) !important;
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 0.5rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Only keep hover effect */
.nav-link:hover::after {
  width: 100%;
}

/* Remove this line completely */
/* .nav-link.active::after { width: 100%; } */

.nav-link:hover {
  color: var(--primary-green) !important;
}

.nav-link:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler {
  border: none;
  background: none;
  color: var(--primary-green);
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Off-canvas Navigation */
.offcanvas {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-right: 3px solid var(--primary-green);

  .offcanvas-header {
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
  }

  .offcanvas-title {
    font-family: "Orbitron", monospace;
    color: var(--primary-green);
    font-weight: 700;
  }

  .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.8rem 1rem !important;
    margin: 0.2rem 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav-link:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green) !important;
    transform: translateX(10px);
  }

  .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--primary-green);
    transition: width 0.3s ease;
    border-radius: 8px 0 0 8px;
  }

  .nav-link:hover::before {
    width: 4px;
  }

  .nav-link.active {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-green) !important;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8f5e8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2300ff88" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: "Orbitron", monospace;
  text-align: center !important;
  font-size: 3.5rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 1rem;
  animation: slideInUp 1s ease-out;
}

.hero-subtitle {
  text-align: center !important;
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-description {
  text-align: center !important;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.6;
  animation: slideInUp 1s ease-out 0.4s both;
}

/* hero second */

.btn-cyber {
  background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
  border: none;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin: 0.5rem;
}

.btn-cyber:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
  color: white;
}

.btn-cyber::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-outline-cyber {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.btn-outline-cyber:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Section Styles */
.section-title {
  font-family: "Orbitron", monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

.about-section {
  padding: 100px 0;
  background: #ffffff;
}

.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 5px solid var(--primary-green);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
  transition: all 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 255, 136, 0.3);
}

.progress-bar-custom {
  background: var(--primary-green);
  border-radius: 10px;
  transition: width 2s ease-in-out;
}

.progress {
  height: 8px;
  border-radius: 10px;
  background: #e9ecef;
  margin-bottom: 1rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

.skill-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.skill-card:hover::before {
  transform: translateX(0);
}

.skill-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.skill-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
  padding: 100px 0;
  background: #ffffff;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
}

.project-img {
  height: 200px;
  background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.project-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary-green);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link:hover {
  background: var(--dark-green);
  color: white;
  transform: translateY(-2px);
}

/* Certifications Section */
.certifications-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

.cert-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 255, 136, 0.2);
}

.cert-logo {
  width: 80px;
  height: 80px;
  background: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.cert-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.cert-issuer {
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.8rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 136, 0.25);
}

.form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-info {
  /* background: linear-gradient(
          135deg,
          var(--primary-green),
          var(--dark-green)
        ); */
  /* background: rgba(0, 0, 0, 0.3) !important; */
  background: var(--border-color) !important;

  color: white;
  border-radius: 15px;
  padding: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: linear-gradient(
    135deg,
    var(--bg-dark) 0%,
    var(--bg-secondary) 100%
  );
  color: var(--text-light);
  padding: 4rem 0 0;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-green),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-green), var(--light-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  font-size: 1.1rem;
  color: var(--text-gray);
  line-height: 1.6;
  max-width: 300px;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--primary-green);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-green);
  transform: translateX(5px);
}

.footer-link:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--bg-secondary);
  color: var(--text-gray);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  transition: left 0.3s ease;
  z-index: 1;
}

.social-link i {
  font-size: 1.2rem;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
  /* border-color: var(--primary-green); */
}

.social-link:hover::before {
  left: 0;
}

.social-link:hover i {
  color: var(--bg-dark);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

.contact-item i {
  color: var(--primary-green);
  width: 16px;
  text-align: center;
}

.form-control {
  border-radius: 5px;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: none;
  outline: none;
}

.form-control:hover {
  border-color: var(--primary-green);
}

.form-control::placeholder {
  color: var(--text-gray);
}

.footer-bottom {
  padding: 2rem 0;
  /* background: rgba(0, 0, 0, 0.3); */
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--primary-green);
}

.separator {
  color: var(--border-color);
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 0;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .brand-name {
    font-size: 1.75rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 1.5rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link i {
    font-size: 1.1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .profile-img {
    width: 250px;
    height: 250px;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-info {
    padding: 2rem;
    margin-top: 2rem;
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Success Alert */
.alert-success-custom {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  border-radius: 10px;
  border: none;
  background: var(--primary-green);
  color: white;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px !important;
  right: 30px !important;
  background: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes pulse-wa {
  0% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
      0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
      0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* WhatsApp Modal */
.whatsapp-modal {
  position: fixed;
  bottom: 110px;
  right: 25px;
  width: 320px;
  /* background: white; */
  background: transparent;
  border-radius: 5px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
    0 0 0 0 rgba(37, 211, 102, 0.7);
}

.whatsapp-modal.show {
  transform: scale(1);
}

.whatsapp-header {
  background: var(--primary-green);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.whatsapp-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-body {
  padding: 25px;
}

.whatsapp-option {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  /* background: #f8f9fa; */
  background: var(--light-green);
  border-radius: 5px;
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.whatsapp-option:hover {
  background: var(--light-green);
  border-color: var(--primary-green);
  color: var(--text-dark);
  transform: translateX(5px);
}

.whatsapp-option i {
  font-size: 20px;
  margin-right: 15px;
  color: var(--primary-green);
}

.whatsapp-option span {
  font-size: 16px;
  font-weight: 500;
}

.whatsapp-option-icon {
  color: var(--text-dark) !important;
}
