/* ===================================
   快立登 QuickReg - 主樣式表
   配色: 愛馬仕橙 #FE8113, 深灰 #363636
   =================================== */

:root {
  --primary-color: #FE8113;
  --secondary-color: #363636;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ===================================
   液態玻璃效果按鈕
   =================================== */

.glass-button {
  background: rgba(254, 129, 19, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(254, 129, 19, 0.37);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.glass-button:hover::before {
  width: 300px;
  height: 300px;
}

.glass-button:hover {
  background: rgba(254, 129, 19, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(254, 129, 19, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff9d3d);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: inline-block;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 0.9rem 2.3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===================================
   Header & Navigation
   =================================== */

.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary-color);
  cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-color), #ff9d3d);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 900;
  color: #ffffff;
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ffffff;
  animation: fadeInUp 1s ease;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.7);
  font-weight: 700;
}

.hero-price {
  font-size: 4rem;
  font-weight: 700;
  margin: 2rem 0;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease;
}

.hero-price small {
  font-size: 1.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
  animation: fadeInUp 1.4s ease;
}

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

/* ===================================
   Contact Float Button
   =================================== */

.contact-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.float-btn.phone {
  background: var(--primary-color);
}

.float-btn.line {
  background: #06c755;
}

.float-btn:hover {
  transform: scale(1.1);
  animation: none;
}

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

/* ===================================
   Section Styles
   =================================== */

section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-us {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(254, 129, 19, 0.2);
  transform: scale(1.05);
}

.pricing-card.featured .badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-header h3 {
  color: var(--secondary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 1.5rem 0;
}

.price small {
  font-size: 1.2rem;
  color: var(--text-light);
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.features-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.features-list li:last-child {
  border-bottom: none;
}

.check-icon {
  color: #10b981;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.cross-icon {
  color: #ccc;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===================================
   Process Timeline
   =================================== */

.process {
  background: var(--bg-light);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), #ff9d3d);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  padding: 2rem 0;
  position: relative;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  width: 45%;
  position: relative;
  transition: var(--transition);
}

.timeline-content:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.timeline-number {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 0 0 0 10px var(--bg-light);
  z-index: 1;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.timeline-duration {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.timeline-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* ===================================
   Testimonials
   =================================== */

.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 15px;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.author-info h5 {
  color: var(--secondary-color);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ===================================
   FAQ Section
   =================================== */

.faq {
  background: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-color);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  line-height: 1.8;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
  background: linear-gradient(135deg, var(--primary-color), #ff9d3d);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* ===================================
   Footer
   =================================== */

footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* 平板尺寸：2列 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手機尺寸：1列 */
@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 968px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 80px;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-number {
    left: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-price {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  section {
    padding: 3rem 1rem;
  }
  
  .contact-float {
    bottom: 1rem;
    right: 1rem;
  }
  
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-price {
    font-size: 2.5rem;
  }
  
  .price {
    font-size: 2.5rem;
  }
  
  .glass-button,
  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}



/* ===================================
   Enhanced Interactive Animations
   =================================== */

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Glow Animation */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(254, 129, 19, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(254, 129, 19, 0.6);
  }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Enhanced Button Hover Effects */
.glass-button,
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.glass-button:hover::before,
.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.glass-button:hover,
.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(254, 129, 19, 0.4);
}

.glass-button:active,
.btn-primary:active {
  transform: translateY(-2px) scale(1.02);
}

/* Enhanced Feature Cards */
.feature-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(254, 129, 19, 0.1), rgba(255, 102, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 15px;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 50px rgba(254, 129, 19, 0.3);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(10deg);
  animation: pulse 1s infinite;
}

/* Enhanced Pricing Cards */
.pricing-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #FE8113, #FF6600, #FE8113);
  border-radius: 17px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(254, 129, 19, 0.3);
}

.pricing-card.featured {
  animation: glow 2s infinite;
}

/* Enhanced Process Steps */
.process-step {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.process-step:hover {
  transform: scale(1.05);
}

.process-step .step-number {
  transition: all 0.4s;
}

.process-step:hover .step-number {
  transform: rotate(360deg) scale(1.2);
  background: linear-gradient(135deg, #FE8113, #FF6600);
}

/* Floating Contact Buttons Enhanced */
.float-btn {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.float-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  transform: translate(-50%, -50%);
  animation: ripple 2s infinite;
  opacity: 0;
}

@keyframes ripple {
  0% {
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

.float-btn:hover {
  transform: scale(1.2) rotate(10deg);
  animation: shake 0.5s;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #FE8113, #FF6600);
  z-index: 9999;
  transition: width 0.1s;
}

/* Loading Animation for Images */
.lazy-load {
  opacity: 0;
  transition: opacity 0.6s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Smooth Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

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

/* Interactive Hover Effects for Links */
a {
  position: relative;
  transition: all 0.3s;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s;
}

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

/* Card Flip Effect */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Parallax Effect Helper */
.parallax {
  transition: transform 0.1s;
}

/* Gradient Text Animation */
.gradient-text {
  background: linear-gradient(45deg, #FE8113, #FF6600, #FE8113);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

/* Tooltip Enhancement */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: 0.5rem 1rem;
  background: var(--secondary-color);
  color: white;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 1000;
}

[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Particle Background Effect */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(254, 129, 19, 0.5);
  border-radius: 50%;
  animation: particleFloat 10s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(100px);
    opacity: 0;
  }
}

/* Magnetic Button Effect */
.magnetic-btn {
  transition: transform 0.2s;
}

/* Typewriter Effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--primary-color);
  white-space: nowrap;
  animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary-color); }
}



/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu li {
    list-style: none;
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-dropdown > .nav-link i {
    font-size: 0.8em;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        margin-top: 0;
        padding-left: 1rem;
    }
    
    .nav-dropdown .dropdown-menu a {
        color: white;
        padding: 0.5rem 1rem;
    }
}


/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.nav-dropdown .dropdown-menu li {
    list-style: none;
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-dropdown > .nav-link i {
    font-size: 0.8em;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        margin-top: 0;
        padding-left: 1rem;
    }
    
    .nav-dropdown .dropdown-menu a {
        color: white;
        padding: 0.5rem 1rem;
    }
}
