/* Import Futuristic Fonts */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Audiowide&display=swap");

/* Futuristic Fonts & Variables */
:root {
  /*Smooth scroll*/
  scroll-behavior: smooth;

  /* Enhanced Typography */
  --default-font: "Rajdhani", "Lato", "Roboto Condensed", "Open Sans", system-ui,
    -apple-system, "Roboto", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Orbitron", "Exo 2", "Audiowide", "Roboto", "Montserrat",
    "Raleway", "Poppins", sans-serif;
  --nav-font: "Rajdhani", "Lato", "Open Sans", sans-serif;

  /* Futuristic Color Palette */
  --background-color: #0a0a0f;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --accent-color: #00ffff;
  --accent-secondary: #ff00ff;
  --accent-tertiary: #0066ff;

  /* Advanced Gradients */
  --button-color: linear-gradient(135deg, #00ffff, #0066ff, #ff00ff);
  --holographic-gradient: linear-gradient(
    45deg,
    #00ffff,
    #ff00ff,
    #0066ff,
    #00ffff
  );
  --glass-gradient: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  --neon-glow: 0 0 20px rgba(0, 255, 255, 0.5);
  --neon-glow-strong: 0 0 30px rgba(0, 255, 255, 0.8);

  /* Surface Colors */
  --surface-color: rgba(255, 255, 255, 0.05);
  --surface-color-hover: rgba(255, 255, 255, 0.1);
  --contrast-color: #ffffff;
  --link-color: #00ffff;

  /* Navigation Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: rgba(10, 10, 15, 0.95);
  --nav-dropdown-background-color: rgba(10, 10, 15, 0.95);
  --nav-dropdown-color: #ffffff;
  --nav-dropdown-hover-color: #ffffff;
  --background2-color: rgba(0, 102, 255, 0.05);

  /* Animation Variables */
  --transition-fast: 0.2s ease-out;
  --transition-medium: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== THEME SYSTEM ===== */

/* Dark Theme (Default) */
:root {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-accent: #667eea;
  --text-accent-hover: #764ba2;
  --text-success: #4ecdc4;
  --text-warning: #feca57;
  --text-danger: #ff6b6b;
  --text-info: #45b7d1;

  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --bg-surface-hover: rgba(255, 255, 255, 0.1);
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(255, 255, 255, 0.12);

  --border-primary: rgba(255, 255, 255, 0.1);
  --border-secondary: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(102, 126, 234, 0.3);

  --shadow-primary: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-secondary: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-accent: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Dark theme is the only theme - optimized for dark backgrounds */

/* Theme-aware text classes */
.text-theme-primary {
  color: var(--text-primary) !important;
}

.text-theme-secondary {
  color: var(--text-secondary) !important;
}

.text-theme-muted {
  color: var(--text-muted) !important;
}

.text-theme-accent {
  color: var(--text-accent) !important;
}

.text-theme-accent-hover:hover {
  color: var(--text-accent-hover) !important;
}

.text-theme-success {
  color: var(--text-success) !important;
}

.text-theme-warning {
  color: var(--text-warning) !important;
}

.text-theme-danger {
  color: var(--text-danger) !important;
}

.text-theme-info {
  color: var(--text-info) !important;
}

/* Theme-aware background classes */
.bg-theme-primary {
  background-color: var(--bg-primary) !important;
}

.bg-theme-secondary {
  background-color: var(--bg-secondary) !important;
}

.bg-theme-surface {
  background-color: var(--bg-surface) !important;
}

.bg-theme-surface-hover:hover {
  background-color: var(--bg-surface-hover) !important;
}

.bg-theme-card {
  background-color: var(--bg-card) !important;
}

.bg-theme-card-hover:hover {
  background-color: var(--bg-card-hover) !important;
}

/* Theme-aware border classes */
.border-theme-primary {
  border-color: var(--border-primary) !important;
}

.border-theme-secondary {
  border-color: var(--border-secondary) !important;
}

.border-theme-accent {
  border-color: var(--border-accent) !important;
}

/* Theme-aware shadow classes */
.shadow-theme-primary {
  box-shadow: var(--shadow-primary) !important;
}

.shadow-theme-secondary {
  box-shadow: var(--shadow-secondary) !important;
}

.shadow-theme-accent {
  box-shadow: var(--shadow-accent) !important;
}

/* ===== THEME-AWARE TYPOGRAPHY ===== */

/* Override Bootstrap heading colors with theme variables */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--text-primary) !important;
}

/* Theme-aware paragraph and text styles */
p {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--text-accent) !important;
}

.text-success {
  color: var(--text-success) !important;
}

.text-warning {
  color: var(--text-warning) !important;
}

.text-danger {
  color: var(--text-danger) !important;
}

.text-info {
  color: var(--text-info) !important;
}

/* ===== DARK THEME TEXT OPTIMIZATION ===== */

/* Base text styles optimized for dark theme */
body {
  color: #ffffff;
  background-color: #0a0a0f;
}

/* All headings optimized for dark theme */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* All paragraphs optimized for dark theme */
p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* All links optimized for dark theme */
a {
  color: #667eea;
  transition: color var(--transition-medium);
}

a:hover {
  color: #764ba2;
}

/* Navigation menu links - dark theme optimized */
.navbar-nav .nav-link,
.navbar-nav .nav-item a,
.navbar .navbar-nav a,
.navbar-nav a {
  color: #ffffff !important;
  transition: color var(--transition-medium);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item a:hover,
.navbar .navbar-nav a:hover,
.navbar-nav a:hover {
  color: #667eea !important;
}

/* Footer links - dark theme optimized */
footer a,
.footer a,
#footer a {
  color: #ffffff !important;
  transition: color var(--transition-medium);
}

footer a:hover,
.footer a:hover,
#footer a:hover {
  color: #667eea !important;
}

/* Dropdown menu links - dark theme optimized */
.dropdown-menu a,
.navbar .dropdown-menu a {
  color: #ffffff !important;
}

.dropdown-menu a:hover,
.navbar .dropdown-menu a:hover {
  color: #667eea !important;
}

/* All text elements optimized for dark theme */
span,
div,
section,
article,
aside,
header,
main,
footer {
  color: inherit;
}

/* List items optimized for dark theme */
li,
ul,
ol {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Strong and emphasis text */
strong,
b {
  color: #ffffff !important;
  font-weight: 600;
}

em,
i {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Blockquotes optimized for dark theme */
blockquote {
  color: rgba(255, 255, 255, 0.8) !important;
  border-left: 4px solid #667eea;
  padding-left: 20px;
  margin: 20px 0;
}

/* Code elements optimized for dark theme */
code,
pre {
  color: #00ffff !important;
  background-color: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Table text optimized for dark theme */
table,
th,
td {
  color: #ffffff !important;
}

/* Form labels optimized for dark theme */
label {
  color: #ffffff !important;
}

/* Button text optimized for dark theme */
.btn {
  color: #ffffff !important;
}

/* Card text optimized for dark theme */
.card {
  color: #ffffff !important;
}

.card-title,
.card-subtitle,
.card-text {
  color: #ffffff !important;
}

/* Alert text optimized for dark theme */
.alert {
  color: #ffffff !important;
}

/* Modal text optimized for dark theme */
.modal-content {
  color: #ffffff !important;
}

.modal-title,
.modal-body {
  color: #ffffff !important;
}

/* Tooltip text optimized for dark theme */
.tooltip {
  color: #ffffff !important;
}

/* Popover text optimized for dark theme */
.popover {
  color: #ffffff !important;
}

/* Accordion text optimized for dark theme */
.accordion-item {
  color: #ffffff !important;
}

.accordion-button,
.accordion-body {
  color: #ffffff !important;
}

/* Breadcrumb text optimized for dark theme */
.breadcrumb {
  color: #ffffff !important;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: #ffffff !important;
}

/* Pagination text optimized for dark theme */
.pagination {
  color: #ffffff !important;
}

.page-link,
.page-item {
  color: #ffffff !important;
}

/* Progress bar text optimized for dark theme */
.progress {
  color: #ffffff !important;
}

/* Badge text optimized for dark theme */
.badge {
  color: #ffffff !important;
}

/* Spinner text optimized for dark theme */
.spinner-border,
.spinner-grow {
  color: #667eea !important;
}

/* Close button optimized for dark theme */
.btn-close {
  filter: invert(1);
}

/* Input group text optimized for dark theme */
.input-group-text {
  color: #ffffff !important;
}

/* Form select text optimized for dark theme */
.form-select {
  color: #ffffff !important;
}

/* Textarea optimized for dark theme */
textarea {
  color: #ffffff !important;
}

/* Placeholder text optimized for dark theme */
::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1;
}

/* Selection text optimized for dark theme */
::selection {
  background-color: #667eea;
  color: #ffffff;
}

/* Focus outline optimized for dark theme */
:focus {
  outline-color: #667eea;
}

/* ===== NAVIGATION TEXT COLOR FIXES ===== */

/* Ensure all navigation text is white */
.navmenu a,
.navmenu a:focus,
.navmenu a:hover,
.navmenu a:active,
.navmenu .active,
.navmenu .active:focus,
.navmenu .dropdown ul a,
.navmenu .dropdown ul a:hover,
.navmenu .dropdown ul a:focus,
.navmenu .dropdown ul .active,
.navmenu .dropdown ul .active:hover,
.navmenu .grid-dropdown li a,
.navmenu .grid-dropdown li a:hover,
.navmenu .grid-dropdown li a:focus,
.project-base li a,
.project-base li a:hover {
  color: #ffffff !important;
}

/* ===== BANNER BUTTON TEXT COLOR FIXES ===== */

/* Ensure banner button text is white */
.banner-button,
.banner-overlay .banner-button,
.banner-text .banner-button,
.banner-button:hover,
.banner-overlay .banner-button:hover,
.banner-text .banner-button:hover,
.banner-button:focus,
.banner-overlay .banner-button:focus,
.banner-text .banner-button:focus,
.banner-button:active,
.banner-overlay .banner-button:active,
.banner-text .banner-button:active,
.banner-button *,
.banner-overlay .banner-button *,
.banner-text .banner-button * {
  color: #ffffff !important;
}

/* ===== STACK BUTTON TEXT COLOR FIXES ===== */

/* Ensure stack button text is white */
.stack-btn,
.stack-btn span,
.stack-btn a,
.stack-btn:hover,
.stack-btn span:hover,
.stack-btn a:hover,
.stack-btn:focus,
.stack-btn span:focus,
.stack-btn a:focus,
.stack-btn:active,
.stack-btn span:active,
.stack-btn a:active,
.stack-btn *,
.stack-btn span *,
.stack-btn a * {
  color: #ffffff !important;
}

/* ===== MOBILE NAVIGATION FIXES - REMOVED TO PREVENT CONFLICTS ===== */
/* These styles have been removed to prevent conflicts with clean-navigation.css */

/* Ensure mobile navigation is always visible when active */
body.mobile-nav-active .navmenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional mobile navigation toggle fixes - REMOVED TO PREVENT CONFLICTS */
/* These styles have been moved to clean-navigation.css to prevent conflicts */

body.mobile-nav-active .navmenu > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  top: 80px !important;
  left: 20px !important;
  right: 20px !important;
  bottom: 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile nav toggle styles moved to clean-navigation.css to prevent conflicts */

/* Override any display:none rules that might be hiding the navmenu */
body.mobile-nav-active #navmenu,
body.mobile-nav-active .navmenu,
body.mobile-nav-active #navmenu > ul,
body.mobile-nav-active .navmenu > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional specificity to override Bootstrap or other CSS */
html body.mobile-nav-active #navmenu,
html body.mobile-nav-active .navmenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Final mobile navigation toggle fix - REMOVED TO PREVENT CONFLICTS */
/* These styles have been moved to clean-navigation.css to prevent conflicts */

/* ===== RESPONSIVE DESIGN OPTIMIZATION ===== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  /* Hero section optimization */
  .hero-section {
    min-height: 100vh;
    padding: 120px 0;
  }

  .hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
  }

  .hero-section p {
    font-size: 1.4rem;
    max-width: 800px;
  }

  /* Banner carousel optimization */
  .banner-carousel {
    height: 600px;
  }

  .banner-carousel .carousel-item img {
    height: 600px;
    object-fit: cover;
  }

  /* Sector carousel optimization */
  .sector-carousel {
    padding: 80px 0;
  }

  .sector-carousel .carousel-item {
    width: 300px;
    height: 300px;
  }

  /* Form optimization */
  .django-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 60px;
  }

  /* Navigation optimization */
  .navmenu a {
    font-size: 16px;
    padding: 12px 25px;
  }
}

/* Large Screens (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }

  .hero-section p {
    font-size: 1.2rem;
    max-width: 700px;
  }

  .banner-carousel {
    height: 500px;
  }

  .banner-carousel .carousel-item img {
    height: 500px;
  }

  .sector-carousel .carousel-item {
    width: 280px;
    height: 280px;
  }

  .django-form {
    max-width: 700px;
    padding: 50px;
  }
}

/* Medium Large Screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section p {
    font-size: 1.1rem;
    max-width: 600px;
  }

  .banner-carousel {
    height: 450px;
  }

  .banner-carousel .carousel-item img {
    height: 450px;
  }

  .sector-carousel .carousel-item {
    width: 250px;
    height: 250px;
  }

  .django-form {
    max-width: 600px;
    padding: 40px;
  }

  .navmenu a {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    padding: 80px 0;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section p {
    font-size: 1rem;
    max-width: 500px;
  }

  .banner-carousel {
    height: 400px;
  }

  .banner-carousel .carousel-item img {
    height: 400px;
  }

  .sector-carousel {
    padding: 60px 0;
  }

  .sector-carousel .carousel-item {
    width: 220px;
    height: 220px;
  }

  .django-form {
    max-width: 500px;
    padding: 30px;
    margin: 20px;
  }

  /* Footer optimization */
  .footer-items {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Small Screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    padding: 60px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
    max-width: 400px;
  }

  .banner-carousel {
    height: 350px;
  }

  .banner-carousel .carousel-item img {
    height: 350px;
  }

  .sector-carousel {
    padding: 50px 0;
  }

  .sector-carousel .carousel-item {
    width: 200px;
    height: 200px;
  }

  .django-form {
    max-width: 450px;
    padding: 25px;
    margin: 15px;
  }

  /* Form controls optimization */
  .form-control,
  .form-select {
    padding: 12px 15px;
    font-size: 14px;
  }

  .btn-submit {
    padding: 12px 30px;
    font-size: 14px;
  }

  /* Footer optimization */
  .footer-items {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer {
    padding: 25px 0;
    margin: 8px;
  }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575px) {
  .hero-section {
    padding: 50px 0;
  }

  .hero-section h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-section p {
    font-size: 0.9rem;
    max-width: 350px;
  }

  .banner-carousel {
    height: 300px;
  }

  .banner-carousel .carousel-item img {
    height: 300px;
  }

  .sector-carousel {
    padding: 40px 0;
  }

  .sector-carousel .carousel-item {
    width: 180px;
    height: 180px;
  }

  .django-form {
    max-width: 100%;
    padding: 20px;
    margin: 10px;
    border-radius: 15px;
  }

  /* Form controls optimization */
  .form-control,
  .form-select {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 8px;
  }

  .btn-submit {
    padding: 10px 25px;
    font-size: 13px;
    border-radius: 20px;
  }

  /* Footer optimization */
  .footer-items {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .footer {
    padding: 20px 0;
    margin: 5px;
    border-radius: 10px;
  }

  /* Navigation optimization */
  .mobile-nav-toggle {
    font-size: 24px !important;
    margin-right: 8px !important;
    display: flex !important;
    visibility: visible !important;
    z-index: 99999 !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
  }

  .navmenu ul {
    inset: 50px 15px 15px 15px;
    padding: 8px 0;
  }

  .navmenu a {
    padding: 8px 15px;
    font-size: 15px;
  }
}

/* Very Small Screens (up to 480px) */
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section p {
    font-size: 0.85rem;
    max-width: 300px;
  }

  .banner-carousel {
    height: 250px;
  }

  .banner-carousel .carousel-item img {
    height: 250px;
  }

  .sector-carousel .carousel-item {
    width: 160px;
    height: 160px;
  }

  .django-form {
    padding: 15px;
    margin: 8px;
  }

  .form-control,
  .form-select {
    padding: 8px 10px;
    font-size: 12px;
  }

  .btn-submit {
    padding: 8px 20px;
    font-size: 12px;
  }

  /* Footer optimization */
  .footer-items {
    padding: 10px;
  }

  .footer {
    padding: 15px 0;
    margin: 3px;
  }
}

/* Ultra Small Screens view (up to 375px) */
@media (max-width: 375px) {
  .hero-section h1 {
    font-size: 1.4rem;
  }

  .hero-section p {
    font-size: 0.8rem;
    max-width: 280px;
  }

  .banner-carousel {
    height: 200px;
  }

  .banner-carousel .carousel-item img {
    height: 200px;
  }

  .sector-carousel .carousel-item {
    width: 140px;
    height: 140px;
  }

  .django-form {
    padding: 12px;
    margin: 5px;
  }

  .form-control,
  .form-select {
    padding: 6px 8px;
    font-size: 11px;
  }

  .btn-submit {
    padding: 6px 15px;
    font-size: 11px;
  }

  /* Navigation optimization */
  .mobile-nav-toggle {
    font-size: 20px !important;
    margin-right: 5px !important;
    display: flex !important;
    visibility: visible !important;
    z-index: 99999 !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
  }

  .navmenu ul {
    inset: 45px 10px 10px 10px;
    padding: 5px 0;
  }

  .navmenu a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* Landscape orientation optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    padding: 30px 0;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-section p {
    font-size: 0.9rem;
  }

  .banner-carousel {
    height: 200px;
  }

  .banner-carousel .carousel-item img {
    height: 200px;
  }

  .sector-carousel {
    padding: 30px 0;
  }

  .sector-carousel .carousel-item {
    width: 150px;
    height: 150px;
  }

  /* Sector grid layout for mobile */
  .sectors {
    padding: 15px 0;
  }

  /* Center sector h2 text */
  .sector h2 {
    text-align: center !important;
    margin-bottom: 25px !important;
  }

  .sectors .sector-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    overflow: visible !important;
    border-radius: 15px !important;
    margin: 0 10px !important;
  }

  .sector-item {
    width: 100% !important;
    aspect-ratio: 1 !important;
    height: auto !important;
    min-height: 140px !important;
    max-width: none !important;
    /* Remove hover effects on mobile */
    transform: none !important;
    transition: none !important;
  }

  /* Remove hover effects for sector items on mobile */
  .sector-item:hover {
    transform: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  }

  .sector-item:hover::before {
    opacity: 0 !important;
  }

  .sector-item:hover img {
    transform: none !important;
  }

  .sectors .sector-items img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
  }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section h1 {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .banner-carousel .carousel-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .sector-carousel .carousel-item {
    cursor: pointer;
  }

  .sector-carousel .carousel-item:hover {
    transform: none;
  }

  .sector-carousel .carousel-item:active {
    transform: scale(0.95);
  }

  /* Touch optimization for sector grid items */
  .sector-item {
    cursor: pointer;
  }

  .sector-item:hover {
    transform: none;
  }

  .sector-item:active {
    transform: scale(0.95);
  }

  .btn-submit:active {
    transform: scale(0.98);
  }

  .form-control:focus,
  .form-select:focus {
    transform: none;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-section h1,
  .hero-section p,
  .banner-carousel,
  .sector-carousel,
  .django-form,
  .form-control,
  .form-select,
  .btn-submit {
    animation: none !important;
    transition: none !important;
  }

  .particle {
    animation: none !important;
  }

  .rainbow-dust {
    animation: none !important;
  }
}

/* ===== FUTURISTIC DJANGO FORM DESIGN ===== */

/* Django form container - Glassmorphism effect */
.django-form {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.django-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 70%
  );
  pointer-events: none;
}

/* Form controls - Glass-like inputs */
.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--text-accent);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-accent);
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: rgba(0, 0, 0, 0.8) !important;
  opacity: 1;
  font-weight: 500;
}

/* Form select styling */
.form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--text-accent);
  color: #ffffff !important;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px 12px;
}

.form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-accent);
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  outline: none;
  transform: translateY(-2px);
}

/* Textarea specific styling */
textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Custom submit button */
.btn-submit {
  background: linear-gradient(
    135deg,
    var(--text-accent) 0%,
    var(--text-accent-hover) 100%
  );
  border: none;
  border-radius: 25px;
  padding: 15px 40px;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

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

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
}

.btn-submit:active {
  transform: translateY(-1px);
}

/* Form labels */
.form-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form validation styling */
.form-control.is-invalid {
  border-color: var(--text-danger);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.3);
}

.form-control.is-valid {
  border-color: var(--text-success);
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.3);
}

/* Form success/error messages */
.alert-success {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid var(--text-success);
  color: var(--text-success) !important;
  border-radius: 12px;
  padding: 15px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.alert-danger {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid var(--text-danger);
  color: var(--text-danger) !important;
  border-radius: 12px;
  padding: 15px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Form field hover effects */
.form-control:hover,
.form-select:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Form field focus animations */
.form-control:focus,
.form-select:focus {
  animation: formFieldGlow 0.3s ease-out;
}

@keyframes formFieldGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  }
}

/* Form container hover effect */
.django-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

/* Light theme adjustments */
.light-theme .django-form {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.light-theme .form-control,
.light-theme .form-select {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.light-theme .form-control:focus,
.light-theme .form-select:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--text-accent);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light-theme .form-control::placeholder {
  color: rgba(0, 0, 0, 0.8) !important;
  font-weight: 500;
}

.light-theme .form-label {
  color: rgba(0, 0, 0, 0.8);
}

/* ===== AGGRESSIVE PLACEHOLDER TEXT FIX ===== */

/* Force placeholder text to be visible on dark theme */
.form-control::placeholder,
.form-select::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Override any other placeholder styles */
*::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Specific override for the project form */
.project .form-control::placeholder,
.project .form-select::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Ensure form text is always white for dark theme */
.project .form-control,
.project .form-select {
  color: #ffffff !important;
}

.project .form-control:focus,
.project .form-select:focus {
  color: #ffffff !important;
}

/* Additional aggressive overrides */
.django-form input::placeholder,
.django-form textarea::placeholder,
.django-form select::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Target specific form elements */
#project_form input::placeholder,
#project_form textarea::placeholder,
#project_form select::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Force all placeholder text to be visible on dark theme */
input[placeholder],
textarea[placeholder] {
  color: #ffffff !important;
}

input[placeholder]::placeholder,
textarea[placeholder]::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* Theme-aware card styles */
.card {
  background-color: var(--bg-card);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-primary);
}

.card:hover {
  background-color: var(--bg-card-hover);
  box-shadow: var(--shadow-secondary);
}

.card-title {
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
}

/* Theme-aware button styles */
.btn {
  transition: all var(--transition-medium);
}

.btn-primary {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--text-accent-hover);
  border-color: var(--text-accent-hover);
  color: #ffffff !important;
}

.btn-outline-primary {
  color: var(--text-accent);
  border-color: var(--text-accent);
}

.btn-outline-primary:hover {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
  color: #ffffff !important;
}

/* Additional button color fixes */
.btn-secondary {
  background-color: var(--text-secondary);
  border-color: var(--text-secondary);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background-color: var(--text-muted);
  border-color: var(--text-muted);
  color: #ffffff !important;
}

.btn-success {
  background-color: var(--text-success);
  border-color: var(--text-success);
  color: #ffffff !important;
}

.btn-success:hover {
  background-color: var(--text-success);
  border-color: var(--text-success);
  color: #ffffff !important;
  opacity: 0.9;
}

.btn-warning {
  background-color: var(--text-warning);
  border-color: var(--text-warning);
  color: #ffffff !important;
}

.btn-warning:hover {
  background-color: var(--text-warning);
  border-color: var(--text-warning);
  color: #ffffff !important;
  opacity: 0.9;
}

.btn-danger {
  background-color: var(--text-danger);
  border-color: var(--text-danger);
  color: #ffffff !important;
}

.btn-danger:hover {
  background-color: var(--text-danger);
  border-color: var(--text-danger);
  color: #ffffff !important;
  opacity: 0.9;
}

.btn-info {
  background-color: var(--text-info);
  border-color: var(--text-info);
  color: #ffffff !important;
}

.btn-info:hover {
  background-color: var(--text-info);
  border-color: var(--text-info);
  color: #ffffff !important;
  opacity: 0.9;
}

/* Futuristic button styles */
.futuristic-btn {
  background: var(--button-color);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  color: #ffffff !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: var(--neon-glow);
}

/* Theme-aware navbar styles */
.navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-primary);
}

.navbar-brand {
  color: var(--text-primary) !important;
}

.navbar-nav .nav-link {
  color: var(--text-secondary) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--text-accent) !important;
}

.navbar-nav .nav-link.active {
  color: var(--text-accent) !important;
}

/* Theme-aware dropdown styles */
.dropdown-menu {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-primary);
}

.dropdown-item {
  color: var(--text-secondary);
}

.dropdown-item:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

/* Theme-aware table styles */
.table {
  color: var(--text-secondary);
}

.table th {
  color: var(--text-primary);
  border-color: var(--border-primary);
}

.table td {
  border-color: var(--border-primary);
}

/* Theme-aware modal styles */
.modal-content {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.modal-header {
  border-bottom-color: var(--border-primary);
}

.modal-footer {
  border-top-color: var(--border-primary);
}

.modal-title {
  color: var(--text-primary);
}

/* Theme-aware alert styles */
.alert {
  border-color: var(--border-primary);
}

.alert-primary {
  background-color: var(--bg-surface);
  color: var(--text-accent);
  border-color: var(--border-accent);
}

.alert-success {
  background-color: var(--bg-surface);
  color: var(--text-success);
  border-color: var(--text-success);
}

.alert-warning {
  background-color: var(--bg-surface);
  color: var(--text-warning);
  border-color: var(--text-warning);
}

.alert-danger {
  background-color: var(--bg-surface);
  color: var(--text-danger);
  border-color: var(--text-danger);
}

.alert-info {
  background-color: var(--bg-surface);
  color: var(--text-info);
  border-color: var(--text-info);
}

/* ===== ADDITIONAL THEME-AWARE STYLES ===== */

/* Theme-aware list styles */
.list-group {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.list-group-item {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  color: var(--text-secondary);
}

.list-group-item:hover {
  background-color: var(--bg-surface-hover);
  color: var(--text-primary);
}

/* Theme-aware badge styles */
.badge {
  color: var(--bg-primary);
}

.badge-primary {
  background-color: var(--text-accent);
}

.badge-success {
  background-color: var(--text-success);
}

.badge-warning {
  background-color: var(--text-warning);
}

.badge-danger {
  background-color: var(--text-danger);
}

.badge-info {
  background-color: var(--text-info);
}

/* Theme-aware progress bar styles */
.progress {
  background-color: var(--bg-surface);
}

.progress-bar {
  background-color: var(--text-accent);
}

/* Theme-aware breadcrumb styles */
.breadcrumb {
  background-color: var(--bg-surface);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

/* Theme-aware pagination styles */
.page-link {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  color: var(--text-secondary);
}

.page-link:hover {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-accent);
  color: var(--text-accent);
}

.page-item.active .page-link {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
  color: var(--bg-primary);
}

.page-item.disabled .page-link {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  color: var(--text-muted);
}

/* Theme-aware tooltip styles */
.tooltip {
  --bs-tooltip-bg: var(--bg-surface);
  --bs-tooltip-color: var(--text-primary);
}

/* Theme-aware popover styles */
.popover {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.popover-header {
  background-color: var(--bg-surface-hover);
  border-bottom-color: var(--border-primary);
  color: var(--text-primary);
}

.popover-body {
  color: var(--text-secondary);
}

/* Theme-aware accordion styles */
.accordion-item {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.accordion-button {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.accordion-button:not(.collapsed) {
  background-color: var(--bg-surface-hover);
  color: var(--text-accent);
}

.accordion-button:hover {
  background-color: var(--bg-surface-hover);
}

.accordion-body {
  color: var(--text-secondary);
}

/* Theme-aware offcanvas styles */
.offcanvas {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.offcanvas-header {
  border-bottom-color: var(--border-primary);
}

.offcanvas-title {
  color: var(--text-primary);
}

/* Theme-aware toast styles */
.toast {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.toast-header {
  background-color: var(--bg-surface-hover);
  border-bottom-color: var(--border-primary);
  color: var(--text-primary);
}

.toast-body {
  color: var(--text-secondary);
}

/* Theme-aware spinner styles */
.spinner-border {
  color: var(--text-accent);
}

.spinner-grow {
  color: var(--text-accent);
}

/* Theme-aware close button styles */
.btn-close {
  filter: var(--text-primary) brightness(0) saturate(100%) invert(1);
}

.light-theme .btn-close {
  filter: var(--text-primary) brightness(0) saturate(100%);
}

/* Theme-aware input group styles */
.input-group-text {
  background-color: var(--bg-surface-hover);
  border-color: var(--border-primary);
  color: var(--text-secondary);
}

/* Theme-aware select styles */
.form-select {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
  color: var(--text-primary);
}

.form-select:focus {
  background-color: var(--bg-surface);
  border-color: var(--border-accent);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem var(--shadow-accent);
}

/* Theme-aware textarea styles */
.form-control-plaintext {
  color: var(--text-primary);
}

/* Theme-aware range input styles */
.form-range::-webkit-slider-track {
  background-color: var(--bg-surface);
}

.form-range::-webkit-slider-thumb {
  background-color: var(--text-accent);
}

.form-range::-moz-range-track {
  background-color: var(--bg-surface);
}

.form-range::-moz-range-thumb {
  background-color: var(--text-accent);
}

/* Theme-aware switch styles */
.form-check-input {
  background-color: var(--bg-surface);
  border-color: var(--border-primary);
}

.form-check-input:checked {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
}

.form-check-label {
  color: var(--text-secondary);
}

/* Theme-aware radio and checkbox styles */
.form-check-input[type="radio"]:checked {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
}

.form-check-input[type="checkbox"]:checked {
  background-color: var(--text-accent);
  border-color: var(--text-accent);
}

/* ===== DJANGO ADMIN CONTENT THEME FIXES ===== */

/* Target Django admin content that uses |safe filter */
.about-us p,
.partnership p,
.values-list-items p,
.edge-outcome p,
.edge-header p,
.about-us-items p,
section p,
main p {
  color: var(--text-secondary) !important;
}

/* Target Django admin content headings */
.about-us h1,
.about-us h2,
.about-us h3,
.about-us h4,
.about-us h5,
.about-us h6,
.partnership h1,
.partnership h2,
.partnership h3,
.partnership h4,
.partnership h5,
.partnership h6,
.values-list-items h1,
.values-list-items h2,
.values-list-items h3,
.values-list-items h4,
.values-list-items h5,
.values-list-items h6,
.edge-header h1,
.edge-header h2,
.edge-header h3,
.edge-header h4,
.edge-header h5,
.edge-header h6,
section h1,
section h2,
section h3,
section h4,
section h5,
section h6,
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  color: var(--text-primary) !important;
}

/* Target Django admin content links */
.about-us a,
.partnership a,
.values-list-items a,
.edge-outcome a,
.edge-header a,
.about-us-items a,
section a,
main a {
  color: var(--text-accent) !important;
  transition: color var(--transition-medium);
}

.about-us a:hover,
.partnership a:hover,
.values-list-items a:hover,
.edge-outcome a:hover,
.edge-header a:hover,
.about-us-items a:hover,
section a:hover,
main a:hover {
  color: var(--text-accent-hover) !important;
}

/* Target Django admin content lists */
.about-us ul,
.about-us ol,
.partnership ul,
.partnership ol,
.values-list-items ul,
.values-list-items ol,
.edge-outcome ul,
.edge-outcome ol,
.edge-header ul,
.edge-header ol,
.about-us-items ul,
.about-us-items ol,
section ul,
section ol,
main ul,
main ol {
  color: var(--text-secondary) !important;
}

.about-us li,
.partnership li,
.values-list-items li,
.edge-outcome li,
.edge-header li,
.about-us-items li,
section li,
main li {
  color: var(--text-secondary) !important;
}

/* Target Django admin content strong and bold text */
.about-us strong,
.about-us b,
.partnership strong,
.partnership b,
.values-list-items strong,
.values-list-items b,
.edge-outcome strong,
.edge-outcome b,
.edge-header strong,
.edge-header b,
.about-us-items strong,
.about-us-items b,
section strong,
section b,
main strong,
main b {
  color: var(--text-primary) !important;
}

/* Target Django admin content italic text */
.about-us em,
.about-us i,
.partnership em,
.partnership i,
.values-list-items em,
.values-list-items i,
.edge-outcome em,
.edge-outcome i,
.edge-header em,
.edge-header i,
.about-us-items em,
.about-us-items i,
section em,
section i,
main em,
main i {
  color: var(--text-secondary) !important;
}

/* Target Django admin content blockquotes */
.about-us blockquote,
.partnership blockquote,
.values-list-items blockquote,
.edge-outcome blockquote,
.edge-header blockquote,
.about-us-items blockquote,
section blockquote,
main blockquote {
  color: var(--text-secondary) !important;
  border-left-color: var(--border-accent) !important;
}

/* Target Django admin content code */
.about-us code,
.partnership code,
.values-list-items code,
.edge-outcome code,
.edge-header code,
.about-us-items code,
section code,
main code {
  background-color: var(--bg-surface-hover) !important;
  color: var(--text-accent) !important;
  border-color: var(--border-primary) !important;
}

/* Target Django admin content pre */
.about-us pre,
.partnership pre,
.values-list-items pre,
.edge-outcome pre,
.edge-header pre,
.about-us-items pre,
section pre,
main pre {
  background-color: var(--bg-surface) !important;
  color: var(--text-secondary) !important;
  border-color: var(--border-primary) !important;
}

/* Target Django admin content tables */
.about-us table,
.partnership table,
.values-list-items table,
.edge-outcome table,
.edge-header table,
.about-us-items table,
section table,
main table {
  color: var(--text-secondary) !important;
}

.about-us table th,
.partnership table th,
.values-list-items table th,
.edge-outcome table th,
.edge-header table th,
.about-us-items table th,
section table th,
main table th {
  color: var(--text-primary) !important;
  border-color: var(--border-primary) !important;
}

.about-us table td,
.partnership table td,
.values-list-items table td,
.edge-outcome table td,
.edge-header table td,
.about-us-items table td,
section table td,
main table td {
  border-color: var(--border-primary) !important;
}

/* Target Django admin content divs with inline styles */
.about-us div,
.partnership div,
.values-list-items div,
.edge-outcome div,
.edge-header div,
.about-us-items div,
section div,
main div {
  color: inherit !important;
}

/* Force theme colors on all text content within Django admin areas */
.about-us *,
.partnership *,
.values-list-items *,
.edge-outcome *,
.edge-header *,
.about-us-items *,
section *,
main * {
  color: inherit !important;
}

/* Specific overrides for common Django admin content patterns */
[style*="color: black"],
[style*="color: #000"],
[style*="color: #000000"] {
  color: var(--text-primary) !important;
}

[style*="color: rgb(0, 0, 0)"],
[style*="color: rgba(0, 0, 0"] {
  color: var(--text-primary) !important;
}

/* Override any hardcoded colors in Django admin content */
p[style*="color"],
div[style*="color"],
span[style*="color"],
h1[style*="color"],
h2[style*="color"],
h3[style*="color"],
h4[style*="color"],
h5[style*="color"],
h6[style*="color"] {
  color: var(--text-primary) !important;
}

/* Ensure all text content respects theme */
body * {
  color: inherit;
}

/* Override any remaining black text */
body {
  color: var(--text-primary) !important;
}

/* Force all text to use theme colors */
* {
  color: inherit;
}

/* ===== ADDITIONAL PAGE-SPECIFIC THEME FIXES ===== */

/* Team page specific fixes */
.team p,
.team-text p,
.team-member p,
.testimonial-item p,
.section-title p {
  color: var(--text-secondary) !important;
}

.team h1,
.team h2,
.team h3,
.team h4,
.team h5,
.team h6,
.team-member h4,
.testimonial-item h3,
.section-title h2 {
  color: var(--text-primary) !important;
}

.team-member span,
.testimonial-item span {
  color: var(--text-secondary) !important;
}

/* Contact page specific fixes */
.contact p,
.contact-page-address p,
.address-items p {
  color: var(--text-secondary) !important;
}

.contact h1,
.contact h2,
.contact h3,
.contact h4,
.contact h5,
.contact h6,
.contact-page-address h2 {
  color: var(--text-primary) !important;
}

/* Careers page specific fixes */
.careers p,
.careers-job-list p,
.job-unavailable p {
  color: var(--text-secondary) !important;
}

.careers h1,
.careers h2,
.careers h3,
.careers h4,
.careers h5,
.careers h6,
.careers-job-list h4 {
  color: var(--text-primary) !important;
}

.careers-job-list a {
  color: var(--text-primary) !important;
  text-decoration: none;
}

.careers-job-list a:hover {
  color: var(--text-accent) !important;
}

.careers-job-list span {
  color: var(--text-accent) !important;
  font-weight: 600;
}

/* Service detail page fixes */
.service-detail p,
.service-content p,
.service-description p {
  color: var(--text-secondary) !important;
}

.service-detail h1,
.service-detail h2,
.service-detail h3,
.service-detail h4,
.service-detail h5,
.service-detail h6,
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6 {
  color: var(--text-primary) !important;
}

/* Project page fixes */
.project p,
.project-description p,
.project-content p {
  color: var(--text-secondary) !important;
}

.project h1,
.project h2,
.project h3,
.project h4,
.project h5,
.project h6,
.project-description h1,
.project-description h2,
.project-description h3,
.project-description h4,
.project-description h5,
.project-description h6 {
  color: var(--text-primary) !important;
}

/* Partnership page fixes */
.partnership p,
.partnership-content p {
  color: var(--text-secondary) !important;
}

.partnership h1,
.partnership h2,
.partnership h3,
.partnership h4,
.partnership h5,
.partnership h6,
.partnership-content h1,
.partnership-content h2,
.partnership-content h3,
.partnership-content h4,
.partnership-content h5,
.partnership-content h6 {
  color: var(--text-primary) !important;
}

/* Stack page fixes */
.stack p,
.stack-content p {
  color: var(--text-secondary) !important;
}

.stack h1,
.stack h2,
.stack h3,
.stack h4,
.stack h5,
.stack h6,
.stack-content h1,
.stack-content h2,
.stack-content h3,
.stack-content h4,
.stack-content h5,
.stack-content h6 {
  color: var(--text-primary) !important;
}

/* Industry detail page fixes */
.industry-detail p,
.industry-content p {
  color: var(--text-secondary) !important;
}

.industry-detail h1,
.industry-detail h2,
.industry-detail h3,
.industry-detail h4,
.industry-detail h5,
.industry-detail h6,
.industry-content h1,
.industry-content h2,
.industry-content h3,
.industry-content h4,
.industry-content h5,
.industry-content h6 {
  color: var(--text-primary) !important;
}

/* Newsletter page fixes */
.newsletter p,
.newsletter-content p {
  color: var(--text-secondary) !important;
}

.newsletter h1,
.newsletter h2,
.newsletter h3,
.newsletter h4,
.newsletter h5,
.newsletter h6,
.newsletter-content h1,
.newsletter-content h2,
.newsletter-content h3,
.newsletter-content h4,
.newsletter-content h5,
.newsletter-content h6 {
  color: var(--text-primary) !important;
}

/* Pages template fixes */
.pages p,
.pages-content p {
  color: var(--text-secondary) !important;
}

.pages h1,
.pages h2,
.pages h3,
.pages h4,
.pages h5,
.pages h6,
.pages-content h1,
.pages-content h2,
.pages-content h3,
.pages-content h4,
.pages-content h5,
.pages-content h6 {
  color: var(--text-primary) !important;
}

/* Universal content fixes for any Django admin content */
[class*="content"] p,
[class*="description"] p,
[class*="text"] p,
[class*="body"] p {
  color: var(--text-secondary) !important;
}

[class*="content"] h1,
[class*="content"] h2,
[class*="content"] h3,
[class*="content"] h4,
[class*="content"] h5,
[class*="content"] h6,
[class*="description"] h1,
[class*="description"] h2,
[class*="description"] h3,
[class*="description"] h4,
[class*="description"] h5,
[class*="description"] h6,
[class*="text"] h1,
[class*="text"] h2,
[class*="text"] h3,
[class*="text"] h4,
[class*="text"] h5,
[class*="text"] h6,
[class*="body"] h1,
[class*="body"] h2,
[class*="body"] h3,
[class*="body"] h4,
[class*="body"] h5,
[class*="body"] h6 {
  color: var(--text-primary) !important;
}

/* Override any remaining hardcoded colors with !important */
p,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
a,
li,
td,
th,
label,
input,
textarea,
select {
  color: inherit !important;
}

/* Ensure all text elements inherit theme colors */
body,
main,
section,
article,
aside,
header,
footer,
nav {
  color: var(--text-primary) !important;
}

/* Force all paragraphs to use theme colors */
p {
  color: var(--text-secondary) !important;
}

/* Force all headings to use theme colors */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary) !important;
}

/* Force all links to use theme colors */
a {
  color: var(--text-accent) !important;
}

a:hover {
  color: var(--text-accent-hover) !important;
}

/* ===== BUTTON COLOR FIXES ===== */

/* Ensure all buttons have white text */
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  color: #ffffff !important;
}

/* Override any button text colors */
.btn *,
button *,
input[type="button"] *,
input[type="submit"] *,
input[type="reset"] * {
  color: #ffffff !important;
}

/* Specific button overrides */
.btn-outline-light {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

.btn-outline-light:hover {
  background-color: #ffffff !important;
  color: var(--bg-primary) !important;
}

.btn-light {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--bg-primary) !important;
}

.btn-light:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: var(--bg-primary) !important;
}

/* Dark theme background preset */
.dark-background {
  --background-color: #0a0a0f;
  --default-color: #e0e0e0;
  --heading-color: #ffffff;
  --surface-color: rgba(255, 255, 255, 0.05);
  --contrast-color: #ffffff;
  --link-color: #00ffff;
}

/* Glassmorphism Effects */
.glass-effect {
  background: var(--glass-gradient);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-effect-hover:hover {
  background: var(--surface-color-hover);
  border: 1px solid rgba(0, 255, 255, 0.3);
  box-shadow: var(--neon-glow);
}

/* Neon Text Effects */
.neon-text {
  color: var(--accent-color);
  text-shadow: var(--neon-glow);
  animation: neon-pulse 2s ease-in-out infinite alternate;
}

@keyframes neon-pulse {
  from {
    text-shadow: var(--neon-glow);
  }
  to {
    text-shadow: var(--neon-glow-strong);
  }
}

/* Futuristic Button Styles */
.futuristic-btn {
  background: var(--button-color);
  border: none;
  border-radius: 25px;
  padding: 12px 30px;
  color: var(--contrast-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: var(--neon-glow);
}

.futuristic-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

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

.futuristic-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-glow-strong);
}

/*--------------------------------------------------------------
# Futuristic General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--text-primary);
  background-color: var(--bg-primary);
  font-family: var(--default-font);
  transition: var(--transition-medium);
  overflow-x: hidden;
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  transform: scale(2);
  background: rgba(0, 255, 255, 0.1);
}

/* Disable custom cursor on mobile devices */
@media (max-width: 1199px) {
  .custom-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Disable custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Futuristic Links */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-medium);
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--holographic-gradient);
  transition: width var(--transition-medium);
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: var(--accent-secondary);
  text-decoration: none;
}

/* Enhanced Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Particle Background */
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  25% {
    opacity: 1;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  75% {
    opacity: 0;
    transform: translateX(-100%);
  }
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes morphing {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

/* Futuristic Loading Animation */
.futuristic-loader {
  width: 50px;
  height: 50px;
  border: 3px solid transparent;
  border-top: 3px solid var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Glitch Effect */
.glitch {
  position: relative;
  animation: glitch 1s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 0.5s infinite;
  color: var(--accent-secondary);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 0.5s infinite;
  color: var(--accent-tertiary);
  z-index: -2;
}

@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-1 {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}

@keyframes glitch-2 {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(2px, 2px);
  }
  60% {
    transform: translate(-2px, -2px);
  }
  80% {
    transform: translate(-2px, 2px);
  }
}

/*--------------------------------------------------------------
# Futuristic Global Header
--------------------------------------------------------------*/
#header {
  transition: top 0.7s ease;
}

.hide-header {
  top: -100px;
  position: fixed;
}

body.scrolled {
  background-color: rgba(10, 10, 15, 0.95);
}

.header {
  color: var(--default-color);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 0;
  transition: var(--transition-medium);
  z-index: 997;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .logo {
  line-height: 1;
}

/* Logo styles moved to clean-navigation.css to prevent conflicts */

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-shadow: var(--neon-glow);
  transition: var(--transition-medium);
}

.header .logo h1:hover {
  text-shadow: var(--neon-glow-strong);
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Navigation Menu - REMOVED TO PREVENT CONFLICTS
--------------------------------------------------------------*/
/* All navmenu styles have been moved to clean-navigation.css to prevent conflicts */
/* This section has been completely removed to ensure clean navigation works properly */

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: white;
  background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
  text-align: center;
  padding: 30px 0;
  position: relative;
  margin: 10px;
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
}

.services-footer a {
  color: white;
}

.footer .social-links a:hover {
  color: var(--accent-color);
}

.footer .services-footer a:hover {
  color: var(--accent-color);
}

.footer .footer-quicklinks a:hover {
  color: var(--accent-color);
}

@media (max-width: 912px) {
  .footer-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .social-links i {
    font-size: 40px;
  }
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  text-align: left;
  font-weight: 400;
  font-size: 1.1rem;
}

.footer h4 {
  font-size: 19px;
  color: white;
  text-align: left;
}

.footer .social-links {
  margin: 20px 0 30px 0;
  gap: 10px;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  line-height: 1;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: var(--transition-medium);
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.footer .social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--holographic-gradient);
  transition: left var(--transition-medium);
  z-index: -1;
}

.footer .social-links a:hover::before {
  left: 0;
}

.footer .footer-quicklinks a {
  color: white;
}

.footer .footer-items i {
  font-size: 30px;
}

.footer .footer-items img {
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-items-container {
  padding-top: 40px;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

.footer .newsletter-section h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
  text-align: left;
}

/* ===== FUTURISTIC NEWSLETTER FORM DESIGN ===== */

.newsletter-section form {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  max-width: 400px;
}

.newsletter-section form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.newsletter-section form:hover::before {
  left: 100%;
}

.newsletter-section input {
  flex: 1;
  padding: 12px 20px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.newsletter-section input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.newsletter-section input:focus {
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-section button {
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 20px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 50px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-section button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.newsletter-section button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.newsletter-section button:hover::before {
  left: 100%;
}

.newsletter-section button i {
  font-size: 18px;
  transition: all 0.3s ease;
  color: #ffffff;
}

.newsletter-section button:hover i {
  transform: translateX(3px);
  color: #ffffff;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .newsletter-section form {
    flex-direction: row;
    gap: 8px;
    padding: 12px;
    max-width: 100%;
    border-radius: 20px;
  }

  .newsletter-section input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 15px;
    min-height: 50px;
  }

  .newsletter-section button {
    flex-shrink: 0;
    padding: 16px 20px;
    height: 50px;
    border-radius: 15px;
    font-size: 14px;
    letter-spacing: 0.5px;
    min-height: 50px;
    min-width: 50px;
  }

  .newsletter-section button i {
    font-size: 16px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .newsletter-section form {
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
  }

  .newsletter-section input {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    border-radius: 12px;
    min-height: 48px;
  }

  .newsletter-section button {
    flex-shrink: 0;
    padding: 14px 18px;
    height: 48px;
    border-radius: 12px;
    font-size: 13px;
    min-height: 48px;
    min-width: 48px;
  }

  .newsletter-section button i {
    font-size: 15px;
  }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
  .newsletter-section form {
    gap: 5px;
    padding: 8px;
    border-radius: 15px;
  }

  .newsletter-section input {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
    min-height: 45px;
  }

  .newsletter-section button {
    flex-shrink: 0;
    padding: 12px 16px;
    height: 45px;
    border-radius: 10px;
    font-size: 12px;
    min-height: 45px;
    min-width: 45px;
  }

  .newsletter-section button i {
    font-size: 14px;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .newsletter-section button:hover {
    transform: none;
  }

  .newsletter-section button:active {
    transform: scale(0.98);
  }

  .newsletter-section form:hover::before {
    left: -100%;
  }

  .newsletter-section button:hover::before {
    left: -100%;
  }
}

#loading-spinner {
  display: none;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

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

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background: var(--button-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition-medium);
  border: 2px solid rgba(0, 255, 255, 0.3);
  box-shadow: var(--neon-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
  transition: var(--transition-medium);
}

.scroll-top:hover {
  background: var(--holographic-gradient);
  color: var(--contrast-color);
  transform: translateY(-3px);
  box-shadow: var(--neon-glow-strong);
}

.scroll-top:hover i {
  transform: translateY(-2px);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 77px;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
#Index page Section
--------------------------------------------------------------*/
@media (max-width: 912px) {
  .index-page {
    overflow-x: hidden;
  }
}

/*--------------------------------------------------------------
# banner Section
--------------------------------------------------------------*/
.banner {
  position: relative; /* Required for blur containment */
  min-height: 100%;
  background-size: cover, cover;
  background-position: center, center;
  margin-top: 20px;
  background: transparent;
}

.banner-overlay {
  backdrop-filter: none !important; /* Remove any blur effects */
  -webkit-backdrop-filter: none !important;
  z-index: 5; /* Ensure proper layering */
}

.banner-overlay h2 {
  align-items: center;
  font-weight: 600;
  font-size: 45px;
  text-shadow: var(--neon-glow);
  animation: text-glow 3s ease-in-out infinite alternate;
}

.banner-overlay h1 {
  align-items: center;
  font-weight: 800;
  font-size: 60px;
  margin: 0;
  background: var(--holographic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: holographic-shift 4s ease-in-out infinite;
}

@keyframes holographic-shift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(180deg);
  }
}

@keyframes text-glow {
  from {
    text-shadow: var(--neon-glow);
  }
  to {
    text-shadow: var(--neon-glow-strong);
  }
}

.banner-overlay .banner-button {
  display: inline-block;
  box-shadow: var(--neon-glow);
  font-weight: 600;
  background: var(--button-color);
  border-radius: 25px;
  padding: 15px 40px;
  border: none;
  transition: var(--transition-medium);
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-overlay .banner-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.banner-overlay .banner-button:hover::before {
  left: 100%;
}

.banner-overlay .banner-button:hover {
  padding: 15px 60px;
  transform: translateY(-3px);
  box-shadow: var(--neon-glow-strong);
}

@media (max-width: 764px) {
  .banner-overlay h2 {
    margin-bottom: 25px;
  }

  .banner-overlay p {
    margin-top: 40px;
  }

  .banner-overlay .banner-button {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }
}

.animated-text {
  height: 15vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  backdrop-filter: none !important; /* Remove any blur effects */
  -webkit-backdrop-filter: none !important;
  filter: none !important; /* Remove any filter effects */
  z-index: 5; /* Ensure proper layering */
  isolation: isolate; /* Create a new stacking context */
}

.fade-text {
  opacity: 0;
  animation: slideInFromRight 12s ease-in-out infinite;
  position: absolute;
  transform: translateX(100%); /* Start off-screen to the right */
  z-index: 10; /* Ensure it's above other elements */
  backdrop-filter: none !important; /* Remove any blur effects */
  -webkit-backdrop-filter: none !important;
  filter: none !important; /* Remove any filter effects */
  isolation: isolate; /* Create a new stacking context */
}

/* Individual fade animations for each text element */
@keyframes fadeInOut1 {
  0%,
  100% {
    opacity: 0;
  }
  5%,
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
}

@keyframes fadeInOut2 {
  0%,
  33.33% {
    opacity: 0;
  }
  38.33%,
  63.33% {
    opacity: 1;
  }
  68.33% {
    opacity: 0;
  }
}

@keyframes fadeInOut3 {
  0%,
  66.66% {
    opacity: 0;
  }
  71.66%,
  96.66% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fade-text:nth-child(2) {
  animation-delay: 4s;
}

.fade-text:nth-child(3) {
  animation-delay: 8s;
}

.swiper-wrapper-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-container {
  width: 100%;
  height: 100%;
  z-index: 21; /* Ensure swiper is above carousel container */
  position: relative;
}

.carousel-images .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-images .swiper-slide img {
  max-width: 100%;
  height: 450px;
  object-fit: cover;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

/* Add these styles to your main.css file */
.swiper-container {
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-family: "swiper-icons";
  font-size: 20px;
  text-transform: none !important;
  letter-spacing: 0;
  font-variant: initial;
  line-height: 1;
}

.swiper-container:hover .swiper-button-next,
.swiper-container:hover .swiper-button-prev {
  opacity: 1;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

@keyframes bouncyNudge {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-40px);
  } /* Initial nudge left */
  40% {
    transform: translateX(5px);
  } /* Bounce right */
  60% {
    transform: translateX(-10px);
  } /* Bounce left */
  80% {
    transform: translateX(3px);
  } /* Bounce right */
  100% {
    transform: translateX(0);
  } /* Reset */
}

@media (max-width: 820px) {
  .banner-overlay .row {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .carousel-images .swiper-slide img {
    height: 400px;
    width: 100%;
    object-fit: cover;
  }

  .banner-overlay h2 {
    font-weight: 600;
    font-size: 35px;
  }

  .banner-overlay h1 {
    font-weight: 800;
    font-size: 55px;
    margin: 0;
  }
}

@media (max-width: 912px) {
  .swiper-wrapper-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .carousel-images .swiper-slide img {
    height: 400px;
    width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 540px) {
  .carousel-images .swiper-slide img {
    height: 300px;
    width: 100%;
    object-fit: cover;
  }

  .banner-overlay h1 {
    font-weight: 700;
    font-size: 50px;
    margin: 0;
  }
}

@media (max-width: 375px) {
  .carousel-images .swiper-slide img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .banner-overlay h2 {
    font-weight: 600;
    font-size: 28px;
  }

  .banner-overlay h1 {
    font-weight: 700;
    font-size: 45px;
    margin: 0;
  }
}

@media (max-width: 320px) {
  .carousel-images .swiper-slide img {
    height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .banner-overlay h2 {
    font-weight: 600;
    font-size: 25px;
  }

  .banner-overlay h1 {
    font-weight: 600;
    font-size: 40px;
    margin: 0;
  }
}

/* Initial state (invisible) */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: all 0.4s ease; /* Transition all properties */
}

/* Active state (visible + blurred) - DISABLED */
.banner.blur-active::before {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: none !important; /* DISABLED */
  -webkit-backdrop-filter: none !important; /* DISABLED */
  opacity: 1;
}

/* COMPLETE BANNER BLUR REMOVAL - Remove all blur effects from banner */
.banner,
.banner *,
.banner-overlay,
.banner-overlay *,
.banner-text,
.banner-text * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

/* ANIMATED TEXT RESTORED WITH BLUR PROTECTION */
.animated-text {
  height: 180px; /* Fixed height to accommodate multiple lines */
  min-height: 180px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  z-index: 10; /* Reasonable z-index */
  overflow: hidden; /* Prevent text overflow */
}

.fade-text {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  z-index: 11;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

/* Individual animations for each fade-text */
.fade-text:nth-child(1) {
  animation: fadeInOut1 12s ease-in-out infinite;
}

.fade-text:nth-child(2) {
  animation: fadeInOut2 12s ease-in-out infinite;
}

.fade-text:nth-child(3) {
  animation: fadeInOut3 12s ease-in-out infinite;
}

/* Ensure animated text is visible and clear */
.fade-text h1 {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  -webkit-text-stroke: none !important;
  color: var(--heading-color) !important; /* Ensure text color is visible */
  font-size: 60px !important; /* Ensure text size is visible */
  font-weight: 800 !important; /* Ensure text weight is visible */
  line-height: 1.2 !important;
  margin: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

/* Centered Banner Design */
.banner-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 80px; /* Add top margin to create space from navbar */
}

.banner-text h2 {
  margin-bottom: 20px;
}

.banner-text .animated-text {
  margin: 30px 0;
}

.banner-text .banner-description {
  margin: 20px 0 30px 0;
  font-size: 18px;
  line-height: 1.6;
}

.banner-text .banner-button {
  margin-top: 20px;
}

/* Motion Carousel Section */
.carousel-section {
  padding: 80px 0; /* Increased padding for better spacing */
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  overflow: hidden;
  position: relative;
  min-height: 400px; /* Increased minimum height to accommodate larger images */
}

.carousel-item {
  flex-shrink: 0;
  margin: 0 20px; /* Increased margin for better spacing */
  border-radius: 16px; /* Slightly larger border radius */
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
  transition: transform 0.3s ease;
  background: #fff;
  width: 450px; /* Increased width from 300px to 450px */
  height: 300px; /* Increased height from 200px to 300px */
  display: flex; /* Use flex for proper alignment */
  align-items: center;
  justify-content: center;
}

.carousel-item:hover {
  transform: scale(1.05);
}

.carousel-item {
  cursor: pointer; /* Make it clear it's clickable */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.carousel-item:hover img {
  transform: scale(1.02);
}

/* Lightbox Modal Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
  .lightbox-close {
    top: 10px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }
}

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

/* Ensure the carousel container has proper width */
.carousel-section .container-fluid {
  overflow: hidden;
  position: relative;
}

/* Make sure the motion carousel has enough width for smooth animation */
.motion-carousel {
  display: flex;
  animation: slideLeft 30s linear infinite;
  width: max-content;
  align-items: center;
  gap: 20px;
  padding: 30px 0; /* Increased padding */
  min-height: 350px; /* Increased minimum height to match larger images */
  /* Ensure smooth animation */
  will-change: transform;
  transform: translateZ(0);
}

/* ===== BANNER TEXT & ANIMATED TEXT RESPONSIVE OPTIMIZATION ===== */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .banner-text {
    margin-top: 100px;
    max-width: 1000px;
  }

  .banner-text h2 {
    font-size: 48px;
    line-height: 1.1;
  }

  .fade-text h1 {
    font-size: 72px !important;
    line-height: 1.1 !important;
  }

  .animated-text {
    min-height: 200px;
  }
}

/* Large Screens (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .banner-text {
    margin-top: 90px;
    max-width: 900px;
  }

  .banner-text h2 {
    font-size: 42px;
    line-height: 1.2;
  }

  .fade-text h1 {
    font-size: 64px !important;
    line-height: 1.2 !important;
  }

  .animated-text {
    min-height: 180px;
  }
}

/* Medium Large Screens (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .banner-text {
    margin-top: 80px;
    max-width: 800px;
  }

  .banner-text h2 {
    font-size: 36px;
    line-height: 1.2;
  }

  .fade-text h1 {
    font-size: 56px !important;
    line-height: 1.2 !important;
  }

  .animated-text {
    min-height: 160px;
  }
}

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .banner-text {
    padding: 0 30px;
    margin-top: 70px;
    max-width: 700px;
  }

  .banner-text h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .fade-text h1 {
    font-size: 48px !important;
    line-height: 1.3 !important;
  }

  .animated-text {
    min-height: 140px;
  }

  .banner-text .banner-description {
    font-size: 16px;
  }
}

/* Small Screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .banner-text {
    padding: 0 25px;
    margin-top: 60px;
    max-width: 600px;
  }

  .banner-text h2 {
    font-size: 36px;
    line-height: 1.3;
  }

  .fade-text h1 {
    font-size: 52px !important;
    line-height: 1.3 !important;
  }

  .animated-text {
    min-height: 120px;
  }

  .banner-text .banner-description {
    font-size: 18px;
  }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575px) {
  .banner-text {
    padding: 0 20px;
    margin-top: 50px;
    max-width: 100%;
  }

  .banner-text h2 {
    font-size: 32px;
    line-height: 1.4;
  }

  .fade-text h1 {
    font-size: 44px !important;
    line-height: 1.4 !important;
  }

  .animated-text {
    min-height: 110px;
  }

  .banner-text .banner-description {
    font-size: 16px;
    line-height: 1.5;
  }

  .fade-text {
    padding: 0 15px;
  }
}

/* Very Small Screens (up to 480px) */
@media (max-width: 480px) {
  .banner-text {
    padding: 0 15px;
    margin-top: 40px;
  }

  .banner-text h2 {
    font-size: 28px;
    line-height: 1.4;
  }

  .fade-text h1 {
    font-size: 38px !important;
    line-height: 1.4 !important;
  }

  .animated-text {
    min-height: 100px;
  }

  .banner-text .banner-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .fade-text {
    padding: 0 10px;
  }
}

/* Ultra Small Screens (up to 375px) */
@media (max-width: 375px) {
  .banner-text {
    padding: 0 10px;
    margin-top: 30px;
  }

  .banner-text h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  .fade-text h1 {
    font-size: 32px !important;
    line-height: 1.4 !important;
  }

  .animated-text {
    min-height: 90px;
  }

  .banner-text .banner-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .fade-text {
    padding: 0 8px;
  }
}

/* Landscape orientation optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .banner-text {
    margin-top: 20px;
  }

  .banner-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .fade-text h1 {
    font-size: 36px !important;
  }

  .animated-text {
    min-height: 80px;
    margin-bottom: 10px;
  }

  .banner-text .banner-description {
    font-size: 16px;
    margin: 10px 0;
  }
}

.banner-description {
  font-size: 20px;
}

/*--------------------------------------------------------------
# Futuristic Sector Section
--------------------------------------------------------------*/

.sector {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  padding: 80px 20px 120px 20px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}

/* Animated background particles */
.sector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  animation: sectorBgPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sectorBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.sector h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  /* Remove any backdrop-filter that might cause blur */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  filter: none;
}

.sector h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  animation: glowLine 2s ease-in-out infinite;
}

@keyframes glowLine {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.sectors .sector-items {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
  color: white;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 25px;
  text-align: center;
  flex-wrap: nowrap;
  padding: 20px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 1150px; /* Adjusted to accommodate 5 full items + 6th at 40% */
  margin: 0 auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
}

/* Hide scrollbar for Chrome/Safari */
.sectors .sector-items::-webkit-scrollbar {
  display: none;
}

/* ===== MOBILE SECTOR GRID LAYOUT ===== */

/* Mobile devices - Convert carousel to 2-column grid */
@media (max-width: 767px) {
  /* Center sector h2 text */
  .sector h2 {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  @media (max-width: 767px) {
    /* Center sector h2 text */
    .sector .section-title p {
      padding-left: 10px !important;
    }
  }

  .sectors .sector-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    max-width: 100% !important;
    border-radius: 15px !important;
    margin: 0 10px !important;
  }

  .sector-item {
    width: 100% !important;
    aspect-ratio: 1 !important;
    height: auto !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    min-height: 140px !important;
    max-width: none !important;
    /* Remove hover effects on mobile */
    transform: none !important;
    transition: none !important;
  }

  /* Remove hover effects for sector items on mobile */
  .sector-item:hover {
    transform: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  }

  .sector-item:hover::before {
    opacity: 0 !important;
  }

  .sector-item:hover img {
    transform: none !important;
  }

  /* Ensure images are square and properly sized */
  .sectors .sector-items img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
  }

  /* Hide navigation buttons on mobile */
  .sector-nav-btn {
    display: none !important;
  }
}

/* Small mobile devices - Adjust grid spacing */
@media (max-width: 480px) {
  .sectors .sector-items {
    gap: 8px !important;
    padding: 8px !important;
    margin: 0 5px !important;
  }

  .sector-item {
    aspect-ratio: 1 !important;
    height: auto !important;
    min-height: 120px !important;
  }

  .sectors .sector-items img {
    border-radius: 10px !important;
  }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
  .sectors .sector-items {
    gap: 6px !important;
    padding: 6px !important;
    margin: 0 3px !important;
  }

  .sector-item {
    aspect-ratio: 1 !important;
    height: auto !important;
    min-height: 100px !important;
  }

  .sectors .sector-items img {
    border-radius: 8px !important;
  }
}

.sector-item {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  flex-shrink: 0; /* Prevent items from shrinking */
}

/* 6th sector item (40% focus) */
.sector-item:nth-child(6) {
  opacity: 0.4;
  transform: scale(0.95);
  filter: blur(1px);
  transition: all 0.3s ease;
}

/* When 6th item comes into full focus (when scrolled) */
.sector-item:nth-child(6):hover {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.sector-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.3),
    rgba(118, 75, 162, 0.3)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.sector-item:hover {
  /* Hover effects removed */
}

.sector-item:hover::before {
  /* Hover effects removed */
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.sectors .sector-items img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  transition: transform 0.4s ease;
  display: block; /* Ensure proper display */
}

.sector-item:hover img {
  /* Hover effects removed */
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  z-index: 3;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.sector-item:hover .text-overlay {
  /* Hover effects removed */
}

.image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.sector-item:hover .image-container::before {
  opacity: 0.2;
}

/* Sector Navigation Buttons */
.sector-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(102, 126, 234, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  pointer-events: auto; /* Ensure button is clickable */
}

.sector-nav-btn:hover {
  background: rgba(102, 126, 234, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.sector-nav-btn.prev {
  left: -35px;
}

.sector-nav-btn.next {
  right: -35px;
}

.sector-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.sector-nav-btn:disabled:hover {
  background: rgba(102, 126, 234, 0.9);
  transform: translateY(-50%) scale(1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Futuristic glowing border effect for next button when not clicked */
.sector-nav-btn.next:not(:disabled):not(.clicked) {
  animation: futuristicGlow 3s ease-in-out infinite;
  border: 2px solid rgba(102, 126, 234, 0.8);
}

@keyframes futuristicGlow {
  0% {
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  25% {
    border-color: rgba(118, 75, 162, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(118, 75, 162, 0.4);
  }
  50% {
    border-color: rgba(102, 126, 234, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
      0 0 0 8px rgba(102, 126, 234, 0.2);
  }
  75% {
    border-color: rgba(118, 75, 162, 0.9);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(118, 75, 162, 0.4);
  }
  100% {
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
}

/* Sector Container with Navigation */
.sectors {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px; /* Increased padding to accommodate buttons */
  overflow: visible; /* Ensure buttons are visible outside container */
}

/* Responsive Design */
@media (max-width: 768px) {
  .sector {
    padding: 60px 0 80px 0;
  }

  .sector h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .sectors {
    padding: 0 60px;
  }

  .sectors .sector-items {
    gap: 15px;
    padding: 30px 60px;
  }

  .sector-item {
    width: 160px;
    height: 160px;
    flex-shrink: 0; /* Ensure items don't shrink on mobile */
  }

  .text-overlay {
    font-size: 1.1rem;
    padding: 6px 12px;
  }

  .sector-nav-btn {
    width: 40px;
    height: 40px;
  }

  .sector-nav-btn.prev {
    left: -40px;
  }

  .sector-nav-btn.next {
    right: -40px;
  }
}

@media (max-width: 1024px) {
  .sector-item {
    position: relative;
    height: 215px;
    width: 215px;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .sectors .sector-items img {
    height: 215px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 764px) {
  .sector-item {
    position: relative;
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
  }
}
/*--------------------------------------------------------------
# Edge Section
--------------------------------------------------------------*/

.edge {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.edge-items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.edge-header {
  text-align: center;
  padding-bottom: 20px;
}

.edge-outcome {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.edge-outcome li {
  text-align: center;
  margin: 0;
  background-color: var(--surface-color);
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  height: auto;
  width: 100%;
  border-radius: 10px;
  padding: 20px;
}

.edge-outcome li h1 {
  color: var(--accent-color);
}

.edge-outcome .counter {
  font-size: 2.5rem;
  font-weight: 650;
  transition: all 4s ease-out;
}

@media screen and (max-width: 768px) {
  .edge-items {
    padding: 20px;
  }

  .edge-outcome {
    flex-direction: column;
    align-items: center;
  }

  .edge-outcome li {
    flex: 1 1 100%; /* Full width items on mobile */
    margin-bottom: 20px;
  }

  .counter {
    font-size: 2rem; /* Adjust counter font size for mobile */
  }

  .counter p {
    font-size: 0.9rem; /* Adjust paragraph font size for mobile */
  }
}

@media screen and (min-width: 768px) {
  .edge-outcome li {
    flex: 1 1 calc(50% - 20px);
  }

  .counter {
    font-size: 3rem;
  }

  .counter p {
    font-size: 1rem;
  }
}

/* Larger Screens (desktop) */
@media screen and (min-width: 1024px) {
  .edge-outcome li {
    flex: 1 1 calc(25% - 20px);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

/* Ensure services section is always visible */
.services {
  opacity: 1 !important;
  visibility: visible !important;
}

.services .container {
  opacity: 1 !important;
  visibility: visible !important;
}

.services .row {
  opacity: 1 !important;
  visibility: visible !important;
}

.services .service-item {
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 60px 30px 30px 60px;
  transition: var(--transition-medium);
  border-radius: 20px;
  height: 400px;
  position: relative;
  overflow: hidden;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 1 !important; /* Ensure services are always visible */
  transform: translateY(
    0
  ) !important; /* Ensure services are in correct position */
  cursor: pointer; /* Show clickable cursor */
}

/* Stretched link styling for entire service item */
.services .service-item .stretched-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Ensure text elements are above the stretched link */
.services .service-item h3,
.services .service-item p,
.services .service-item span,
.services .service-item .icon {
  position: relative;
  z-index: 11;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--holographic-gradient);
  transform: translateX(-100%);
  transition: transform var(--transition-medium);
  z-index: -1;
  opacity: 0.8;
}

.service-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 1;
}

.service-item:hover::before {
  transform: translateX(0);
}

.service-item:hover::after {
  transform: translateX(100%);
}

.service-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-color);
  box-shadow: var(--neon-glow-strong), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-item:hover .icon i {
  color: var(--contrast-color);
  transform: scale(1.2) rotate(360deg);
  transition: transform var(--transition-medium);
}

.service-item:hover h3,
.service-item:hover p {
  color: var(--contrast-color);
}

.services .service-item .icon {
  position: absolute;
  left: -30px;
  top: calc(50% - 30px);
}

.services .service-item .icon i {
  font-size: 64px;
  line-height: 1;
  transition: var(--transition-medium);
  color: var(--accent-color);
  text-shadow: var(--neon-glow);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 25px;
  transition: ease-in-out 0.3s;
  text-align: justify;
  color: var(--accent-color);
}

.services .service-item p {
  line-height: 24px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0;
}

/* Override AOS animations for service items to prevent conflicts */
.services .service-item[data-aos] {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: var(--transition-medium) !important;
}

.services .service-item[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Override AOS animations for testimonials to prevent conflicts */
.testimonials[data-aos],
.testimonials .container[data-aos],
.testimonials .swiper[data-aos] {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: var(--transition-medium) !important;
}

.testimonials[data-aos].aos-animate,
.testimonials .container[data-aos].aos-animate,
.testimonials .swiper[data-aos].aos-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Override AOS for all elements within testimonials section */
.testimonials [data-aos] {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: var(--transition-medium) !important;
}

.testimonials [data-aos].aos-animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Completely disable AOS animations for testimonials */
.testimonials [data-aos] {
  animation: none !important;
  transition: none !important;
}

.testimonials [data-aos].aos-animate {
  animation: none !important;
  transition: none !important;
}

/* Force testimonials to always be visible regardless of scroll position */
.testimonials,
.testimonials * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.services .service-item span {
  color: var(--accent-color);
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
  }

  .services .service-item:hover h3 {
    color: white;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/

.service-details .service-box {
  position: -webkit-sticky;
  position: sticky;
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
  top: 100px;
  padding-top: 10px;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
  border-radius: 10px;
}

.service-details .service-box + .service-box {
  margin-top: 30px;
}

@media (max-width: 767px) {
  #service-details .row {
    display: flex;
  }
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

/* ===== FUTURISTIC EXTRAS SECTION ===== */
.extras-items {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 0;
  list-style-type: none;
  margin-bottom: 100px;
  position: relative;
}

.extras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 20px;
  padding: 20px;
  gap: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.extras::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    );
  animation: extrasBgPulse 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes extrasBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .extras {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }
}

.extras li {
  margin: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.extras li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.extras li:hover::before {
  left: 100%;
}

.extras li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.extras li i {
  color: #667eea;
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
  text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.extras li span {
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.extras li p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.service-details .extras i {
  margin-right: 0;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Futuristic About Section
--------------------------------------------------------------*/

.about {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  padding: 80px 0 120px 0;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

/* Animated background particles */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  animation: aboutBgPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aboutBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.about h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.about h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  animation: glowLine 2s ease-in-out infinite;
}

.about-homepage {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.about-homepage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  animation: shimmer 3s infinite;
}

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

.about-homepage img {
  max-width: 100%;
  height: 500px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Remove hover effect from about homepage image */
.about-homepage img:hover {
  transform: none;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about .read-more {
  border: 2px solid rgba(102, 126, 234, 0.8);
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 15px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.2)
  );
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.about .read-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.read-more i {
  color: #ffffff;
}

.about .read-more i {
  font-size: 18px;
  margin-left: 8px;
  line-height: 0;
  transition: 0.3s;
  color: #fff;
}

.about .read-more:hover {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.8),
    rgba(118, 75, 162, 0.8)
  );
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.about .read-more:hover::before {
  left: 100%;
}

.about .read-more:hover i {
  transform: translate(5px, 0);
  color: white;
}

@media (max-width: 1024px) {
  .about-homepage img {
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    object-fit: cover;
  }
}

@media (max-width: 912px) {
  .about-homepage img {
    max-width: 100%;
    height: 500px;
    border-radius: 10px;
    object-fit: cover;
  }
}

/* CKEditor Dark Theme Override - Aggressive */
.ck-editor__editable,
.ck-editor__editable *,
.ck-editor__editable p,
.ck-editor__editable div,
.ck-editor__editable span,
.ck-editor__editable strong,
.ck-editor__editable b,
.ck-editor__editable em,
.ck-editor__editable i,
.ck-editor__editable ul,
.ck-editor__editable ol,
.ck-editor__editable li,
.ck-editor__editable blockquote {
  color: rgba(255, 255, 255, 0.9) !important;
  background: transparent !important;
}

/* Target all text elements within CKEditor */
.about-homepage .ck-editor__editable,
.about-homepage .ck-editor__editable *,
.about-homepage .ck-editor__editable p,
.about-homepage .ck-editor__editable div,
.about-homepage .ck-editor__editable span {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

/* Target headings specifically */
.about-homepage .ck-editor__editable h1,
.about-homepage .ck-editor__editable h2,
.about-homepage .ck-editor__editable h3,
.about-homepage .ck-editor__editable h4,
.about-homepage .ck-editor__editable h5,
.about-homepage .ck-editor__editable h6 {
  color: #fff !important;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Target links */
.about-homepage .ck-editor__editable a {
  color: #667eea !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(102, 126, 234, 0.5) !important;
  transition: all 0.3s ease !important;
}

.about-homepage .ck-editor__editable a:hover {
  color: #764ba2 !important;
  border-bottom-color: rgba(118, 75, 162, 0.8) !important;
}

/* Target blockquotes */
.about-homepage .ck-editor__editable blockquote {
  border-left: 4px solid #667eea !important;
  background: rgba(102, 126, 234, 0.1) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 15px 20px !important;
  margin: 20px 0 !important;
  border-radius: 8px !important;
}

/* Additional selectors for iframe content */
iframe .ck-editor__editable,
iframe .ck-editor__editable *,
iframe .ck-editor__editable p,
iframe .ck-editor__editable div,
iframe .ck-editor__editable span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Force override for any remaining black text */
.about-homepage * {
  color: rgba(255, 255, 255, 0.9) !important;
}

.about-homepage p,
.about-homepage div,
.about-homepage span {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* TextField content styling for all models */
.about-content p,
.mission-content p,
.partnership-content p,
.team-content p,
.job-summary-content p,
.service-content p,
.stack-content p,
.email-template-content p,
.page-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  line-height: 1.8 !important;
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
}

.about-content strong,
.about-content b,
.mission-content strong,
.mission-content b,
.partnership-content strong,
.partnership-content b,
.team-content strong,
.team-content b,
.job-summary-content strong,
.job-summary-content b,
.service-content strong,
.service-content b,
.stack-content strong,
.stack-content b,
.email-template-content strong,
.email-template-content b,
.page-content strong,
.page-content b {
  color: #fff !important;
  font-weight: 700 !important;
}

.about-content em,
.about-content i,
.mission-content em,
.mission-content i,
.partnership-content em,
.partnership-content i,
.team-content em,
.team-content i,
.job-summary-content em,
.job-summary-content i,
.service-content em,
.service-content i,
.stack-content em,
.stack-content i,
.email-template-content em,
.email-template-content i,
.page-content em,
.page-content i {
  color: rgba(255, 255, 255, 0.8) !important;
  font-style: italic !important;
}

.about-content a,
.mission-content a,
.partnership-content a,
.team-content a,
.job-summary-content a,
.service-content a,
.stack-content a,
.email-template-content a,
.page-content a {
  color: #667eea !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(102, 126, 234, 0.5) !important;
  transition: all 0.3s ease !important;
}

.about-content a:hover,
.mission-content a:hover,
.partnership-content a:hover,
.team-content a:hover,
.job-summary-content a:hover,
.service-content a:hover,
.stack-content a:hover,
.email-template-content a:hover,
.page-content a:hover {
  color: #764ba2 !important;
  border-bottom-color: rgba(118, 75, 162, 0.8) !important;
}

/* Additional styling for lists and other elements */
.about-content ul,
.about-content ol,
.mission-content ul,
.mission-content ol,
.partnership-content ul,
.partnership-content ol,
.team-content ul,
.team-content ol,
.job-summary-content ul,
.job-summary-content ol,
.service-content ul,
.service-content ol,
.stack-content ul,
.stack-content ol,
.email-template-content ul,
.email-template-content ol,
.page-content ul,
.page-content ol {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-left: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.about-content li,
.mission-content li,
.partnership-content li,
.team-content li,
.job-summary-content li,
.service-content li,
.stack-content li,
.email-template-content li,
.page-content li {
  margin-bottom: 0.5rem !important;
  line-height: 1.6 !important;
}

.about-content h1,
.about-content h2,
.about-content h3,
.about-content h4,
.about-content h5,
.about-content h6,
.mission-content h1,
.mission-content h2,
.mission-content h3,
.mission-content h4,
.mission-content h5,
.mission-content h6,
.partnership-content h1,
.partnership-content h2,
.partnership-content h3,
.partnership-content h4,
.partnership-content h5,
.partnership-content h6,
.team-content h1,
.team-content h2,
.team-content h3,
.team-content h4,
.team-content h5,
.team-content h6,
.job-summary-content h1,
.job-summary-content h2,
.job-summary-content h3,
.job-summary-content h4,
.job-summary-content h5,
.job-summary-content h6,
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4,
.service-content h5,
.service-content h6,
.stack-content h1,
.stack-content h2,
.stack-content h3,
.stack-content h4,
.stack-content h5,
.stack-content h6,
.email-template-content h1,
.email-template-content h2,
.email-template-content h3,
.email-template-content h4,
.email-template-content h5,
.email-template-content h6,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: #fff !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
  margin-top: 1.5rem !important;
}

.about-content blockquote,
.mission-content blockquote,
.partnership-content blockquote,
.team-content blockquote,
.job-summary-content blockquote,
.service-content blockquote,
.stack-content blockquote,
.email-template-content blockquote,
.page-content blockquote {
  border-left: 4px solid #667eea !important;
  padding-left: 1rem !important;
  margin: 1rem 0 !important;
  font-style: italic !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about {
    padding: 60px 0 80px 0;
  }

  .about h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
  }

  .about-homepage {
    padding: 30px;
  }
}

@media (max-width: 540px) {
  .about-homepage {
    padding: 20px;
    border-radius: 20px;
  }

  .about-homepage img {
    max-width: 100%;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
  }

  .about .read-more {
    display: flex;
    align-items: center;
    padding: 12px 25px;
  }
}

/*--------------------------------------------------------------
# Stack Section
--------------------------------------------------------------*/
.stack-container h1 {
  font-weight: 700;
  font-size: 45px;
}

.stack-items {
  width: 100%;
  display: grid;
  flex-wrap: wrap;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto;
  list-style-type: none;
  position: relative;
  overflow: hidden;
  gap: 10px;
  background-color: linear-gradient(to right, #3590f4, #326aea);
  border-radius: 20px;
}

.stack-items li {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  transition: transform 0.3s ease;
  /* box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); */
  background-color: white;
}

.stack-items li:hover {
  transform: translateY(-5px);
}

.stack-items img {
  height: 60px;
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 24px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 4%;
}

.features .tab-pane ul li {
  padding-bottom: 5px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

.stack-btn {
  padding-top: 30px;
}

.stack-btn span {
  display: inline-block;
  background: var(--button-color);
  border-radius: 5px;
  padding: 10px 32px;
  color: #ffffff !important;
  transition: ease 0.3s;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.stack-btn span:hover {
  padding: 12px 50px;
}

@media (max-width: 1024px) {
  .stack-items {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 912px) {
  .stack-items {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 540px) {
  .stack-items {
    grid-template-columns: repeat(4, 1fr);
  }

  .stack-btn span {
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
  }
}

@media (max-width: 412px) {
  .stack-items li {
    height: 80px;
    width: 100%;
  }

  .stack-items img {
    height: 50px;
  }
}

@media (max-width: 414px) {
  .stack-items {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .stack-items li {
    height: 70px;
    width: 100%;
  }

  .stack-items img {
    height: 50px;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

/* Ensure testimonials section is always visible */
.testimonials {
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonials .container {
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonials .swiper {
  opacity: 1 !important;
  visibility: visible !important;
}

.testimonials .testimonial-item {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  position: relative;
  height: 400px;
  max-width: 100%;
  gap: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: var(--transition-medium);
  overflow: hidden;
  opacity: 1 !important; /* Ensure testimonial items are always visible */
  visibility: visible !important;
}

.testimonial-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--holographic-gradient);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: -1;
}

.testimonial-item:hover::before {
  opacity: 0.1;
}

.testimonial-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: var(--neon-glow), 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  margin-right: 15px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars span {
  color: goldenrod;
  margin: 0 1px;
  font-size: 20px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, black, transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  height: 100%;
  width: 100%;
  border: 1px solid rgba(0, 255, 255, 0.1);
  transition: var(--transition-medium);
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--neon-glow), 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-color);
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .member-img img {
  height: 350px;
  width: 100%;
  object-fit: cover;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}
/*--------------------------------------------------------------
# Project Section
--------------------------------------------------------------*/
.project-base li a {
  display: inline-block;
  background: var(--button-color);
  color: #ffffff;
  border: 1px;
  border-radius: 5px;
  margin-left: 1px;
  transition: ease 0.5s;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.project-base li a:hover {
  color: white;
  padding: 10px 40px;
}

.project {
  background-color: var(--background2-color);
  width: 100%;
  margin-top: 10px;
}

.container.project-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.project-message,
.django-form {
  flex: 1;
  min-width: 300px;
}

.project-message h1 {
  font-weight: 700;
  margin-bottom: 30px;
}

.django-form {
  min-height: 100%;
  transition: all ease-in-out 0.3s;
  border: 1px solid;
  border-color: gainsboro;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: white;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.project .django-form button {
  padding: 10px 20px;
  font-size: 16px;
  background: var(--button-color);
  color: white;
  border: 1px;
  border-radius: 5px;
  cursor: pointer;
  transition: ease 0.5s;
}

.project .django-form button:hover {
  background: color-mix(in srgb, var(--link-color), transparent 20%);
}

@media (max-width: 768px) {
  .container.project-items {
    flex-direction: column;
    align-items: center;
  }

  .project-message,
  .django-form {
    min-width: unset;
  }

  .django-form {
    min-width: unset;
    min-height: 100%;
  }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }
}

/*--------------------------------------------------------------
# Futuristic Contact Section
--------------------------------------------------------------*/
.contact-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  animation: contactBgPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes contactBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Contact Image Styling */
.contact-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.contact-image-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 35px 80px rgba(102, 126, 234, 0.3);
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.contact-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2),
    rgba(118, 75, 162, 0.2)
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-image-wrapper:hover .contact-image-overlay {
  opacity: 1;
}

/* Contact Addresses Styling */
.contact-addresses-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-address-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 30px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-address-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.contact-address-card:hover::before {
  left: 100%;
}

.contact-address-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.address-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 25px;
  text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
  transition: all 0.3s ease;
}

.contact-address-card:hover .address-header h2 {
  color: #764ba2;
  text-shadow: 0 0 25px rgba(118, 75, 162, 0.6);
}

.address-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.address-item:hover {
  transform: translateX(5px);
}

.address-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 15px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.address-item:hover .address-icon {
  background: rgba(102, 126, 234, 0.4);
  transform: scale(1.1);
}

.address-icon i {
  font-size: 20px;
  color: #667eea;
  text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
  transition: all 0.3s ease;
}

.address-item:hover .address-icon i {
  color: #764ba2;
  text-shadow: 0 0 15px rgba(118, 75, 162, 0.6);
}

.address-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
  transition: all 0.3s ease;
}

.address-item:hover .address-text p {
  color: #ffffff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
  .contact-section {
    padding: 60px 0 80px 0;
  }

  .contact-grid {
    gap: 50px;
  }

  .contact-image-wrapper {
    width: 450px;
    height: 450px;
  }

  .address-header h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .address-text p {
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .contact-section {
    padding: 50px 0 70px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-image-wrapper {
    width: 400px;
    height: 400px;
  }

  .contact-addresses-container {
    gap: 25px;
  }

  .contact-address-card {
    padding: 25px;
  }

  .address-header h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: center;
  }

  .address-content {
    gap: 18px;
  }

  .address-item {
    gap: 12px;
  }

  .address-icon {
    width: 45px;
    height: 45px;
  }

  .address-icon i {
    font-size: 18px;
  }

  .address-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 40px 0 60px 0;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-image-wrapper {
    width: 350px;
    height: 350px;
  }

  .contact-addresses-container {
    gap: 20px;
  }

  .contact-address-card {
    padding: 20px;
  }

  .address-header h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .address-content {
    gap: 15px;
  }

  .address-item {
    gap: 10px;
  }

  .address-icon {
    width: 40px;
    height: 40px;
  }

  .address-icon i {
    font-size: 16px;
  }

  .address-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 30px 0 50px 0;
  }

  .contact-grid {
    gap: 25px;
  }

  .contact-image-wrapper {
    width: 280px;
    height: 280px;
  }

  .contact-addresses-container {
    gap: 18px;
  }

  .contact-address-card {
    padding: 18px;
  }

  .address-header h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .address-content {
    gap: 12px;
  }

  .address-item {
    gap: 8px;
  }

  .address-icon {
    width: 35px;
    height: 35px;
  }

  .address-icon i {
    font-size: 14px;
  }

  .address-text p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 25px 0 40px 0;
  }

  .contact-grid {
    gap: 20px;
  }

  .contact-image-wrapper {
    width: 250px;
    height: 250px;
  }

  .contact-addresses-container {
    gap: 15px;
  }

  .contact-address-card {
    padding: 15px;
  }

  .address-header h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .address-content {
    gap: 10px;
  }

  .address-item {
    gap: 6px;
  }

  .address-icon {
    width: 30px;
    height: 30px;
  }

  .address-icon i {
    font-size: 12px;
  }

  .address-text p {
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .contact-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .contact-address-card {
    padding: 12px;
  }

  .address-header h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .address-icon {
    width: 28px;
    height: 28px;
  }

  .address-icon i {
    font-size: 11px;
  }

  .address-text p {
    font-size: 0.75rem;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .contact-image-wrapper:hover {
    transform: none;
  }

  .contact-image-wrapper:active {
    transform: scale(0.98);
  }

  .contact-address-card:hover {
    transform: none;
  }

  .contact-address-card:active {
    transform: scale(0.98);
  }

  .contact-address-card:hover::before {
    left: -100%;
  }

  .address-item:hover {
    transform: none;
  }

  .address-item:active {
    transform: translateX(2px);
  }
}

/*--------------------------------------------------------------
# Futuristic Project Form Section
--------------------------------------------------------------*/
.project-section {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.project-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(120, 219, 255, 0.1) 0%,
      transparent 50%
    );
  animation: projectBgPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes projectBgPulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Project Message Styling */
.project-message-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-message-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 40px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.project-message-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

.project-message-card:hover::before {
  left: 100%;
}

.project-message-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.project-message-card h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Project Form Styling */
.project-form-container {
  display: flex;
  flex-direction: column;
}

.project-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.project-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.8s ease;
}

.project-form-card:hover::before {
  left: 100%;
}

.futuristic-form {
  position: relative;
  z-index: 2;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  position: relative;
}

.input-wrapper,
.select-wrapper,
.textarea-wrapper {
  position: relative;
  overflow: hidden;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #667eea;
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Phone Input Group */
.phone-group .phone-inputs {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
}

.country-select-wrapper,
.phone-input-wrapper {
  position: relative;
}

/* Input Borders */
.input-border,
.select-border,
.textarea-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  transition: width 0.3s ease;
}

.form-input:focus ~ .input-border,
.form-select:focus ~ .select-border,
.form-textarea:focus ~ .textarea-border {
  width: 100%;
}

/* Submit Button */
.submit-group {
  margin-top: 10px;
}

.submit-button {
  position: relative;
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 15px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.submit-button:active {
  transform: translateY(0);
}

.button-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.submit-button:hover .button-glow {
  opacity: 0.3;
}

/* Success Message */
.success-message {
  background: rgba(40, 167, 69, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  color: #28a745;
  text-align: center;
  font-weight: 500;
}

.success-message p {
  margin: 0;
  font-size: 1rem;
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
  .project-section {
    padding: 60px 0 80px 0;
  }

  .project-grid {
    gap: 50px;
  }

  .project-message-card {
    padding: 30px;
  }

  .project-message-card h2 {
    font-size: 1.6rem;
  }

  .project-form-card {
    padding: 30px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .submit-button {
    padding: 16px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 992px) {
  .project-section {
    padding: 50px 0 70px 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-message-card {
    padding: 25px;
  }

  .project-message-card h2 {
    font-size: 1.4rem;
    text-align: center;
  }

  .project-form-card {
    padding: 25px;
  }

  .form-grid {
    gap: 20px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 15px 16px;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .project-section {
    padding: 40px 0 60px 0;
  }

  .project-grid {
    gap: 30px;
  }

  .project-message-card {
    padding: 20px;
  }

  .project-message-card h2 {
    font-size: 1.3rem;
  }

  .project-form-card {
    padding: 20px;
  }

  .form-grid {
    gap: 18px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px 15px;
    font-size: 0.85rem;
  }

  .submit-button {
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .phone-group .phone-inputs {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .project-section {
    padding: 30px 0 50px 0;
  }

  .project-grid {
    gap: 25px;
  }

  .project-message-card {
    padding: 18px;
  }

  .project-message-card h2 {
    font-size: 1.2rem;
  }

  .project-form-card {
    padding: 18px;
  }

  .form-grid {
    gap: 15px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .submit-button {
    padding: 12px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .project-section {
    padding: 25px 0 40px 0;
  }

  .project-grid {
    gap: 20px;
  }

  .project-message-card {
    padding: 15px;
  }

  .project-message-card h2 {
    font-size: 1.1rem;
  }

  .project-form-card {
    padding: 15px;
  }

  .form-grid {
    gap: 12px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 10px 12px;
    font-size: 0.75rem;
  }

  .submit-button {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 375px) {
  .project-message-card {
    padding: 12px;
  }

  .project-message-card h2 {
    font-size: 1rem;
  }

  .project-form-card {
    padding: 12px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 8px 10px;
    font-size: 0.7rem;
  }

  .submit-button {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  .project-message-card:hover {
    transform: none;
  }

  .project-message-card:active {
    transform: scale(0.98);
  }

  .project-message-card:hover::before {
    left: -100%;
  }

  .submit-button:hover {
    transform: none;
  }

  .submit-button:active {
    transform: scale(0.98);
  }

  .submit-button:hover::before {
    left: -100%;
  }
}

/*--------------------------------------------------------------
# Comprehensive Display Resolution Optimizations
--------------------------------------------------------------*/

/* 1280x800 (Landscape Laptop) */
@media (max-width: 1280px) and (max-height: 800px) {
  .hero-section {
    min-height: 80vh;
    padding: 60px 0;
  }

  .banner-text h2 {
    font-size: 2.8rem;
  }

  .fade-text h1 {
    font-size: 3.5rem;
  }

  .banner-text .banner-description {
    font-size: 1.1rem;
  }

  .sectors {
    padding: 60px 0;
  }

  .sector h2 {
    font-size: 2.2rem;
  }

  .about-homepage {
    padding: 60px 0;
  }

  .about-homepage h2 {
    font-size: 2.2rem;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-section h2 {
    font-size: 2.2rem;
  }

  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 1024x1366 (iPad Pro Portrait) */
@media (max-width: 1024px) and (max-height: 1366px) {
  .hero-section {
    min-height: 85vh;
    padding: 80px 0;
  }

  .banner-text h2 {
    font-size: 3.2rem;
  }

  .fade-text h1 {
    font-size: 4rem;
  }

  .banner-text .banner-description {
    font-size: 1.2rem;
  }

  .sectors {
    padding: 80px 0;
  }

  .sector h2 {
    font-size: 2.5rem;
  }

  .about-homepage {
    padding: 80px 0;
  }

  .about-homepage h2 {
    font-size: 2.5rem;
  }

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

  .newsletter-section h2 {
    font-size: 2.5rem;
  }

  .footer {
    padding: 50px 0 30px 0;
  }
}

/* 1024x600 (Small Laptop) */
@media (max-width: 1024px) and (max-height: 600px) {
  .hero-section {
    min-height: 70vh;
    padding: 40px 0;
  }

  .banner-text h2 {
    font-size: 2.4rem;
  }

  .fade-text h1 {
    font-size: 3rem;
  }

  .banner-text .banner-description {
    font-size: 1rem;
  }

  .sectors {
    padding: 50px 0;
  }

  .sector h2 {
    font-size: 2rem;
  }

  .about-homepage {
    padding: 50px 0;
  }

  .about-homepage h2 {
    font-size: 2rem;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .newsletter-section h2 {
    font-size: 2rem;
  }

  .footer {
    padding: 30px 0 20px 0;
  }
}

/* 912x1368 (iPad Air Portrait) */
@media (max-width: 912px) and (max-height: 1368px) {
  .hero-section {
    min-height: 80vh;
    padding: 70px 0;
  }

  .banner-text h2 {
    font-size: 2.8rem;
  }

  .fade-text h1 {
    font-size: 3.5rem;
  }

  .banner-text .banner-description {
    font-size: 1.1rem;
  }

  .sectors {
    padding: 70px 0;
  }

  .sector h2 {
    font-size: 2.3rem;
  }

  .about-homepage {
    padding: 70px 0;
  }

  .about-homepage h2 {
    font-size: 2.3rem;
  }

  .newsletter-section {
    padding: 70px 0;
  }

  .newsletter-section h2 {
    font-size: 2.3rem;
  }

  .footer {
    padding: 45px 0 25px 0;
  }
}

/* 853x1280 (iPad Mini Portrait) */
@media (max-width: 853px) and (max-height: 1280px) {
  .hero-section {
    min-height: 75vh;
    padding: 60px 0;
  }

  .banner-text h2 {
    font-size: 2.6rem;
  }

  .fade-text h1 {
    font-size: 3.2rem;
  }

  .banner-text .banner-description {
    font-size: 1rem;
  }

  .sectors {
    padding: 60px 0;
  }

  .sector h2 {
    font-size: 2.1rem;
  }

  .about-homepage {
    padding: 60px 0;
  }

  .about-homepage h2 {
    font-size: 2.1rem;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-section h2 {
    font-size: 2.1rem;
  }

  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 820x1180 (iPad Air Landscape) */
@media (max-width: 820px) and (max-height: 1180px) {
  .hero-section {
    min-height: 70vh;
    padding: 50px 0;
  }

  .banner-text h2 {
    font-size: 2.4rem;
  }

  .fade-text h1 {
    font-size: 3rem;
  }

  .banner-text .banner-description {
    font-size: 0.95rem;
  }

  .sectors {
    padding: 50px 0;
  }

  .sector h2 {
    font-size: 1.9rem;
  }

  .about-homepage {
    padding: 50px 0;
  }

  .about-homepage h2 {
    font-size: 1.9rem;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .newsletter-section h2 {
    font-size: 1.9rem;
  }

  .footer {
    padding: 35px 0 20px 0;
  }
}

/* 768x1024 (iPad Portrait) */
@media (max-width: 768px) and (max-height: 1024px) {
  .hero-section {
    min-height: 70vh;
    padding: 50px 0;
  }

  .banner-text h2 {
    font-size: 2.2rem;
  }

  .fade-text h1 {
    font-size: 2.8rem;
  }

  .banner-text .banner-description {
    font-size: 0.9rem;
  }

  .sectors {
    padding: 50px 0;
  }

  .sector h2 {
    font-size: 1.8rem;
  }

  .about-homepage {
    padding: 50px 0;
  }

  .about-homepage h2 {
    font-size: 1.8rem;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .newsletter-section h2 {
    font-size: 1.8rem;
  }

  .footer {
    padding: 30px 0 20px 0;
  }
}

/* 320x568 (iPhone SE) */
@media (max-width: 320px) and (max-height: 568px) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 0;
  }

  .banner-text h2 {
    font-size: 1.8rem;
  }

  .fade-text h1 {
    font-size: 2.2rem;
  }

  .banner-text .banner-description {
    font-size: 0.8rem;
  }

  .sectors {
    padding: 30px 0;
  }

  .sector h2 {
    font-size: 1.4rem;
  }

  .about-homepage {
    padding: 30px 0;
  }

  .about-homepage h2 {
    font-size: 1.4rem;
  }

  .newsletter-section {
    padding: 30px 0;
  }

  .newsletter-section h2 {
    font-size: 1.4rem;
  }

  .footer {
    padding: 20px 0 15px 0;
  }

  .navmenu {
    padding: 10px 15px;
  }

  .navmenu .logo {
    font-size: 1.2rem;
  }

  .navmenu ul {
    gap: 15px;
  }

  .navmenu a {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .project-base {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Additional Responsive Optimizations for Specific Elements
--------------------------------------------------------------*/

/* Form Optimizations for Different Screen Sizes */
@media (max-width: 1024px) {
  .django-form {
    padding: 25px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .btn-submit {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .django-form {
    padding: 20px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .btn-submit {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .django-form {
    padding: 18px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .btn-submit {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .django-form {
    padding: 15px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .btn-submit {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* Navigation Optimizations */
@media (max-width: 1024px) {
  .navmenu {
    padding: 15px 20px;
  }

  .navmenu .logo {
    font-size: 1.4rem;
  }

  .navmenu ul {
    gap: 20px;
  }

  .navmenu a {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .project-base {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .navmenu {
    padding: 12px 18px;
  }

  .navmenu .logo {
    font-size: 1.3rem;
  }

  .navmenu ul {
    gap: 18px;
  }

  .navmenu a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .project-base {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .navmenu {
    padding: 10px 15px;
  }

  .navmenu .logo {
    font-size: 1.2rem;
  }

  .navmenu ul {
    gap: 15px;
  }

  .navmenu a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .project-base {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* Footer Optimizations */
@media (max-width: 1024px) {
  .footer {
    padding: 40px 0 25px 0;
  }

  .footer h3 {
    font-size: 1.3rem;
  }

  .footer p,
  .footer a {
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .footer {
    padding: 35px 0 20px 0;
  }

  .footer h3 {
    font-size: 1.2rem;
  }

  .footer p,
  .footer a {
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .footer {
    padding: 30px 0 20px 0;
  }

  .footer h3 {
    font-size: 1.1rem;
  }

  .footer p,
  .footer a {
    font-size: 0.8rem;
  }
}

/* Service Page Optimizations */
@media (max-width: 1024px) {
  .service-details {
    padding: 40px 0;
  }

  .service-details h1 {
    font-size: 2.2rem;
  }

  .service-details h2 {
    font-size: 1.8rem;
  }

  .service-details p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .service-details {
    padding: 35px 0;
  }

  .service-details h1 {
    font-size: 2rem;
  }

  .service-details h2 {
    font-size: 1.6rem;
  }

  .service-details p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .service-details {
    padding: 30px 0;
  }

  .service-details h1 {
    font-size: 1.8rem;
  }

  .service-details h2 {
    font-size: 1.4rem;
  }

  .service-details p {
    font-size: 0.85rem;
  }
}

/* About Us Page Optimizations */
@media (max-width: 1024px) {
  .about-section {
    padding: 60px 0;
  }

  .about-section h1 {
    font-size: 2.5rem;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .about-section {
    padding: 50px 0;
  }

  .about-section h1 {
    font-size: 2.2rem;
  }

  .about-section h2 {
    font-size: 1.8rem;
  }

  .about-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .about-section {
    padding: 40px 0;
  }

  .about-section h1 {
    font-size: 2rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
  }

  .about-section p {
    font-size: 0.85rem;
  }
}

/* Contact Page Optimizations */
@media (max-width: 1024px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section h1 {
    font-size: 2.5rem;
  }

  .contact-address-card {
    padding: 25px;
  }

  .address-header h2 {
    font-size: 1.8rem;
  }

  .address-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-section h1 {
    font-size: 2.2rem;
  }

  .contact-address-card {
    padding: 20px;
  }

  .address-header h2 {
    font-size: 1.6rem;
  }

  .address-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-section h1 {
    font-size: 2rem;
  }

  .contact-address-card {
    padding: 18px;
  }

  .address-header h2 {
    font-size: 1.4rem;
  }

  .address-text p {
    font-size: 0.85rem;
  }
}

/* Stack Page Optimizations */
@media (max-width: 1024px) {
  .stack-page {
    padding: 60px 0;
  }

  .stack-page-header h1 {
    font-size: 2.2rem;
  }

  .stack-category h5 {
    font-size: 1.2rem;
  }

  .stack-technologies p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .stack-page {
    padding: 50px 0;
  }

  .stack-page-header h1 {
    font-size: 2rem;
  }

  .stack-category h5 {
    font-size: 1.1rem;
  }

  .stack-technologies p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .stack-page {
    padding: 40px 0;
  }

  .stack-page-header h1 {
    font-size: 1.8rem;
  }

  .stack-category h5 {
    font-size: 1rem;
  }

  .stack-technologies p {
    font-size: 0.85rem;
  }
}

/* Project Page Optimizations */
@media (max-width: 1024px) {
  .project-section {
    padding: 60px 0;
  }

  .project-message-card h2 {
    font-size: 1.6rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .submit-button {
    padding: 16px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 912px) {
  .project-section {
    padding: 50px 0;
  }

  .project-message-card h2 {
    font-size: 1.4rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 15px 16px;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 820px) {
  .project-section {
    padding: 40px 0;
  }

  .project-message-card h2 {
    font-size: 1.3rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px 15px;
    font-size: 0.85rem;
  }

  .submit-button {
    padding: 14px 18px;
    font-size: 0.9rem;
  }
}

/* Values Section Optimizations */
@media (max-width: 1024px) {
  .values {
    padding: 60px 0;
  }

  .values .values-items h1 {
    font-size: 2.5rem;
  }

  .values-list-items h5 {
    font-size: 1.3rem;
  }

  .values-list-items p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .values {
    padding: 50px 0;
  }

  .values .values-items h1 {
    font-size: 2.2rem;
  }

  .values-list-items h5 {
    font-size: 1.2rem;
  }

  .values-list-items p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .values {
    padding: 40px 0;
  }

  .values .values-items h1 {
    font-size: 2rem;
  }

  .values-list-items h5 {
    font-size: 1.1rem;
  }

  .values-list-items p {
    font-size: 0.85rem;
  }
}

/* Extras Section Optimizations */
@media (max-width: 1024px) {
  .extras {
    padding: 25px;
  }

  .extras li span {
    font-size: 1.6rem;
  }

  .extras li p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .extras {
    padding: 20px;
  }

  .extras li span {
    font-size: 1.4rem;
  }

  .extras li p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .extras {
    padding: 18px;
  }

  .extras li span {
    font-size: 1.3rem;
  }

  .extras li p {
    font-size: 0.85rem;
  }
}

/*--------------------------------------------------------------
# Pages Section
--------------------------------------------------------------*/
.pages {
  height: 100%;
}

.pages-items {
  margin-left: 10%;
  margin-right: 10%;
}

@media (max-width: 912px) {
  .pages-items {
    margin-left: 3%;
    margin-right: 3%;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 0 10px;
  margin: 0 0 20px 0;
  border-left: 4px solid var(--accent-color);
}

.widget-item {
  margin-bottom: 30px;
  background-color: color-mix(in srgb, var(--default-color), transparent 98%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 30px;
  border-radius: 5px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.blog-author-widget img {
  max-width: 160px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin: 15px 0 0 0;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin: 0 3px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type="text"] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type="text"]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

@media (max-width: 768px) {
  .career-table {
    display: flex;
  }
}

/* ===== FUN RAINBOW DUST ANIMATION ===== */
.rainbow-snow-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.rainbow-snow-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(102, 126, 234, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(118, 75, 162, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(64, 224, 208, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 60% 60%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    );
  animation: rainbowBgPulse 6s ease-in-out infinite;
}

@keyframes rainbowBgPulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

.rainbow-snow {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #feca57,
    #ff9ff3,
    #54a0ff,
    #ff6b9d,
    #a8e6cf
  );
  animation: rainbowDustFloat 12s ease-in-out infinite;
  box-shadow: 0 0 15px currentColor;
  filter: blur(0.5px);
}

.rainbow-snow:nth-child(1) {
  left: 5%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.rainbow-snow:nth-child(2) {
  left: 15%;
  animation-delay: 0.5s;
  animation-duration: 10s;
}

.rainbow-snow:nth-child(3) {
  left: 25%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.rainbow-snow:nth-child(4) {
  left: 35%;
  animation-delay: 1.5s;
  animation-duration: 11s;
}

.rainbow-snow:nth-child(5) {
  left: 45%;
  animation-delay: 2s;
  animation-duration: 8.5s;
}

.rainbow-snow:nth-child(6) {
  left: 55%;
  animation-delay: 2.5s;
  animation-duration: 12s;
}

.rainbow-snow:nth-child(7) {
  left: 65%;
  animation-delay: 3s;
  animation-duration: 9.5s;
}

.rainbow-snow:nth-child(8) {
  left: 75%;
  animation-delay: 3.5s;
  animation-duration: 10.5s;
}

.rainbow-snow:nth-child(9) {
  left: 85%;
  animation-delay: 4s;
  animation-duration: 8s;
}

.rainbow-snow:nth-child(10) {
  left: 95%;
  animation-delay: 4.5s;
  animation-duration: 11.5s;
}

.rainbow-snow:nth-child(11) {
  left: 10%;
  animation-delay: 5s;
  animation-duration: 9s;
}

.rainbow-snow:nth-child(12) {
  left: 20%;
  animation-delay: 5.5s;
  animation-duration: 10s;
}

.rainbow-snow:nth-child(13) {
  left: 30%;
  animation-delay: 6s;
  animation-duration: 8.5s;
}

.rainbow-snow:nth-child(14) {
  left: 40%;
  animation-delay: 6.5s;
  animation-duration: 11s;
}

.rainbow-snow:nth-child(15) {
  left: 50%;
  animation-delay: 7s;
  animation-duration: 9.5s;
}

.rainbow-snow:nth-child(16) {
  left: 60%;
  animation-delay: 7.5s;
  animation-duration: 10.5s;
}

.rainbow-snow:nth-child(17) {
  left: 70%;
  animation-delay: 8s;
  animation-duration: 8s;
}

.rainbow-snow:nth-child(18) {
  left: 80%;
  animation-delay: 8.5s;
  animation-duration: 12s;
}

.rainbow-snow:nth-child(19) {
  left: 90%;
  animation-delay: 9s;
  animation-duration: 9s;
}

.rainbow-snow:nth-child(20) {
  left: 3%;
  animation-delay: 9.5s;
  animation-duration: 10s;
}

@keyframes rainbowDustFloat {
  0% {
    transform: translateY(100px) translateX(-20px) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: translateY(80px) translateX(10px) scale(0.8);
  }
  25% {
    transform: translateY(60px) translateX(-15px) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(20px) translateX(25px) scale(1.2);
    opacity: 0.9;
  }
  75% {
    transform: translateY(-20px) translateX(-10px) scale(1);
    opacity: 1;
  }
  90% {
    transform: translateY(-60px) translateX(15px) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) translateX(-25px) scale(0.5);
    opacity: 0;
  }
}

/* Sparkle effect */
.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: linear-gradient(
    45deg,
    #ffd700,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #ff9ff3
  );
  border-radius: 50%;
  animation: sparkleFloat 8s ease-in-out infinite;
  box-shadow: 0 0 12px currentColor;
  filter: blur(0.3px);
}

.particle:nth-child(1) {
  left: 12%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.particle:nth-child(2) {
  left: 28%;
  animation-delay: 1.5s;
  animation-duration: 12s;
}

.particle:nth-child(3) {
  left: 45%;
  animation-delay: 3s;
  animation-duration: 9s;
}

.particle:nth-child(4) {
  left: 62%;
  animation-delay: 4.5s;
  animation-duration: 11s;
}

.particle:nth-child(5) {
  left: 78%;
  animation-delay: 6s;
  animation-duration: 13s;
}

@keyframes sparkleFloat {
  0% {
    transform: translateY(50px) translateX(0px) scale(0.3);
    opacity: 0;
  }
  20% {
    transform: translateY(30px) translateX(10px) scale(0.6);
    opacity: 0.6;
  }
  40% {
    transform: translateY(10px) translateX(-5px) scale(1);
    opacity: 1;
  }
  60% {
    transform: translateY(-10px) translateX(8px) scale(1.3);
    opacity: 0.9;
  }
  80% {
    transform: translateY(-30px) translateX(-3px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-50px) translateX(5px) scale(0.3);
    opacity: 0;
  }
}

/* Responsive adjustments for rainbow dust */
@media (max-width: 768px) {
  .rainbow-snow-container {
    height: 300px;
  }

  .rainbow-snow {
    width: 2px;
    height: 2px;
  }

  .particle {
    width: 1.5px;
    height: 1.5px;
  }
}

@media (max-width: 480px) {
  .rainbow-snow-container {
    height: 250px;
  }

  .rainbow-snow {
    width: 1.5px;
    height: 1.5px;
  }

  .particle {
    width: 1px;
    height: 1px;
  }
}

/* ========================================
   CLEAN NAVIGATION SYSTEM - MERGED FROM clean-navigation.css
   ======================================== */

/* ===== SCROLL-BASED NAVBAR ANIMATION ===== */
/* Ensure header has proper positioning for smooth transitions */
#header {
  transition: transform 0.3s ease !important;
  will-change: transform;
}

/* ===== COMPREHENSIVE CSS OVERRIDES ===== */
/* Override all conflicting navigation styles from main.css and other files */

/* Logo Overrides */
.header .logo {
  background: transparent !important;
}

.logo img,
.header .logo img,
#header .logo img,
.header .logo img {
  height: 50px !important;
  width: auto !important;
  max-width: 150px !important;
  max-height: 50px !important;
  margin-right: 8px !important;
  background: transparent !important;
}



/* Disable old navmenu styles completely */
.navmenu,
#navmenu,
.header .navmenu,
.header #navmenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Override mobile nav toggle conflicts */
.mobile-nav-toggle,
.d-xl-none.mobile-nav-toggle,
.bi.mobile-nav-toggle,
.bi.bi-list.mobile-nav-toggle,
nav .mobile-nav-toggle,
.navmenu .mobile-nav-toggle,
#navmenu .mobile-nav-toggle,
.header .mobile-nav-toggle,
body .mobile-nav-toggle,
html body .mobile-nav-toggle,
.header .navmenu .mobile-nav-toggle,
.header #navmenu .mobile-nav-toggle {
  display: none !important;
}

@media (max-width: 1199px) {
  .mobile-nav-toggle,
  .d-xl-none.mobile-nav-toggle,
  .bi.mobile-nav-toggle,
  .bi.bi-list.mobile-nav-toggle,
  nav .mobile-nav-toggle,
  .navmenu .mobile-nav-toggle,
  #navmenu .mobile-nav-toggle,
  .header .mobile-nav-toggle,
  body .mobile-nav-toggle,
  html body .mobile-nav-toggle {
    display: block !important;
    /* Position will be set in the mobile section below */
  }

  .mobile-nav-toggle:hover,
  .d-xl-none.mobile-nav-toggle:hover,
  .bi.mobile-nav-toggle:hover,
  .bi.bi-list.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.05) !important;
  }

  .mobile-nav-toggle.active,
  .d-xl-none.mobile-nav-toggle.active,
  .bi.mobile-nav-toggle.active,
  .bi.bi-list.mobile-nav-toggle.active {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  .mobile-nav-toggle span,
  .d-xl-none.mobile-nav-toggle span,
  .bi.mobile-nav-toggle span,
  .bi.bi-list.mobile-nav-toggle span {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background: #ffffff !important;
    margin: 3px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
  }

  .mobile-nav-toggle.active span:nth-child(1),
  .d-xl-none.mobile-nav-toggle.active span:nth-child(1),
  .bi.mobile-nav-toggle.active span:nth-child(1),
  .bi.bi-list.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .mobile-nav-toggle.active span:nth-child(2),
  .d-xl-none.mobile-nav-toggle.active span:nth-child(2),
  .bi.mobile-nav-toggle.active span:nth-child(2),
  .bi.bi-list.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-nav-toggle.active span:nth-child(3),
  .d-xl-none.mobile-nav-toggle.active span:nth-child(3),
  .bi.mobile-nav-toggle.active span:nth-child(3),
  .bi.bi-list.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
  }
}

/* Override body classes that might interfere */
body.mobile-nav-active .navmenu,
body.mobile-nav-active #navmenu {
  display: none !important;
}

/* Override any conflicting navbar styles */
.navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  width: 100% !important;
  background: rgba(10, 10, 15, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: none !important;
}

/* Override nav-menu styles */
.nav-menu {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 30px !important;
  background: transparent !important;
}

@media (max-width: 1199px) {
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(10, 10, 15, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    transition: right 0.3s ease !important;
    z-index: 999 !important;
    padding: 20px !important;
    gap: 20px !important;
  }

  .nav-menu.active {
    right: 0 !important;
  }

  body.mobile-nav-active .nav-menu {
    right: 0 !important;
  }
}

/* ===== CLEAN NAVIGATION STYLES ===== */

/* Logo Styling - Override conflicting styles */
.logo img,
.header .logo img,
#header .logo img,
.header .logo img {
  height: 50px !important;
  width: auto !important;
  max-width: 150px !important;
  max-height: 50px !important;
  margin-right: 8px !important;
}

/* Desktop Navigation Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  position: relative;
}

/* Nav-menu styles are already defined in the comprehensive overrides section above */

.nav-item {
  position: relative;
}

.nav-link {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-toggle i {
  transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Desktop Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  min-width: 500px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  list-style: none;
  margin: 0;
  /* Grid layout for desktop */
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: 20px;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-item {
  color: #ffffff;
  text-decoration: none;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 60px;
  font-weight: 500;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-color);
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.project-btn {
  background: var(--button-color);
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-medium);
  border: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--neon-glow);
}

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

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

.project-btn:hover {
  padding: 12px 35px;
  transform: translateY(-3px);
  box-shadow: var(--neon-glow-strong);
  color: var(--contrast-color);
}

/* Mobile Navigation Toggle - Hidden on Desktop */
.mobile-nav-toggle {
  display: none;
}

/* Mobile Styles */
@media (max-width: 1199px) {
  .navbar {
    position: relative !important;
    justify-content: flex-end;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: none;
    min-height: 80px; /* Ensure navbar has proper height for positioning */
  }

  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(10, 10, 15, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    transition: right 0.3s ease !important;
    z-index: 999 !important;
    padding: 20px !important;
    gap: 20px !important;
  }

  .nav-menu.active {
    right: 0 !important;
  }

  .nav-item {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .nav-link {
    font-size: 24px;
    padding: 15px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 200px;
    margin: 0 auto;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .dropdown-menu {
    position: static !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    min-width: auto !important;
    width: 100% !important;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px !important;
    padding: 20px 0 !important;
    overflow: visible !important;
  }

  .dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .dropdown-item {
    font-size: 22px !important;
    padding: 18px 25px !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin: 8px 0 !important;
    min-height: 60px !important;
    font-weight: 500 !important;
  }

  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--accent-color) !important;
    transform: translateX(3px) !important;
  }

  /* Make dropdown span text larger and more readable */
  .dropdown-item span {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
  }

  .dropdown-item:hover span {
    color: var(--accent-color) !important;
  }

  /* Target all dropdown item text (including direct text without spans) */
  .dropdown-item {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
  }

  .dropdown-item:hover {
    color: var(--accent-color) !important;
  }

  .project-btn {
    margin-top: 20px;
    font-size: 20px;
    padding: 15px 30px;
  }

  /* Mobile Navigation Toggle */
  .mobile-nav-toggle {
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    transform: none !important;
  }

  .mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: scale(1.05) !important;
  }

  .mobile-nav-toggle.active {
    background: rgba(255, 255, 255, 0.2) !important;
  }

  .mobile-nav-toggle span {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background: #ffffff !important;
    margin: 3px 0 !important;
    transition: all 0.3s ease !important;
    border-radius: 2px !important;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px) !important;
  }

  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px) !important;
  }
}

/* Mobile Navigation Active State */
body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active .nav-menu {
  right: 0 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }

  .logo img {
    max-width: 120px;
  }

  .nav-link {
    font-size: 18px;
  }

  .dropdown-item {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    padding: 20px;
  }

  .nav-link {
    font-size: 16px;
  }

  .dropdown-item {
    font-size: 12px;
  }
}

/* ========================================
   RESPONSIVE OPTIMIZATIONS - MERGED FROM responsive-optimizations.css
   ======================================== */

/*--------------------------------------------------------------
# Comprehensive Display Resolution Optimizations
--------------------------------------------------------------*/

/* 1280x800 (Landscape Laptop) */
@media (max-width: 1280px) and (max-height: 800px) {
  .hero-section {
    min-height: 80vh;
    padding: 60px 0;
  }

  .banner-text h2 {
    font-size: 2.8rem;
  }

  .fade-text h1 {
    font-size: 3.5rem;
  }

  .banner-text .banner-description {
    font-size: 1.1rem;
  }

  .sectors {
    padding: 60px 0;
  }

  .sector h2 {
    font-size: 2.2rem;
  }

  .about-homepage {
    padding: 60px 0;
  }

  .about-homepage h2 {
    font-size: 2.2rem;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-section h2 {
    font-size: 2.2rem;
  }

  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 1024x1366 (iPad Pro Portrait) */
@media (max-width: 1024px) and (max-height: 1366px) {
  .hero-section {
    min-height: 85vh;
    padding: 80px 0;
  }

  .banner-text h2 {
    font-size: 3.2rem;
  }

  .fade-text h1 {
    font-size: 4rem;
  }

  .banner-text .banner-description {
    font-size: 1.3rem;
  }

  .sectors {
    padding: 80px 0;
  }

  .sector h2 {
    font-size: 2.5rem;
  }

  .about-homepage {
    padding: 80px 0;
  }

  .about-homepage h2 {
    font-size: 2.5rem;
  }

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

  .newsletter-section h2 {
    font-size: 2.5rem;
  }

  .footer {
    padding: 60px 0 30px 0;
  }
}

/* 1024x600 (Small Laptop) */
@media (max-width: 1024px) and (max-height: 600px) {
  .hero-section {
    min-height: 70vh;
    padding: 40px 0;
  }

  .banner-text h2 {
    font-size: 2.5rem;
  }

  .fade-text h1 {
    font-size: 3rem;
  }

  .banner-text .banner-description {
    font-size: 1rem;
  }

  .sectors {
    padding: 40px 0;
  }

  .sector h2 {
    font-size: 2rem;
  }

  .about-homepage {
    padding: 40px 0;
  }

  .about-homepage h2 {
    font-size: 2rem;
  }

  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-section h2 {
    font-size: 2rem;
  }

  .footer {
    padding: 30px 0 15px 0;
  }
}

/* 912x1368 (iPad Air Portrait) */
@media (max-width: 912px) and (max-height: 1368px) {
  .hero-section {
    min-height: 80vh;
    padding: 70px 0;
  }

  .banner-text h2 {
    font-size: 3rem;
  }

  .fade-text h1 {
    font-size: 3.8rem;
  }

  .banner-text .banner-description {
    font-size: 1.2rem;
  }

  .sectors {
    padding: 70px 0;
  }

  .sector h2 {
    font-size: 2.3rem;
  }

  .about-homepage {
    padding: 70px 0;
  }

  .about-homepage h2 {
    font-size: 2.3rem;
  }

  .newsletter-section {
    padding: 70px 0;
  }

  .newsletter-section h2 {
    font-size: 2.3rem;
  }

  .footer {
    padding: 50px 0 25px 0;
  }
}

/* 853x1280 (iPad Mini Portrait) */
@media (max-width: 853px) and (max-height: 1280px) {
  .hero-section {
    min-height: 75vh;
    padding: 60px 0;
  }

  .banner-text h2 {
    font-size: 2.8rem;
  }

  .fade-text h1 {
    font-size: 3.5rem;
  }

  .banner-text .banner-description {
    font-size: 1.1rem;
  }

  .sectors {
    padding: 60px 0;
  }

  .sector h2 {
    font-size: 2.2rem;
  }

  .about-homepage {
    padding: 60px 0;
  }

  .about-homepage h2 {
    font-size: 2.2rem;
  }

  .newsletter-section {
    padding: 60px 0;
  }

  .newsletter-section h2 {
    font-size: 2.2rem;
  }

  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 820x1180 (iPad Air Landscape) */
@media (max-width: 820px) and (max-height: 1180px) {
  .hero-section {
    min-height: 70vh;
    padding: 50px 0;
  }

  .banner-text h2 {
    font-size: 2.6rem;
  }

  .fade-text h1 {
    font-size: 3.2rem;
  }

  .banner-text .banner-description {
    font-size: 1rem;
  }

  .sectors {
    padding: 50px 0;
  }

  .sector h2 {
    font-size: 2rem;
  }

  .about-homepage {
    padding: 50px 0;
  }

  .about-homepage h2 {
    font-size: 2rem;
  }

  .newsletter-section {
    padding: 50px 0;
  }

  .newsletter-section h2 {
    font-size: 2rem;
  }

  .footer {
    padding: 35px 0 18px 0;
  }
}

/* 768x1024 (iPad Portrait) */
@media (max-width: 768px) and (max-height: 1024px) {
  .hero-section {
    min-height: 65vh;
    padding: 45px 0;
  }

  .banner-text h2 {
    font-size: 2.4rem;
  }

  .fade-text h1 {
    font-size: 3rem;
  }

  .banner-text .banner-description {
    font-size: 0.95rem;
  }

  .sectors {
    padding: 45px 0;
  }

  .sector h2 {
    font-size: 1.8rem;
  }

  .about-homepage {
    padding: 45px 0;
  }

  .about-homepage h2 {
    font-size: 1.8rem;
  }

  .newsletter-section {
    padding: 45px 0;
  }

  .newsletter-section h2 {
    font-size: 1.8rem;
  }

  .footer {
    padding: 30px 0 15px 0;
  }
}

/* 320x568 (iPhone SE) */
@media (max-width: 320px) and (max-height: 568px) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 0;
  }

  .banner-text h2 {
    font-size: 1.8rem;
  }

  .fade-text h1 {
    font-size: 2.2rem;
  }

  .banner-text .banner-description {
    font-size: 0.85rem;
  }

  .sectors {
    padding: 30px 0;
  }

  .sector h2 {
    font-size: 1.5rem;
  }

  .about-homepage {
    padding: 30px 0;
  }

  .about-homepage h2 {
    font-size: 1.5rem;
  }

  .newsletter-section {
    padding: 30px 0;
  }

  .newsletter-section h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 20px 0 10px 0;
  }

  .navmenu {
    padding: 10px 15px;
  }

  .navmenu .logo {
    font-size: 1.2rem;
  }

  .navmenu ul {
    gap: 15px;
  }

  .navmenu a {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .project-base {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Additional Responsive Optimizations for Specific Elements
--------------------------------------------------------------*/

/* Form Optimizations for Different Screen Sizes */
@media (max-width: 1024px) {
  .django-form {
    padding: 25px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .btn-submit {
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .django-form {
    padding: 20px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  .btn-submit {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .django-form {
    padding: 18px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .btn-submit {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .django-form {
    padding: 15px;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .btn-submit {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* Navigation Optimizations */
@media (max-width: 1024px) {
  .navmenu {
    padding: 15px 20px;
  }

  .navmenu .logo {
    font-size: 1.4rem;
  }

  .navmenu ul {
    gap: 20px;
  }

  .navmenu a {
    font-size: 0.9rem;
    padding: 10px 15px;
  }

  .project-base {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 912px) {
  .navmenu {
    padding: 12px 18px;
  }

  .navmenu .logo {
    font-size: 1.3rem;
  }

  .navmenu ul {
    gap: 18px;
  }

  .navmenu a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .project-base {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .navmenu {
    padding: 10px 15px;
  }

  .navmenu .logo {
    font-size: 1.2rem;
  }

  .navmenu ul {
    gap: 15px;
  }

  .navmenu a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .project-base {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* Footer Optimizations */
@media (max-width: 1024px) {
  .footer {
    padding: 40px 0 25px 0;
  }

  .footer h3 {
    font-size: 1.3rem;
  }

  .footer p,
  .footer a {
    font-size: 1.1rem;
  }
}

@media (max-width: 912px) {
  .footer {
    padding: 35px 0 20px 0;
  }

  .footer h3 {
    font-size: 1.2rem;
  }

  .footer p,
  .footer a {
    font-size: 1.1rem;
  }
}

@media (max-width: 820px) {
  .footer {
    padding: 30px 0 20px 0;
  }

  .footer h3 {
    font-size: 1.1rem;
  }

  .footer p,
  .footer a {
    font-size: 1.1rem;
  }
}

/* Service Page Optimizations */
@media (max-width: 1024px) {
  .service-details {
    padding: 40px 0;
  }

  .service-details h1 {
    font-size: 2.2rem;
  }

  .service-details h2 {
    font-size: 1.8rem;
  }

  .service-details p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .service-details {
    padding: 35px 0;
  }

  .service-details h1 {
    font-size: 2rem;
  }

  .service-details h2 {
    font-size: 1.6rem;
  }

  .service-details p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .service-details {
    padding: 30px 0;
  }

  .service-details h1 {
    font-size: 1.8rem;
  }

  .service-details h2 {
    font-size: 1.4rem;
  }

  .service-details p {
    font-size: 0.85rem;
  }
}

/* About Us Page Optimizations */
@media (max-width: 1024px) {
  .about-section {
    padding: 60px 0;
  }

  .about-section h1 {
    font-size: 2.5rem;
  }

  .about-section h2 {
    font-size: 2rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .about-section {
    padding: 50px 0;
  }

  .about-section h1 {
    font-size: 2.2rem;
  }

  .about-section h2 {
    font-size: 1.8rem;
  }

  .about-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .about-section {
    padding: 40px 0;
  }

  .about-section h1 {
    font-size: 2rem;
  }

  .about-section h2 {
    font-size: 1.6rem;
  }

  .about-section p {
    font-size: 0.85rem;
  }
}

/* Contact Page Optimizations */
@media (max-width: 1024px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-section h1 {
    font-size: 2.5rem;
  }

  .contact-address-card {
    padding: 25px;
  }

  .address-header h2 {
    font-size: 1.8rem;
  }

  .address-text p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-section h1 {
    font-size: 2.2rem;
  }

  .contact-address-card {
    padding: 20px;
  }

  .address-header h2 {
    font-size: 1.6rem;
  }

  .address-text p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-section h1 {
    font-size: 2rem;
  }

  .contact-address-card {
    padding: 18px;
  }

  .address-header h2 {
    font-size: 1.4rem;
  }

  .address-text p {
    font-size: 0.85rem;
  }
}

/* Stack Page Optimizations */
@media (max-width: 1024px) {
  .stack-page {
    padding: 60px 0;
  }

  .stack-page-header h1 {
    font-size: 2.2rem;
  }

  .stack-category h5 {
    font-size: 1.2rem;
  }

  .stack-technologies p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .stack-page {
    padding: 50px 0;
  }

  .stack-page-header h1 {
    font-size: 2rem;
  }

  .stack-category h5 {
    font-size: 1.1rem;
  }

  .stack-technologies p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .stack-page {
    padding: 40px 0;
  }

  .stack-page-header h1 {
    font-size: 1.8rem;
  }

  .stack-category h5 {
    font-size: 1rem;
  }

  .stack-technologies p {
    font-size: 0.85rem;
  }
}

/* Project Page Optimizations */
@media (max-width: 1024px) {
  .project-section {
    padding: 60px 0;
  }

  .project-message-card h2 {
    font-size: 1.6rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .submit-button {
    padding: 16px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 912px) {
  .project-section {
    padding: 50px 0;
  }

  .project-message-card h2 {
    font-size: 1.4rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 15px 16px;
    font-size: 0.9rem;
  }

  .submit-button {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 820px) {
  .project-section {
    padding: 40px 0;
  }

  .project-message-card h2 {
    font-size: 1.3rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px 15px;
    font-size: 0.85rem;
  }

  .submit-button {
    padding: 14px 18px;
    font-size: 0.9rem;
  }
}

/* Values Section Optimizations */
@media (max-width: 1024px) {
  .values {
    padding: 60px 0;
  }

  .values .values-items h1 {
    font-size: 2.5rem;
  }

  .values-list-items h5 {
    font-size: 1.3rem;
  }

  .values-list-items p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .values {
    padding: 50px 0;
  }

  .values .values-items h1 {
    font-size: 2.2rem;
  }

  .values-list-items h5 {
    font-size: 1.2rem;
  }

  .values-list-items p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .values {
    padding: 40px 0;
  }

  .values .values-items h1 {
    font-size: 2rem;
  }

  .values-list-items h5 {
    font-size: 1.1rem;
  }

  .values-list-items p {
    font-size: 0.85rem;
  }
}

/* Extras Section Optimizations */
@media (max-width: 1024px) {
  .extras {
    padding: 25px;
  }

  .extras li span {
    font-size: 1.6rem;
  }

  .extras li p {
    font-size: 0.95rem;
  }
}

@media (max-width: 912px) {
  .extras {
    padding: 20px;
  }

  .extras li span {
    font-size: 1.4rem;
  }

  .extras li p {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .extras {
    padding: 18px;
  }

  .extras li span {
    font-size: 1.3rem;
  }

  .extras li p {
    font-size: 0.85rem;
  }
}

/* Responsive Optimizations for Various Screen Sizes */

/* 1280x800 (Landscape Laptop) */
@media (max-width: 1280px) and (max-height: 800px) {
  .hero-section {
    min-height: 80vh;
    padding: 60px 0;
  }
  .banner-text h2 {
    font-size: 2.8rem;
  }
  .fade-text h1 {
    font-size: 3.5rem;
  }
  .banner-text .banner-description {
    font-size: 1.1rem;
  }
  .sectors {
    padding: 60px 0;
  }
  .sector h2 {
    font-size: 2.2rem;
  }
  .about-homepage {
    padding: 60px 0;
  }
  .about-homepage h2 {
    font-size: 2.2rem;
  }
  .newsletter-section {
    padding: 60px 0;
  }
  .newsletter-section h2 {
    font-size: 2.2rem;
  }
  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 1024x1366 (iPad Pro Portrait) */
@media (max-width: 1024px) and (max-height: 1366px) {
  .hero-section {
    min-height: 85vh;
    padding: 80px 0;
  }
  .banner-text h2 {
    font-size: 3.2rem;
  }
  .fade-text h1 {
    font-size: 4rem;
  }
  .banner-text .banner-description {
    font-size: 1.3rem;
  }
  .sectors {
    padding: 80px 0;
  }
  .sector h2 {
    font-size: 2.5rem;
  }
  .about-homepage {
    padding: 80px 0;
  }
  .about-homepage h2 {
    font-size: 2.5rem;
  }
  .newsletter-section {
    padding: 80px 0;
  }
  .newsletter-section h2 {
    font-size: 2.5rem;
  }
  .footer {
    padding: 60px 0 30px 0;
  }
}

/* 1024x600 (Small Laptop) */
@media (max-width: 1024px) and (max-height: 600px) {
  .hero-section {
    min-height: 70vh;
    padding: 40px 0;
  }
  .banner-text h2 {
    font-size: 2.5rem;
  }
  .fade-text h1 {
    font-size: 3rem;
  }
  .banner-text .banner-description {
    font-size: 1rem;
  }
  .sectors {
    padding: 40px 0;
  }
  .sector h2 {
    font-size: 2rem;
  }
  .about-homepage {
    padding: 40px 0;
  }
  .about-homepage h2 {
    font-size: 2rem;
  }
  .newsletter-section {
    padding: 40px 0;
  }
  .newsletter-section h2 {
    font-size: 2rem;
  }
  .footer {
    padding: 30px 0 15px 0;
  }
}

/* 912x1368 (iPad Air Portrait) */
@media (max-width: 912px) and (max-height: 1368px) {
  .hero-section {
    min-height: 80vh;
    padding: 70px 0;
  }
  .banner-text h2 {
    font-size: 3rem;
  }
  .fade-text h1 {
    font-size: 3.8rem;
  }
  .banner-text .banner-description {
    font-size: 1.2rem;
  }
  .sectors {
    padding: 70px 0;
  }
  .sector h2 {
    font-size: 2.3rem;
  }
  .about-homepage {
    padding: 70px 0;
  }
  .about-homepage h2 {
    font-size: 2.3rem;
  }
  .newsletter-section {
    padding: 70px 0;
  }
  .newsletter-section h2 {
    font-size: 2.3rem;
  }
  .footer {
    padding: 50px 0 25px 0;
  }
}

/* 853x1280 (iPad Mini Portrait) */
@media (max-width: 853px) and (max-height: 1280px) {
  .hero-section {
    min-height: 75vh;
    padding: 60px 0;
  }
  .banner-text h2 {
    font-size: 2.8rem;
  }
  .fade-text h1 {
    font-size: 3.5rem;
  }
  .banner-text .banner-description {
    font-size: 1.1rem;
  }
  .sectors {
    padding: 60px 0;
  }
  .sector h2 {
    font-size: 2.2rem;
  }
  .about-homepage {
    padding: 60px 0;
  }
  .about-homepage h2 {
    font-size: 2.2rem;
  }
  .newsletter-section {
    padding: 60px 0;
  }
  .newsletter-section h2 {
    font-size: 2.2rem;
  }
  .footer {
    padding: 40px 0 20px 0;
  }
}

/* 820x1180 (iPad Air Landscape) */
@media (max-width: 820px) and (max-height: 1180px) {
  .hero-section {
    min-height: 70vh;
    padding: 50px 0;
  }
  .banner-text h2 {
    font-size: 2.6rem;
  }
  .fade-text h1 {
    font-size: 3.2rem;
  }
  .banner-text .banner-description {
    font-size: 1rem;
  }
  .sectors {
    padding: 50px 0;
  }
  .sector h2 {
    font-size: 2rem;
  }
  .about-homepage {
    padding: 50px 0;
  }
  .about-homepage h2 {
    font-size: 2rem;
  }
  .newsletter-section {
    padding: 50px 0;
  }
  .newsletter-section h2 {
    font-size: 2rem;
  }
  .footer {
    padding: 35px 0 18px 0;
  }
}

/* 768x1024 (iPad Portrait) */
@media (max-width: 768px) and (max-height: 1024px) {
  .hero-section {
    min-height: 65vh;
    padding: 45px 0;
  }
  .banner-text h2 {
    font-size: 2.4rem;
  }
  .fade-text h1 {
    font-size: 3rem;
  }
  .banner-text .banner-description {
    font-size: 0.95rem;
  }
  .sectors {
    padding: 45px 0;
  }
  .sector h2 {
    font-size: 1.8rem;
  }
  .about-homepage {
    padding: 45px 20px;
    margin: 0 15px;
  }
  .about-homepage h2 {
    font-size: 1.8rem;
  }
  .newsletter-section {
    padding: 45px 0;
  }
  .newsletter-section h2 {
    font-size: 1.8rem;
  }
  .footer {
    padding: 30px 0 15px 0;
  }
}

/* 320x568 (iPhone SE) */
@media (max-width: 320px) and (max-height: 568px) {
  .hero-section {
    min-height: 60vh;
    padding: 30px 0;
  }
  .banner-text h2 {
    font-size: 1.8rem;
  }
  .fade-text h1 {
    font-size: 2.2rem;
  }
  .banner-text .banner-description {
    font-size: 0.85rem;
  }
  .sectors {
    padding: 30px 0;
  }
  .sector h2 {
    font-size: 1.5rem;
  }
  .about-homepage {
    padding: 30px 15px;
    margin: 0 10px;
  }
  .about-homepage h2 {
    font-size: 1.5rem;
  }
  .newsletter-section {
    padding: 30px 0;
  }
  .newsletter-section h2 {
    font-size: 1.5rem;
  }
  .footer {
    padding: 20px 0 10px 0;
  }
}

/* Mobile About Homepage Fix */
@media (max-width: 768px) {
  .about-homepage {
    padding: 45px 20px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 40px) !important;
  }
}

/* Mobile Breadcrumbs Auto-Adjustment */
@media (max-width: 1024px) {
  /* Make breadcrumbs height auto-adjust based on content */
  .page-title {
    padding: 120px 0 60px 0 !important;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .page-title .container {
    padding: 20px 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .page-title h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }

  .page-title p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  /* Ensure rainbow snow animation doesn't interfere with content */
  .page-title .rainbow-snow-container {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Override fixed height for rainbow-snow-container on mobile */
  .rainbow-snow-container {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .page-title {
    padding: 100px 0 50px 0 !important;
  }

  .page-title h1 {
    font-size: 1.8rem !important;
    margin-bottom: 12px !important;
  }

  .page-title p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
  }

  .about-homepage {
    padding: 30px 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 30px) !important;
  }
}

/* Extra Small Mobile Devices */
@media (max-width: 375px) {
  .page-title {
    padding: 80px 0 40px 0 !important;
  }

  .page-title h1 {
    font-size: 1.6rem !important;
    margin-bottom: 10px !important;
  }

  .page-title p {
    font-size: 0.85rem !important;
    line-height: 1.3 !important;
  }

  .about-homepage {
    padding: 25px 10px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    max-width: calc(100% - 20px) !important;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .page-title {
    padding: 80px 0 40px 0 !important;
  }

  .page-title h1 {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }

  .page-title p {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .page-title h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
  }

  .page-title p {
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7) !important;
  }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
  .page-title {
    padding: 100px 0 50px 0 !important;
  }

  .page-title h1 {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }

  .page-title p {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .page-title .rainbow-snow {
    animation: none !important;
  }

  .page-title .floating-particles .particle {
    animation: none !important;
  }
}

/* ===== COMPACT SECTOR ITEMS REDESIGN ===== */
/* This file contains compact and functional sector item styles */

.sectors .sector-items {
  gap: 12px !important; /* Tighter spacing between items */
  padding: 15px 30px !important; /* Reduced padding for more content space */
  border-radius: 18px !important; /* Slightly reduced border radius */
  max-width: 1050px !important; /* More compact container width */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important; /* Reduced shadow */
}

.sector-item {
  width: 150px !important; /* More compact item size */
  height: 150px !important; /* More compact item size */
  border-radius: 12px !important; /* Smaller border radius */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) !important; /* Lighter shadow */
}

.sectors .sector-items img {
  border-radius: 12px !important; /* Match item border radius */
}

.text-overlay {
  font-size: 0.9rem !important; /* Smaller font for more compact text */
  padding: 4px 10px !important; /* Reduced padding */
  border-radius: 12px !important; /* Smaller border radius */
  letter-spacing: 0.2px !important; /* Tighter letter spacing */
}

/* Remove blur and scaling effects - make all items in focus */
.sector-item:nth-child(6) {
  opacity: 1 !important; /* Full opacity for all items */
  transform: none !important; /* No scaling */
  filter: none !important; /* No blur */
}

/* Mobile optimizations for compact design */
@media (max-width: 767px) {
  .sectors .sector-items {
    display: grid !important; /* Force grid layout on mobile */
    grid-template-columns: repeat(
      3,
      1fr
    ) !important; /* 3 columns for better mobile layout */
    grid-auto-rows: 1fr !important;
    gap: 8px !important; /* Even tighter spacing on mobile */
    padding: 8px !important; /* Minimal padding on mobile */
    border-radius: 12px !important; /* Smaller border radius on mobile */
    overflow-x: visible !important; /* Allow grid to expand */
    overflow-y: visible !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    max-width: 100% !important;
    margin: 0 20px !important; /* Added left and right margins */
  }

  .sector-item {
    width: 100% !important; /* Full width in grid */
    height: auto !important; /* Auto height */
    aspect-ratio: 1 !important; /* Maintain square aspect ratio */
    min-height: 100px !important; /* Smaller minimum height on mobile */
    flex-shrink: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .text-overlay {
    font-size: 0.75rem !important; /* Smaller font on mobile */
    padding: 3px 6px !important; /* Minimal padding on mobile */
    border-radius: 8px !important; /* Smaller border radius on mobile */
  }
}

/* Small mobile devices - 2 columns */
@media (max-width: 480px) {
  .sectors .sector-items {
    grid-template-columns: repeat(
      2,
      1fr
    ) !important; /* 2 columns for small mobile */
    gap: 6px !important; /* Even tighter spacing */
    padding: 6px !important;
    margin: 0 15px !important; /* Added left and right margins */
  }

  .sector-item {
    min-height: 80px !important; /* Smaller height for small mobile */
  }

  .text-overlay {
    font-size: 0.7rem !important; /* Even smaller font */
    padding: 2px 5px !important; /* Minimal padding */
  }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
  .sectors .sector-items {
    gap: 4px !important; /* Minimal gap */
    padding: 4px !important;
    margin: 0 10px !important; /* Added left and right margins */
  }

  .sector-item {
    min-height: 70px !important; /* Compact height */
  }

  .text-overlay {
    font-size: 0.65rem !important; /* Very small font */
    padding: 2px 4px !important; /* Minimal padding */
  }
}
/* ===== COMPACT SECTOR ITEMS REDESIGN ===== */
/* This file contains compact and functional sector item styles */

.sectors .sector-items {
  gap: 12px !important; /* Tighter spacing between items */
  padding: 15px 30px !important; /* Reduced padding for more content space */
  border-radius: 18px !important; /* Slightly reduced border radius */
  max-width: 1050px !important; /* More compact container width */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important; /* Reduced shadow */
}

.sector-item {
  width: 150px !important; /* More compact item size */
  height: 150px !important; /* More compact item size */
  border-radius: 12px !important; /* Smaller border radius */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) !important; /* Lighter shadow */
}

.sectors .sector-items img {
  border-radius: 12px !important; /* Match item border radius */
}

.text-overlay {
  font-size: 0.9rem !important; /* Smaller font for more compact text */
  padding: 4px 10px !important; /* Reduced padding */
  border-radius: 12px !important; /* Smaller border radius */
  letter-spacing: 0.2px !important; /* Tighter letter spacing */
}

/* Remove blur and scaling effects - make all items in focus */
.sector-item:nth-child(6) {
  opacity: 1 !important; /* Full opacity for all items */
  transform: none !important; /* No scaling */
  filter: none !important; /* No blur */
}

/* Mobile optimizations for compact design */
@media (max-width: 767px) {
  .sectors .sector-items {
    display: grid !important; /* Force grid layout on mobile */
    grid-template-columns: repeat(
      3,
      1fr
    ) !important; /* 3 columns for better mobile layout */
    grid-auto-rows: 1fr !important;
    gap: 8px !important; /* Even tighter spacing on mobile */
    padding: 8px !important; /* Minimal padding on mobile */
    border-radius: 12px !important; /* Smaller border radius on mobile */
    overflow-x: visible !important; /* Allow grid to expand */
    overflow-y: visible !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    max-width: 100% !important;
    margin: 0 20px !important; /* Added left and right margins */
  }

  .sector-item {
    width: 100% !important; /* Full width in grid */
    height: auto !important; /* Auto height */
    aspect-ratio: 1 !important; /* Maintain square aspect ratio */
    min-height: 100px !important; /* Smaller minimum height on mobile */
    flex-shrink: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  .text-overlay {
    font-size: 0.75rem !important; /* Smaller font on mobile */
    padding: 3px 6px !important; /* Minimal padding on mobile */
    border-radius: 8px !important; /* Smaller border radius on mobile */
  }
}

/* Small mobile devices - 2 columns */
@media (max-width: 480px) {
  .sectors .sector-items {
    grid-template-columns: repeat(
      2,
      1fr
    ) !important; /* 2 columns for small mobile */
    gap: 6px !important; /* Even tighter spacing */
    padding: 6px !important;
    margin: 0 15px !important; /* Added left and right margins */
  }

  .sector-item {
    min-height: 80px !important; /* Smaller height for small mobile */
  }

  .text-overlay {
    font-size: 0.7rem !important; /* Even smaller font */
    padding: 2px 5px !important; /* Minimal padding */
  }
}

/* Extra small mobile devices */
@media (max-width: 375px) {
  .sectors .sector-items {
    gap: 4px !important; /* Minimal gap */
    padding: 4px !important;
    margin: 0 10px !important; /* Added left and right margins */
  }

  .sector-item {
    min-height: 70px !important; /* Compact height */
  }

  .text-overlay {
    font-size: 0.65rem !important; /* Very small font */
    padding: 2px 4px !important; /* Minimal padding */
  }
}
