/* Custom styles for VisionDG Tech Website */

/* Add RGB color variables for transparency effects */
:root {
  --primary-color-rgb: 10, 63, 80;
  --accent-color-rgb: 249, 164, 26;
  --accent-secondary-rgb: 215, 60, 12;
  --highlight-color-rgb: 0, 195, 255;
}

/* Client Logos Enhanced Display */
.client-logos {
    margin: 40px auto;
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/* Logo fixes - ensure all logos display properly */
.logo-image {
    height: 50px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    display: block;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
    display: block;
}

/* Force SVG images to display properly in older browsers */
.logo-item img[src$=".svg"] {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

/* Override for specific client logos that might have issues */
.logo-item[data-client="indralanakar"] img,
.logo-item[data-client="phbr"] img,
.logo-item[data-client="shreevageshwari"] img {
    width: 100% !important;
    height: 80px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Fix for testimonial images */
.author-image img[src$=".svg"] {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 50%;
}

/* Simplified About Section */
#about {
  background-color: #fff;
}

#about img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

#about .relative:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#about .w-12 {
  transition: all 0.3s ease;
}

#about .flex:hover .w-12 {
  transform: scale(1.1);
}

#about .bg-gradient-to-r {
  transition: opacity 0.3s ease;
}

#about .relative:hover .bg-gradient-to-r {
  opacity: 0.3;
}

/* Remove previous styles */
:root {
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #9333ea;
  --tertiary: #06b6d4;
  --quaternary: #f97316;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-tertiary {
  color: var(--tertiary);
}

.text-quaternary {
  color: var(--quaternary);
}

.border-primary {
  border-color: var(--primary);
}

.border-secondary {
  border-color: var(--secondary);
}

.border-tertiary {
  border-color: var(--tertiary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  #about .flex.flex-col {
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  #about .grid.grid-cols-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Stats card */
#about .absolute.flex {
  transition: transform 0.3s ease;
}

#about .relative:hover .absolute.flex {
  transform: translateY(-5px) translateX(-50%);
}

/* Feature icons */
#about .bg-blue-600 {
  transition: all 0.3s ease;
}

#about .flex.items-start:hover .bg-blue-600 {
  transform: scale(1.1) rotate(5deg);
}

/* Animation for image */
@media (min-width: 1024px) {
  @keyframes gentle-float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  #about .relative img {
    animation: gentle-float 5s ease-in-out infinite;
  }
}

/* Clear previous styles */
#about .text-primary,
#about .text-secondary,
#about .text-tertiary,
#about .text-quaternary,
#about .border-primary,
#about .border-secondary,
#about .border-tertiary {
  color: inherit;
  border-color: inherit;
}

/* Remove animation that might look unprofessional */
#about .border-l-4:hover {
  animation: none;
}

/* Counter animation */
.counter {
  display: inline-block;
  position: relative;
}

/* Enhanced card interactions */
#about .bg-gray-50 {
  transition: all 0.3s ease;
}

#about .bg-gray-50:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Heading underline animation */
#about h2 .absolute {
  transition: width 0.6s ease;
  width: 70%;
  left: 15%;
}

#about h2:hover .absolute {
  width: 100%;
  left: 0;
}

/* Stats grid animation */
#about .grid > div {
  transition: all 0.3s ease;
}

#about .grid > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Icon animations */
#about .w-12 {
  transition: all 0.3s ease;
}

#about .flex:hover .w-12 {
  transform: scale(1.1) rotate(5deg);
}

/* Border gradient animation for cards */
@keyframes borderPulse {
  0% {
    border-color: var(--primary);
  }
  33% {
    border-color: var(--secondary);
  }
  66% {
    border-color: var(--tertiary);
  }
  100% {
    border-color: var(--primary);
  }
}

#about .border-l-4:hover {
  animation: borderPulse 3s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #about .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .about-us-image {
    animation: float 6s ease-in-out infinite;
  }
}

/* Traditional Corporate About Section */
.about-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background-color: #0056b3;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header .subtitle {
  font-size: 16px;
  color: #666;
  margin-top: 25px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.about-image {
  flex: 0 0 45%;
  max-width: 45%;
  padding-right: 30px;
}

.about-image img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-10px);
}

.about-text {
  flex: 0 0 55%;
  max-width: 55%;
  padding-left: 30px;
}

.about-text h3 {
  font-size: 28px;
  font-weight: 600;
  color: #0056b3;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  margin: 30px 0;
}

.feature {
  flex: 0 0 50%;
  max-width: 50%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature i {
  color: #0056b3;
  margin-right: 10px;
  font-size: 18px;
}

.feature span {
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.about-stats {
  display: flex;
  margin: 30px 0;
}

.stat {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid #ddd;
}

.stat:last-child {
  border-right: none;
}

.stat .number {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 5px;
}

.stat .label {
  font-size: 16px;
  color: #666;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: #0056b3;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

@media (max-width: 991px) {
  .about-image,
  .about-text {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  
  .about-image {
    margin-bottom: 40px;
  }
  
  .feature {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  
  .about-text h3 {
    font-size: 24px;
  }
  
  .stat .number {
    font-size: 30px;
  }
}

/* Add Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* Client Logos Section - Updated */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  padding: 20px;
}

.client-logo {
  width: 150px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}

/* Special styling for SVG logos */
.client-logo[data-client="phbr"] img,
.client-logo[data-client="shreevageshwari"] img,
.client-logo[data-client="indralanakar"] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  z-index: 2;
}

/* Debugging aid - add colored background to SVG containers */
.client-logo[data-client="phbr"],
.client-logo[data-client="shreevageshwari"],
.client-logo[data-client="indralanakar"] {
  background-color: #f9f9f9;
}

/* Ensure all logos are visible */
.client-logo img[src$=".svg"] {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 768px) {
  .client-logos {
    gap: 15px;
  }
  
  .client-logo {
    width: 120px;
    height: 100px;
    padding: 10px;
  }
}

/* Enhanced Contact Page Styles */
.contact-section {
  padding: 80px 0;
  position: relative;
  background: linear-gradient(to bottom, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="3" cy="3" r="3" fill="%230A3F50" opacity="0.1"/></svg>');
  z-index: -1;
  opacity: 0.4;
}

.contact-grid {
  gap: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: flex-start;
}

/* Modern Info Cards */
.info-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-left: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-color), #0F7EA7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover .info-icon::before {
  opacity: 1;
  transform: scale(2);
}

.info-icon i {
  color: white;
  font-size: 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon i {
  animation: pulse-icon 1.5s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.info-card:hover .info-content h3 {
  color: var(--accent-color);
}

.info-content p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--dark-color);
}

.info-content p a {
  color: var(--accent-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.info-content p a:hover {
  color: var(--primary-color);
}

/* Modern Contact Form */
.contact-form-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  will-change: transform;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--highlight-color) 0%, transparent 80%);
  opacity: 0.1;
  border-radius: 0 0 0 100%;
  transition: all 0.5s ease;
}

.contact-form-container:hover::before {
  width: 200px;
  height: 200px;
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
}

.contact-form h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40%;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.contact-form-container:hover .contact-form h2::after {
  width: 100%;
}

.contact-form p {
  color: var(--secondary-color);
  margin-bottom: 25px;
}

/* Floating Label Effect */
.form-group {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #6c757d;
  transition: all 0.25s ease;
  pointer-events: none;
  font-size: 0.95rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -12px;
  left: 12px;
  font-size: 0.75rem;
  padding: 0 5px;
  background: white;
  color: var(--primary-color);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(10, 63, 80, 0.08);
  background-color: white;
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Modern Button */
.submit-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 35px;
  border-radius: 10px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 20px rgba(10, 63, 80, 0.15);
}

.submit-btn span {
  position: relative;
  z-index: 2;
  padding-right: 8px;
}

.submit-btn i {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.submit-btn:hover i {
  transform: translateX(4px);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transition: all 0.4s ease;
  z-index: 1;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(10, 63, 80, 0.25);
}

.submit-btn:hover::before {
  left: 0;
}

/* Social Media Icons */
.social-media {
  margin-top: 30px;
  padding: 25px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  border-top: 4px solid var(--accent-color);
}

.social-media h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), transparent);
  opacity: 0;
  transition: all 0.3s ease;
  transform: scale(0);
}

.social-icon i {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-5px) rotate(5deg);
  border-color: var(--primary-color);
  background: white;
}

.social-icon:hover::before {
  opacity: 0.1;
  transform: scale(1);
}

.social-icon:hover i {
  color: var(--accent-secondary);
}

/* Map Section */
.map-section {
  padding: 60px 0;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.map-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  background: var(--accent-color);
  transition: width 0.3s ease;
  left: 50%;
  transform: translateX(-50%);
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 8px solid white;
  z-index: 1;
  pointer-events: none;
  border-radius: 20px;
}

.map-container iframe {
  display: block;
  transition: all 0.5s ease;
  border-radius: 20px;
}

.map-container:hover iframe {
  transform: scale(1.02);
}

.map-container:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, white, #f8f9fa);
}

.accordion-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.03);
}

.accordion-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.accordion-header {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.accordion-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--dark-color);
  transition: all 0.3s ease;
  font-weight: 600;
  padding-right: 20px;
}

.accordion-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary-color);
  flex-shrink: 0;
}

.accordion-icon i {
  transition: all 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: all 0.3s ease;
}

.accordion-content p {
  margin-bottom: 20px;
  color: var(--secondary-color);
  padding-top: 5px;
}

.accordion-item.active .accordion-header {
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.accordion-item.active .accordion-header h3 {
  color: var(--primary-color);
}

.accordion-item.active .accordion-icon {
  background: var(--primary-color);
  color: white;
  transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding-top: 15px;
  padding-bottom: 20px;
}

/* Wave Pattern Animation */
.wave-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('/images/wave.svg');
  background-size: cover;
  background-repeat: no-repeat;
  animation: wave-animation 15s linear infinite;
}

@keyframes wave-animation {
  0% {
    background-position-x: 0%;
  }
  100% {
    background-position-x: 100%;
  }
}

/* Page Hero Animation */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(10, 63, 80, 0.05) 0%, rgba(15, 126, 167, 0.03) 100%);
  z-index: -1;
  transform: skewY(-2deg);
  transform-origin: bottom right;
  animation: pulse-bg 8s infinite alternate;
}

@keyframes pulse-bg {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-bottom: 40px;
  }
  
  .accordion-header h3 {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .info-card {
    padding: 20px;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
  }
  
  .contact-form-container {
    padding: 30px;
  }
  
  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .social-icons {
    flex-wrap: wrap;
  }
  
  .form-group label {
    font-size: 0.9rem;
  }
}

/* Form Animation Styles */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.6s cubic-bezier(.36,.07,.19,.97) both;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.05) !important;
}

.form-message {
  padding: 15px 0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-message.success {
  color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  padding: 10px 15px;
}

.form-message.error {
  color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 8px;
  padding: 10px 15px;
}

/* Active state for floating labels */
.form-group label.active {
  top: -12px;
  left: 12px;
  font-size: 0.75rem;
  padding: 0 5px;
  background: white;
  color: var(--primary-color);
  font-weight: 600;
}

/* Gradient animated border for the form container */
.contact-form-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color), var(--highlight-color), var(--accent-secondary));
  background-size: 300% 100%;
  animation: gradient-move 4s ease infinite;
}

@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particle Effect for Contact Section */
.contact-section {
  position: relative;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-image: radial-gradient(circle at center, rgba(10, 63, 80, 0.03) 0%, rgba(10, 63, 80, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: float-particle 15s ease-in-out infinite alternate;
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-30px) translateX(-20px);
    opacity: 0.8;
  }
  100% {
    transform: translateY(10px) translateX(-10px);
    opacity: 0.3;
  }
}

/* Enhanced ripple effect on button click */
.submit-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
  display: block;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  opacity: 1;
  z-index: 1;
}

.submit-btn:active::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(4);
    opacity: 0;
  }
}

/* Enhanced 3D effect on hover for form container */
.contact-form-container {
  transition: all 0.3s ease;
  will-change: transform;
}

.contact-form-container:hover {
  transform: translateY(-5px) perspective(1000px) rotateX(1deg) rotateY(1deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Glowing effect on focus for form elements */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 10, 63, 80), 0.15), 0 0 20px rgba(var(--highlight-color-rgb, 0, 195, 255), 0.1);
}

/* Accessible focus styles */
a:focus, button:focus, input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb, 10, 63, 80), 0.3);
}

/* Fade in animation for sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gradient for tab/focus highlights */
::selection {
  background: rgba(var(--accent-color-rgb, 249, 164, 26), 0.3);
  color: var(--dark-color);
}

/* Add fixed stacking context for header */
.header {
  z-index: 1000;
}

/* Add smooth transitions for all elements */
* {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
} 