@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");


/* Global Dark/Light Backgrounds */
html[data-color-mode=light] {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  --text-main: rgb(0, 0, 0);
  --sb-track: transparent;    /* Transparent track for better light mode aesthetics */
  --sb-thumb: rgb(0, 0, 0);    /* black thumb for better visibility in dark mode */
  --sb-thumb-button: transparent; /* Transparent scrollbar buttons for dark mode */
}

html[data-color-mode=dark] {
  background-color: #000000;
  color: rgb(255, 255, 255);
  --text-main: rgb(255, 255, 255);
  --sb-track: transparent;    /* Transparent track for better dark mode aesthetics */
  --sb-thumb: rgb(255, 255, 255);    /* White thumb for better visibility in dark mode */
  --sb-thumb-button: transparent; /* Transparent scrollbar buttons for dark mode */
}
/* Nav Bar text controls for light and dark modes */
html[data-color-mode=light] .nav__logo, 
html[data-color-mode=light] .nav__link {
  color: #000000;
}

html[data-color-mode=dark] .nav__logo, 
html[data-color-mode=dark] .nav__link {
  color: #fff;
}


/* 2. Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}


/* --- NAVIGATION Bar --- */
.nav {
  display: block; /* Ensure the nav isn't a flex container itself */
  width: 100%;
  height: 60px;
}

.nav__inner {
  display: grid;
  /* Column 1 (spacer): 1 part | Column 2 (links): fits text | Column 3 (toggle): 1 part */
  grid-template-columns: 1fr auto 1fr; 
  align-items: center;
  width: 100%;
  max-width: 1400px; /* Adjust based on your screen size */
  margin: 0 auto;
  height: 100%;
}

/* We use a pseudo-element to act as the invisible left spacer */
.nav__inner::before {
  content: "";
  grid-column: 1;
}


.nav__links {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 2rem; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  font-size: 1rem;
  font-weight: 420;
  text-decoration: none;
  color: var(--text-main) !important;
  padding: 0.25rem 0;
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* 3. Nav Bar Link Underline Animation */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0%;
  background: currentColor; /* Hardcoded color to prevent transition jumps */
  transition: width 220ms ease;
  transform-origin: left;
}

.nav__link:hover::after, 
.nav__link:focus::after {
  width: 100%;
}

.nav__toggle {
  grid-column: 3;      /* Places the button in the right column */
  justify-self: end;   /* Snaps the button to the far right edge */
}


.toggle-btn {
  width: 70px;
  height: 60px;
  position: relative;
  background: none;
  outline: none;
  border: none;
  padding: 0.20rem;
  margin: 0.2rem 0.75rem;
  cursor: pointer;
}

.toggle-btn__surface {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn__surface img {
  width: auto;
  max-height: 30px;
  display: block;
}

.toggle-btn:active .toggle-btn__surface {
  transform: translateY(10px);
}




/* --- 1. HERO SECTION --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-top: 8px;     /* Pushes the hero down to avoid nav bar overlap */
  
}

.hero__title {
  font-size: 5rem;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.hero__title span {
    display: inline-block;
    /* Set the animation: name | duration | timing | iteration | direction */
    animation: fadePulse 6s ease-in-out infinite;
    opacity: 1;
}

/* Create the staggered effect using animation-delay */
/* We delay each span by 0.1s multiplied by its position */
.hero__title span:nth-child(1)  { animation-delay: 0.1s; }
.hero__title span:nth-child(2)  { animation-delay: 0.2s; }
.hero__title span:nth-child(3)  { animation-delay: 0.3s; }
.hero__title span:nth-child(4)  { animation-delay: 0.4s; }
.hero__title span:nth-child(5)  { animation-delay: 0.5s; }
.hero__title span:nth-child(6)  { animation-delay: 0.6s; }
.hero__title span:nth-child(7)  { animation-delay: 0.7s; } /* Space */
.hero__title span:nth-child(8)  { animation-delay: 0.8s; }
.hero__title span:nth-child(9)  { animation-delay: 0.9s; }
.hero__title span:nth-child(10) { animation-delay: 1.0s; }
.hero__title span:nth-child(11) { animation-delay: 1.1s; }
.hero__title span:nth-child(12) { animation-delay: 1.2s; }
.hero__title span:nth-child(13) { animation-delay: 1.3s; }
.hero__title span:nth-child(14) { animation-delay: 1.4s; }
.hero__title span:nth-child(15) { animation-delay: 1.5s; }
.hero__title span:nth-child(16) { animation-delay: 1.6s; }
.hero__title span:nth-child(17) { animation-delay: 1.7s; }

@keyframes fadePulse {
    0%, 100% {
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        opacity: 0;
        filter: blur(2px); /* Optional: adds a slight soft-focus as it disappears */
    }
}

.hero__services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centers the text+icon unit together */
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.hero__services li {
    display: flex;
    justify-content: center; /* This locks the TEXT to the center */
    align-items: center;
    width: 100%;
    position: relative;      /* Provides a reference for the icon */
    list-style: none;
}



.hero__service-link {
    display: block;
    text-align: center;      /* Matches the Hero Title's alignment */
    text-decoration: none;
    color: var(--text-main) !important;
    font-size: 1rem;       /* Adjust to match your design */
    width: auto;
    position: relative;
}


/* The Icon - Clean and simple */
.hero__service-icon {
  position: absolute;    /* Absolute positioning relative to the li */
  right: -40px;              /*   Places the icon to the right of the text, adjust as needed */
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;          /* Won't let the icon get squished */
  opacity: 0;             /* Start invisible for the animation */
  transform: translate3d(1200px, 0, 0); /* Uses the GPU for smoother motion */
  animation: iconFlyInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: transform 1.2s linear, opacity 0.1s linear;
  /* NO absolute positioning here anymore! */
}

/* 1. Define the "Right to Left" Entrance */
@keyframes iconFlyInRight {
  0% {
    opacity: 0;
    transform: translateX(1200px); /* Starts completely off-screen to the right */
  }
  100% {
    opacity: 1;
    transform: translateX(0);    /* Snaps back to its spot next to the text */
  }
}

/* 3. Optional: Stagger the entrance so they fly in one by one */
.hero__services li:nth-child(1) .hero__service-icon { animation-delay: 0.1s; }
.hero__services li:nth-child(2) .hero__service-icon { animation-delay: 0.2s; }
.hero__services li:nth-child(3) .hero__service-icon { animation-delay: 0.3s; }
.hero__services li:nth-child(4) .hero__service-icon { animation-delay: 0.4s; }
.hero__services li:nth-child(5) .hero__service-icon { animation-delay: 0.5s; }
.hero__services li:nth-child(6) .hero__service-icon { animation-delay: 0.6s; }
.hero__services li:nth-child(7) .hero__service-icon { animation-delay: 0.7s; }
.hero__services li:nth-child(8) .hero__service-icon { animation-delay: 0.8s; }
/* Repeat for other items */

/* This class will be toggled by JavaScript */
.hero__service-icon:active {
    transform: scale(0.80) !important;
    transition: transform 0.1s ease-out !important;
}

/* Optional: Add a slight brightness boost when hovering */
.hero__service-icon:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

/* --- FIXED MOBILE RESPONSIVE BLOCK --- */
@media (max-width: 768px) {
  
  /* 1. Force Navigation into a horizontal row */
  .nav__inner {
    display: flex !important;      /* Overrides the Grid layout */
    flex-direction: row !important; /* Forces side-by-side */
    justify-content: space-between;
    padding: 0 15px;
  }

  .nav__inner::before {
    display: none !important;      /* Removes the grid spacer */
  }

  .nav__links {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;        /* Tighten gap for small screens */
  }

  .nav__link {
    font-size: 0.75rem !important;
    white-space: nowrap !important;
  }

  .nav__toggle {
    margin: 0 !important;
  }

/* 2. Force Hero Title to stay on ONE LINE and adapt size */
.hero__title {
  display: block !important;
  width: 100% !important;
  
  /* Forces the text to stay in one single line */
  white-space: nowrap !important; 
  
  /* This scales the font based on the screen width */
  /* 9vw means 9% of the screen width. Adjust this number if it's too big/small */
  font-size: 8.5vw !important; 
  
  /* Safety: prevents it from getting comically small or too huge */
  /* clamp(MIN, PREFERRED, MAX) */
  font-size: clamp(1.2rem, 8.5vw, 2.5rem) !important;

  text-align: center !important;
  padding: 0 10px !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

  /* 3. Adjust Services for Mobile */
  .hero__services {
    gap: 1.5rem !important;
    padding-top: 2rem;
  }

  .hero__service-link {
    font-size: 0.9rem !important;
  }

  .hero__service-icon {
    right: -30px !important;       /* Pulls icon closer to text on mobile */
    width: 22px !important;
    height: 22px !important;
  }
}





body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

.container {
    width: 90%;           /* Gives it some "breathing room" on small screens */
    max-width: 1200px;    /* Matches the general width of your nav/content */
    margin: 0 auto;       /* Centers the container horizontally */
    padding: 0 20px;      /* Safety padding so text never touches the edge */
}


/* The container that holds the images */
.photo-grid {
    display: flex;            /* Turns on Flexbox */
    justify-content: center; /* Spreads images evenly across the width */
    gap: 10px;                /* Adds a specific gap between the photos */
    margin-top: 30px;         /* Adds space between the text and photos */
}

/* Ensures the images resize correctly */
.photo-grid img {
    width: 20%;               /* Roughly 1/4 of the width each */
    max-width: 100%;          /* Prevents images from stretching weirdly */
    height: auto;             /* Keeps the original aspect ratio */
    border-radius: 8px;       /* Optional: rounds the corners for a cleaner look */
}


/* 1. The Container for each individual photo */
.photo-item {
    position: relative;    /* This is the anchor for the description */
    flex: 1;
    overflow: hidden;      /* Prevents text from showing outside the box */
    border-radius: 8px;
    cursor: pointer;
}

/* 2. Adjust your existing img rule to fill the new container */
.photo-item img {
    width: 100%;
    height: 350px;         /* Uniform height */
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom effect */
}

/* 3. The Description Overlay (Hidden by default) */
.photo-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    color: white;
    padding: 20px;
    transform: translateY(100%);    /* Starts off-screen (at the bottom) */
    transition: transform 0.4s ease-in-out;
}

.photo-desc h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.photo-desc p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 4. The Hover Trigger */
.photo-item:hover .photo-desc {
    transform: translateY(0);       /* Slides the text up into view */
}

.photo-item:hover img {
    transform: scale(1.1);          /* Optional: slight zoom on the photo */
}


/* Responsive adjustment for phones */
@media (max-width: 768px) {
    .photo-grid {
        flex-direction: column; /* Stack them vertically on small screens */
        align-items: center;
    }
    .photo-grid img {
        width: 100%;           /* Make images full width on mobile */
    }
}

.tech-digest {
    padding: 60px 0;
}

.blog-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.blog-card {
    flex: 1;
    background: #1a1a1a; /* Slightly lighter than pure black for contrast */
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Lifts the card up */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.blog-image {
    position: relative;
    height: 180px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff; /* Or your brand color */
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-content {
    padding: 20px;
}

.date {
    font-size: 0.8rem;
    color: #888;
}

.blog-content h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.blog-content p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: #007bff;
}

/* --- Modern Form Card --- */
/* ── FORM CARD ── */
.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 3rem;
    border-radius: 24px;
    max-width: 750px;
    margin: 50px auto;
    position: relative;
    overflow: visible;
}

/* ── INPUT GROUP ── */
.input-group {
    position: relative;
    margin-bottom: 2.5rem;
    overflow: visible;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    height: 65px;
    padding: 1.7rem 1rem 0.5rem;
    background: rgba(128, 128, 128, 0.08);
    border: none;
    border-bottom: 2px solid rgba(128, 128, 128, 0.3);
    color: #ffffff !important;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.input-group textarea {
    height: 120px;
    padding-top: 1.9rem;
    resize: vertical;
}

/* Select arrow */
.input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.input-group select option {
    background: #0b0b0b;
    color: #fff;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-bottom-color: #007bff;
}

/* ── FLOATING LABELS ── */
.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-main);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.input-group textarea ~ label {
    top: 1.4rem;
    transform: none;
}

/* Float up when focused OR has value */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select.has-value ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    transform: translateY(0);
    left: 0.8rem;
    font-size: 0.72rem;
    opacity: 1;
    color: #007bff;
}

.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.4rem;
}

/* ── CUSTOM SCENARIO DROPDOWN ── */
.custom-select-container {
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 100;
}

.select-trigger {
    width: 100%;
    height: 65px;
    padding: 1.7rem 1rem 0.5rem;
    background: rgba(128, 128, 128, 0.08);
    border: none;
    border-bottom: 2px solid rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s, color 0.3s;
    user-select: none;
    box-sizing: border-box;
}

.select-trigger.active,
.select-trigger:hover {
    border-bottom-color: #007bff;
}

.select-trigger.has-selection {
    color: #fff;
}

/* Floating label for the custom dropdown */
.dropdown-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-main);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.custom-select-container.has-selection .dropdown-label,
.custom-select-container.open .dropdown-label {
    top: 0.4rem;
    transform: translateY(0);
    left: 0.8rem;
    font-size: 0.72rem;
    opacity: 1;
    color: #007bff;
}

/* Arrow icon */
.arrow-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.select-trigger.active .arrow-icon {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: #007bff;
}

/* Dropdown list */
.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #0f0f0f;
    z-index: 9999;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.select-options.show {
    display: flex !important;
}

.option-item {
    padding: 14px 20px;
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.option-item:hover {
    background: #1a1a1a;
    color: #fff;
}

.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── SUBMIT BUTTON ── */
.modern-btn {
    width: 100%;
    height: 58px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
    margin-top: 0.5rem;
}

.modern-btn:hover {
    background: #0069d9;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

.modern-btn:active {
    transform: translateY(0);
}

.modern-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── SUCCESS MODAL ── */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.success-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background: #0f0f0f;
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 60px rgba(0, 123, 255, 0.15);
}

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

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 34px;
    height: 34px;
    stroke: #007bff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Checkmark draw animation */
.success-icon svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    transition: stroke-dashoffset 0.5s ease 0.2s;
}

.success-overlay.visible .success-icon svg path {
    stroke-dashoffset: 0;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.success-modal p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-close-btn {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.success-close-btn:hover {
    background: #0069d9;
    box-shadow: 0 0 16px rgba(0, 123, 255, 0.25);
}

/* Services Page Container */
.services-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 80px; /* Space between cards */
}

/* Hero Header Centering */
.services-hero {
    text-align: center;
    margin-bottom: 40px;
}

.services-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Service Card Base */
.service-card {
    display: flex;
    flex-direction: column; /* Mobile first: Stacked */
    background: #1a1a1a; /* Assuming a dark theme based on your footer */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Image Container */
.service-image {
    width: 100%;
    height: 300px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Container */
.service-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center mobile text */
    text-align: center;
}

/* Examples List */
.service-examples {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    line-height: 1.8;
    color: #ccc;
}

/* CTA Block */
.service-cta {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    width: 100%;
}

.service-cta p {
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007bff; /* Replace with your primary brand color */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.2s;
}

.cta-button:hover {
    filter: brightness(1.2);
}

/* Desktop Responsiveness */
@media (min-width: 992px) {
    .service-card {
        flex-direction: row; /* Side by side */
        min-height: 450px;
        text-align: left;
    }

    .service-card.reverse {
        flex-direction: row-reverse;
    }

    .service-image {
        width: 50%;
        height: auto;
    }

    .service-content {
        width: 50%;
        align-items: flex-start; /* Left align on desktop */
        text-align: left;
    }
    
    .service-cta {
        width: auto;
    }
}

/* Mobile Tweak for very small screens */
@media (max-width: 480px) {
    .service-content {
        padding: 25px;
    }
    
    .services-hero h1 {
        font-size: 1.8rem;
    }
}

/* --- 3. FOOTER --- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");


/* Global Dark/Light Backgrounds */
html[data-color-mode=light] {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  --text-main: rgb(0, 0, 0);
  --sb-track: transparent;    /* Transparent track for better light mode aesthetics */
  --sb-thumb: rgb(0, 0, 0);    /* black thumb for better visibility in dark mode */
  --sb-thumb-button: transparent; /* Transparent scrollbar buttons for dark mode */
}

html[data-color-mode=dark] {
  background-color: #000000;
  color: rgb(255, 255, 255);
  --text-main: rgb(255, 255, 255);
  --sb-track: transparent;    /* Transparent track for better dark mode aesthetics */
  --sb-thumb: rgb(255, 255, 255);    /* White thumb for better visibility in dark mode */
  --sb-thumb-button: transparent; /* Transparent scrollbar buttons for dark mode */
}
/* Nav Bar text controls for light and dark modes */
html[data-color-mode=light] .nav__logo, 
html[data-color-mode=light] .nav__link {
  color: #000000;
}

html[data-color-mode=dark] .nav__logo, 
html[data-color-mode=dark] .nav__link {
  color: #fff;
}


/* 2. Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}


/* --- NAVIGATION Bar --- */
.nav {
  display: block; /* Ensure the nav isn't a flex container itself */
  width: 100%;
  height: 60px;
}

.nav__inner {
  display: grid;
  /* Column 1 (spacer): 1 part | Column 2 (links): fits text | Column 3 (toggle): 1 part */
  grid-template-columns: 1fr auto 1fr; 
  align-items: center;
  width: 100%;
  max-width: 1400px; /* Adjust based on your screen size */
  margin: 0 auto;
  height: 100%;
}

/* We use a pseudo-element to act as the invisible left spacer */
.nav__inner::before {
  content: "";
  grid-column: 1;
}


.nav__links {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 2rem; 
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__link {
  font-size: 1rem;
  font-weight: 420;
  text-decoration: none;
  color: var(--text-main) !important;
  padding: 0.25rem 0;
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* 3. Nav Bar Link Underline Animation */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 0%;
  background: currentColor; /* Hardcoded color to prevent transition jumps */
  transition: width 220ms ease;
  transform-origin: left;
}

.nav__link:hover::after, 
.nav__link:focus::after {
  width: 100%;
}

.nav__toggle {
  grid-column: 3;      /* Places the button in the right column */
  justify-self: end;   /* Snaps the button to the far right edge */
}


.toggle-btn {
  width: 70px;
  height: 60px;
  position: relative;
  background: none;
  outline: none;
  border: none;
  padding: 0.20rem;
  margin: 0.2rem 0.75rem;
  cursor: pointer;
}

.toggle-btn__surface {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn__surface img {
  width: auto;
  max-height: 30px;
  display: block;
}

.toggle-btn:active .toggle-btn__surface {
  transform: translateY(10px);
}



/* --- 1. HERO SECTION --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-top: 8px;     /* Pushes the hero down to avoid nav bar overlap */
  
}

.hero__title {
  font-size: 5rem;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

.hero__title span {
    display: inline-block;
    /* Set the animation: name | duration | timing | iteration | direction */
    animation: fadePulse 6s ease-in-out infinite;
    opacity: 1;
}

/* Create the staggered effect using animation-delay */
/* We delay each span by 0.1s multiplied by its position */
.hero__title span:nth-child(1)  { animation-delay: 0.1s; }
.hero__title span:nth-child(2)  { animation-delay: 0.2s; }
.hero__title span:nth-child(3)  { animation-delay: 0.3s; }
.hero__title span:nth-child(4)  { animation-delay: 0.4s; }
.hero__title span:nth-child(5)  { animation-delay: 0.5s; }
.hero__title span:nth-child(6)  { animation-delay: 0.6s; }
.hero__title span:nth-child(7)  { animation-delay: 0.7s; } /* Space */
.hero__title span:nth-child(8)  { animation-delay: 0.8s; }
.hero__title span:nth-child(9)  { animation-delay: 0.9s; }
.hero__title span:nth-child(10) { animation-delay: 1.0s; }
.hero__title span:nth-child(11) { animation-delay: 1.1s; }
.hero__title span:nth-child(12) { animation-delay: 1.2s; }
.hero__title span:nth-child(13) { animation-delay: 1.3s; }
.hero__title span:nth-child(14) { animation-delay: 1.4s; }
.hero__title span:nth-child(15) { animation-delay: 1.5s; }
.hero__title span:nth-child(16) { animation-delay: 1.6s; }
.hero__title span:nth-child(17) { animation-delay: 1.7s; }

@keyframes fadePulse {
    0%, 100% {
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        opacity: 0;
        filter: blur(2px); /* Optional: adds a slight soft-focus as it disappears */
    }
}

.hero__services {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centers the text+icon unit together */
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 1rem;
}

.hero__services li {
    display: flex;
    justify-content: center; /* This locks the TEXT to the center */
    align-items: center;
    width: 100%;
    position: relative;      /* Provides a reference for the icon */
    list-style: none;
}



.hero__service-link {
    display: block;
    text-align: center;      /* Matches the Hero Title's alignment */
    text-decoration: none;
    color: var(--text-main) !important;
    font-size: 1rem;       /* Adjust to match your design */
    width: auto;
    position: relative;
}


/* The Icon - Clean and simple */
.hero__service-icon {
  position: absolute;    /* Absolute positioning relative to the li */
  right: -40px;              /*   Places the icon to the right of the text, adjust as needed */
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;          /* Won't let the icon get squished */
  opacity: 0;             /* Start invisible for the animation */
  transform: translate3d(1200px, 0, 0); /* Uses the GPU for smoother motion */
  animation: iconFlyInRight 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  transition: transform 1.2s linear, opacity 0.1s linear;
  /* NO absolute positioning here anymore! */
}

/* 1. Define the "Right to Left" Entrance */
@keyframes iconFlyInRight {
  0% {
    opacity: 0;
    transform: translateX(1200px); /* Starts completely off-screen to the right */
  }
  100% {
    opacity: 1;
    transform: translateX(0);    /* Snaps back to its spot next to the text */
  }
}

/* 3. Optional: Stagger the entrance so they fly in one by one */
.hero__services li:nth-child(1) .hero__service-icon { animation-delay: 0.1s; }
.hero__services li:nth-child(2) .hero__service-icon { animation-delay: 0.2s; }
.hero__services li:nth-child(3) .hero__service-icon { animation-delay: 0.3s; }
.hero__services li:nth-child(4) .hero__service-icon { animation-delay: 0.4s; }
.hero__services li:nth-child(5) .hero__service-icon { animation-delay: 0.5s; }
.hero__services li:nth-child(6) .hero__service-icon { animation-delay: 0.6s; }
.hero__services li:nth-child(7) .hero__service-icon { animation-delay: 0.7s; }
.hero__services li:nth-child(8) .hero__service-icon { animation-delay: 0.8s; }
/* Repeat for other items */

/* This class will be toggled by JavaScript */
.hero__service-icon:active {
    transform: scale(0.80) !important;
    transition: transform 0.1s ease-out !important;
}

/* Optional: Add a slight brightness boost when hovering */
.hero__service-icon:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: "Poppins", sans-serif;
}

.container {
    width: 90%;           /* Gives it some "breathing room" on small screens */
    max-width: 1200px;    /* Matches the general width of your nav/content */
    margin: 0 auto;       /* Centers the container horizontally */
    padding: 0 20px;      /* Safety padding so text never touches the edge */
}


/* The container that holds the images */
.photo-grid {
    display: flex;            /* Turns on Flexbox */
    justify-content: center; /* Spreads images evenly across the width */
    gap: 10px;                /* Adds a specific gap between the photos */
    margin-top: 30px;         /* Adds space between the text and photos */
}

/* Ensures the images resize correctly */
.photo-grid img {
    width: 20%;               /* Roughly 1/4 of the width each */
    max-width: 100%;          /* Prevents images from stretching weirdly */
    height: auto;             /* Keeps the original aspect ratio */
    border-radius: 8px;       /* Optional: rounds the corners for a cleaner look */
}


/* 1. The Container for each individual photo */
.photo-item {
    position: relative;    /* This is the anchor for the description */
    flex: 1;
    overflow: hidden;      /* Prevents text from showing outside the box */
    border-radius: 8px;
    cursor: pointer;
}

/* 2. Adjust your existing img rule to fill the new container */
.photo-item img {
    width: 100%;
    height: 350px;         /* Uniform height */
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth zoom effect */
}

/* 3. The Description Overlay (Hidden by default) */
.photo-desc {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    color: white;
    padding: 20px;
    transform: translateY(100%);    /* Starts off-screen (at the bottom) */
    transition: transform 0.4s ease-in-out;
}

.photo-desc h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.photo-desc p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 4. The Hover Trigger */
.photo-item:hover .photo-desc {
    transform: translateY(0);       /* Slides the text up into view */
}

.photo-item:hover img {
    transform: scale(1.1);          /* Optional: slight zoom on the photo */
}


/* Responsive adjustment for phones */
@media (max-width: 768px) {
    .photo-grid {
        flex-direction: column; /* Stack them vertically on small screens */
        align-items: center;
    }
    .photo-grid img {
        width: 100%;           /* Make images full width on mobile */
    }
}

.tech-digest {
    padding: 60px 0;
}

.blog-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.blog-card {
    flex: 1;
    background: #1a1a1a; /* Slightly lighter than pure black for contrast */
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Lifts the card up */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.blog-image {
    position: relative;
    height: 180px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #007bff; /* Or your brand color */
    color: white;
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.blog-content {
    padding: 20px;
}

.date {
    font-size: 0.8rem;
    color: #888;
}

.blog-content h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.blog-content p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: #007bff;
}

/* --- Modern Form Card --- */
/* ── FORM CARD ── */
.form-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 3rem;
    border-radius: 24px;
    max-width: 750px;
    margin: 50px auto;
    position: relative;
    overflow: visible;
}

/* ── INPUT GROUP ── */
.input-group {
    position: relative;
    margin-bottom: 2.5rem;
    overflow: visible;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    height: 65px;
    padding: 1.7rem 1rem 0.5rem;
    background: rgba(128, 128, 128, 0.08);
    border: none;
    border-bottom: 2px solid rgba(128, 128, 128, 0.3);
    color: #ffffff !important;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.input-group textarea {
    height: 120px;
    padding-top: 1.9rem;
    resize: vertical;
}

/* Select arrow */
.input-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.input-group select option {
    background: #0b0b0b;
    color: #fff;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-bottom-color: #007bff;
}

/* ── FLOATING LABELS ── */
.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-main);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.input-group textarea ~ label {
    top: 1.4rem;
    transform: none;
}

/* Float up when focused OR has value */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select.has-value ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.4rem;
    transform: translateY(0);
    left: 0.8rem;
    font-size: 0.72rem;
    opacity: 1;
    color: #007bff;
}

.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.4rem;
}

/* ── CUSTOM SCENARIO DROPDOWN ── */
.custom-select-container {
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 100;
}

.select-trigger {
    width: 100%;
    height: 65px;
    padding: 1.7rem 1rem 0.5rem;
    background: rgba(128, 128, 128, 0.08);
    border: none;
    border-bottom: 2px solid rgba(128, 128, 128, 0.3);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s, color 0.3s;
    user-select: none;
    box-sizing: border-box;
}

.select-trigger.active,
.select-trigger:hover {
    border-bottom-color: #007bff;
}

.select-trigger.has-selection {
    color: #fff;
}

/* Floating label for the custom dropdown */
.dropdown-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-main);
    opacity: 0.5;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    font-size: 1rem;
}

.custom-select-container.has-selection .dropdown-label,
.custom-select-container.open .dropdown-label {
    top: 0.4rem;
    transform: translateY(0);
    left: 0.8rem;
    font-size: 0.72rem;
    opacity: 1;
    color: #007bff;
}

/* Arrow icon */
.arrow-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.select-trigger.active .arrow-icon {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: #007bff;
}

/* Dropdown list */
.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: #0f0f0f;
    z-index: 9999;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.select-options.show {
    display: flex !important;
}

.option-item {
    padding: 14px 20px;
    background: #0f0f0f;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    font-size: 0.95rem;
}

.option-item:hover {
    background: #1a1a1a;
    color: #fff;
}

.option-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── SUBMIT BUTTON ── */
.modern-btn {
    width: 100%;
    height: 58px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
    margin-top: 0.5rem;
}

.modern-btn:hover {
    background: #0069d9;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.25);
    transform: translateY(-1px);
}

.modern-btn:active {
    transform: translateY(0);
}

.modern-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ── SUCCESS MODAL ── */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.success-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.success-modal {
    background: #0f0f0f;
    border: 1px solid rgba(0, 123, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 60px rgba(0, 123, 255, 0.15);
}

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

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 34px;
    height: 34px;
    stroke: #007bff;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Checkmark draw animation */
.success-icon svg path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    transition: stroke-dashoffset 0.5s ease 0.2s;
}

.success-overlay.visible .success-icon svg path {
    stroke-dashoffset: 0;
}

.success-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.success-modal p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-close-btn {
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.success-close-btn:hover {
    background: #0069d9;
    box-shadow: 0 0 16px rgba(0, 123, 255, 0.25);
}

/* Service Modal Overlay */
.service-modal-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.service-modal-overlay.active { 
    display: flex !important; 
}

/* The actual Card display */
.service-modal-card {
    background: #1a1a1a; /* Hardcoded dark gray to match your theme */
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #ffffff;
}

.issues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.issue-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    text-align: center;
    transition: 0.2s;
}

.issue-item:hover, .issue-item.active {
    background: #007bff; /* Your brand blue */
    border-color: #007bff;
    color: white;
}

.modal-close {
    position: absolute;
    top: 15px; 
    right: 15px;
    background: none; 
    border: none;
    color: #ffffff;
    font-size: 24px; 
    cursor: pointer;
}

/* --- 3. FOOTER --- */
.site-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 0 40px 0;
    margin-top: 100px;
    backdrop-filter: blur(5px);
}

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

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin: 20px 0;
    max-width: 300px;
}

/* Link Styling */
.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-col a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-col a:hover {
    color: rgb(51, 82, 255);
    padding-left: 5px; /* Subtle modern interaction */
}

/* Status Dot Animation */
.status-dot {
    height: 8px;
    width: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-main);
}

.footer-legal a {
    color: inherit;
    text-decoration: none;
    margin-left: 20px;
}


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

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


/* --- 4. SCROLLBAR STYLES --- */
/* --- 1. CHROME, EDGE, SAFARI (Webkit) --- */
/* By defining a width, we 'unlock' the ability to hide parts */
::-webkit-scrollbar {
  width: 5.5px;
}

/* This is the only way to kill arrows in Webkit */
::-webkit-scrollbar-button {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}

::-webkit-scrollbar-track {
  background: var(--sb-track);
}

::-webkit-scrollbar-thumb {
  background: var(--sb-thumb);
  border-radius: 10px;
  border: 2px solid var(--bg-main); 
}

/* --- 2. FIREFOX (Standard) --- */
/* We ONLY give Firefox the colors. We DO NOT use 'scrollbar-width' 
   because 'thin' or 'auto' often forces arrows back onto the screen. */
@supports (-moz-appearance:none) {
  html {
    scrollbar-color: var(--sb-thumb) var(--sb-track);
    /* Note: Firefox will still show arrows. It is physically impossible 
       to hide them in Firefox via CSS alone. */
  }
}
/*
*{ outline: 1px solid red !important;}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 50%; 
  width: 1px;
  height: 100vh;
  background: cyan;
  z-index: 9999;
  pointer-events: none; 
}


