/* Custom CSS for Expert Excel Website */

:root {
  --primary-color: #198754;
  --secondary-color: #0d6efd;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Hero Section */

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  min-height: 80vh;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.min-vh-75 {
  min-height: 75vh;
}

/* Service Cards */

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* Navigation */

.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
  font-size: 1.5rem;
}

/* Buttons */

.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Cards */

.card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
}

/* Accordion */

.accordion-button {
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

/* Form */

.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

/* Animations */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive */

@media (max-width: 768px) {
  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .display-5 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 60vh;
  }
}

@media (max-width: 768px) {
  .min-vh-75 {
    min-height: auto;
  }
}

/* Custom utilities */

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Icon animations */

.fa-check-circle {
  animation: pulse 2s infinite;
}

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

/* Smooth scrolling */

html {
  scroll-behavior: smooth;
}

/* Section spacing */

section {
  scroll-margin-top: 80px;
}

/* Contact form styling */

.contact-form {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Footer */

footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, #495057 100%);
}

/* Loading animation for buttons */

.btn-loading {
  position: relative;
  color: transparent;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

