@font-face {
    font-family: 'FamiljenGrotesk';
    src: url("/fonts/FamiljenGrotesk-VariableFont_wght.ttf") format('truetype-variations');
    font-weight: 100 900;
    font-stretch: normal;
    font-style: normal;
} 

@font-face{
    font-family: 'RobotoMono';
    src:url('/fonts/RobotoMono-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-stretch: normal;
    font-style: normal;
}
:root {
    --primary-font: 'RobotoMono', sans-serif;
    --heading-font: 'RobotoMono', sans-serif;
    --background-color:#2C7865;
    --primary-color:  #fafafa;
    --secondary-color: #90D26D;
    --secondary-softer: #b4dba0;
    --light-gray: #cfcfcf;

}
body{
    background-color: var(--background-color);
    font-family: var(--primary-font);
    display:flex;
    flex-direction: column;
    color:var(--primary-color);
    box-sizing: border-box;
    margin: 0%;
    padding: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: bold;
    color:var(--primary-color);
}

h3{
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
}
a:link {
  color: inherit;
  text-decoration: none; /* This removes the underline */
}

a:visited {
  color: inherit;
  text-decoration: none;
}
a:hover{
    color:var(--light-gray);
}

/* === Top Navigation Bar === */
#top-nav {
    position: fixed; /* Keeps the nav at the top */
    top: 0;
    width: 100%;
    background-color: var(--background-color);
    text-align: center;
    z-index: 1000;
    transition: top 0.4s ease-in-out; /* Smooth hide/show animation */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 16px;
  box-sizing: border-box;
}

/* === Initial Screen & Image Styling === */
#ImageRep {
    padding-top: 32px;
    height: 100vh; /* Makes the section take the full viewport height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    text-align: center;
}

#ImageHolder img {
    border: solid var(--primary-color) 2px;
    padding: 8px;
    max-width: 90%; /* Prevents the image from overflowing on smaller screens */
    max-height: 70vh; /* Restricts image height */
    object-fit: cover;
}

#opening-label {
    margin-top: 2rem; /* Adds space between the image and the label */
    font-size: 1.2rem;
    color: var(--secondary-softer);
}

/* === Section Spacing === */
/* Adds vertical space for each main content section */
#About, #Services, #Products  {
    padding: 80px 0%; /* 80px top/bottom padding, 15% left/right */
    min-height: 300px; /* Ensures sections have some height */
}
/* === Contact Table Styling === */
#SimpleTable {
    display: flex;
    justify-content: space-between; /* Pushes "Email" and the address to opposite ends */
    align-items: center;
    max-width: 500px; /* Sets a max-width for the table */
    margin-top: 1.5rem; /* Space below the "CONTACT" h3 */
    padding: 1rem 0;
}

#tmp {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    width: 100%;             /* Ensure it takes full width of the parent */
    min-height: 300px;       /* Give it the same height as the parent section */
}

#menu:hover{
    color:(var(--light-gray));
    
}


/* === Add this to your CSS file, replacing old nav responsive rules === */

/* --- Navigation Responsive Behavior --- */

#top-nav {
    /* Ensure padding is on both sides for balance */
    padding-left: 16px;
}

/* Hide mobile icon by default */
#mobile-menu-icon {
    display: none;
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Navigation Overlay */
#mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    z-index: 2000; /* Ensure it's on top of all other content */
    
    /* Center the links inside */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    /* Hide it by default and transition */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Class to show the overlay */
#mobile-nav-overlay.overlay-visible {
    opacity: 1;
    visibility: visible;
}

.mobile-links a {
    color: var(--primary-color);
    font-size: 3rem;
    padding: 1rem 0;
    display: block;
    text-align: center;
}

/* Close button (X) in the top right */
#close-menu-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Media Query for Mobile/Desktop Switch --- */
/* On screens 768px or less */
@media (max-width: 768px) {
    #desktop-nav {
        display: none; /* Hide desktop links */
    }
    #mobile-menu-icon {
        display: block; /* Show MENU button */
    }
}

#desktop-nav{
    font-size: 2rem;
}



.glow-container {
   position: relative; /* This is crucial for positioning the pseudo-element */
   isolation: isolate; /* Creates a new stacking context */
   color: #fafafa;
}

/* This is where the magic happens ✨ */
.glow-container::before {
   content: ''; /* A pseudo-element must have content */
   position: absolute;
   z-index: -1; /* Place the glow BEHIND the text */

   /* Position and size the glow */
   left: 50%;
   top: 50%;
   width: 250px;
   height: 100px;

   /* Center the glow and prepare for scaling animation */
   transform: translate(-50%, -50%) scale(1);

   /* The glowing gradient WITH the grain */
   background: radial-gradient(circle,
                               rgba(210, 253, 188, 0.6) 0%, /* A nice purple */
                               rgba(24, 24, 27, 0) 70%),
               url("data:image/svg+xml,%3Csvg viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
   background-size: cover;
   background-blend-mode: overlay; /* Blends the grain with the gradient */
   opacity: 0.8; /* Adjust grain intensity */


   /* Soften the gradient into a glow */
   filter: blur(50px);

   /* The pulse animation */
   animation: pulse 5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Define the animation */
@keyframes pulse {
   0%, 100% {
       transform: translate(-50%, -50%) scale(2);
       opacity: 0.6;
   }
   50% {
       transform: translate(-50%, -50%) scale(1.15);
       opacity: 0.8;
   }
}

i{
    color:var(--secondary-softer)
}