/* Fonts and Colors */
body {
  font-family: 'Ubuntu', sans-serif;
  background-color: #1a1a1a;
  color: #d4d4d4;
  margin: 0;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
      radial-gradient(circle, #333333 1px, transparent 1px),
      linear-gradient(135deg, #0a142e 0%, #000000 100%);
  background-size: 25px 25px, cover;
  background-repeat: repeat, no-repeat;
  animation: data-stream-scroll 0.5s linear infinite;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 100% 4px;
  animation: scanline-flicker 10s ease-in-out infinite alternate;
}

main {
  position: relative;
  z-index: 2;
}

/* --- CRITICAL: REMOVE ALL PREVIOUS CONFLICTING LOGO/RGB STYLES --- */
/* (Reminder to check and delete or comment out previous logo/lines styles if they exist elsewhere) */

/* Header container for positioning the lines */

.navbar {
  background: transparent !important;
  transition: background 0.3s, box-shadow 0.3s;
  position: sticky !important;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background: transparent !important;
}

.navbar-center-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-grow: 1;
  padding-bottom: 10px;
  position: relative;
  z-index: 2;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.nav-link {
  color: #d4d4d4;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, text-shadow 0.3s;
}

/* Tri-color hover effects for navbar links */
.navbar-nav .nav-item:nth-child(1) .nav-link:hover,
.navbar-nav .nav-item:nth-child(1) .nav-link.active {
  color: #f60839;
  text-shadow: 0 0 10px rgba(246, 8, 57, 0.5);
}

.navbar-nav .nav-item:nth-child(2) .nav-link:hover,
.navbar-nav .nav-item:nth-child(2) .nav-link.active {
  color: #00ffb4;
  text-shadow: 0 0 10px rgba(0, 255, 180, 0.5);
}

.navbar-nav .nav-item:nth-child(3) .nav-link:hover,
.navbar-nav .nav-item:nth-child(3) .nav-link.active {
  color: #00bbff;
  text-shadow: 0 0 10px rgba(0, 187, 255, 0.5);
}

.navbar-nav .nav-item:nth-child(4) .nav-link:hover,
.navbar-nav .nav-item:nth-child(4) .nav-link.active {
  color: #f60839;
  text-shadow: 0 0 10px rgba(246, 8, 57, 0.5);
}

.navbar-nav .nav-item:nth-child(5) .nav-link:hover,
.navbar-nav .nav-item:nth-child(5) .nav-link.active {
  color: #00ffb4;
  text-shadow: 0 0 10px rgba(0, 255, 180, 0.5);
}

.navbar-nav .nav-item:nth-child(6) .nav-link:hover,
.navbar-nav .nav-item:nth-child(6) .nav-link.active {
  color: #00bbff;
  text-shadow: 0 0 10px rgba(0, 187, 255, 0.5);
}

/* Your existing logo styles (these should remain as they were) */
.logo-container {
    /* Styles for your existing logo to control its size and spacing */
}

.logo-img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.5));
    transform: rotate(-1deg);
}

/* STYLES FOR THE SEPARATE BOTTOM LINES SVG */
.header-bottom-lines-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

/* 🚀 NEW ANIMATION KEYFRAMES: Fast Vertical Data Stream Scroll (Replaces subtle-pan) */
@keyframes data-stream-scroll {
  0% {
    /* Start grid at 0, 0 */
    background-position: 0 0, 0 0;
  }
  100% {
    /* Shift the Y position of the grid layer (first layer) by one unit (25px) */
    background-position: 0 25px, 0 0;
  }
}

/* ⚡ NEW KEYFRAMES: Subtle Flicker for Scanlines */
@keyframes scanline-flicker {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.7; }
  3%, 97% { opacity: 1; } /* Periodic brief bright pulses */
  45%, 55% { opacity: 0.6; } /* Periodic brief dim pulses */
}


/* 🚀 FIX: HERO SECTION STYLES - Background Animation Applied */
.hero-section {
  /* The problematic OVERRIDE lines have been REMOVED as requested. */

  /* NEW: Define multi-layer background using specific properties for stability */
  background-image:
      /* Layer 1: Subtle grid/mesh pattern (dark grey/black) */
      radial-gradient(circle, #333333 1px, transparent 1px),
      /* Layer 2: The main deep blue/black gradient */
      linear-gradient(135deg, #0a142e 0%, #000000 100%);

  /* Define properties for EACH layer (comma separated) */
  background-size: 25px 25px, cover; /* Grid size, Gradient covers */
  background-repeat: repeat, no-repeat; /* Grid repeats, Gradient doesn't */
  background-position: 0 0, 0 0; /* Ensure positioning starts correctly */

  /* 💥 CRITICAL CHANGE: Apply the new, fast vertical scroll animation */
  animation: data-stream-scroll 0.5s linear infinite; /* Fast 0.5s loop for streaming data effect */

  background-color: #000000; /* Fallback color */

  /* Standard hero properties */
  min-height: 100dvh !important;
    height: auto;
  margin: 0 !important;
  padding: 0 !important;
  align-items: center; /* Center the row vertically */
  position: relative; /* Needed for scanline overlay */
  overflow: visible; /* Allow SVG animation to extend beyond section */
  display: flex; /* Make sure flex properties apply */
}

/* 💧 NEW: PARTICLES.JS CONTAINER STYLES (Digital Rain Layer) */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    background: transparent;
    pointer-events: none;
}
/* ⚡ DIGITAL INTERFACE EFFECT: Scanlines Overlay (Restored and Enhanced) */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Enhanced: Using a faint CYAN line to stand out on the dark background */
    background-image: linear-gradient(rgba(0, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 100% 4px; /* Thin, repeating lines */
    pointer-events: none;
    z-index: 10;

    /* Apply the subtle scanline flicker animation */
    animation: scanline-flicker 10s ease-in-out infinite alternate;
}


.hero-section .container {
  /* CRITICAL: Ensure container content is above the scanline and grid */
  z-index: 15;
  position: relative;

  opacity: 1;
  transform: translateY(0); /* Remove transition translation */
  transition: none;
}

/* MODIFIED: Remove the overlay since the new background is already dark */
.hero-section .overlay {
    z-index: 1;
    display: none;
}

/* 🚀 MODIFIED: Hero content centered */
.hero-content-box {
  text-align: center;
}

.hero-content-box h2,
.hero-content-box h4 {
  text-align: center;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* 🚀 MODIFIED: Consolidated Logo and Text Alignment for 50/50 Layout */
.hero-logo-wrapper {
  display: flex;
  flex-direction: column; /* Stack logo above text */
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  max-width: 180px; /* Bigger on desktop */
  width: 100%;
  display: block;
  margin-bottom: 1rem;
}

.hero-logo-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-family: 'Ubuntu', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  gap: 0.3em;
}

.hero-logo-text .core {
  white-space: nowrap;
  font-size: 1.2em;
}

.hero-logo-text .expand {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
}

/* Mobile: smaller logo */
@media (max-width: 767px) {
  .hero-logo {
    max-width: 120px;
  }
  .hero-logo-text {
    font-size: 1.8rem;
  }
}

/* Desktop: larger logo */
@media (min-width: 768px) {
  .hero-logo {
    max-width: 200px;
  }
}

/* --- BUTTONS (UNTOUCHED) --- */
.custom-hero-btn {
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 28px !important;
  border-radius: 4px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  font-family: 'Ubuntu', sans-serif;
  transition: all 0.3s ease;
  margin: 4% 12px 12px 0;
  border: 2px solid white;
  transform: none; /* Removed old translation */
  color: white;
  background-color: transparent;
}

.custom-hero-btn:hover {
  background-color: white;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(255,255,255,0.3);
}

.buttona:hover{
  color: red;
}

.buttonb:hover{
  color: cornflowerblue;
}

.buttonc:hover{
  color: limegreen;
}

.hero-buttons {
  margin-top: 20px;  /* Adjusted spacing */
  margin-bottom: 40px;
  display: flex;
  justify-content: center; /* Center buttons */
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    transform: none;
    justify-content: center; /* Center buttons on mobile */
  }
}

/* --- Dashboard Box Styles (True Tablet Look) --- */
.dashboard-box {
    background: #1a1a1a; /* 🚀 DARK SCREEN BACKGROUND: Dark color for the tablet's body/bezel */
    border: 1px solid #0a0a0a; /* Very subtle dark border */
    border-radius: 25px; /* More pronounced rounded corners for a tablet */
    padding: 25px; /* Internal padding for the bezel effect */
    width: 100%;
    max-width: 800px; /* Bigger on desktop */
    height: 700px; /* Bigger height on desktop */
    display: flex; /* Use flexbox to easily center content and arrange camera/title */
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
    position: relative;
    justify-content: space-between; /* Push top/bottom content apart */

    /* Stronger, subtle glow for the tablet */
    box-shadow: 0 25px 80px rgba(0, 199, 229, 0.5),
                0 0 0 1px rgba(0, 199, 229, 0.2);
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    z-index:20;
}

/* 🚀 NEW: Centered Tablet Camera */
.dashboard-box::before {
    content: '';
    position: absolute;
    top: 15px; /* Position above the screen area */
    left: 50%; /* Start from the middle */
    transform: translateX(-50%); /* Shift back by half its width to truly center */
    width: 10px;
    height: 10px;
    background-color: #333333; /* Dark grey for the camera lens */
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8); /* Inner shadow for depth */
}

/* 🚀 MODIFIED: Title Styling - Centered and contrasting */
.dashboard-box h3 {
    color: #f0f0f0; /* Light color for text to stand out on dark background */
    text-align: center; /* 🚀 CENTERED TITLE */
    margin-top: 25px; /* Space from the top edge/camera */
    margin-bottom: 20px; /* Space above the iframe */
    font-size: 1.6rem;
    font-weight: 600;
}

/* --- Iframe (The Tablet Display) --- */
.dashboard-iframe {
    width: calc(100% - 20px); /* Slightly smaller than full width to show bezel */
    flex-grow: 1; /* Allows iframe to take up available vertical space */
    border: none; /* No internal borders */
    border-radius: 12px; /* Smoother rounding for the screen itself */
    background-color: #000; /* Ensure iframe background is black if content is transparent */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8); /* Subtle inner shadow for screen depth */
}

/* 🚀 MODIFIED: Footer Text in Dashboard Box */
.dashboard-box p.text-muted {
    color: #888888 !important; /* Lighter grey for better visibility on dark background */
    margin-top: 20px; /* Space above the footer text */
    margin-bottom: 15px; /* Space from bottom edge */
    font-size: 0.9rem;
}

/* Mobile: smaller dashboard box */
@media (max-width: 767px) {
  .dashboard-box {
    max-width: 100%;
    height: 400px;
    padding: 15px;
    border-radius: 18px;
  }
}

/* Map */
.map-container {
  position: relative;
  width: 100%;
}

.map-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

#map-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #f60839, #00ffb4, #00bbff) 1;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-text {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ffb4;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(0, 255, 180, 0.15);
  border-color: #00ffb4;
  color: #00ffb4;
}

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
.scroll-icon {
    height: auto;
    color: #0ff;
}

/* Mobile (default) */
.scroll-icon {
    width: 80px;
}

/* Large mobile / small tablet (480px+) */
@media (min-width: 480px) {
    .scroll-icon {
        width: 85px;
    }
}

/* Tablet portrait (768px+) */
@media (min-width: 768px) {
    .scroll-icon {
        width: 70px;
    }
}

/* Tablet landscape / small desktop (1024px+) */
@media (min-width: 1024px) {
    .scroll-icon {
        width: 80px;
    }
}

/* Desktop (1280px+) */
@media (min-width: 1280px) {
    .scroll-icon {
        width: 90px;
    }
}

/* Large desktop / 1440p monitors (1440px+) */
@media (min-width: 1440px) {
    .scroll-icon {
        width: 100px;
    }
}

/* Ultra-wide / 4K monitors (1920px+) */
@media (min-width: 1920px) {
    .scroll-icon {
        width: 120px;
    }
}

/* Ripple rings styling */
.ripple-ring {
    fill: none;
    stroke: #0ff;
    opacity: 0;
    transform-origin: center;
}

/* About IoT text inside the circle */
#about-iot-text {
    font-family: 'Ubuntu', sans-serif;
    fill: #000000;
    font-weight: 800;
}

/* Glow effect on the hub circle when active */
#hub-circle.hub-active {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6))
            drop-shadow(0 0 30px rgba(0, 255, 255, 0.4));
}

.scroll-container {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-text {
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
  color: #000;  /* Or whatever color works against white */
  text-align: center;
}

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

.background-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #269;
  background-image:
    linear-gradient(white 2px, transparent 2px),
    linear-gradient(90deg, white 2px, transparent 2px),
    linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  background-repeat: repeat;
}
.background-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(black 10%, transparent 11%);
  background-size: 10px 10px;
  background-repeat: repeat;
  opacity: 0.4;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.home-info-section {
  position: relative;
  overflow: hidden;
}
.content-on-top {
  position: relative;
  z-index: 2;
}

.zoom-on-hover {
  filter:grayscale(100%);
  display: block;
  transition: transform 0.3s ease filter 0.3s ease;
  transform-origin: center center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.zoom-on-hover:hover,
.zoom-on-hover:active,
.zoom-on-hover:focus {
  filter: grayscale(0%);
}
@media (max-width: 768px) {
  .zoom-on-hover {
    filter: grayscale(0%);
  }
}

.uniform-card-img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

/* ===== ENHANCED MODAL STYLING ===== */
.custom-modal {
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 16px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 25px 80px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 187, 255, 0.15),
    0 0 100px rgba(246, 8, 57, 0.1);
}

/* Glowing border effect */
.custom-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f60839, #00ffb4, #00bbff);
  z-index: 5;
}

/* Corner accents */
.custom-modal::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-right: 2px solid rgba(0, 255, 180, 0.4);
  border-bottom: 2px solid rgba(0, 255, 180, 0.4);
  pointer-events: none;
}

.modal-text {
  text-align: left;
  align-items: flex-start;
  color: #ffffff;
  position: relative;
}

/* Decorative line before title */
.modal-text h2 {
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #00ffb4;
}

.modal-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.modal-icon {
  width: 280px;
  height: auto;
  max-height: 200px;
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  filter: drop-shadow(0 0 20px rgba(0, 255, 180, 0.2));
}

img.modal-icon {
  max-width: none;
}

.modal-img {
  position: relative;
  overflow: hidden;
}

.modal-img img {
  object-fit: cover;
  height: 100%;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  filter: brightness(0.85) saturate(1.1);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.custom-modal:hover .modal-img img {
  transform: scale(1.05);
  filter: brightness(0.95) saturate(1.2);
}

/* Image overlay gradient */
.modal-img::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, #1a1a1a, transparent);
  pointer-events: none;
}

/* Enhanced close button */
.custom-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(246, 8, 57, 0.9);
  border: none;
  border-radius: 8px;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-close:hover {
  background: #f60839;
  transform: rotate(90deg);
  box-shadow: 0 0 20px rgba(246, 8, 57, 0.6);
}

.custom-close::before,
.custom-close::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
}

.custom-close::before {
  transform: rotate(45deg);
}

.custom-close::after {
  transform: rotate(-45deg);
}

/* Hide default Bootstrap X icon */
.custom-close .btn-close {
  display: none;
}

/* Modal backdrop enhancement */
.modal-backdrop.show {
  backdrop-filter: blur(5px);
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
  .modal-body.d-flex {
    flex-direction: column !important;
  }

  .modal-img.w-50,
  .modal-text.w-50 {
    width: 100% !important;
  }

  .modal-img {
    max-height: 250px;
  }

  .modal-img img {
    border-radius: 16px 16px 0 0 !important;
  }

  .modal-img::after {
    display: none;
  }

  .modal-text {
    text-align: center;
    align-items: center;
  }

  .modal-text h2 {
    border-left: none;
    padding-left: 0;
    border-bottom: 3px solid #00ffb4;
    padding-bottom: 0.5rem;
  }

  .modal-icon {
    width: 200px;
    margin: 0 auto 1.5rem;
  }
}

.blur-text-glass {
  position: relative;
  display: inline-block;
  padding: 1.2rem 1.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #fff;
  font-weight: 400;
  text-align: center;
  max-width: 75ch;
  margin: 0 auto 2rem auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

.blur-text-glass h1 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.blur-text-glass p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.about-bg {
  background-color: transparent !important;
}

/* Override height constraint for about section wrapper */
.about-section {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  position: relative;
  z-index: 2;
}

/* ===== HORIZONTAL SECTION DIVIDER LINE ===== */
.section-divider {
  position: relative;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #f60839 0%, #00ffb4 50%, #00bbff 100%);
  z-index: 100;
  box-shadow:
    0 0 15px rgba(246, 8, 57, 0.6),
    0 0 30px rgba(0, 255, 180, 0.4),
    0 0 45px rgba(0, 187, 255, 0.4);
}

.iot-cards-wrapper {
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.iot-card {
  background: #352c2c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.iot-card:hover {
  transform: scale(1.05);
}

.small-card {
  width: 120px;
}

.small-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.small-card h6 {
  font-size: 0.8rem;
  text-align: center;
  padding: 0.5rem;
  margin: 0;
}

.large-card {
  width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.large-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


/* Responsive */
@media (max-width: 768px) {
  .logo-img {
    height: 60px;
  }
  .header-bottom-lines-svg {
    height: 20px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for sticky navbar */
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

main > section {
  height: auto;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* On mobile, sections should flow naturally based on content */
@media (max-width: 768px) {
  main > section {
    height: auto !important;
    min-height: auto !important;
  }
}

/* ========== PERSONA 5 INSPIRED ABOUT SECTION ========== */

.about-iot-section {
  min-height: 100vh;
  height: auto !important; /* Override the global section height: 100vh */
  padding: 6rem 2rem 8rem;
  position: relative;
  overflow: visible;
}

/* ===== TITLE STYLES ===== */
.about-title-container {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  padding: 2rem 0;
  overflow: visible;
  width: 100%;
}

/* Drawing pen (the circle that draws text) */
.drawing-pen {
  position: absolute;
  top: 2rem;
  left: 5%;
  width: 30px;
  height: 30px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.pen-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffffff 0%, #ffffff 40%, transparent 70%);
  border-radius: 50%;
  box-shadow:
    0 0 15px #ffffff,
    0 0 30px #ffffff,
    0 0 45px rgba(255, 255, 255, 0.5);
}

.pen-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.4);
  animation: glowPulse 0.6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.4;
  }
}

/* Title wrappers */
.drawn-title-wrapper {
  display: block;
  width: 100%;
  text-align: center;
  overflow: visible;
  min-width: max-content;
}

.drawn-title {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

.drawn-about {
  font-size: clamp(3rem, 12vw, 8rem);
  color: #fff;
  text-shadow:
    3px 3px 0 #000,
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000;
  letter-spacing: 0.05em;
}

.drawn-iot {
  font-size: clamp(4rem, 18vw, 12rem);
  color: #f60839;
  text-shadow:
    4px 4px 0 #000,
    6px 6px 0 #00ffb4,
    8px 8px 0 #00bbff,
    -2px -2px 0 #000;
  letter-spacing: -0.02em;
}

.title-underline {
  width: 0;
  height: 6px;
  background: linear-gradient(90deg, #f60839, #00ffb4, #00bbff);
  margin: 1.5rem auto 0;
  transform: skewX(-15deg);
}

/* ===== JOURNEY CONTAINER ===== */
.iot-journey {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

/* ===== P5 NODE STYLES ===== */
.p5-node {
  position: relative;
  width: 85%;
  max-width: 500px;
  margin: 2rem 0;
  opacity: 0;
  transform: translateX(-100px) skewX(-3deg);
}

.node-right {
  margin-left: auto;
  transform: translateX(100px) skewX(3deg);
}

.node-content {
  background: #0a0a0a;
  border: 3px solid #fff;
  padding: 2rem;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 98% 100%, 2% 100%);
}

.node-right .node-content {
  clip-path: polygon(2% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Accent bars */
.node-accent {
  height: 6px;
  background: linear-gradient(90deg, #f60839 33%, #00ffb4 33% 66%, #00bbff 66%);
}

.accent-top {
  transform: skewX(-15deg);
  margin-bottom: -3px;
}

.accent-bottom {
  transform: skewX(15deg);
  margin-top: -3px;
}

/* Node number */
.node-number {
  font-family: 'Ubuntu', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -1rem;
  right: 1rem;
  line-height: 1;
}

.node-right .node-number {
  left: 1rem;
  right: auto;
}

/* Node title */
.node-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 4px solid #f60839;
  padding-left: 1rem;
}

.node-right .node-title {
  border-left: none;
  border-right: 4px solid #00bbff;
  padding-left: 0;
  padding-right: 1rem;
  text-align: right;
}

/* Node text */
.node-text {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  color: #d4d4d4;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

/* Node diagram area */
.node-diagram {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #00ffb4;
}

.node-right .node-diagram {
  border-left: none;
  border-right: 3px solid #00ffb4;
  flex-direction: row-reverse;
}

.diagram-icon {
  font-size: 2rem;
}

.diagram-label {
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.85rem;
  color: #00ffb4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== ZIGZAG LINES ===== */
.zigzag-line {
  width: 100px;
  height: 100px;
  margin: -1rem auto;
  display: block;
  opacity: 0;
}

/* Hide zigzag lines on tablet and mobile - they don't work with smaller layouts */
@media (max-width: 1024px) {
  .zigzag-line {
    display: none !important;
  }
}

/* ===== CTA SECTION ===== */
.about-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(246, 8, 57, 0.1), rgba(0, 187, 255, 0.1));
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: skewX(-3deg);
  opacity: 0;
}

.cta-text {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 0 1.5rem 0;
  transform: skewX(3deg);
}

.cta-button {
  display: inline-block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  background: #fff;
  padding: 1rem 3rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: skewX(3deg);
  transition: all 0.3s ease;
  border: none;
}

.cta-button:hover {
  background: #f60839;
  color: #fff;
  box-shadow: 0 0 30px rgba(246, 8, 57, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .p5-node {
    width: 95%;
    transform: translateY(50px) skewX(0);
  }

  .node-right {
    transform: translateY(50px) skewX(0);
  }

  .node-content {
    clip-path: none;
    padding: 1.5rem;
  }

  .node-right .node-content {
    clip-path: none;
  }

  .node-title {
    border-left: 4px solid #f60839 !important;
    border-right: none !important;
    padding-left: 1rem !important;
    padding-right: 0 !important;
    text-align: left !important;
  }

  .node-diagram {
    border-left: 3px solid #00ffb4 !important;
    border-right: none !important;
    flex-direction: row !important;
  }

  .zigzag-line {
    display: none !important;
  }
}

/* ========================================
   WHAT WE OFFER SECTION - REDESIGNED CARDS
   ======================================== */

.offers-section {
  position: relative;
  padding: 6rem 0;
  background:
    radial-gradient(ellipse at top left, rgba(246, 8, 57, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 187, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(0, 255, 180, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  overflow: visible;
  z-index: 2;
}

/* Grid pattern overlay */
.offers-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Section Header */
.offers-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.offers-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 0 1rem 0;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.offers-title .highlight {
  background: linear-gradient(135deg, #f60839 0%, #ff4d6d 50%, #00ffb4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.offers-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f60839, #00ffb4, #00bbff);
  transform: skewX(-15deg);
}

.offers-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cards Grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

/* Individual Card */
.offer-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Card Accent Bar - Color coded */
.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

.card-red .card-accent {
  background: linear-gradient(90deg, #f60839, #ff4d6d);
}

.card-green .card-accent {
  background: linear-gradient(90deg, #00ffb4, #00ff88);
}

.card-blue .card-accent {
  background: linear-gradient(90deg, #00bbff, #00d4ff);
}

.offer-card:hover .card-accent {
  height: 6px;
}

.card-red:hover .card-accent {
  box-shadow: 0 0 25px rgba(246, 8, 57, 0.6);
}

.card-green:hover .card-accent {
  box-shadow: 0 0 25px rgba(0, 255, 180, 0.6);
}

.card-blue:hover .card-accent {
  box-shadow: 0 0 25px rgba(0, 187, 255, 0.6);
}

/* Card Image */
.card-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.7) saturate(0.9);
}

.offer-card:hover .card-image img {
  transform: scale(1.1);
  filter: brightness(0.9) saturate(1.1);
}

/* Image overlay gradient */
.card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(20, 20, 20, 1), transparent);
  pointer-events: none;
}

/* Card Content */
.card-content {
  padding: 1.25rem 1.5rem 1.5rem;
  position: relative;
}

.card-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.card-red:hover .card-title {
  color: #ff4d6d;
}

.card-green:hover .card-title {
  color: #00ffb4;
}

.card-blue:hover .card-title {
  color: #00d4ff;
}

.card-desc {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Card Glow Effect */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 12px;
}

.card-red .card-glow {
  box-shadow:
    inset 0 0 40px rgba(246, 8, 57, 0.15),
    0 0 30px rgba(246, 8, 57, 0.2);
}

.card-green .card-glow {
  box-shadow:
    inset 0 0 40px rgba(0, 255, 180, 0.15),
    0 0 30px rgba(0, 255, 180, 0.2);
}

.card-blue .card-glow {
  box-shadow:
    inset 0 0 40px rgba(0, 187, 255, 0.15),
    0 0 30px rgba(0, 187, 255, 0.2);
}

.offer-card:hover .card-glow {
  opacity: 1;
}

/* Corner decorations */
.offer-card::before {
  content: '';
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  z-index: 3;
}

.card-red:hover::before {
  border-color: rgba(246, 8, 57, 0.6);
}

.card-green:hover::before {
  border-color: rgba(0, 255, 180, 0.6);
}

.card-blue:hover::before {
  border-color: rgba(0, 187, 255, 0.6);
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .offers-title {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .offers-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .offers-title {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
  }

  .offers-section {
    padding: 4rem 1rem;
  }

  .card-image {
    height: 180px;
  }

  /* Ensure cards are visible on mobile even if GSAP doesn't trigger */
  .offer-card,
  .offer-card[style] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }

  .service-card,
  .service-card[style] {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
  }
}

/* Extra mobile fix - ensure sections don't overlap */
@media (max-width: 768px) {
  .offers-section,
  .features-section,
  .about-us-section,
  .contact-section {
    position: relative;
    display: block;
    float: none;
    clear: both;
    height: auto !important;
    min-height: fit-content !important;
    overflow: visible !important;
  }

  .offers-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem;
  }

  .offer-card {
    width: 100% !important;
    min-height: auto !important;
    flex-shrink: 0;
  }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
  position: relative;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  padding: 6rem 0;
  height: auto !important;
  min-height: auto !important;
  z-index: 1;
}

/* Subtle hexagon grid pattern */
.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Subtle glow accents in corners */
.features-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at top left, rgba(246, 8, 57, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(0, 187, 255, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at bottom left, rgba(0, 255, 180, 0.03) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.features-section > .container {
  position: relative;
  z-index: 1;
}

/* ===== SERVICES SECTION STYLING ===== */
.services-wrapper {
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.services-title .highlight {
  background: linear-gradient(135deg, #f60839, #00ffb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.service-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
  border-radius: 12px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(246, 8, 57, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #f60839;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon.green {
  background: rgba(0, 255, 180, 0.15);
  color: #00ffb4;
}

.service-icon.blue {
  background: rgba(0, 187, 255, 0.15);
  color: #00bbff;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
}

.service-card p {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
}

.service-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f60839, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-accent.green {
  background: linear-gradient(90deg, #00ffb4, transparent);
}

.service-accent.blue {
  background: linear-gradient(90deg, #00bbff, transparent);
}

.service-card:hover .service-accent {
  opacity: 1;
}

/* Tech Stack Section */
.tech-stack {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tech-stack h4 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.tech-badge {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.tech-badge:hover {
  background: rgba(0, 255, 180, 0.15);
  border-color: #00ffb4;
  color: #00ffb4;
}

/* Services Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .services-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .services-title {
    font-size: 2rem;
  }

  .features-section {
    padding: 4rem 1rem;
  }
}

/* ========================================
   ABOUT US SECTION
   ======================================== */

.about-us-section {
  display: block;
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
  padding: 6rem 0;
  margin: 0;
  position: relative;
  height: auto !important;
  min-height: auto !important;
}


.about-us-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-us-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.about-us-title .highlight {
  background: linear-gradient(135deg, #00bbff, #00ffb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-us-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

/* Story Section */
.story-section {
  margin-bottom: 5rem;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-heading {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-heading.center {
  justify-content: center;
  text-align: center;
}

.accent-bar {
  display: inline-block;
  width: 4px;
  height: 30px;
  background: linear-gradient(180deg, #f60839, #00ffb4);
  border-radius: 2px;
}

.story-text p {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Owners Panels - Open Book Style */
.owners-panels {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  perspective: 1000px;
  padding: 2rem 0;
}

.owner-panel {
  position: relative;
  width: 200px;
  height: 320px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.panel-left {
  transform: perspective(800px) rotateY(25deg) translateY(-40px);
  border-radius: 4px;
  transform-origin: right center;
}

.panel-right {
  transform: perspective(800px) rotateY(-25deg) translateY(40px);
  border-radius: 4px;
  transform-origin: left center;
}

.owner-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) saturate(1.1);
}

.panel-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel-left .panel-overlay {
  background: linear-gradient(135deg, rgba(246, 8, 57, 0.25), transparent 60%);
}

.panel-right .panel-overlay {
  background: linear-gradient(225deg, rgba(0, 187, 255, 0.25), transparent 60%);
}

.owner-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  text-align: center;
}

.owner-name {
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.owner-title {
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.panel-left .owner-name {
  transform: none;
}

.panel-right .owner-name {
  transform: none;
}

/* Hover effects */
.owner-panel:hover {
  z-index: 2;
}

.panel-left:hover {
  transform: perspective(800px) rotateY(20deg) translateY(-40px) scale(1.05);
  box-shadow: 0 20px 50px rgba(246, 8, 57, 0.3);
}

.panel-right:hover {
  transform: perspective(800px) rotateY(-20deg) translateY(40px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 187, 255, 0.3);
}

/* Center spine/hinge effect */
.owners-panels::before {
  content: '';
  position: absolute;
  width: 4px;
  height: 280px;
  background: linear-gradient(180deg, #f60839, #00ffb4, #00bbff);
  border-radius: 2px;
  z-index: 3;
  box-shadow: 0 0 15px rgba(0, 255, 180, 0.5);
}

/* Values Section */
.values-section {
  margin-bottom: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.value-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.value-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(246, 8, 57, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #f60839;
}

.value-icon.green {
  background: rgba(0, 255, 180, 0.15);
  color: #00ffb4;
}

.value-icon.blue {
  background: rgba(0, 187, 255, 0.15);
  color: #00bbff;
}

.value-card h3 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
}

.value-card p {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

/* Mission Section */
.mission-section {
  margin-bottom: 4rem;
}

.mission-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mission-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f60839, #00ffb4, #00bbff);
}

.mission-card h2 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem 0;
}

.mission-text {
  font-family: 'Roboto Mono', monospace;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  font-style: italic;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
}

/* About Us Responsive */
@media (max-width: 900px) {
  .story-content {
    grid-template-columns: 1fr;
  }

  .story-image {
    order: -1;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-us-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .about-us-title {
    font-size: 2rem;
  }

  .about-us-section {
    padding: 4rem 1rem;
  }

  .mission-card {
    padding: 2rem;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  display: block;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  padding: 6rem 0;
  margin: 0;
  position: static;
  height: auto !important;
  min-height: auto !important;
}

.contact-wrapper {
  position: relative;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem 0;
}

.contact-title .highlight {
  background: linear-gradient(135deg, #f60839, #00ffb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Form Card */
.contact-form-card,
.contact-info-card,
.contact-map-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f60839, #ff4d6d);
  border-radius: 12px 12px 0 0;
}

.card-accent-green {
  background: linear-gradient(90deg, #00ffb4, #00ff88) !important;
}

.card-accent-blue {
  background: linear-gradient(90deg, #00bbff, #00d4ff) !important;
}

.form-title,
.info-title,
.map-title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid #f60839;
}

.info-title {
  border-left-color: #00ffb4;
}

.map-title {
  border-left-color: #00bbff;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f60839;
  box-shadow: 0 0 15px rgba(246, 8, 57, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #f60839, #ff4d6d);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(246, 8, 57, 0.4);
}

/* Info Card */
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.info-item i {
  font-size: 1.5rem;
  color: #00ffb4;
  margin-top: 0.25rem;
}

.info-item strong {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.info-item p {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  color: #fff;
}

.info-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #00ffb4;
}

/* Social Links */
.social-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links h4 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 20px rgba(24, 119, 242, 0.4);
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
  box-shadow: 0 0 20px rgba(220, 39, 67, 0.4);
}

.social-icon.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  box-shadow: 0 0 20px rgba(10, 102, 194, 0.4);
}

/* Newsletter Section */
.newsletter-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-section h4 {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-section p {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem 0;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: #fff;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.newsletter-input-group input:focus {
  outline: none;
  border-color: #00bbff;
  box-shadow: 0 0 10px rgba(0, 187, 255, 0.2);
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #00bbff, #00d4ff);
  border: none;
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #00d4ff, #00ffb4);
  box-shadow: 0 0 20px rgba(0, 187, 255, 0.4);
}

/* Map */
.map-container {
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .contact-title {
    font-size: 2rem;
  }

  .contact-section {
    padding: 4rem 1rem;
  }
}