/* ========================================
   MODERN UI/UX THEME - Enhanced Design
   ======================================== */

:root {
  /* Modern Color Palette - Vibrant & Professional */
  --main-color: #6366F1; /* Indigo */
  --main-color-two: #1E293B; /* Slate Dark */
  --main-color-three: #0F172A; /* Slate Darker */
  --main-color-four: #8B5CF6; /* Purple */
  --main-color-five: #A78BFA; /* Light Purple */
  --main-color-six: #3B82F6; /* Blue */
  --main-color-seven: #06B6D4; /* Cyan */
  --main-color-eight: #EEF2FF; /* Light Indigo */
  
  /* Accent Colors */
  --accent-color: #10B981; /* Emerald */
  --accent-color-two: #F59E0B; /* Amber */
  --accent-color-three: #EF4444; /* Red */
  
  /* Neutral Colors */
  --white-color: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  
  --dark-color: #374151;
  --dark-color-two: #1F2937;
  --dark-color-three: #111827;
  --dark-color-four: #0F172A;
  --heading-color: #111827;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   GLOBAL ENHANCEMENTS
   ======================================== */

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  background-color: var(--white-color);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sen', sans-serif;
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ========================================
   HEADER REDESIGN
   ======================================== */

.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.main-header.header-style-five .header-lower {
  border-bottom: none;
}

.main-header .logo a {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%) !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
  font-weight: 800 !important;
  transition: all 0.3s ease !important;
}

.main-header .logo a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
}

.main-header .navigation > li > a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

.main-header .navigation > li > a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--main-color-four));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.main-header .navigation > li > a:hover:after,
.main-header .navigation > li.current > a:after {
  width: 100%;
}

.main-header .navigation > li > a:hover {
  color: var(--main-color);
}

.phone-box {
  background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
  padding: 16px 40px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.phone-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, var(--accent-color) 100%);
}

.phone-box a {
  color: var(--white-color) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
}

/* ========================================
   HERO/SLIDER SECTION
   ======================================== */

.author-slider-section {
  background: linear-gradient(135deg, var(--main-color-three) 0%, var(--main-color-two) 100%);
}

.author-slider-block {
  background-size: cover;
  background-position: center;
  position: relative;
}

.author-slider-block:before {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(139, 92, 246, 0.85) 100%);
  opacity: 0.95;
}

.author-slider-block .inner-box .title {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.9) 0%, transparent 100%);
  padding: 14px 30px 14px 0px;
  border-radius: 0 50px 50px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.author-slider-block .inner-box h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.author-slider-block .inner-box .text {
  font-size: 18px;
  line-height: 1.8;
  opacity: 0.95;
}

.theme-btn.btn-style-nine {
  background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
  color: var(--white-color);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-btn.btn-style-nine:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, var(--accent-color) 100%);
}

/* ========================================
   FEATURED SECTION
   ======================================== */

.featured-section-two {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white-color) 100%);
  padding: 120px 0 100px;
}

.sec-title-three h2 {
  font-size: 48px;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.sec-title-three .title {
  color: var(--main-color);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.sec-title-three .text {
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.7;
}

.feature-block-three .inner-box {
  background: var(--white-color);
  border-radius: 20px;
  padding: 40px 25px;
  border: 2px solid var(--gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-block-three .inner-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--main-color), var(--main-color-four));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-block-three .inner-box:hover:before {
  transform: scaleX(1);
}

.feature-block-three .inner-box:hover {
  transform: translateY(-10px);
  border-color: var(--main-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-block-three .inner-box .icon-box {
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: linear-gradient(135deg, var(--main-color-eight) 0%, #DDD6FE 100%);
  border-radius: 20px;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

.feature-block-three .inner-box:hover .icon-box {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  transform: rotateY(360deg) scale(1.1);
}

.feature-block-three .inner-box .icon {
  font-size: 40px;
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.feature-block-three .inner-box:hover .icon {
  -webkit-text-fill-color: var(--white-color);
}

.feature-block-three .inner-box h4 a {
  color: var(--heading-color);
  font-size: 22px;
  transition: all 0.3s ease;
}

.feature-block-three .inner-box:hover h4 a {
  color: var(--main-color);
}

.feature-block-three .inner-box .text {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.7;
}

.feature-block-three .inner-box .plus {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: linear-gradient(135deg, var(--main-color-eight) 0%, #DDD6FE 100%);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.feature-block-three .inner-box:hover .plus {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  transform: rotate(180deg) scale(1.1);
}

.feature-block-three .inner-box .plus span {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-block-three .inner-box:hover .plus span {
  -webkit-text-fill-color: var(--white-color);
}

/* ========================================
   BUTTONS & CALL-TO-ACTION
   ======================================== */

.theme-btn {
  border-radius: 50px;
  padding: 14px 35px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.theme-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.theme-btn:hover:before {
  left: 100%;
}

.theme-btn.btn-style-one {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.theme-btn.btn-style-one:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

/* ========================================
   FOOTER CONTACT INFO STYLING
   ======================================== */

.footer-widget.contact-widget .contact-info {
  position: relative;
  margin-top: 20px;
}

.footer-widget.contact-widget .contact-info li {
  position: relative;
  padding: 15px 0;
  padding-left: 50px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-widget.contact-widget .contact-info li:last-child {
  border-bottom: none;
}

.footer-widget.contact-widget .contact-info li:hover {
  padding-left: 55px;
  color: var(--white-color);
}

.footer-widget.contact-widget .contact-info li .icon {
  position: absolute;
  left: 0;
  top: 15px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  color: var(--white-color);
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-widget.contact-widget .contact-info li:hover .icon {
  transform: scale(1.1) rotate(360deg);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.footer-widget.contact-widget .contact-info li a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-widget.contact-widget .contact-info li a:hover {
  color: var(--main-color);
  text-decoration: none;
}

.footer-style-two {
  background: #0F172A !important;
  position: relative;
}

.footer-style-two:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-widget h5 {
  color: var(--white-color);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h5:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), var(--main-color-four));
  border-radius: 2px;
}

.footer-widget .text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-widget .quick-links li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 20px;
}

.footer-widget .quick-links li a:before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-widget .quick-links li a:hover {
  color: var(--main-color);
  padding-left: 25px;
}

.footer-widget .quick-links li a:hover:before {
  opacity: 1;
  left: 5px;
}

.social-box li a {
  width: 45px;
  height: 45px;
  line-height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-box li a:hover {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.newsletter-form-two .form-group input {
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white-color);
  padding: 12px 25px;
}

.newsletter-form-two .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form-two .form-group button {
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #059669 100%);
  padding: 12px 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
}

.footer-bottom .copyright {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-nav li a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-bottom-nav li a:hover {
  color: var(--main-color);
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */

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

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

.wow {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

/* ========================================
   RESPONSIVE ENHANCEMENTS
   ======================================== */

@media (max-width: 991px) {
  .author-slider-block .inner-box h1 {
    font-size: 42px;
  }
  
  .sec-title-three h2 {
    font-size: 36px;
  }
  
  .feature-block-three .inner-box {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .author-slider-block .inner-box h1 {
    font-size: 32px;
  }
  
  .sec-title-three h2 {
    font-size: 28px;
  }
  
  .theme-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

/* ========================================
   PRELOADER
   ======================================== */

.preloader {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
}

.preloader span {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-to-top {
  background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-four) 100%);
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}
