/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-bg: #000000;
  --secondary-bg: #0a0a0a;
  --accent-blue: #4a5568;
  --accent-blue-light: #64748b;
  --accent-blue-dark: #374151;
  --accent-steel: #4a5568;
  --accent-slate: #64748b;
  --accent-gray: #6b7280;
  --text-primary: #f8f8f8;
  --text-secondary: #e8e8e8;
  --text-muted: #b8b8b8;
  --text-bone: #f5f5dc;
  --border-color: #2a2a2a;
  --card-bg: #0f0f0f;
  --card-hover: #1c1c1c;
  --gradient-primary: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  --gradient-hover: linear-gradient(135deg, #2d2d2d, #404040);
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hero Section with 3D Animation */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-section iframe {
  width: 120%;
  height: 120%;
  border: none;
  position: absolute;
  top: -10%;
  left: -10%;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
  padding: 2rem;
  max-width: 600px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideInRight 1s ease forwards;
  opacity: 0;
}

.hero-title.small {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.1);
}

.hero-title.small:first-child {
  text-align: left;
  margin-left: -2rem;
  animation-delay: 0.1s;
}

.hero-title.main {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.1);
  margin-left: -1.5rem;
  text-align: center;
  animation-delay: 0.3s;
}

.hero-title.small:last-child {
  text-align: right;
  margin-right: -2rem;
  animation-delay: 0.5s;
}

/* Hero Description - Bottom Left */
.hero-description-bottom {
  position: absolute;
  bottom: 80px;
  left: 40px;
  max-width: 300px;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
  z-index: 3;
}

.hero-description-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
  text-align: justify;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Hero Action Button - Bottom Center */
.hero-action-bottom {
  position: absolute;
  bottom: 40px;
  left: 45%;
  transform: translateX(-50%);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
  z-index: 3;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.15) 0%,
    rgba(71, 85, 105, 0.1) 50%,
    rgba(100, 116, 139, 0.15) 100%
  );
  color: #8fa3b8;
  border: 2px solid rgba(100, 116, 139, 0.5);
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 20px rgba(100, 116, 139, 0.1), inset 0 0 20px rgba(100, 116, 139, 0.05);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 116, 139, 0.15), transparent);
  transition: left 0.6s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.25) 0%,
    rgba(71, 85, 105, 0.15) 50%,
    rgba(100, 116, 139, 0.25) 100%
  );
  border-color: rgba(100, 116, 139, 0.8);
  box-shadow: 0 0 30px rgba(100, 116, 139, 0.3), inset 0 0 30px rgba(100, 116, 139, 0.1);
  color: rgba(143, 163, 184, 0.95);
}

.hero-btn .btn-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.hero-btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Hide floating icons on desktop by default */
.floating-icon {
  display: none;
  position: absolute;
  font-size: 2.5rem;
  color: #4a90e2;
  opacity: 0.7;
  z-index: 2;
  animation: floatIcon 6s ease-in-out infinite;
  pointer-events: none;
}

.floating-icon i {
  color: #4a90e2;
  filter: drop-shadow(0 0 10px rgba(74, 144, 226, 0.3));
}

.floating-icon-1 {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon-2 {
  top: 25%;
  right: 15%;
  animation-delay: 1.5s;
}

.floating-icon-3 {
  bottom: 30%;
  left: 15%;
  animation-delay: 3s;
}

.floating-icon-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 4.5s;
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) rotate(5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-10px) rotate(-3deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-25px) rotate(7deg);
    opacity: 0.9;
  }
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.3;
    box-shadow: 0 0 20px rgba(100, 116, 139, 0.2);
  }
  50% {
    opacity: 0.8;
    box-shadow: 0 0 40px rgba(100, 116, 139, 0.4);
  }
}

/* Categories Accordion Section */
.categories-accordion-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  position: relative;
}

.accordion-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.accordion-main-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.accordion-subtitle {
  font-size: 18px;
  text-align: center;
  color: #b8b8b8;
  margin-bottom: 60px;
  font-weight: 400;
  line-height: 1.5;
}

.accordion-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.accordion-item {
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.accordion-header {
  display: flex;
  align-items: center;
  padding: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #4a5568 0%, #64748b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.accordion-icon i {
  font-size: 32px;
  color: #ffffff;
}

.accordion-item:hover .accordion-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, #64748b 0%, #4a5568 100%);
}

.accordion-title-section {
  flex: 1;
}

.accordion-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accordion-preview {
  font-size: 14px;
  color: #b8b8b8;
  line-height: 1.4;
  font-weight: 400;
}

.accordion-toggle {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.accordion-toggle i {
  font-size: 18px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  background: rgba(100, 116, 139, 0.2);
}

.accordion-item.active .accordion-toggle i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-content-inner {
  padding: 0 30px 40px 30px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.accordion-description {
  font-size: 16px;
  color: #e8e8e8;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 400;
}

.accordion-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: rgba(100, 116, 139, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(100, 116, 139, 0.15);
  transform: translateY(-2px);
}

.feature-item i {
  font-size: 18px;
  color: #64748b;
}

.feature-item span {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}

/* Modern Companies Section */
.modern-companies-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

.modern-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.modern-section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.modern-companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

/* Ensure all company cards have exactly the same dimensions */
.modern-company-card {
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  height: 480px !important;
  min-height: 480px !important;
  max-height: 480px !important;
  display: flex;
  flex-direction: column;
}

.modern-company-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(74, 85, 104, 0.12) 0%, rgba(100, 116, 139, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.modern-company-card:hover::before {
  opacity: 1;
}

.modern-company-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(74, 85, 104, 0.5);
}

.modern-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

/* Fixed header dimensions for uniform cards */
.modern-card-header {
  position: relative;
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  overflow: hidden;
  flex-shrink: 0;
}

.modern-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  filter: brightness(0.8) contrast(1.1);
}

.modern-company-card:hover .modern-banner-image {
  transform: scale(1.1);
  filter: brightness(1) contrast(1.2);
}

.modern-category-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #4a5568 0%, #64748b 50%, #6b7280 100%);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(74, 85, 104, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 3;
  transition: all 0.4s ease;
}

.modern-company-card:hover .modern-category-tag {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, rgba(74, 85, 104, 0.8) 0%, rgba(100, 116, 139, 0.7) 100%);
  box-shadow: 0 12px 35px rgba(74, 85, 104, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Fixed content dimensions for uniform cards */
.modern-card-content {
  padding: 30px;
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
  position: relative;
  flex-grow: 1;
}

.modern-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(74, 85, 104, 0.4) 50%, transparent 100%);
}

.modern-text-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.modern-company-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 15px 0;
  line-height: 1.3;
  letter-spacing: -0.5px;
  height: auto;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.modern-company-description {
  font-size: 14px;
  color: #b8b8b8;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  flex-grow: 1;
}

.modern-card-footer {
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.modern-profile-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modern-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(74, 85, 104, 0.3);
  transition: all 0.4s ease;
}

.modern-company-card:hover .modern-avatar {
  border-color: rgba(74, 85, 104, 0.8);
  transform: scale(1.1);
}

.modern-publish-date {
  font-size: 13px;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.modern-load-more {
  text-align: center;
  margin-top: 50px;
}

.modern-load-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, rgba(74, 85, 104, 0.7) 0%, rgba(55, 65, 81, 0.8) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(74, 85, 104, 0.3);
}

.modern-load-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, rgba(74, 85, 104, 0.9) 0%, rgba(55, 65, 81, 1) 100%);
  box-shadow: 0 15px 40px rgba(74, 85, 104, 0.4);
}

/* ========================================
   RESPONSIVE DESIGN - DESKTOP FIRST
   ======================================== */

/* Tablet and Large Mobile Responsive */
@media (max-width: 1200px) {
  .modern-companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }

  .modern-container {
    padding: 0 30px;
  }

  .accordion-container {
    padding: 0 30px;
  }

  /* Maintain uniform card sizes */
  .modern-company-card {
    height: 480px !important;
  }

  .modern-card-header {
    height: 200px !important;
  }

  .modern-card-content {
    height: 280px !important;
    padding: 25px;
  }

  .modern-company-title {
    font-size: 20px;
    min-height: 50px;
  }

  .modern-company-description {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
}

/* Mobile Hero - Innovative Alternative WITHOUT 3D Model */
@media (max-width: 768px) {
  /* Hero Section - Mobile Innovation */
  .hero-section {
    height: 75vh;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    position: relative;
    overflow: hidden;
  }

  /* Hide 3D iframe on mobile */
  .hero-section iframe {
    display: none !important;
  }

  /* Create innovative animated background */
  .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(100, 116, 139, 0.15) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(74, 85, 104, 0.1) 0%, transparent 50%),
      linear-gradient(45deg, transparent 30%, rgba(100, 116, 139, 0.05) 50%, transparent 70%);
    animation: backgroundPulse 8s ease-in-out infinite;
    z-index: 1;
  }

  /* Show floating business icons on mobile */
  .floating-icon {
    display: block !important;
  }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 95%;
    padding: 1.5rem;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-text {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Perfectly centered titles with glowing effect */
  .hero-title {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(100, 116, 139, 0.2), 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center !important;
    margin: 0 auto !important;
    display: block;
    width: 100%;
  }

  .hero-title.small:first-child {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
    animation: slideInLeft 1s ease forwards;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
  }

  .hero-title.main {
    font-size: clamp(4.5rem, 12vw, 7rem) !important;
    position: relative;
    animation: scaleIn 1.2s ease forwards;
    margin: 0.5rem auto !important;
    text-align: center !important;
    width: 100%;
    display: block;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-title.main::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 20px;
    animation: borderGlow 3s ease-in-out infinite;
  }

  .hero-title.small:last-child {
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
    animation: slideInRight 1s ease forwards;
    margin-top: 0.5rem !important;
    text-align: center !important;
  }

  .hero-description-bottom {
    display: none !important;
  }

  .hero-action-bottom {
    display: none !important;
  }

  .hero-btn {
    padding: 20px 50px;
    font-size: 15px;
    gap: 15px;
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.3) 0%, rgba(74, 85, 104, 0.2) 100%);
    border: 2px solid rgba(100, 116, 139, 0.7);
    box-shadow: 0 0 30px rgba(100, 116, 139, 0.3), inset 0 0 20px rgba(100, 116, 139, 0.1);
    border-radius: 35px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Accordion Mobile Styles */
  .categories-accordion-section {
    padding: 60px 0;
  }

  .accordion-container {
    padding: 0 20px;
  }

  .accordion-main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
  }

  .accordion-subtitle {
    font-size: 14px;
    margin-bottom: 40px;
    padding: 0 10px;
  }

  .accordion-wrapper {
    max-width: 100%;
    gap: 15px;
  }

  .accordion-item {
    border-radius: 15px;
  }

  .accordion-header {
    padding: 20px;
  }

  .accordion-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .accordion-icon i {
    font-size: 24px;
  }

  .accordion-title {
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.3;
  }

  .accordion-preview {
    font-size: 12px;
    line-height: 1.4;
  }

  .accordion-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .accordion-toggle i {
    font-size: 16px;
  }

  .accordion-content-inner {
    padding: 0 20px 25px 20px;
    margin-top: 15px;
    padding-top: 20px;
  }

  .accordion-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .accordion-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-item {
    padding: 12px 15px;
    border-radius: 10px;
  }

  .feature-item i {
    font-size: 16px;
  }

  .feature-item span {
    font-size: 13px;
  }

  /* Companies Grid Mobile */
  .modern-companies-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .modern-container {
    padding: 0 20px;
  }

  .modern-companies-section {
    padding: 60px 0;
  }

  /* Maintain uniform card sizes on mobile */
  .modern-company-card {
    height: 480px !important;
    width: 100% !important;
    max-width: 500px !important;
    min-width: 300px !important;
    margin: 0 auto;
    flex: 1 1 auto;
  }

  .modern-card-header {
    height: 200px !important;
  }

  .modern-card-content {
    height: 280px !important;
    padding: 22px;
  }

  .modern-company-title {
    font-size: 18px;
    min-height: 45px;
  }

  .modern-company-description {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }

  .modern-category-tag {
    font-size: 10px;
    padding: 8px 16px;
    top: 15px;
    left: 15px;
  }

  .modern-avatar {
    width: 40px;
    height: 40px;
  }

  .modern-publish-date {
    font-size: 12px;
  }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
  .hero-section {
    height: 65vh;
  }

  .hero-content {
    max-width: 98%;
    padding: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title.small:first-child {
    font-size: clamp(2rem, 7vw, 3.5rem) !important;
    text-align: center !important;
    margin: 0 auto 0.5rem auto !important;
  }

  .hero-title.main {
    font-size: clamp(3.8rem, 11vw, 6rem) !important;
    text-align: center !important;
    margin: 0.5rem auto !important;
    display: block;
    width: 100%;
    left: 0 !important;
    right: 0 !important;
  }

  .hero-title.small:last-child {
    font-size: clamp(2rem, 7vw, 3.5rem) !important;
    text-align: center !important;
    margin: 0.5rem auto 0 auto !important;
  }

  .hero-description-bottom {
    display: none !important;
  }

  .hero-action-bottom {
    display: none !important;
  }

  .hero-btn {
    padding: 18px 45px;
    font-size: 14px;
    gap: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Accordion Small Mobile */
  .categories-accordion-section {
    padding: 50px 0;
  }

  .accordion-container {
    padding: 0 15px;
  }

  .accordion-main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    margin-bottom: 10px;
  }

  .accordion-subtitle {
    font-size: 13px;
    margin-bottom: 30px;
    padding: 0 5px;
  }

  .accordion-wrapper {
    gap: 12px;
  }

  .accordion-item {
    border-radius: 12px;
  }

  .accordion-header {
    padding: 18px 15px;
  }

  .accordion-icon {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }

  .accordion-icon i {
    font-size: 20px;
  }

  .accordion-title {
    font-size: 16px;
  }

  .accordion-preview {
    font-size: 11px;
  }

  /* Companies Small Mobile */
  .modern-container {
    padding: 0 15px;
  }

  .modern-companies-grid {
    gap: 25px;
  }

  /* Maintain uniform card sizes on small mobile */
  .modern-company-card {
    height: 460px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 280px !important;
    flex: 1 1 auto;
  }

  .modern-card-header {
    height: 180px !important;
  }

  .modern-card-content {
    height: 280px !important;
    padding: 20px;
  }

  .modern-company-title {
    font-size: 16px;
    min-height: 40px;
  }

  .modern-company-description {
    font-size: 11px;
    -webkit-line-clamp: 3;
  }

  .modern-category-tag {
    font-size: 9px;
    padding: 6px 12px;
    top: 12px;
    left: 12px;
  }

  .modern-card-footer {
    margin-top: auto;
    padding-top: 20px;
  }

  .modern-avatar {
    width: 36px;
    height: 36px;
  }

  .modern-publish-date {
    font-size: 11px;
  }

  .modern-load-btn {
    padding: 15px 30px;
    font-size: 12px;
  }
}

/* Desktop-only styles to maintain exact same appearance */
@media (min-width: 769px) {
  .hero-section iframe {
    display: block !important;
  }

  .floating-icon {
    display: none !important;
  }

  .hero-section::before {
    display: none;
  }
}
