/* ============================================
   Mettlepower Modern Redesign CSS
   ============================================ */

:root {
  --primary: #4F46E5;
  --primary-light: #818CF8;
  --primary-dark: #3730A3;
  --secondary: #0EA5E9;
  --accent: #06B6D4;
  --dark: #0F172A;
  --dark-light: #1E293B;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --gradient-1: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 100%);
  --gradient-2: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-3: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #0EA5E9 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
}

/* ---- Utility Classes ---- */
.gradient-text {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: 100px 0;
}

.section-padding-sm {
  padding: 80px 0;
}

/* ---- Badge / Tag ---- */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-badge i {
  font-size: 10px;
}

/* ---- Section Header ---- */
.modern-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.modern-section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.modern-section-header p {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   TOP BAR - Hidden in modern design
   ============================================ */
#topbar {
  display: none !important;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
#header,
#header.header-transparent,
#header.header-scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 0 !important;
  top: 0 !important;
  transition: var(--transition);
  z-index: 997;
}

#header.header-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
  padding: 8px 0 !important;
}


#header .logo img {
  max-height: 42px;
  transition: var(--transition);
}

/* Nav Links */
.main-nav > ul > li {
  padding-left: 8px;
}

.main-nav a {
  font-family: 'Inter', 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  color: var(--gray-700) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  letter-spacing: 0;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: var(--primary) !important;
  background: rgba(79, 70, 229, 0.06);
}

/* Nav links always dark on white navbar */
#header .main-nav a,
#header.header-transparent .main-nav a,
#header.header-scrolled .main-nav a {
  color: #1F2937 !important;
}

#header .main-nav a:hover,
#header .main-nav .active > a,
#header .main-nav li:hover > a {
  color: #4F46E5 !important;
  background: rgba(79, 70, 229, 0.06);
}

/* Nav CTA Button */
.nav-cta-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--gradient-1) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  transition: var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  color: var(--white) !important;
  background: var(--gradient-1) !important;
}

/* CTA button stays the same in both transparent and scrolled states */
.header-transparent .main-nav .nav-cta-btn {
  color: var(--white) !important;
  background: var(--gradient-1) !important;
}

.header-scrolled .main-nav .nav-cta-btn {
  color: var(--white) !important;
  background: var(--gradient-1) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  background: var(--gradient-2) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow1 8s ease-in-out infinite alternate;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow2 10s ease-in-out infinite alternate;
}

@keyframes heroGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 50px) scale(1.1); }
}

@keyframes heroGlow2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -30px) scale(1.15); }
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero .intro-info h1 {
  font-size: 52px !important;
  font-weight: 800 !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
  min-height: auto !important;
  width: 100% !important;
  margin-top: 0 !important;
  letter-spacing: -1px;
}

#hero .intro-info h1 .wrap {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border-right-color: var(--primary-light) !important;
}

#hero .hero-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

#hero .btn-get-started {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--gradient-1) !important;
  color: var(--white) !important;
  padding: 16px 36px !important;
  border-radius: var(--radius) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.35);
  transition: var(--transition);
  border: none;
}

#hero .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.45);
}

#hero .btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  margin-left: 16px;
}

#hero .btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

#hero .hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#hero .hero-stats .stat-item h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

#hero .hero-stats .stat-item h3 span {
  background: var(--gradient-3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero .hero-stats .stat-item p {
  font-size: 14px;
  color: var(--gray-400);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

#hero .intro-img img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: heroFloat 6s ease-in-out infinite;
}

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

/* Hero responsive */
@media (max-width: 991px) {
  #hero .intro-info h1 {
    font-size: 36px !important;
    text-align: center;
  }
  #hero .hero-subtitle {
    text-align: center;
    margin: 0 auto 30px;
  }
  #hero .hero-buttons {
    text-align: center;
  }
  #hero .hero-stats {
    justify-content: center;
    gap: 32px;
  }
  #hero .btn-secondary-hero {
    margin-left: 0;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  #hero {
    padding: 120px 0 80px !important;
    min-height: auto;
  }
  #hero .intro-info h1 {
    font-size: 28px !important;
  }
  #hero .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  #hero .hero-stats .stat-item {
    flex: 0 0 calc(50% - 12px);
    text-align: center;
  }
  #hero .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  #hero .btn-secondary-hero {
    margin-left: 0;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#services {
  padding: 100px 0 !important;
  background: var(--white) !important;
}

#services .section-header {
  margin-bottom: 0;
}

#services .section-header h3 {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

/* Modern Accordion */
.myaccordion {
  max-width: 900px;
  margin: 0 auto !important;
  box-shadow: none !important;
}

.myaccordion .card {
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.myaccordion .card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.myaccordion .card-header {
  background: transparent !important;
  border-bottom: none !important;
  padding: 0 !important;
}

.myaccordion .btn {
  color: var(--dark) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  padding: 20px 24px !important;
  text-align: left;
  transition: var(--transition);
}

.myaccordion .btn:hover {
  color: var(--primary) !important;
}

.myaccordion .fa-stack {
  font-size: 14px !important;
}

.myaccordion .fa-stack .fa-circle {
  color: var(--primary);
}

.myaccordion .card-body {
  padding: 0 24px 20px !important;
}

.myaccordion .card-body p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* Service Cards Grid (alternative to accordion) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-1);
  color: var(--white);
}

.service-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   INDUSTRIES / PORTFOLIO SECTION
   ============================================ */
#portfolio {
  padding: 100px 0 !important;
  background: var(--gray-50) !important;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.industry-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  transition: var(--transition);
}

.industry-card:hover .industry-icon {
  transform: scale(1.15);
}

/* Unique colors for each card */
.industry-card:nth-child(1) .industry-icon  { background: rgba(99, 102, 241, 0.1);  color: #6366F1; }
.industry-card:nth-child(2) .industry-icon  { background: rgba(16, 185, 129, 0.1);  color: #10B981; }
.industry-card:nth-child(3) .industry-icon  { background: rgba(239, 68, 68, 0.1);   color: #EF4444; }
.industry-card:nth-child(4) .industry-icon  { background: rgba(14, 165, 233, 0.1);  color: #0EA5E9; }
.industry-card:nth-child(5) .industry-icon  { background: rgba(245, 158, 11, 0.1);  color: #F59E0B; }
.industry-card:nth-child(6) .industry-icon  { background: rgba(168, 85, 247, 0.1);  color: #A855F7; }
.industry-card:nth-child(7) .industry-icon  { background: rgba(236, 72, 153, 0.1);  color: #EC4899; }
.industry-card:nth-child(8) .industry-icon  { background: rgba(6, 182, 212, 0.1);   color: #06B6D4; }
.industry-card:nth-child(9) .industry-icon  { background: rgba(34, 197, 94, 0.1);   color: #22C55E; }
.industry-card:nth-child(10) .industry-icon { background: rgba(251, 146, 60, 0.1);  color: #FB923C; }
.industry-card:nth-child(11) .industry-icon { background: rgba(100, 116, 139, 0.1); color: #64748B; }
.industry-card:nth-child(12) .industry-icon { background: rgba(99, 102, 241, 0.1);  color: #6366F1; }

/* Colored left border on hover */
.industry-card:nth-child(1):hover  { border-left: 3px solid #6366F1; }
.industry-card:nth-child(2):hover  { border-left: 3px solid #10B981; }
.industry-card:nth-child(3):hover  { border-left: 3px solid #EF4444; }
.industry-card:nth-child(4):hover  { border-left: 3px solid #0EA5E9; }
.industry-card:nth-child(5):hover  { border-left: 3px solid #F59E0B; }
.industry-card:nth-child(6):hover  { border-left: 3px solid #A855F7; }
.industry-card:nth-child(7):hover  { border-left: 3px solid #EC4899; }
.industry-card:nth-child(8):hover  { border-left: 3px solid #06B6D4; }
.industry-card:nth-child(9):hover  { border-left: 3px solid #22C55E; }
.industry-card:nth-child(10):hover { border-left: 3px solid #FB923C; }
.industry-card:nth-child(11):hover { border-left: 3px solid #64748B; }
.industry-card:nth-child(12):hover { border-left: 3px solid #6366F1; }

.industry-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.industry-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industry-card {
    padding: 20px 16px;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
#about {
  padding: 100px 0 !important;
  background: var(--white);
}

#about .section-header .section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
}

#about .about-img {
  margin: 0 !important;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

#about .about-img::before,
#about .about-img::after {
  display: none !important;
}

#about .about-img img {
  border: none !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-2xl);
  transition: var(--transition);
}

#about .about-img img:hover {
  transform: scale(1.02) !important;
}

#about .about-content {
  padding-top: 0 !important;
}

#about .about-content h2 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--dark) !important;
  line-height: 1.3;
  margin-bottom: 20px;
}

#about .about-content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--dark) !important;
  font-style: normal !important;
  margin-top: 24px;
  margin-bottom: 12px;
}

#about .about-content p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
}

#about .about-content ul {
  padding: 0;
  list-style: none;
}

#about .about-content ul li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

#about .about-content ul li i {
  color: var(--primary) !important;
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================
   FEATURES / WHY CHOOSE US
   ============================================ */
#features {
  padding: 100px 0 !important;
  background: var(--gray-50);
}

#features .feature-item {
  align-items: center;
}

#features .feature-item img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

#features h4 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--dark);
  margin-bottom: 28px;
}

#features h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#features h5::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-1);
  flex-shrink: 0;
}

#features p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
  padding-left: 18px;
}

/* ============================================
   CALL TO ACTION
   ============================================ */
#call-to-action {
  background: var(--gradient-1) !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

#call-to-action::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

#call-to-action::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

#call-to-action .container {
  position: relative;
  z-index: 2;
}

#call-to-action .cta-title {
  font-size: 36px !important;
  font-weight: 800 !important;
}

#call-to-action .cta-text {
  font-size: 17px;
  opacity: 0.9;
  line-height: 1.7;
}

#call-to-action .cta-btn {
  background: var(--white) !important;
  color: var(--primary) !important;
  border: none !important;
  padding: 14px 36px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

#call-to-action .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: var(--white) !important;
  color: var(--primary-dark) !important;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--dark) !important;
  padding: 0 !important;
}

#footer .footer-top {
  background: var(--dark) !important;
  padding: 80px 0 40px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#footer .footer-top .footer-info h3 {
  color: var(--white) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 16px;
}

#footer .footer-top .footer-info p {
  color: var(--gray-400) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

#footer .footer-top h4 {
  color: var(--white) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  margin-bottom: 20px;
}

#footer .footer-top .footer-links ul a {
  color: var(--gray-400) !important;
  font-size: 14px;
  transition: var(--transition);
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--primary-light) !important;
  padding-left: 6px;
}

#footer .footer-top .footer-links ul li {
  padding: 6px 0;
}

#footer .footer-top .social-links a {
  background: rgba(255, 255, 255, 0.06) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-right: 8px;
}

#footer .footer-top .social-links a:hover {
  background: var(--gradient-1) !important;
  transform: translateY(-2px);
}

#footer .footer-top .social-links a svg {
  width: 18px !important;
}

#footer .footer-top .footer-newsletter input[type="email"] {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
  padding: 10px 14px !important;
  border-radius: 8px 0 0 8px !important;
  font-size: 14px;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: var(--gradient-1) !important;
  border: none !important;
  padding: 10px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  font-weight: 600;
  font-size: 14px;
}

#footer .footer-top .footer-newsletter h4 {
  margin-bottom: 16px;
}

/* Footer Contact Form */
#footer .form h4 {
  color: var(--white) !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 24px;
}

#footer .form .form-control {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 14px;
  transition: var(--transition);
}

#footer .form .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

#footer .form .form-control::placeholder {
  color: var(--gray-500);
}

#footer .form .form-group {
  margin-bottom: 16px;
}

#footer .form button[type="submit"] {
  background: var(--gradient-1) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 32px !important;
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

#footer .form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

/* Footer Contact Info */
#footer .footer-top .footer-links p {
  color: var(--gray-400) !important;
  font-size: 14px;
}

#footer .footer-top .footer-links p strong {
  color: var(--gray-300);
}

/* Footer Bottom */
#footer .copyright {
  color: var(--gray-500) !important;
  font-size: 13px !important;
  padding: 24px 0 !important;
}

#footer .credits {
  color: var(--gray-500) !important;
  font-size: 13px !important;
}

#footer .credits a {
  color: var(--primary-light) !important;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
  border: none !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  background: var(--gradient-1) !important;
  padding: 20px 24px !important;
  border: none !important;
}

.modal-header h4 {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--white) !important;
}

.modal-header .close {
  color: var(--white) !important;
  opacity: 0.8;
  text-shadow: none;
  font-size: 24px;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-body {
  padding: 24px !important;
}

.modal-body strong {
  color: var(--primary) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-bottom: 1px solid var(--gray-200) !important;
  padding-bottom: 8px;
}

/* Cool B4 Form in Modal */
.cool-b4-form .form-control {
  border-radius: 0 !important;
  border-width: 0 0 2px 0 !important;
  border-color: var(--gray-300) !important;
  font-size: 15px;
}

.cool-b4-form .form-control:focus {
  border-color: var(--primary) !important;
}

.cool-b4-form .form-group .input-highlight {
  background: var(--primary) !important;
}

.cool-b4-form label {
  color: var(--gray-500);
  font-size: 14px;
}

.btn-block {
  background: var(--gradient-1) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 40px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3) !important;
  transition: var(--transition);
}

.btn-block:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4) !important;
  background: var(--gradient-1) !important;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  background: var(--gradient-1) !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  transition: var(--transition);
  display: flex !important;
  align-items: center;
  justify-content: center;
  right: 20px !important;
  bottom: 20px !important;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.back-to-top i {
  padding: 0 !important;
  font-size: 18px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  bottom: 80px !important;
  right: 20px !important;
  width: 56px !important;
  height: 56px !important;
  background: #25D366;
  border-radius: 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img {
  width: 32px !important;
  height: 32px !important;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
  .modern-section-header h2 {
    font-size: 32px;
  }
  
  #services .section-header h3,
  #portfolio .section-header .section-title,
  #about .section-header .section-title {
    font-size: 32px;
  }
  
  #features h4 {
    font-size: 26px !important;
  }
  
  #call-to-action .cta-title {
    font-size: 28px !important;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

@media (max-width: 767px) {
  .modern-section-header h2 {
    font-size: 26px;
  }
  
  #services .section-header h3,
  #portfolio .section-header .section-title,
  #about .section-header .section-title {
    font-size: 26px;
  }
  
  #features h4 {
    font-size: 22px !important;
  }
  
  #call-to-action .cta-title {
    font-size: 24px !important;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  #about .about-content h2 {
    font-size: 24px !important;
  }
}

/* ============================================
   MOBILE NAV OVERRIDE
   ============================================ */
.mobile-nav {
  background: var(--dark) !important;
  padding-top: 20px;
}

.mobile-nav a {
  color: var(--gray-300) !important;
  font-size: 15px;
  padding: 12px 24px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav a:hover,
.mobile-nav .active > a {
  color: var(--primary-light) !important;
  background: rgba(79, 70, 229, 0.08);
}

.mobile-nav-toggle i {
  color: var(--dark) !important;
  font-size: 26px;
}

.header-transparent .mobile-nav-toggle i {
  color: var(--dark) !important;
}

.header-scrolled .mobile-nav-toggle i {
  color: var(--dark) !important;
}

.mobile-nav-overly {
  background: rgba(15, 23, 42, 0.7) !important;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader:before {
  border-top-color: var(--primary) !important;
}
