@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Dark Theme Default */
  --primary-color: #0a192f;
  --secondary-color: #112240;
  --accent-color: #ff6b00;
  --accent-glow: rgba(255, 107, 0, 0.4);
  --text-main: #ccd6f6;
  --text-muted: #8892b0;
  --white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #0a192f 0%, #112240 100%);
  --card-bg: rgba(17, 34, 64, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-soft: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --footer-bg: #061020;
}

[data-theme="light"] {
  --primary-color: #f8f9fa;
  --secondary-color: #ffffff;
  --accent-color: #ff6b00;
  --accent-glow: rgba(255, 107, 0, 0.2);
  --text-main: #2b2b2b;
  --text-muted: #5a5a5a;
  --white: #111111; /* Used for headings */
  --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --card-bg: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
  --footer-bg: #e9ecef;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary-color);
  background-image: radial-gradient(circle at 15% 50%, rgba(255, 107, 0, 0.05), transparent 25%),
                    radial-gradient(circle at 85% 30%, rgba(100, 255, 218, 0.03), transparent 25%);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.5s ease;
}

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

ul {
  list-style: none;
}

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

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}
.theme-toggle:hover {
  color: var(--accent-color);
  transform: rotate(20deg);
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

.text-center { text-align: center; }
.text-accent { color: var(--accent-color); }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0; }
.font-weight-bold { font-weight: 700; }

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 35px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  gap: 12px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-color), #ff3366);
  color: #fff !important;
  box-shadow: 0 10px 25px rgba(255, 107, 0, 0.4);
}

.btn-primary::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #ff3366, var(--accent-color));
    z-index: -1; transition: opacity 0.4s ease; opacity: 0;
}

.btn-primary:hover::after { opacity: 1; }

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 107, 0, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text-main) !important;
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-5px);
  color: var(--white) !important;
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-soft);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  cursor: pointer;
}

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

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

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 650px;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 30px;
  font-size: 0.95rem;
  color: var(--accent-color);
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  animation: pulse 2s infinite;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 25px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 45px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 25px;
}

.hero-visual {
  flex-shrink: 0;
  width: 480px;
  height: 480px;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.img-glow {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.img-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    border-radius: 30px;
}

/* Loading Spinner */
#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--glass-border);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations & Utilities */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

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

@keyframes blobAnim {
    0% { transform: scale(1) translate(0, 0); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { transform: scale(1.1) translate(20px, -20px); border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    100% { transform: scale(1) translate(0, 0); border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

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

/* Premium Utilities */
.text-gradient {
    background: linear-gradient(270deg, var(--accent-color), #ff3366, #ff9900, var(--accent-color));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

.premium-glass {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.7s;
}

.premium-glass:hover::before {
    left: 150%;
}

.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    animation: blobAnim 10s infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 400px; height: 400px; background: rgba(255, 107, 0, 0.4); }
.blob-2 { bottom: -10%; right: -10%; width: 500px; height: 500px; background: rgba(51, 102, 255, 0.3); animation-delay: -5s; }

.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stats Section */
.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transform: translateY(-50px);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.stat-card {
  text-align: center;
}

.stat-num {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-num span {
  color: var(--accent-color);
}

.stat-text {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--card-bg);
  padding: 50px 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,107,0,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
  transform: scale(0.5);
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.15);
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 51, 102, 0.2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 30px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent-color), #ff3366);
  color: #fff;
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.service-link {
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  color: var(--accent-color);
}

/* Portfolio */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 30px;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.portfolio-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, transparent 100%);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-category {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

.portfolio-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff !important; /* Force white overlay text */
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: var(--secondary-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.popular {
  border-color: var(--accent-color);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(255, 107, 0, 0.15);
}

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

.popular-badge {
  position: absolute;
  top: 0;
  right: 40px;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 0 0 10px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header {
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.pricing-price {
  font-size: 3rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: flex-start;
}

.pricing-price span {
  font-size: 1.5rem;
  margin-top: 10px;
  margin-right: 5px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.pricing-features li i {
  color: var(--accent-color);
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--card-bg);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-color);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-icon:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background: var(--glass-bg);
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.1);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  padding: 80px 0 20px;
  border-top: 1px solid var(--glass-border);
  transition: background 0.5s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-main);
}

.social-link:hover {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 3.2rem; }
  .stats-wrapper { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-visual { width: 380px; height: 380px; }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-10px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100vh;
    background: var(--secondary-color);
    border-right: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 90px;
    padding-left: 25px;
    padding-right: 20px;
    transition: left 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s ease;
    box-shadow: 10px 0 30px rgba(0,0,0,0.3);
    z-index: 999;
    gap: 0;
  }
  .nav-menu.active { left: 0; }
  .mobile-toggle { display: block; z-index: 1001; }
  .theme-toggle { margin-right: 10px; }
  .hero-title { font-size: 2.5rem; }
  .contact-container { grid-template-columns: 1fr; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-link { margin: 10px 0; font-size: 1.15rem; display: block; }
  .header { padding: 12px 0; }
  .hero {
    padding-top: 75px;
    min-height: auto;
    padding-bottom: 50px;
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
}

/* BENTO BOX (Why Choose Us) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 30px;
    margin-top: 50px;
}

.bento-item {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.5s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bento-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 20px rgba(255,107,0,0.1);
}

.bento-item.large { grid-column: span 2; grid-row: span 2; }
.bento-item.tall { grid-row: span 2; }

.bento-icon {
    font-size: 2.5rem; color: var(--accent-color); margin-bottom: 20px;
}
.bento-title { font-size: 1.8rem; margin-bottom: 15px; }
.bento-desc { color: var(--text-muted); font-size: 1.05rem; }

/* Badges / Tech */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}
.tech-badge {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 15px 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.tech-badge:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Accordion FAQ */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--secondary-color);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item:hover {
    border-color: rgba(255,107,0,0.3);
}
.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--white);
}
.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-muted);
}
.accordion-item.active .accordion-body {
  padding: 0 20px 20px;
  max-height: 500px;
}
.accordion-item.active .accordion-header {
  color: var(--accent-color);
}
.accordion-icon {
  transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Page Headers for subpages */
.page-header {
  padding: 150px 0 80px;
  text-align: center;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--glass-border);
}
.page-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.content-block {
  background: var(--secondary-color);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  margin-bottom: 30px;
  transition: var(--transition);
}
.content-block:hover {
    box-shadow: var(--shadow-soft);
}
.content-block h2, .content-block h3 { margin-bottom: 20px; margin-top: 30px; color: var(--white); }
.content-block h2:first-child, .content-block h3:first-child { margin-top: 0; }
.content-block p { margin-bottom: 15px; color: var(--text-muted); }
.content-block ul { margin-bottom: 20px; padding-left: 20px; list-style: disc; color: var(--text-muted); }

/* Testimonials Slider (simplified CSS) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255,107,0,0.3);
}
.rating { color: #fbc02d; margin-bottom: 15px; }
.testi-text { font-style: italic; color: var(--text-main); margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 15px; }
.testi-img { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-color); }
.testi-name { font-weight: 600; color: var(--white); }
.testi-role { font-size: 0.85rem; color: var(--text-muted); }

/* Blog Card */
.blog-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}
.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-img {
    transform: scale(1.05);
}
.blog-content {
    padding: 25px;
}
.blog-meta {
    display: flex;
    gap: 15px;
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.blog-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Utility Classes */
.gap-2 { gap: 1rem; }
.align-items-center { align-items: center; }
.d-flex { display: flex; }

/* Page Transition classes */
.page-transition {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.page-transition.active {
    opacity: 1;
}

/* Fix Bento Grid on Mobile (Moved to end to override global styles) */
@media (max-width: 768px) {
  .bento-grid {
      display: flex;
      flex-direction: column;
      gap: 30px;
  }
  .bento-item {
      width: 100%;
      min-height: 300px !important;
  }
  .bento-item.large, .bento-item.tall {
      grid-column: auto;
      grid-row: auto;
  }
}

/* ========================================= */
/* Premium Success Modal Styles              */
/* ========================================= */

/* Overlay */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  padding: 20px;
}

.success-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal-overlay.closing {
  opacity: 0;
  visibility: hidden;
}

/* Modal Box */
.success-modal {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 50px 40px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: scale(0.7) translateY(40px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(255, 107, 0, 0.1);
}

.success-modal-overlay.active .success-modal {
  transform: scale(1) translateY(0);
}

.success-modal-overlay.closing .success-modal {
  transform: scale(0.8) translateY(30px);
}

/* Glow effect behind modal */
.success-modal-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

/* Checkmark Animation */
.success-checkmark-container {
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  stroke-width: 2;
  stroke: #10b981;
  stroke-miterlimit: 10;
  animation: fillCheck 0.4s ease-in-out 0.4s forwards, scaleCheck 0.3s ease-in-out 0.9s both;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke: #10b981;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3.5;
  stroke: #10b981;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}

@keyframes fillCheck {
  100% { box-shadow: inset 0 0 0 60px rgba(16, 185, 129, 0.1); }
}

@keyframes scaleCheck {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* Modal Title */
.success-modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #10b981, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Modal Description */
.success-modal-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.success-modal-desc strong {
  color: var(--accent-color);
}

/* Info Badge */
.success-modal-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.success-modal-info i {
  font-size: 1.1rem;
}

/* Button */
.success-modal-btn {
  position: relative;
  z-index: 1;
  min-width: 180px;
}

/* Confetti */
.success-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.confetti-piece {
  position: absolute;
  top: -10px;
  opacity: 0;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(500px) rotate(720deg) scale(0.3);
  }
}

/* Form input placeholder styling */
.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

/* Submit button disabled state */
#contactSubmitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Responsive for success modal */
@media (max-width: 480px) {
  .success-modal {
    padding: 35px 25px 30px;
    border-radius: 20px;
  }
  .success-modal-title {
    font-size: 1.4rem;
  }
  .success-modal-desc {
    font-size: 0.9rem;
  }
  .success-checkmark {
    width: 60px;
    height: 60px;
  }
}
