* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --dark-card: #1a1a1a;
  --dark-gray: #2a2a2a;
  --text-light: #ffffff;
  --text-gray: #b0b0b0;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --transition: all 0.3s ease;
  --primary-color: #ff6b35;
  --dark-bg: #0f0f0f; /* Slightly softer than pure black */
  --card-bg: #1a1a1a;
  --text-main: #eeeeee;
  --text-muted: #a0a0a0;
  --section-padding: 100px 0;

  /* Fluid Font Sizes: clamp(min, preferred, max) */
  --fs-h1: clamp(2.2rem, 8vw, 4.5rem);
  --fs-h2: clamp(1.8rem, 5vw, 3rem);
  --fs-p: clamp(1rem, 2vw, 1.15rem);

  /* Fluid Section Spacing */
  --section-gap: clamp(60px, 10vh, 120px);

  /* Responsive Horizontal Padding (The "Gutter") */
  --container-padding: clamp(1rem, 5vw, 3rem);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-name {
  color: var(--text-light);
}

.brand-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--text-gray);
  margin: 0 1rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.hero-buttons .btn {
  margin: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient);
  border: none;
  color: var(--text-light);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.btn-outline-light {
  border: 2px solid var(--primary-color);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background: var(--gradient);
  border-color: transparent;
  transform: translateY(-3px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.services-highlights {
  background-color: var(--dark-bg);
  padding: 5rem 0;
}

.service-card {
  background: var(--dark-card);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 107, 53, 0.1);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-color);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--text-light);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.featured-work {
  background-color: var(--dark-bg);
  padding: 5rem 0;
}

.portfolio-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.testimonials {
  background-color: var(--dark-card);
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--dark-bg);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.stars {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-info strong {
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.client-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-banner {
  background: var(--gradient);
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn-light {
  background: var(--text-light);
  color: var(--primary-color);
  font-weight: 600;
  border: none;
}

.cta-banner .btn-light:hover {
  background: var(--dark-bg);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer {
  background-color: var(--dark-card);
  border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.footer h3,
.footer h5 {
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--gradient);
  color: var(--text-light);
  transform: translateY(-3px);
}

.page-header {
  padding: 8rem 0 4rem;
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
}

.about-content img {
  border-radius: 15px;
}

.about-content .lead {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.skills {
  background-color: var(--dark-card);
}

.skill-card {
  background: var(--dark-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: var(--transition);
}

.skill-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.skill-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.skill-card h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: var(--dark-gray);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
}

.experience-timeline {
  background-color: var(--dark-bg);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--gradient);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--dark-bg);
}

.timeline-content {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 15px;
  width: calc(50% - 40px);
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: auto;
}

.timeline-content:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.timeline-year {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-content h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-gray);
}

.approach {
  background-color: var(--dark-card);
}

.approach-card {
  background: var(--dark-bg);
  padding: 2.5rem 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.approach-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.approach-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.approach-card h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.approach-card p {
  color: var(--text-gray);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.filter-btn {
  background: var(--dark-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  color: var(--text-gray);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--text-light);
}

.portfolio-grid-item {
  transition: var(--transition);
}

.portfolio-grid-item.hidden {
  display: none;
}

.portfolio-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--text-light);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.stats {
  background-color: var(--dark-card);
}

.stat-card {
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-gray);
  font-size: 1rem;
}

.service-detail-card {
  background: var(--dark-card);
  padding: 3rem 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: var(--transition);
  height: 100%;
}

.service-detail-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.highlight-card {
  border: 2px solid var(--primary-color);
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.05) 0%,
    rgba(247, 147, 30, 0.05) 100%
  );
}

.service-detail-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-detail-card h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.service-detail-card > p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  color: var(--text-gray);
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.service-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
}

.price-label {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process {
  background-color: var(--dark-card);
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-number {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
}

.process-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.process-step h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-gray);
}

.why-choose {
  background-color: var(--dark-bg);
}

.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-box h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-gray);
}

.contact-info-wrapper,
.contact-form-wrapper {
  background: var(--dark-card);
  padding: 3rem 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-details h5 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: var(--text-gray);
  margin: 0;
}

.contact-details a {
  color: var(--text-gray);
}

.contact-details a:hover {
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--dark-bg);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 10px;
  color: var(--text-light);
  transition: var(--transition);
  font-family: "Poppins", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.alert-success {
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid #2ed573;
  color: #2ed573;
}

.alert-danger {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid #ff4757;
  color: #ff4757;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.map-placeholder {
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }

  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-header {
    padding: 6rem 0 3rem;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .service-detail-card,
  .contact-info-wrapper,
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
}

.about-pro-section {
  background: var(--darker-bg);
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 25px;
}

.about-stats div {
  text-align: center;
}

.about-stats strong {
  font-size: 2rem;
  color: var(--primary-color);
  display: block;
}

.about-stats span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card ul {
  padding-left: 0;
  list-style: none;
}

.about-card li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.process-section {
  background: var(--dark-bg);
}

.process-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
}

.process-card:hover {
  transform: translateY(-10px);
  border: 1px solid var(--primary-color);
}

.process-card h4 {
  color: var(--primary-color);
  font-size: 2rem;
}

.process-card p {
  color: var(--text-secondary);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url("https://images.unsplash.com/photo-1558655146-d09347e92766?q=80&w=1600&auto=format&fit=crop")
    no-repeat center center/cover;
  background-attachment: fixed; /* PARALLAX */
  overflow: hidden;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65); /* adjust 0.5–0.75 */
  backdrop-filter: blur(2px);
}

/* Content above overlay */
.hero-section .container {
  position: relative;
  z-index: 2;
}

/* About Section */
.about-section {
  background: var(--dark-bg);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about-content .lead {
  font-size: 1.3rem;
  color: var(--text-primary);
  font-weight: 500;
}

.experience-highlight {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.stat-item {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}

.stat-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* Skills */
.skills-section {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.skill-item {
  margin-bottom: 25px;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 500;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* Skill Bar */
.skill-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08); /* subtle */
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 1s ease;
}

/* Hero Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.12); /* softer */
  filter: blur(80px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: 10%;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.call-btn,
.whatsapp-btn {
  width: 50px;
  height: 50px;
  background: var(--primary-color); /* FIXED */
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: var(--transition);
}

/* WhatsApp slightly different but still themed */
.whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #1ebe5d); /* allowed special */
}

.call-btn:hover,
.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Portfolio Overlay */
.portfolio-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5));
}

/* Section Spacing */
section {
  padding: 80px 0;
}

/* Typography */
.section-title {
  margin-bottom: 20px;
  color: var(--text-light); /* REMOVE gradient here */
}

.section-subtitle {
  margin-bottom: 40px;
  color: var(--text-gray);
}

section {
  padding: var(--section-padding);
}

/* 2. Soften the Cards - Remove harsh borders, use subtle depth */
.service-card,
.portfolio-item,
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.03); /* Almost invisible border */
  border-radius: 20px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
  transform: translateY(-10px);
  background: #222;
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* 3. Improve Typography Contrast */
h2.section-title {
  font-size: 2.8rem;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* --- Centered Feature Box Styling --- */

.feature-box {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  padding: 50px 30px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  height: 100%;
}

/* 1. Center the Icon Circle */
.icon-container {
  width: 70px;
  height: 70px;
  background: rgba(255, 107, 53, 0.1); /* Very soft orange tint */
  color: #ff6b35; /* Your primary orange */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Perfect Circle */
  margin: 0 auto 25px; /* "0 auto" centers the block horizontally */
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Hover Animation */
.feature-box:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.feature-box:hover .icon-container {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  transform: scale(1.1);
}

/* 3. Link Styling */
.read-more-link {
  display: inline-block;
  margin-top: 20px;
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.read-more-link:hover {
  border-bottom: 1px solid #ff6b35;
  letter-spacing: 1px;
}

/* Feather Icon Size */
.icon-container svg {
  width: 30px;
  height: 30px;
}

/* --- High-End Premium Process Section --- */
.process-section {
  background: radial-gradient(circle at top, #1a1a1a 0%, #050505 100%);
  padding: 120px 0;
}

.premium-process-card {
  position: relative;
  height: 300px; /* Fixed height for symmetry */
  border-radius: 30px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

/* 1. The Large Background Number */
.step-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255, 107, 53, 0.03); /* Almost invisible until hover */
  line-height: 1;
  transition: 0.5s;
  user-select: none;
}

/* 2. The Glossy Overlay */
.card-glass {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: 0.8s;
}

/* 3. Icon Box with Glow */
.icon-box {
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b35;
  margin-bottom: 25px;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.1);
}

/* 4. Text Styling */
.card-content h4 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.card-content p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- IMPRESSIVE HOVER EFFECTS --- */
.premium-process-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 107, 53, 0.6);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(255, 107, 53, 0.2);
}

.premium-process-card:hover .card-glass {
  left: 100%; /* Shimmer animation */
}

.premium-process-card:hover .step-number {
  color: rgba(255, 107, 53, 0.08); /* Number lights up slightly */
  right: 10px;
}

.premium-process-card:hover .icon-box {
  background: #ff6b35;
  color: #fff;
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

/* --- High-End FAQ Style --- */
.faq-section {
  padding: 100px 0;
  background: var(--dark-bg);
}

.accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.glass-accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* The Clickable Button */
.accordion-trigger {
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b35;
  margin-right: 20px;
}

.question-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  flex-grow: 1;
}

.chevron {
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease;
}

/* Hover & Active States */
.glass-accordion-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 107, 53, 0.3);
}

.glass-accordion-item.active {
  border-color: #ff6b35;
  background: rgba(255, 107, 53, 0.02);
}

.glass-accordion-item.active .chevron {
  transform: rotate(180deg);
  color: #ff6b35;
}

/* The Hidden Answer */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-inner {
  padding: 0 30px 30px 90px; /* Aligns text with the question, not the icon */
  color: #a0a0a0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Premium Portfolio Styles --- */
.featured-work {
  background: var(--dark-bg);
  padding: 120px 0;
}

.portfolio-card {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5; /* Modern vertical look */
  overflow: hidden;
}

.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* --- The Glossy Glass Overlay --- */
.glass-overlay {
  position: absolute;
  bottom: -100%; /* Hidden at start */
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(12px); /* Frosted glass effect */
  border-top: 1px solid rgba(255, 107, 53, 0.3);
  display: flex;
  align-items: flex-end;
  padding: 40px;
  transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.category-tag {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.overlay-content h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.view-project-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

/* --- Interactive Hover Effects --- */
.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover .glass-overlay {
  bottom: 0; /* Slide up glass */
}

.view-project-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

/* --- Premium Glow Button --- */
.premium-btn {
  position: relative;
  display: inline-block;
  padding: 18px 45px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  background: #000;
  border-radius: 50px;
  border: 1px solid var(--primary-color);
  overflow: hidden;
  transition: 0.3s;
}

.btn-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.3) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%) scale(0);
  transition: 0.6s;
}

.premium-btn:hover .btn-glow {
  transform: translate(-50%, -50%) scale(1);
}

.premium-btn:hover {
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.4);
  transform: scale(1.05);
}

/* --- Elite Section Background --- */
.testimonials-elite {
  background: #050505;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.05) 0%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  filter: blur(100px);
  pointer-events: none;
}

/* --- The Glass Card --- */
.elite-glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 35px;
  padding: 45px;
  height: 100%;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
}

/* Header: Stars & Badge */
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.feather-stars {
  color: #ffb400; /* Gold */
}

.feather-stars svg {
  width: 18px;
  height: 18px;
  fill: #ffb400;
  margin-right: 2px;
  filter: drop-shadow(0 0 5px rgba(255, 180, 0, 0.4));
}

.verified-badge svg {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

/* --- Testimonial Content --- */
.testimonial-body {
  color: #d1d1d1;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.client-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
}

.client-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1a1a1a, #000);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.client-name {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.client-role {
  color: #666;
  font-size: 0.85rem;
}

/* --- Floating Decoration --- */
.bg-quote {
  position: absolute;
  bottom: 20px;
  right: 30px;
  opacity: 0.03;
  transition: 0.5s;
}

.bg-quote svg {
  width: 80px;
  height: 80px;
  color: #fff;
}

/* --- Hover State --- */
.elite-glass-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 107, 53, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.elite-glass-card:hover .bg-quote {
  opacity: 0.1;
  transform: scale(1.2) rotate(-10deg);
}

/* --- Why Choose Me Elite Style --- */
.why-choose-elite {
  background: #050505;
  padding: 100px 0;
}

.why-card-elite {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 50px 30px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
}

/* 1. Large Background Number */
.card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  line-height: 0.8;
  z-index: 0;
}

/* 2. Floating Icon Box */
.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #ff6b35;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.card-icon svg {
  width: 35px;
  height: 35px;
  stroke-width: 1.5px;
}

/* 3. Text Styling */
.why-card-elite h4 {
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
}

.why-card-elite p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}

/* --- THE IMPRESSIVE HOVER --- */
.why-card-elite:hover {
  transform: translateY(-15px);
  background: rgba(255, 107, 53, 0.03);
  border-color: rgba(255, 107, 53, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.why-card-elite:hover .card-icon {
  background: #ff6b35;
  color: #fff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

.why-card-elite:hover .card-number {
  color: rgba(255, 107, 53, 0.08);
  left: 40px;
  transition: 0.6s ease;
}

/* --- CTA Elite Section --- */
.cta-elite-wrapper {
  position: relative;
  background: #000;
  padding: 100px 0;
  overflow: hidden;
  border-radius: 50px; /* Optional: curves the whole section */
  /* margin: 40px 20px; */
}

/* 1. The "Gloshi" Background Mesh */
.cta-mesh-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 107, 53, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 107, 53, 0.1) 0%,
      transparent 40%
    );
  filter: blur(60px);
  z-index: 0;
}

/* 2. The Floating Glass Box */
.glass-cta-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.cta-text {
  color: #a0a0a0;
  font-size: 1.2rem;
  margin-bottom: 45px;
}

/* 3. The Premium Glowing Button */
.btn-premium-glow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ff6b35;
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-glow:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 45px rgba(255, 107, 53, 0.6);
  color: #fff;
}

/* 4. The Glass Outline Button */
.btn-glass-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 18px 35px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-left: 15px;
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* Feather Icon Size */
.cta-actions svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2.2rem;
  }
  .btn-glass-outline {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
    justify-content: center;
  }
  .btn-premium-glow {
    width: 100%;
    justify-content: center;
  }
}

/* --- Floating Container --- */
.floating-contact-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

/* --- Base Button Style --- */
.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  stroke-width: 2px;
}

/* --- Specific Colors & Glass --- */
.whatsapp-elite {
  background: rgba(37, 211, 102, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.call-elite {
  background: rgba(255, 107, 53, 0.9); /* Your primary orange */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- The "Elite" Pulse Animation --- */
.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  animation: elitePulse 2s infinite;
  z-index: -1;
}

@keyframes elitePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --- Hover Interactions --- */
.float-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.whatsapp-elite:hover {
  background: #25d366;
}
.call-elite:hover {
  background: #ff6b35;
}

/* Tooltip on Hover (Optional) */
.float-btn::before {
  content: attr(aria-label);
  position: absolute;
  right: 75px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.float-btn:hover::before {
  opacity: 1;
}

.about-elite-section {
  background: #050505;
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.about-glow-orb {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 53, 0.1) 0%,
    transparent 70%
  );
  filter: blur(80px);
}

/* Narrative Side */
.text-gradient {
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item h3 {
  color: #ff6b35;
  font-weight: 800;
}

.stat-item span {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Button Elite */
.btn-elite-primary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 15px 35px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.4s;
  backdrop-filter: blur(10px);
}

.btn-elite-primary:hover {
  background: #ff6b35;
  border-color: #ff6b35;
  transform: scale(1.05);
  color: #fff;
}

/* Skills Glass Grid */
.skill-chip {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  transition: 0.4s;
}

.skill-chip:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateX(10px);
}

.chip-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.1);
  color: #ff6b35;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-info {
  flex: 1;
}
.chip-info span {
  color: #eee;
  font-weight: 500;
  font-size: 0.95rem;
}

/* The Glass Progress Bar */
.glass-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #f7931e);
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
  border-radius: 10px;
}
/* --- 1. CLEANED VARIABLES --- */
:root {
  --primary-color: #ff6b35;
  --secondary-color: #f7931e;
  --dark-bg: #050505;
  --card-bg: #111111;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- 2. THE HERO FIX --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-bg);
  overflow: hidden;
  padding: 0 20px; /* Adds side spacing on mobile */
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: left;
  margin-top: 40px;
  flex-wrap: wrap; /* Allows wrapping if needed */
}

/* Base Button Styling */
.hero-buttons .btn {
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px; /* Ensures buttons look consistent */
}

/* --- 3. MOBILE RESPONSIVENESS (The "One by One" Fix) --- */
@media (max-width: 767px) {
  .hero-section {
    text-align: center;
    padding: 80px 15px; /* Better padding for small screens */
  }

  .hero-title {
    font-size: 2.2rem !important; /* Forces smaller title so it fits */
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column; /* FORCES VERTICAL STACKING */
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%; /* Buttons take full width on mobile */
    margin: 0 !important; /* Removes conflicting margins */
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
    
  }
}

/* --- 2. GLOBAL RESET FOR SPACING --- */
section {
  padding: var(--section-gap) 0;
  width: 100%;
  /* This ensures content never touches the very edge of the screen */
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  overflow: hidden;
}

.container {
  max-width: 1320px; /* Standard Ultra-Wide limit */
  margin: 0 auto;
  width: 100%;
}

/* --- 3. AUTO-RESIZING TEXT --- */
.hero-title,
h1 {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.section-title,
h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p,
.hero-subtitle {
  font-size: var(--fs-p);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 75ch; /* Limits line length for better readability */
  margin: auto;
  
}

/* --- 4. MOBILE-SPECIFIC FINESSE --- */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem; /* Tighter padding for small screens */
  }

  section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Centers everything on mobile for a cleaner look */
  .hero-section,
  .section-header {
    text-align: center;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

.footer-credits {
  display: flex;
  flex-direction: row;
  align-items: center; /* This is the magic: centers everything vertically */
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* Allows wrapping on small mobile screens */
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* The Vertical Line Fix */
.footer-divider {
  width: 1px;
  height: 14px; /* Perfectly sized to match text height */
  background-color: rgba(255, 255, 255, 0.2);
  display: inline-block;
}

.powered-by {
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.fungrow-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
}

/* Mobile Fix: If it wraps, hide the line and stack centered */
@media (max-width: 576px) {
  .footer-credits {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-divider {
    display: none; /* Hide the line when stacked vertically */
  }
}
