/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  scroll-behavior: smooth;
}

p,
a,
button {
  font-family: "Poppins", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h3.font-medium {
  font-weight: 500 !important;
  font-style: normal;
}

/* Navigation Styles */
.nav-link {
  @apply text-gray-700 px-3 py-2 rounded-md text-sm font-medium transition-all duration-300 relative;
  color: #13333F;
  border-bottom: 2px solid transparent;
  background: linear-gradient(to right, #FD8200 50%, transparent 90%);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  color: #FD8200;
  background-size: 100% 2px;
}

/* Logo and text alignment */
.flex-shrink-0 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flex-shrink-0 img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.flex-shrink-0 h1 {
  margin: 0;
  line-height: 1;
}

/* Button Styles */

.cta-button-primary {
  background: #FD8200;
  color: white;
  height: 40px;
  line-height: 40px;
  width: 350px;
  display: block;
  text-align: center;
  margin: 0 auto;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-button-primary:hover {
  transform: none;
  box-shadow: none;
  background: #e67300;
}

.cta-button-secondary {
  @apply inline-flex items-center px-8 py-4 font-semibold transition-all duration-300;
  color: #13333F;
  background: transparent;
}

.cta-button-secondary:hover {
  text-decoration: underline;
  transform: none;
  box-shadow: none;
  color: #FD8200;
  background: transparent;
}

.cta-button-white {
  @apply inline-flex items-center px-8 py-4 text-white font-semibold transition-all duration-300;
  background: transparent;
}

.cta-button-white svg {
  display: inline-block;
  vertical-align: middle;
}

.cta-button-white:hover {
  text-decoration: underline;
  transform: none;
  box-shadow: none;
  background: transparent;
}

.cta-button-outline {
  @apply inline-flex items-center px-8 py-4 text-white font-semibold transition-all duration-300;
  background: transparent;
}

.cta-button-outline:hover {
  text-decoration: underline;
  transform: none;
  box-shadow: none;
  background: transparent;
}

/* Feature Cards */
.feature-card {
  @apply bg-white p-8 rounded-xl shadow-lg transition-all duration-500 transform relative overflow-hidden border border-gray-100;
  margin: 8px;
  transition: all 0.05s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 20px;
  border-radius: 20px;
}

/* Features grid container */
#features .grid {
  margin: -8px;
}

.feature-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #FD8200;
  transition: width 0.3s ease;
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  background: white;
}

.feature-icon {
  @apply w-16 h-16 flex items-center justify-center mb-6 text-2xl;
  color: #FD8200;
}

.feature-icon::before {
  display: none;
}

.feature-card:hover .feature-icon::before {
  display: none;
}

.feature-card:hover .feature-icon {
  transform: none;
  box-shadow: none;
  background: none;
}

/* About Section */
.about-image {
  @apply p-8 rounded-xl shadow-lg transition-all duration-300;
  background: #fff;
  padding-bottom: 30px;
  border-radius: 10px;
}

.about-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(19, 51, 63, 0.15);
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.stat-item {
  @apply text-center transition-all duration-300;
}

.stat-item:hover {
  transform: translateY(-3px) scale(1.05);
}

.stat-number {
  @apply text-3xl font-bold mb-1 transition-all duration-300;
  color: #13333F;
}

.stat-item:hover .stat-number {
  text-shadow: 0 0 10px rgba(19, 51, 63, 0.3);
}

.stat-label {
  @apply text-gray-600 font-medium transition-all duration-300;
}

.stat-item:hover .stat-label {
  color: #FD8200;
}

/* Footer Links */
footer a {
  transition: all 0.3s ease;
  background: transparent;
}

footer a:hover {
  transform: translateX(5px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  background: transparent;
}

/* Social Media Icons */
footer .fab {
  transition: all 0.3s ease;
  background: transparent;
}

footer .fab:hover {
  transform: translateY(-3px) scale(1.2);
  color: #FD8200 !important;
  text-shadow: 0 0 10px rgba(253, 130, 0, 0.5);
  background: transparent;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(19, 51, 63, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(19, 51, 63, 0.6);
  }
}

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

.animate-fade-in-left {
  animation: fadeInLeft 1s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 1s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .feature-card {
    @apply p-6;
  }
  
  .stat-item {
    @apply flex-1;
  }
  
  .cta-button-primary,
  .cta-button-secondary,
  .cta-button-white,
  .cta-button-outline {
    @apply px-6 py-3 text-sm;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #13333F;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0f2a35;
}

/* Loading Animation */
.loading {
  @apply relative overflow-hidden;
}

.loading::after {
  content: '';
  @apply absolute inset-0 bg-gradient-to-r from-transparent via-white/20 to-transparent;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #13333F 0%, #FD8200 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Focus States */
.cta-button-primary:focus,
.cta-button-secondary:focus,
.cta-button-white:focus,
.cta-button-outline:focus {
  @apply outline-none ring-4 ring-opacity-50;
  ring-color: #13333F;
}

/* Print Styles */
@media print {
  .cta-button-primary,
  .cta-button-secondary,
  .cta-button-white,
  .cta-button-outline {
    @apply border border-gray-400 text-gray-900 bg-white;
  }
  
  .feature-card {
    @apply border border-gray-300 shadow-none;
  }
}

#home {
  margin-top: 60px;
}

.cta-button-white {
  color: white !important;
}

/* Scroll Down Section */
.scroll-down-section {
  @apply text-center mt-16 flex flex-col items-center justify-center;
  margin-top: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-down-text {
  @apply text-sm font-medium mb-2;
  color: #13333F;
  opacity: 0.8;
  text-decoration: none;
}

.scroll-down-arrow {
  @apply inline-block;
  animation: bounce 2s infinite;
}

.scroll-down-arrow svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}