/* ============================================
   MODERN EFFECTS & PREMIUM STYLING
   Glassmorphism, Gradients, 3D Depth
   ============================================ */

/* ============================================
   MODERN BUTTON STYLES
   ============================================ */

.btn {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.5px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #FF7A45 100%);
  color: var(--white);
  box-shadow:
    0 10px 30px rgba(232, 92, 43, 0.3),
    0 0 20px rgba(232, 92, 43, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF7A45 0%, #FF9A3C 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(232, 92, 43, 0.4),
    0 0 60px rgba(0, 153, 204, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(0, 153, 204, 0.1) 0%, rgba(232, 92, 43, 0.05) 100%);
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow:
    0 8px 20px rgba(0, 153, 204, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #0077A8 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow:
    0 15px 40px rgba(0, 153, 204, 0.35),
    0 0 40px rgba(0, 153, 204, 0.2);
}

/* ============================================
   MODERN CARD STYLES
   ============================================ */

.card {
  background: linear-gradient(135deg, var(--white) 0%, #F9FAFB 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 153, 204, 0.08);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 1px rgba(0, 153, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0, 153, 204, 0.25),
    0 0 1px rgba(232, 92, 43, 0.2);
  border-color: rgba(0, 153, 204, 0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.6s;
  pointer-events: none;
  z-index: 1;
}

.card:hover::before {
  animation: shimmer 0.6s infinite;
}

/* ============================================
   FEATURE CARDS - MODERN
   ============================================ */

.feature-card {
  background: linear-gradient(135deg, var(--white) 0%, #F9FAFB 100%);
  border-radius: 16px;
  border: 1px solid rgba(0, 153, 204, 0.08);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 153, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0, 153, 204, 0.2),
    0 0 1px rgba(232, 92, 43, 0.15);
  border-color: rgba(0, 153, 204, 0.2);
}

.feature-icon {
  font-size: 48px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

/* ============================================
   SERVICE CARDS - MODERN GLASSMORPHISM
   ============================================ */

.service-card {
  background: linear-gradient(135deg, var(--primary) 0%, #0077A8 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 8px 32px rgba(0, 153, 204, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.service-card:hover::before {
  transform: translate(30%, 30%) scale(1.2);
}

.service-card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 153, 204, 0.35),
    0 0 80px rgba(232, 92, 43, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
  font-size: 48px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  transform: scale(1.25) rotate(-10deg) translateY(-10px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* ============================================
   TESTIMONIAL CARDS - MODERN
   ============================================ */

.testimonial-card {
  background: linear-gradient(135deg, var(--white) 0%, #F9FAFB 100%);
  border-radius: 16px;
  border: 1px solid rgba(0, 153, 204, 0.08);
  border-left: 4px solid var(--accent);
  padding: 32px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 153, 204, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-left-color: var(--primary);
  box-shadow:
    0 20px 50px rgba(0, 153, 204, 0.2),
    0 0 1px rgba(0, 153, 204, 0.15);
}

.testimonial-card:hover .stars {
  animation: glowPulse 1.5s ease-in-out;
}

/* ============================================
   HERO SECTION - MODERN
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0077A8 50%, var(--accent) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232, 92, 43, 0.08) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   GLASS MORPHISM EFFECTS
   ============================================ */

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 153, 204, 0.2);
  box-shadow:
    0 15px 40px 0 rgba(0, 153, 204, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-8px);
}

/* ============================================
   FORM STYLES - MODERN
   ============================================ */

.form-group input,
.form-group textarea,
.form-group select {
  background: linear-gradient(135deg, var(--white) 0%, #F9FAFB 100%);
  border: 2px solid rgba(0, 153, 204, 0.1);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: var(--text-base);
  position: relative;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--white) 0%, #F0F9FF 100%);
  box-shadow:
    0 0 0 4px rgba(0, 153, 204, 0.1),
    0 8px 20px rgba(0, 153, 204, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   BADGE STYLES - MODERN
   ============================================ */

.badge {
  background: linear-gradient(135deg, rgba(0, 153, 204, 0.1) 0%, rgba(232, 92, 43, 0.05) 100%);
  border: 1px solid rgba(0, 153, 204, 0.2);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 153, 204, 0.08);
}

.badge:hover {
  background: linear-gradient(135deg, rgba(0, 153, 204, 0.15) 0%, rgba(232, 92, 43, 0.1) 100%);
  border-color: var(--primary);
  transform: scale(1.05);
}

.badge-accent {
  background: linear-gradient(135deg, rgba(232, 92, 43, 0.15) 0%, rgba(255, 122, 69, 0.1) 100%);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   SECTION STYLES - MODERN
   ============================================ */

.section {
  position: relative;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 204, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.6s;
}

.section:hover::before {
  opacity: 1;
}

.section-header h2 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out;
}

.section-accent {
  background: linear-gradient(135deg, var(--light-bg) 0%, #F0F9FF 100%);
}

/* ============================================
   TEXT ANIMATIONS
   ============================================ */

h1, h2, h3, h4 {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-header h2:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(0, 153, 204, 0.2));
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.scroll-indicator {
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* ============================================
   INTERACTIVE EFFECTS
   ============================================ */

a {
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a:hover::after {
  width: 100%;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-3deg);
  }
}

@keyframes floatImage {
  0%, 100% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0px);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-15px);
  }
}

@keyframes floatImageReverse {
  0%, 100% {
    transform: perspective(1000px) rotateY(5deg) rotateX(-2deg) translateY(0px);
  }
  50% {
    transform: perspective(1000px) rotateY(5deg) rotateX(-2deg) translateY(15px);
  }
}

/* ============================================
   MODERN FOOTER STYLES
   ============================================ */

.footer-modern {
  background: linear-gradient(135deg, #004E7C 0%, #0066A1 50%, #0099CC 100%);
  color: #e0e0e0;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(14, 168, 221, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232, 92, 43, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-modern .container {
  position: relative;
  z-index: 1;
}

.footer-modern .footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-modern .footer-section {
  display: flex;
  flex-direction: column;
}

.footer-modern .footer-company {
  grid-column: 1;
}

.footer-logo-main {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
  filter: brightness(1.1);
}

.footer-contact-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}

.footer-contact-card p {
  margin: 12px 0;
  line-height: 1.6;
  font-size: 14px;
}

.footer-contact-card strong {
  display: block;
  color: white;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.social-link-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-link-modern:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(232, 92, 43, 0.3);
}

.footer-modern h4 {
  color: white;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-modern ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-modern ul li {
  margin: 10px 0;
}

.footer-modern ul li a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-modern ul li a:hover {
  color: var(--accent);
}

.footer-modern .badge {
  height: 60px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.footer-modern .badge:hover {
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .footer-modern .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-modern .footer-company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-modern .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-modern {
    padding: 40px 0 15px;
  }

  .footer-contact-card {
    padding: 12px;
  }

  .footer-logo-main {
    height: 40px;
  }
}

/* ============================================
   RESPONSIVE MODERN EFFECTS
   ============================================ */

@media (max-width: 768px) {
  .card:hover,
  .feature-card:hover,
  .service-card:hover,
  .testimonial-card:hover {
    transform: translateY(-8px);
  }

  .btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .btn-secondary:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
