/* ==========================================================================
   1. CSS RESET/NORMALIZE/ROOT
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* CSS Custom Properties (Variables) */
:root {
    /* Color Variables */
    --colorprimary: #ffffff;
    --colorsecondary: #131313;
    --colorgradient1: linear-gradient(to right, #3A3A3A 0%, #1A1A1A 100%);
    

    --colorborder: #505050;
    
    /* Typography Variables */
    --fontfamily: "Oswald", Arial, sans-serif;
    --h1: bold 54px/64px var(--fontfamily);
    --h2: bold 36px/36px var(--fontfamily);
    --h3: bold 24px/30px var(--fontfamily);
    --links: bold 18px/18px var(--fontfamily);
    --p: 18px/30px var(--fontfamily);
    --subtext: 12px/20px var(--fontfamily);
    
    /* Effect Variables */
    --transition: 0.3s ease-in-out;
    --shadow: #00000030 0px 0px 10px 0px;
    --shadowdark: rgb(0, 0, 0) 0px 5px 15px;

    /* Font Sizes */
    --fontheader768: 3rem; 
    --fontheader1248: 4rem;

    --fontparagraph1248: 1.25rem;
    --fontparagraph1440: 1.5rem;
}

/* Custom scrollbar for entire page */
body {
  scrollbar-width: thin;
  scrollbar-color: rgb(0, 0, 0);
}



/* Webkit styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #201f1f;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #f4f4f4;
  border-radius: 4px;
}


/* Global Transition */
* {
    transition: background-color var(--transition), 
                color var(--transition), 
                border-color var(--transition), 
                fill var(--transition),
                box-shadow var(--transition);
}

/* Box Model Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Document Setup */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--fontfamily);
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden;
    color: var(--colorprimary);
    background-color: var(--colorsecondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color var(--transition), background-color var(--transition);
}

body, html {
    overflow-x: hidden
}

/* Dark Mode Setup */
body.light-mode body {
  background-color: red;
}

/* Typography Reset */
h1 { font: var(--h1); }
h2 { font: var(--h2); }
h3 { font: var(--h3); }
p { font: var(--p); }

small, 
.small-text { 
    font: var(--subtext); 
}

/* Links */
a {
    font: var(--links);
    color: var(--coloraccent);
    text-decoration: none;
    transition: color var(--transition);
}

/* Lists */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: none;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

/* Form Elements */
input, 
textarea, 
select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    border-radius: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    text-align: left;
    padding: 0.5rem;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility - Focus Styles */
:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--coloraccent);
    outline-offset: 2px;
}













/* ==========================================================================
    2. ANIMATIONS
========================================================================== */

/* Base Animation Classes */
.animate,
.animate-repeat {
    opacity: 0;
    will-change: transform, opacity;
    visibility: visible;
}

.animate.visible,
.animate-repeat.visible {
    opacity: 1;
    transform: none;
}

/* Responsive Animations */
/* Simple responsive animation classes - work exactly like .animate/.animate-repeat but for different viewports */

/* Tablet and up (768px+) */
@media (min-width: 768px) {
    .md-animate,
    .md-animate-repeat {
        opacity: 0;
        will-change: transform, opacity;
        visibility: visible;
    }

    .md-animate.visible,
    .md-animate-repeat.visible {
        opacity: 1;
        transform: none;
    }
}

/* Desktop and up (1024px+) */
@media (min-width: 1024px) {
    .lg-animate,
    .lg-animate-repeat {
        opacity: 0;
        will-change: transform, opacity;
        visibility: visible;
    }

    .lg-animate.visible,
    .lg-animate-repeat.visible {
        opacity: 1;
        transform: none;
    }
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .xl-animate,
    .xl-animate-repeat {
        opacity: 0;
        will-change: transform, opacity;
        visibility: visible;
    }

    .xl-animate.visible,
    .xl-animate-repeat.visible {
        opacity: 1;
        transform: none;
    }
}

/* Disable animations on very small screens if needed */
@media (max-width: 480px) {
    .sm-no-animate {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
    }
}

@media (max-width: 1024px) {
    .lg-no-animate {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        transition: none !important;
    }
}

/* Prefers reduced motion - Accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate,
    .animate-repeat,
    .md-animate,
    .md-animate-repeat,
    .lg-animate,
    .lg-animate-repeat,
    .xl-animate,
    .xl-animate-repeat {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Basic Animations */
.fade-in {
    transition: opacity 0.6s ease;
}

.slide-up {
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-down {
    transform: translateY(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left {
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right {
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-up {
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in {
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-out {
    transform: scale(1.2);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flip-x {
    transform: rotateX(90deg);
    backface-visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flip-y {
    transform: rotateY(90deg);
    backface-visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Combined Animations */
.slide-up-scale {
    transform: translateY(100px) scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-down-scale {
    transform: translateY(-30px) scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left-scale {
    transform: translateX(-30px) scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right-scale {
    transform: translateX(30px) scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.custom-combo {
    transform: translateY(20px) scale(0.9) rotate(5deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation Durations */
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
.duration-800 { transition-duration: 0.8s; }
.duration-1000 { transition-duration: 1s; }
.duration-1500 { transition-duration: 1.5s; }

/* Animation Delays */
.delay-sm-100 { transition-delay: 0.1s; }
.delay-sm-200 { transition-delay: 0.2s; }
.delay-sm-300 { transition-delay: 0.3s; }
.delay-sm-400 { transition-delay: 0.4s; }
.delay-sm-500 { transition-delay: 0.5s; }
.delay-sm-600 { transition-delay: 0.6s; }
.delay-sm-700 { transition-delay: 0.7s; }
.delay-sm-800 { transition-delay: 0.8s; }
.delay-sm-900 { transition-delay: 0.9s; }
.delay-sm-1000 { transition-delay: 1s; }

@media (min-width: 768px) {
  .delay-md-100 { transition-delay: 0.1s; }
  .delay-md-200 { transition-delay: 0.2s; }
  .delay-md-300 { transition-delay: 0.3s; }
  .delay-md-400 { transition-delay: 0.4s; }
  .delay-md-500 { transition-delay: 0.5s; }
  .delay-md-600 { transition-delay: 0.6s; }
  .delay-md-700 { transition-delay: 0.7s; }
  .delay-md-800 { transition-delay: 0.8s; }
  .delay-md-900 { transition-delay: 0.9s; }
  .delay-md-1000 { transition-delay: 1s; }
}

@media (min-width: 1024px) {
  .delay-lg-100 { transition-delay: 0.1s; }
  .delay-lg-200 { transition-delay: 0.2s; }
  .delay-lg-300 { transition-delay: 0.3s; }
  .delay-lg-400 { transition-delay: 0.4s; }
  .delay-lg-500 { transition-delay: 0.5s; }
  .delay-lg-600 { transition-delay: 0.6s; }
  .delay-lg-700 { transition-delay: 0.7s; }
  .delay-lg-800 { transition-delay: 0.8s; }
  .delay-lg-900 { transition-delay: 0.9s; }
  .delay-lg-1000 { transition-delay: 1s; }
}


/* Easing Functions */
.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.42, 0, 1.0, 1.0); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.58, 1.0); }
.ease-in-out { transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1.0); }
.ease-bounce { transition-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55); }

/* Keyframe Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px #4B0082, 0 0 10px #4B0082, 0 0 15px #4B0082; }
    50% { box-shadow: 0 0 10px #4B0082, 0 0 20px #4B0082, 0 0 30px #4B0082; }
    100% { box-shadow: 0 0 5px #4B0082, 0 0 10px #4B0082, 0 0 15px #4B0082; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float {
    animation: float 7s ease-in-out infinite;
}

@keyframes float-left-right {
    0% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
    100% { transform: translateX(0px); }
}

.float-left-right {
    animation: float-left-right 7s ease-in-out infinite;
}

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

.spin {
    animation: spin 10s linear infinite;
}

.outline-text {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px;
    font-style: normal;
}

@media screen and (max-width: 768px) {
    .outline-text {
    -webkit-text-stroke: 1px;
    }
}

/* Create new keyframes that combine existing animations with rotation */
@keyframes float-rotated {
    0% { transform: translateY(0px) rotate(-30deg); }
    50% { transform: translateY(-10px) rotate(-30deg); }
    100% { transform: translateY(0px) rotate(-30deg); }
}

@keyframes float-left-right-rotated {
    0% { transform: translateX(0px) rotate(30deg); }
    50% { transform: translateX(-10px) rotate(30deg); }
    100% { transform: translateX(0px) rotate(30deg); }
}

/* Clean slide animations - Fast and Medium speeds only */

/* Fast slide up animation */
.slide-up-fast {
    opacity: 0 !important;
    transform: translateY(120px) !important;
    visibility: hidden !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0.8s !important;
}

.slide-up-fast.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0s !important;
}

/* Medium slide up animation */
.slide-up-medium {
    opacity: 0 !important;
    transform: translateY(150px) !important;
    visibility: hidden !important;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 1.2s !important;
}

.slide-up-medium.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0s !important;
}

/* Fast slide down animation */
.slide-down-fast {
    opacity: 0 !important;
    transform: translateY(-120px) !important;
    visibility: hidden !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0.8s !important;
}

.slide-down-fast.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0s !important;
}

/* Medium slide down animation */
.slide-down-medium {
    opacity: 0 !important;
    transform: translateY(-150px) !important;
    visibility: hidden !important;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 1.2s !important;
}

.slide-down-medium.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0s 0s !important;
}

/* Delay classes for animations */
.slow-delay-200 { transition-delay: 0.2s !important; }
.slow-delay-400 { transition-delay: 0.4s !important; }
.slow-delay-500 { transition-delay: 0.5s !important; }
.slow-delay-800 { transition-delay: 0.8s !important; }
.slow-delay-1000 { transition-delay: 1s !important; }














body.loading {
      overflow: hidden;
    }

    .loading-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #131313;
      z-index: 9999;
      display: flex;
      justify-content: center;
      align-items: center;
      pointer-events: none;
    }

    .logo-wrapper {
      position: relative;
      width: 300px;
      height: 150px;
      animation: fadeIn 0.5s ease-in;
    }

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

    .logo-half {
      position: absolute;
      width: 150px;
      height: 150px;
      top: 0;
      overflow: hidden;
    }

    .logo-left {
      left: 0;
    }

    .logo-right {
      right: 0;
    }

    /* Your logo image */
    .logo-content {
      width: 300px;
      height: 150px;
      background: url('images/website-logo.png') no-repeat center center;
      background-size: contain;
    }

    /* Position the logo content so left half shows left side, right half shows right side */
    .logo-left .logo-content {
      position: absolute;
      left: 0;
    }

    .logo-right .logo-content {
      position: absolute;
      right: 0;
    }

    /* Split animation */
    .loading-screen.split .logo-left {
      animation: slideLeft 0.8s ease-in-out forwards;
    }

    .loading-screen.split .logo-right {
      animation: slideRight 0.8s ease-in-out forwards;
    }

    @keyframes slideLeft {
      to {
        transform: translateX(-100vw);
      }
    }

    @keyframes slideRight {
      to {
        transform: translateX(100vw);
      }
    }

    /* Hide loading screen */
    .loading-screen.hidden {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    }













/* ==========================================================================
   3. SOCIAL MEDIA LINKS
========================================================================== */
.social-links {
    position: fixed;
    bottom: 0;
    left: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.social-links a {
    color: var(--colorprimary);
    font-size: 1.2rem;
    transition: all var(--transition);
    padding: 0.4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid transparent;
}

.social-links a:hover {
    color: #007bff;
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.social-line {
    width: 2px;
    height: 80px;
    background-color: var(--colorprimary);
    margin: 0.5rem auto 0;
    opacity: 0.6;
}

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

/* Hide social links on mobile and small tablets */
@media (max-width: 1022px) {
    .social-links {
        display: none;
    }
}

/* Show social links only on 1023px+ viewport */
@media (min-width: 1023px) {
    .social-links {
        display: flex;
    }
}

/* ==========================================================================
   4. BUTTONS 
========================================================================== */
.fill-button {
    background: #007bff;
    padding: .5rem 2rem;
    margin-bottom: 3px;
    display: inline-block;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s;
    color: #ffffff;
}

.fill-button a {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    gap: 0.5rem; /* space for arrow */
    transition: transform 0.4s ease; /* text slide */
    position: relative; /* above the fill */
    z-index: 1;
}

.fill-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003a77;
    transform: scaleY(0); /* hidden initially */
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 0;
}

.fill-button::after {
    content: '→'; /* arrow symbol */
    position: absolute;
    right: 1rem;
    opacity: 0;
    transform: translateX(-10px); /* slightly offscreen initially */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s;
    font-size: 1rem;
    z-index: 1; /* above the fill */
}

.fill-button:hover::before {
    transform: scaleY(1); /* fill slides in from bottom */
}

.fill-button:hover a {
    transform: translateX(-10px); /* slide text left */
}

.fill-button:hover::after {
    opacity: 1;
    transform: translateX(0); /* arrow slides in with bounce */
}

#fillButton {
    display: none;
}





















/* ==========================================================================
   5. NAVBAR
========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--colorsecondary);
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: none;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.4); /* transparent overlay */
  backdrop-filter: blur(30px); /* blur background */
  -webkit-backdrop-filter: blur(30px);
}

/* Shrink the logo inside scrolled navbar */
.navbar.scrolled .nav-logo img {
  height: 30px; /* smaller */
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: .5rem 1rem;
}

.navbar.scrolled .nav-menu.active {
  height: calc(100vh - clamp(40px, 12vw, 50px));
  top: 50px;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 1rem;
}

.nav-logo {
    font: var(--h2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: .25rem .5rem;
    background-color: var(--colorsecondary);
    border-radius: 10px;
}

.nav-logo img {
    height: 40px;
}

.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    padding: 5px;
    height: 35px;
    width: 35px;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger span {
    height: 2px;
    width: 20px;
    background-color: var(--colorprimary);
    margin: 1px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.nav-menu {
    position: fixed;
    left: -100%;
    top: 67px;
    width: 100%;
    height: calc(100vh - clamp(60px, 12vw, 70px));
    background-color: var(--colorprimary);
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
    margin: 0;
    transition: var(--transition);

    overflow-y: auto;
    gap: 0;
    padding-left: 0;
}

.nav-menu.active {
    left: 0;
}

.nav-item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--colorborder);
    width: 90%;
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-link {
    color: var(--colorsecondary);
    text-decoration: none;
    font: var(--links);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 400;
    padding: 2rem 0rem .5rem 0;
}

.nav-link.has-dropdown::after {
    content: '▼';
    font-size: .75rem;
    transition: transform var(--transition);
    margin-left: auto;
}

.nav-link.has-dropdown.active::after {
    transform: rotate(180deg);
}

.dropdown {
    width: 100%;
    background-color: var(--colorsecondary);
    display: none;
    border-top: 1px solid var(--colorborder);
    overflow: hidden;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    padding: .5rem 0rem 1rem 1rem;
    transition: var(--transition);
    background-color: var(--colorprimary);
}

.dropdown-item:hover,
.dropdown-item:active {
    background-color: var(--colorprimaryhover);
}

.dropdown-item a {
    color: var(--colorsecondary);
    text-decoration: none;
    font: var(--p);
    display: block;
    width: 100%;
    font-size: clamp(14px, 3.5vw, 16px);
    text-align: start;
}

.navbar-spacer {
    height: clamp(60px, 12vw, 70px);
}

.navbar-button-desktop {
    display: none;
}

@media screen and (min-width: 768px) {
    #fillButton {
        display: block;
    }

    .navbar.scrolled .nav-menu.active {
        top: 75px;
    }

    .navbar {
        transition: all 1s ease;
    }

    .nav-logo img {
        height: 60px;
    }

    .nav-container {
        padding: 1rem 4rem;
    }

    .navbar.scrolled .nav-logo img {
        height: 50px; /* smaller */
        transition: height 0.3s ease;
    }

    .navbar.scrolled .nav-container {
        padding: 1rem 1rem;
    }
}

@media (min-width: 1024px) {
    #heroSection {
        height: 92vh !important;
    }
    .nav-container {
        justify-content: space-between;
        padding: 0rem 3rem;
    }

    .navbar.scrolled .nav-menu.active {
        height: unset;
        top: 50px;
    }

    .nav-logo {
        position: static;
        transform: none;
        border-radius: 10px;
        box-shadow: 50% var(--shadowdark);
        transition: all 0.1s ease;
    }

    .nav-logo img {
        transition: all 0.1s ease;
    }

    .nav-logo.shrink {
      padding: 0.25rem 0.75rem;
      margin-bottom: 0;
      background-color: transparent;
      box-shadow: none;
  }

  .nav-logo.shrink img {
      height: 100px;
  }

    .hamburger {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: auto;
        height: auto;
        background: none;
        gap: 2rem;
        overflow: visible;
        padding-left: 70px;
    }

    .nav-item {
        border: none;
        width: auto;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
        font-weight: 300;
        color: #ffffff;
        
    }

    /* Hide dropdowns completely on desktop */
    .dropdown {
        display: none !important;
    }

        .nav-link.has-dropdown::after {
        display: none;
    }




    .nav-item-order {
        display: none;
    }

.navbar-button-desktop {
    background: linear-gradient(to bottom, #007bff 0%, #0357b1 100%);
    padding: .75rem 2rem;
    margin-bottom: 3px;
    display: inline-block;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s;
    color: #ffffff;
}

.navbar-button-desktop a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* space for arrow */
    transition: transform 0.4s ease; /* text slide */
    position: relative; /* above the fill */
    z-index: 1;
}

/* Fill effect using a pseudo-element */
.navbar-button-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #003a77;
    transform: scaleY(0); /* hidden initially */
    transform-origin: bottom;
    transition: transform 0.4s ease;
    z-index: 0;
}

.navbar-button-desktop::after {
    content: '→'; /* arrow symbol */
    position: absolute;
    right: 1rem;
    opacity: 0;
    transform: translateX(-10px); /* slightly offscreen initially */
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s;
    font-size: 1rem;
    z-index: 1; /* above the fill */
}

.navbar-button-desktop:hover::before {
    transform: scaleY(1); /* fill slides in from bottom */
}

.navbar-button-desktop:hover a {
    transform: translateX(-10px); /* slide text left */
}

.navbar-button-desktop:hover::after {
    opacity: 1;
    transform: translateX(0); /* arrow slides in with bounce */
}



    .nav-link {
        padding-bottom: 0;
    }

    .navbar-button-desktop:hover {
        background-color: #CC007E;
    }

    .navbar-button-desktop a:hover {
        color: white;
    }

    #fillButton {
        padding: .5rem 3rem;
    }

    .nav-container {
        padding: 1rem 4rem;
    }

    .navbar.scrolled {
        padding: 0.25rem 4rem;
    }

    .navbar.scrolled .nav-logo img {
        height: 40px; /* smaller */
        transition: height 0.3s ease;
    }

    .navbar.scrolled .nav-container {
        padding: 0rem 1rem;
    }
}


@media screen and (min-width: 1248px) {
    .nav-menu {
        gap: 3rem;
    }
}





























/* ==========================================================================
6. PAGE HEADER / LANDING SECTION
========================================================================== */
        #landing {
            background-color: var(--colorsecondary);
            position: relative;
            padding: clamp(3rem, calc(3.2608695652vw + 2.347826087rem), 4.875rem) 0;
            display: flex;
        }

        .landing-intro {
            padding: 0rem 1rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: clamp(0.5rem, 2vh, 2rem);
            margin: 0 auto;
            width: 100%;
        }

        .landing-intro h1 {
            line-height: 2.25rem;
            font-size: 2.75rem;
            text-transform: uppercase;
            font-family: "Oswald", sans-serif !important;
            font-weight: 900;
            transition: none;
            position: relative;
            z-index: 2;
        }

        .we-all-strive {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .for-greatness-lets {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .achieve-together {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .right-aligned {
            text-align: right;
        }

        .outline-text {
            color: transparent;
            -webkit-text-stroke: 1px #fff;
            text-stroke: 1px #fff;
        }

        .container {
            overflow: hidden;
            padding-bottom: .5rem;
        }

        .unhide {
            overflow: visible;
        }

        /* Growing dash styles */
        .together-container {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 100%;
        }

        .growing-dash {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 3px;
            width: 30px;
            background-color: var(--colorprimary);
            max-width: 80px;
            transition: width 0.3s ease-out, opacity 0.3s ease-out;
            z-index: 1;
        }

        .together-text {
            position: relative;
            z-index: 2;
            margin-left: auto;
        }

        /* Add delay classes for staggered animations */
        .delay-200 { transition-delay: 0.2s !important; }
        .delay-400 { transition-delay: 0.4s !important; }
        .delay-600 { transition-delay: 0.6s !important; }
        .delay-800 { transition-delay: 0.8s !important; }
        .delay-1000 { transition-delay: 1s !important; }
        .delay-1200 { transition-delay: 1.2s !important; }
        .delay-1400 { transition-delay: 1.4s !important; }



        @media screen and (min-width: 405px) {
            .landing-intro h1 {
                font-size: 4rem;
                line-height: 4rem;
            }
        }

        @media screen  and (min-width: 550px) {
            .landing-intro h1 {
                font-size: 4.5rem;
            }
        }

        @media screen  and (min-width: 650px) {
            .landing-intro h1 {
                font-size: 5.5rem;
                line-height: 5.5rem;
            }
        }

        /* Responsive Design */
        @media screen and (min-width: 768px) {
            
            .landing-intro {
                padding: 0rem 2rem;
                gap: 1.5rem;
            }
            
            .landing-intro h1 {
                font-size: 5rem;
                line-height: 4rem;
            }
            
            .we-all-strive, .for-greatness-lets {
                display: flex;
                flex-direction: row;
                gap: 1rem;
                align-items: baseline;
                white-space: nowrap;
            }

            .achieve-together {
                display: flex;
                flex-direction: row;
                gap: 1rem;
                align-items: center;
                justify-content: space-between;
                white-space: nowrap;
            }

            .growing-dash {
                height: 8px;
                max-width: 100px;
                width: 30px;
            }
        }

        @media screen and (min-width: 1248px) {
            .landing-intro h1 {
                font-size: 7rem;
                line-height: 6rem;
            }
        }


















#callToAction {
    
}

.scroll-expand-section {
    height: 80vh;
    position: relative;
    overflow: hidden;
    background: #131313;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-expand-red-bg {
    width: 100%;
    height: 100%;
    background-color: #222222;
    transform: scale(0.1);
    transition: transform 0.05s linear;
    will-change: transform;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-expand-image-overlay {
    position: absolute;
    bottom: 350px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    transition: bottom 0.05s linear, opacity 0.3s ease;
    will-change: bottom;
    z-index: 11;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: end;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 1));
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
    mask-image: linear-gradient(to top, transparent 0%, black 20%);
}

.image-with-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.image-with-icons.hidden {
    opacity: 0 !important;
    pointer-events: none;
    visibility: hidden;
}

.image-with-icons.active {
    opacity: 1;
    visibility: visible;
}

/* Slide down on exit - when visible class is removed */
.image-with-icons.active:not(.visible) {
    transform: translateY(150px) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Slide up on entry - when visible class is added */
.image-with-icons.active.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.main-image {
    width: 250px;
    height: 250px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    object-position: center bottom;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    object-fit: contain;
    animation: float 5s ease-in-out infinite;
    z-index: 5;
}

.float-icon.icon-1 {
    top: 45%;
    left: 25%;
    animation-delay: 0s;
    animation: spin 10s linear infinite;
}

.float-icon.icon-2 {
    top: 35%;
    left: 35%;
    animation-delay: 0.5s;
    animation: float-left-right 7s ease-in-out infinite;
}

.float-icon.icon-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 1s;
}

.float-icon.icon-4 {
    top: 50%;
    left: 25%;
    animation-delay: 0s;
    animation: spin 10s linear infinite;
}

.float-icon.icon-5 {
    top: 40%;
    left: 40%;
    animation-delay: 0.5s;
    animation: float-left-right 7s ease-in-out infinite;
}

.float-icon.icon-6 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.float-icon.icon-7 {
    top: 50%;
    left: 25%;
    animation-delay: 0s;
    animation: spin 10s linear infinite;
}

.float-icon.icon-8 {
    top: 40%;
    left: 35%;
    animation-delay: 0.5s;
    animation: float-left-right 7s ease-in-out infinite;
}

.float-icon.icon-9 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

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

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

@keyframes float-left-right {
    0% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
    100% { transform: translateX(0px); }
}

.scroll-expand-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 325px;
    transition: bottom 0.05s linear;
    will-change: bottom;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    color: white;
    overflow: hidden;
    z-index: 10;
    width: 90%;
    max-width: 900px;
    padding: 1rem;
    padding-bottom: 2rem;
}

.content-text {
    text-align: center;
    transition: opacity 0.3s ease;
    position: relative;
    width: 100%;
    min-height: 150px;
}

.content-set {
    text-align: center;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.content-set.hidden {
    opacity: 0;
    pointer-events: none;
}

.content-set.active {
    opacity: 1;
    pointer-events: auto;
}

.content-set h2 {
    text-transform: uppercase;
}

.content-set p {
    line-height: 1.6;
    color: #cbd5e1;
    padding: 1rem 0;
    font-weight: 300;
}

.image-nav {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 2rem;
}

.nav-dot {
    width: 23px !important;
    height: 23px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.nav-dot.active {
    background: #60a5fa;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.8);
}

@media screen and (max-width: 533px) {
    .content-set p {
        font-size: 1rem;
        padding-top: 0;
    }

    .content-set h2 {
        font-size: 1.75rem;
    }
}

@media screen and (min-width: 768px) {
    .scroll-expand-section {
        height: 100vh;
    }

    .main-image {
        height: 350px;
        width: 350px;
    }

    .content-set {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .content-set h2 {
        font-size: var(--fontheader768);
        line-height: 3.25rem;
    }

    .content-set p {
        max-width: 660px;
    }

    .float-icon.icon-1 {
        top: 30%;
        left: 10%;
    }

    .float-icon.icon-2 {
        top: 20%;
        left: 25%;
    }

    .float-icon.icon-3 {
        bottom: 35%;
        left: 5%;
    }

    .float-icon.icon-4 {
    top: 30%;
    left: 25%;
}

.float-icon.icon-5 {
    top: 20%;
    left: 40%;
}

.float-icon.icon-6 {
    bottom: 40%;
}

    .scroll-expand-overlay {
        height: 350px; /* Increased from 300px */
    }


}

@media screen and (min-width: 1023px) {
    .main-image {
        height: 400px;
        width: 400px;
    }

    .scroll-expand-overlay {
        height: 330px;
    }

    .float-icon {
        height: 100px;
        width: 100px;
    }

    .float-icon.icon-1 {
        top: 20%;
        left: 10%;
    }

    .float-icon.icon-2 {
        top: 0%;
        left: 50%;
    }

    .float-icon.icon-3 {
        bottom: 10%;
        left: 5%;
    }

    .float-icon.icon-4 {
    top: 40%;
    left: 15%;
    animation-delay: 0s;
    animation: spin 10s linear infinite;
}

.float-icon.icon-5 {
    top: 70%;
    left: 10%;
    animation-delay: 0.5s;
    animation: float-left-right 7s ease-in-out infinite;
}

.float-icon.icon-6 {
    bottom: 30%;
    left: 80%;
    animation-delay: 1s;
}

.float-icon.icon-7 {
    top: 30%;
    left: 25%;
    animation-delay: 0s;
    animation: spin 10s linear infinite;
}

.float-icon.icon-8 {
    top: 40%;
    left: 65%;
    animation-delay: 0.5s;
    animation: float-left-right 7s ease-in-out infinite;
}

.float-icon.icon-9 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}



    
}

@media screen and (min-width: 1248px) {
    .content-set h2 {
        font-size: var(--fontheader1248);
        line-height: 4rem;
    }
}













































    /* ==========================================================================
    7. PAGE HEADER / LANDING SECTION
    ========================================================================== */
        #myExperience {
            padding: clamp(3rem, calc(3.2608695652vw + 2.347826087rem), 4.875rem) 0;
            margin-top: 5rem;
        }

        .experience-header {
            padding-bottom: 3rem;
            padding-left: 1rem;
        }

        .experience-header h2 {
            text-transform: capitalize;
            font-weight: 400;
            font-size: 2.25rem;
        }

        .experience-header span {
            font-weight: 200;
        }

        /* Horizontal scroll wrapper */
        .experience-wrapper {
            display: flex;
            width: 100%;
            transition: transform 0.5s ease;
            will-change: transform;
        }

        .experience-container {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            padding: 1rem;
            flex: 0 0 100%;
            max-width: 100%;
            box-sizing: border-box;
            min-height: 533px;
        }

        .experience-visual {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto;
            width: 100%;
        }


        /*------- GOVERNORS STATE ILLUSTRATION -------*/
        .governors-scene {
            display: flex;
            justify-content: center;
            align-items: flex-end;
            gap: 30px;
            background: linear-gradient(to top, #02376f 0%, #1A1A1A 100%);
            background-size: 100% 200%; /* double the height to allow "movement" */
            background-position: 0% 100%; /* start with blue at bottom */
            animation: pulse-bg 4s ease-in-out infinite;
            width: 100%;
            padding: 2rem 0;
            min-width: 288px;
            max-width: 830px;
            border-radius: 10px 10px 0 0;
            outline: #bcbcbc64 1px solid;
            border-bottom: 1px solid #BCBCBC;
        }


        @keyframes pulse-bg {
    0%, 100% {
        background-position: 0% 80%; /* blue at bottom */
    }
    50% {
        background-position: 0% 0%; /* blue pulsed upward */
    }
}


        /* Governors State Screen */
        .governors-monitor {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .governors-screen {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 225px;
            height: 150px;
            position: relative;
            border-radius: 5px;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            outline: #bcbcbc64 1px solid;
            padding: .5rem .5rem 1.25rem .5rem;
            box-shadow: var(--shadowdark);
        }

        .governors-screen img {
            background-size: cover;
            background-position: center;
            height: 100%;
            width: 100%;
            outline: #bcbcbc64 1px solid;
        }

        .stand {
            width: 20px;
            height: 30px;
            background: linear-gradient(to bottom, #737373 0%, #262626 100%);
        }

        .base {
            width: 80px;
            height: 10px;
            background: #333;
            border-radius: 10px 10px 0 0;
            box-shadow: var(--shadowdark);
        }


        /* Governors State Toolbox */
        .toolbox {
            position: relative;
            margin-left: -7rem;
        }

        .toolbox-box {
            width: 125px;
            height: 80px;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            position: relative;
            display: flex;
            justify-content: center;
            flex-direction: column;
            border-radius: 10px;
            outline: #bcbcbc64 1px solid;
        }

        .toolbox-handle {
  position: relative;
  width: 60px;
  height: 20px;
  margin: 0 auto -10px auto; /* overlap slightly above the toolbox */
  border: 3px solid #bcbcbc;
  border-bottom: none;
  border-radius: 30px 30px 0 0; /* rounded arc */
  box-shadow: inset 0 -2px 2px rgba(0,0,0,0.3);
}

/* little mounts to attach the handle */
.toolbox-handle::before,
.toolbox-handle::after {
  content: "";
  position: absolute;
  bottom: -3px;
  width: 15px;
  height: 15px;
  background: #bcbcbc;
  border: 2px solid #999;
  border-radius: 2px;
}

.toolbox-handle::before {
  left: -4px;
}

.toolbox-handle::after {
  right: -4px;
}

        .cross-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            background: #575757;
            outline: #bcbcbc64 1px solid;
            padding: .5rem 0;
        }

        .toolbox-logo {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: -2.5rem;
            padding: 1rem 0;
        }

        .toolbox-logo svg {
            height: 40px;
            width: 40px;
            display: block;
            margin: auto;
            border: 2px solid rgba(255, 255, 255, 0.384);
            background-color: #007bff;
            border-radius: 50%;
            padding: .25rem;
            animation: spin 5s linear infinite;
            margin-bottom: -2.5rem;
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to   { transform: rotate(360deg); }
        }



        .toolbox-bottom {
            width: 70%;
            height: 5px;
            margin: 0 auto;
            display: flex;
        }

        .toolbox-bottom-left {
            height: 100%;
            width: 30px;
            background: linear-gradient(to top, #969494 0%, #4c4c4c 100%);
            border-radius: 0 0 10px 10px;
        }

        .toolbox-bottom-right {
            height: 100%;
            width: 30px;
            background: linear-gradient(to top, #969494 0%, #4c4c4c 100%);
            border-radius: 0 0 10px 10px;
            margin-left: auto;
        }
























        /*------- ECLIPSE WEB DEV ILLUSTRATION -------*/
        .eclipse-scene {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            background: linear-gradient(to top, #007bff 0%, #1A1A1A 100%);
            background-size: 100% 200%; /* double the height to allow "movement" */
            background-position: 0% 100%; /* start with blue at bottom */
            animation: pulse-bg 4s ease-in-out infinite;
            width: 100%;
            height: 255px;
            min-width: 288px;
            max-width: 830px;
            padding: 2rem 0;
            border-radius: 10px 10px 0 0;
            outline: #bcbcbc64 1px solid;
            border-bottom: 1px solid #BCBCBC;
        }


        /* Eclipse Screen */
        .eclipse-screen {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 225px;
            height: 150px;
            position: relative;
            border-radius: 5px;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            outline: #bcbcbc64 1px solid;
            padding: .5rem;
            margin-right: 1.25rem;
            box-shadow: var(--shadowdark);
        }

        .eclipse-screen img {
            background-size: cover;
            background-position: center;
            height: 100%;
            width: 100%;
            outline: #bcbcbc64 1px solid;
            border: 10px solid #1A1A1A;
            border-radius: 3px;
        }


        /* Eclipse Phone */
        .eclipse-phone {
            position: relative;
            margin-left: -6rem;
            margin-bottom: -5rem;
        }

        .eclipse-phone-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 120px;
            width: 65px;
            border-radius: 5px;
            background-color: #131313;
            outline: #bcbcbc64 1px solid;
        }

        .eclipse-phone-screen {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: .25rem;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            height: 115px;
            width: 60px;
            border-radius: 3px;
            padding: .25rem;
        }

        .eclipse-phone-top {
            height: 6px;
            width: 22px;
            border-radius: 10px;
            background-color: #131313;
        }

        .eclipse-row-1 {
            height: 30px;
            width: 100%;
            background-color: #007bff;
            border-radius: 5px;
            animation: glowPulse 2s ease-in-out infinite;
        }

        @keyframes glowPulse {
            0%, 100% {
                background-color: #007bff;
                box-shadow: none;
            }
            50% {
                background-color: #248eff;
                box-shadow: 0 0 10px rgb(0, 123, 255);
            }
        }

        .eclipse-row-2 {
            display: flex;
            gap: .2rem;
            width: 100%;
        }

        .eclipse-row-2-1, .eclipse-row-2-2 {
            width: 50%;
            height: 22px;
            background: linear-gradient(to bottom, #7C7C7C 0%, #d6d6d6 100%);
            border-radius: 3px;
            gap: 1px;
        }

        .eclipse-row-3 {
            display: flex;
            gap: .2rem;
            width: 100%;
        }

        .eclipse-row-3-1, .eclipse-row-3-2 {
            width: 50%;
            height: 22px;
            background: linear-gradient(to top, #7C7C7C 0%, #d6d6d6 100%);
            border-radius: 3px;
        }

        .eclipse-row-4 {
            width: 100%;
            background-color: red;
            height: 10px;
            border-radius: 3px;
            animation: glowPulse 2s ease-in-out infinite;
        }

        .eclipse-row-2-1, .eclipse-row-2-2,
        .eclipse-row-3-1, .eclipse-row-3-2 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 1px;
            outline: #bcbcbc64 1px solid;
        }

        .eclipse-row-text-mock-large {
            height: 30%;
            width: 100%;
            background-color: #4b4b4b;
            border-radius: 2px;
            outline: #bcbcbc64 1px solid;
        }

        .eclipse-row-text-mock-small {
            height: 30%;
            width: 90%;
            border-radius: 2px;
            background-color: #747474;
        }

        

        /*------- METRO FAMILY CENTER ILLUSTRATION -------*/
        .family-center-tab {
            position: relative;
            margin-right: -5rem;
            z-index: 1;
        }

        .family-center-tab-container {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: .25rem;
            height: 60px;
            width: 100px;
            padding: .75rem 1rem;
            border-radius: 10px;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            outline: #bcbcbc64 1px solid;
            animation: float 5s ease-in-out infinite;
        }

        .family-center-tab-container-1,
        .family-center-tab-container-2,
        .family-center-tab-container-3 {
            animation: glowPulse 2s ease-in-out infinite;
            width: 100%;
            height: 30%;
            border-radius: 3px;
            outline: #bcbcbc64 1px solid;
        }

        .family-center-scene {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            min-width: 288px;
            background: linear-gradient(to top, #f8981d 0%, #1A1A1A 100%);
            background-size: 100% 200%; /* double the height to allow "movement" */
            background-position: 0% 100%; /* start with blue at bottom */
            animation: pulse-bg 4s ease-in-out infinite;

            width: 100%;
            height: 255px;
            padding: 2rem 0;
            border-radius: 10px 10px 0 0;
            outline: #bcbcbc64 1px solid;
            border-bottom: 1px solid #BCBCBC;
        }

        /* Keyframes for smooth horizontal gradient movement */
        @keyframes gradientShift {
            0%   { background-position: 0% 50%; }
            100% { background-position: 200% 50%; }
        }

        .family-center-monitor {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 225px;
            height: 150px;
            position: relative;
            border-radius: 5px;
            background: #131313;
            outline: #bcbcbc64 1px solid;
            padding: .5rem;
            box-shadow: var(--shadowdark);
        }

        .family-center-screen {
            display: flex;
            gap: .5rem;
            background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
            width: 100%;
            height: 100%;
            border-radius: 3px;
            padding: .5rem;
            outline: #bcbcbc64 1px solid;
        }

        .family-center-edit {
            position: relative;
            height: 100%;
            width: 50%;
            border-radius: 3px;
            background: linear-gradient(to bottom, #cfcfcf 0%, #4c4c4c 100%);
            overflow: hidden;
        }

        /* marching ants border */
        .family-center-edit::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            padding: 2px; /* border thickness */
            background: 
                linear-gradient(90deg, #ffffff 50%, transparent 0) repeat-x,
                linear-gradient(90deg, #ffffff 50%, transparent 0) repeat-x,
                linear-gradient(0deg,  #ffffff 50%, transparent 0) repeat-y,
                linear-gradient(0deg,  #ffffff 50%, transparent 0) repeat-y;
            background-size: 20px 2px, 20px 2px, 2px 20px, 2px 20px;
            background-position: 0 0, 0 100%, 0 0, 100% 0;
            animation: dashMove 1s linear infinite;
            -webkit-mask: 
                linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
                    mask-composite: exclude;
        }

        @keyframes dashMove {
            to {
                background-position: 
                    20px 0,       /* top:  + moves →  , - moves ← */
                    -20px 100%,    /* bottom: + moves →  , - moves ← */
                    0 -20px,       /* left:  + moves ↓  , - moves ↑ */
                    100% 20px;    /* right: + moves ↓  , - moves ↑ */
            }
        }


.family-center-dashboard {
    height: 100%;
    width: 50%;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.family-center-dashboard-video {
    width: 100%;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    height: 50%;
    border-radius: 3px;
    outline: #bcbcbc64 1px solid;
    background-color: #f8981d;
}

.family-center-dashboard-video img {
    width: 100%;
    height: 100%;
}

.family-center-dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    height: 50%;
    width: 100%;
    border-radius: 3px;
    background: linear-gradient(to bottom, #cfcfcf 0%, #4c4c4c 100%);
    padding: .25rem;
    outline: #bcbcbc64 1px solid;
}

.family-center-dashboard-container-1,
.family-center-dashboard-container-2, 
.family-center-dashboard-container-3,
.family-center-dashboard-container-4 {
    height: 47%;
    width: 47%;
    border-radius: 3px;
    outline: #bcbcbc64 1px solid;
}

.family-center-dashboard-container-1,
.family-center-dashboard-container-4 {
    background: linear-gradient(-270deg, #f8981d, #72460c, #f8981d);
    animation: gradientShift 10s linear infinite;
    background-size: 800% 800%;
}

.family-center-dashboard-container-2,
.family-center-dashboard-container-3 {
    background: linear-gradient(270deg, #007bff, #003a77, #007bff);
    animation: gradientShift 10s linear infinite;
    background-size: 800% 800%;
}






        .experience-info {
            padding: 2rem 1rem 2rem 1rem;
            background-color: #222222;
            border-radius: 0 0 10px 10px;
            width: 100%;
            min-width: 288px;
            outline: #bcbcbc64 1px solid;
            position: relative;
        }

        .experience-info-position {
            color: white;
            text-transform: uppercase;
            display: flex;
            padding-bottom: .5rem;
        }

        .experience-info-position span:nth-child(2) {
            margin-left: auto;
            
            color: #007bff;
        }

        .experience-info h3 {
            text-transform: uppercase;
            padding-bottom: 1rem;
        }

        .experience-info p {
            font-weight: 300;
            line-height: 1.5rem;
        }

        .experience-info-tasks {
  max-height: 0;
  overflow: hidden;
  transform: translateY(-10px);
  opacity: 0;
  transition: 
    max-height 0.5s ease, 
    transform 0.5s ease, 
    opacity 0.4s ease;
  list-style-type: circle;
  padding-top: 1rem;
            transform: translateY(-5%); /* Initial position for slide-down */
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

        .experience-info-tasks li {
            font-weight: 200;
            text-transform: capitalize;
            color: #b4b4b4;
        }


/* Expanded state */
.experience-info-tasks.open {
  max-height: 500px; /* large enough to fit contents */
}




/* Toggle button */
.tasks-toggle {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .5rem;
  background: #007bff;
  color: #fff;
  border: 1px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: -2.25rem;
}

.tasks-toggle:hover {
  background: #0056b3;
}

.tasks-toggle svg {
    height: 25px;
}

/* Hide the button on tablets/desktops */
@media screen and (min-width: 768px) {
  .tasks-toggle {
    display: none;
  }
  
  /* Always show tasks on desktop */
  .experience-info-tasks {
    max-height: none;
    overflow: visible;
  }
}





        .moraine-scene {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            background: linear-gradient(to top, #035545 0%, #1A1A1A 100%);
            width: 100%;
            height: 255px;
            max-width: 830px;
            border-radius: 10px 10px 0 0;
            outline: #bcbcbc64 1px solid;
            border-bottom: 1px solid #BCBCBC;
            min-width: 288px;
        }







       .circular-container {
    position: relative;
    width: 300px;
    height: 300px;
}

/* Orbit path */
.connecting-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    outline: #bcbcbc64 3px solid;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
}


/* Center circle */
.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image: url(images/moraine.png);
    outline: #bcbcbc64 1px solid;
    box-shadow: var(--shadowdark);
    
}





/* Orbit wrapper (rotates continuously) */
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

/* Small circles */
.outer-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    outline: #bcbcbc64 1px solid;
    border-radius: 50%;
    background: linear-gradient(to bottom, #035545 0%, #1A1A1A 100%);
    display: flex;
    padding: .5rem;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
}

.outer-circle svg {
    height: 34px;
    width: 34px;
}

/* Place circles evenly spaced around orbit */
/* Place circles evenly spaced ON the connecting circle path */
.outer-circle:nth-child(1) { transform: rotate(0deg) translateX(-25px) translateY(-120px) rotate(0deg); }
.outer-circle:nth-child(2) { transform: rotate(0deg) translateX(60px) translateY(-70px) rotate(0deg); }
.outer-circle:nth-child(3) { transform: rotate(0deg) translateX(60px) translateY(20px) rotate(0deg); }
.outer-circle:nth-child(4) { transform: rotate(0deg) translateX(-25px) translateY(70px) rotate(0deg); }
.outer-circle:nth-child(5) { transform: rotate(0deg) translateX(-110px)  translateY(23px) rotate(0deg); }
.outer-circle:nth-child(6) { transform: rotate(0deg) translateX(-110px) translateY(-70px) rotate(0deg); }


/* Rotation animation */
@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

















.dots-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

/* Base line (static background line) */
.dots-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    height: 10px;
    background: white;
    border: 1px solid #00000064;
    transform: translateY(-50%);
    z-index: 0;
    left: var(--line-start, 15px);
    width: var(--total-line-width, calc(100% - 30px));
}

/* Progress line (dynamic foreground line) */
.dots-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--line-start, 15px);
    height: 10px;
    background: #007bff;
    transform: translateY(-50%);
    z-index: 0;
    transition: width 0.3s ease;
    width: var(--progress-width, 0);
}

.dot {
    width: 30px;
    height: 30px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    z-index: 1; /* Place above lines */
    transition: background 0.3s ease;
}

.dot.active {
    background: #007bff;
}












    @media screen and (min-width: 400px) {
        #myExperience {
            padding: 3rem 1.5rem;
        }

    }

    @media screen and (min-width: 480px) {
        #myExperience {
            padding: clamp(3rem,calc(3.2608695652vw + 2.347826087rem),4.875rem);
        }

        .experience-header {
            padding-left: 0;
        }

        .experience-wrapper .experience-container:nth-child(1) {
            padding-left: 0;
        }
    }

    @media screen and (min-width: 768px) {
        #myExperience {
            padding: clamp(3rem,calc(3.2608695652vw + 2.347826087rem),4.875rem);
        }

        .experience-header h2 {
            font-size: var(--fontheader768);
            line-height: 3rem;
        }
        
        .experience-intro h2 {
            font-size: var(--fontheader768);
        }

        .experience-info {
            max-width: 830px;
        }

        .experience-info h3 {
            font-size: 2rem;
        }

        .experience-info p {
            width: 90%;
            line-height: 1.75rem;
            font-size: 1.25rem;
        }

        .experience-info-tasks li {
            font-size: 1rem;
        }
    }





    @media screen and (min-width: 1024px) {
        #myExperience {
            padding-right: 0 !important;
        }

        .experience-header {
        padding-right: 8rem;
        padding-bottom: 2rem;
        display: flex;
        text-align: end;
        width: 100%;
        position: relative;
    }

    .experience-header::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: calc(100% - 550px);
        margin-left: 3rem;
        margin-top: -.75rem;
        height: 2px;
        background: #007bff;
        border-radius: 2px;
    }

        .experience-header h2 {
            margin-left: auto;
        }
        
        .experience-container {
            flex-direction: row-reverse;
            padding-left: 1rem !important;
            gap: 1rem;
        }

        .experience-info {
            background: none;
            outline: none;
            padding-left: 2rem;
        }

        .eclipse-scene, .moraine-scene, .governors-scene, .family-center-scene {
            background: none;
            border-bottom: none;
            outline: none;
            padding: 0;
        }









        .governors-screen {
            width: 300px;
            height: 200px;
        }

        .toolbox-box {
            width: 155px;
            height: 100px;
        }

        .orbit {
            height: 300px;
            width: 300px;
        }

        .center-circle {
            width: 200px;
            height: 200px;
        }

        .connecting-circle {
            height: 300px;
            width: 300px;
        }

        .outer-circle {
            height: 60px;
            width: 60px;
        }

        /* Place circles evenly spaced around orbit */
/* Place circles evenly spaced ON the connecting circle path */
.outer-circle:nth-child(1) { transform: rotate(0deg) translateX(-25px) translateY(-180px) rotate(0deg); }
.outer-circle:nth-child(2) { transform: rotate(0deg) translateX(100px) translateY(-100px) rotate(0deg); }
.outer-circle:nth-child(3) { transform: rotate(0deg) translateX(110px) translateY(40px) rotate(0deg); }
.outer-circle:nth-child(4) { transform: rotate(0deg) translateX(-25px) translateY(120px) rotate(0deg); }
.outer-circle:nth-child(5) { transform: rotate(0deg) translateX(-160px)  translateY(40px) rotate(0deg); }
.outer-circle:nth-child(6) { transform: rotate(0deg) translateX(-160px) translateY(-100px) rotate(0deg); }

























        .family-center-scene {
            padding-right: 4rem;
        }

        .family-center-monitor {
            width: 300px;
            height: 200px;
        }

        .family-center-tab-container {
            height: 75px;
            width: 125px;
        }














        .eclipse-screen {
            width: 300px;
            height: 200px;
        }

        /* Eclipse Phone */
        .eclipse-phone {
            position: relative;
            margin-left: -6rem;
            margin-bottom: -5rem;
        }

        .eclipse-phone-container {
            height: 150px;
            width: 80px;
            border-radius: 10px;
        }

        .eclipse-phone-screen {
            height: 145px;
            width: 75px;
            padding: .25rem;
            border-radius: 8px;
        }

        .eclipse-row-1 {
            height: 40px;
        }


        .eclipse-row-2-1, .eclipse-row-2-2 {
            height: 32px;
        }

        .eclipse-row-3-1, .eclipse-row-3-2 {
            height: 32px;
        }

        .dots-nav {
            padding-right: 5rem;
        }

    }




























    @media screen and (min-width: 1248px) {
        .experience-header h2 {
            font-size: var(--fontheader1248);
        }

        .experience-header::before {
        width: calc(100% - 700px);
        margin-left: 3rem;
        margin-top: -.75rem;
        height: 2px;
        background: #007bff;
        border-radius: 2px;
    }

        .experience-info-position span {
            font-size: 1.25rem;
        }

        .experience-info h3 {
            font-size: 3rem;
            padding-top: 1rem;
        }

        .experience-info p {
            font-size: 1.5rem;
        }

        .experience-info-tasks li {
            font-size: 1.25rem;
        }
    }














































#aboutMe {
    padding: clamp(3rem, calc(3.2608695652vw + 2.347826087rem), 4.875rem) 1rem;
    background-color: rgb(34,34,34);
}

.about-intro {

}

.about-intro h2 {
    font-weight: 400;
    padding-bottom: 2rem;
    max-width: 320px;
}

.about-intro span {
    font-weight: 200;
}

.about-intro p {
    font-weight: 300;
    line-height: 1.5rem;
}







.about-container-wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Always 2 per row */
    gap: 1rem;
    justify-items: center; /* centers them horizontally */
    align-items: center;
    overflow-x: hidden;
    padding-top: 5rem;
}

.about-container {
    padding: .75rem;
    width: 99%;
    height: 99%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border-radius: 10px;
    outline: #bcbcbc64 1px solid;
    display: flex;             /* layout img + info side by side */
    flex-direction: column;
    gap: .5rem;
}

.about-container-img {
    flex: 0 0 20%;              /* ~55% of container width */
    max-width: 20%;             /* cap at 60% */
    min-width: 20%;             /* never shrink below 50% */
    height: auto;               /* keep proportions */
}

.about-container-info {
    flex: 1;                    /* takes remaining space */
}

.about-container-info h4 {
    width: 80%;
    font-size: 1.25rem;
    font-weight: 400;
}

.about-container-info p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 200;
    max-width: 280px;
}





@media screen and (min-width: 550px) {
    #aboutMe {
        padding: clamp(3rem,calc(3.2608695652vw + 2.347826087rem),4.875rem);
    }
    .about-container-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container-info h4 {
        line-height: 1.5rem;
        padding-bottom: .5rem;
        max-width: 140px;
    }
}

@media screen and (min-width: 768px) {
    .about-intro h2 {
        font-size: 3rem;
        max-width: 400px;
        line-height: 3rem;
    }
    
    .about-container {
        padding: 1.5rem;
    }
    
    .about-container-info h4 {
        font-size: 2rem;
        max-width: 210px;
        line-height: 2rem;
    }

    .about-container-info p {
        font-size: 1.25rem;
        max-width: 100%;
    }
}

@media screen and (min-width: 1024px) {
    #aboutMe {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

    }

    .about-intro {
        max-width: 1248px;
        width: 90%;
    }

    .about-intro p {
        max-width: 90%;
    }
    
    .about-container-wrapper {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1248px;
        width: 90%;
    }

    .about-container-img {
        flex: 0 0 25%;              /* ~55% of container width */
        max-width: 25%;             /* cap at 60% */
        min-width: 25%;             /* never shrink below 50% */
    }

    .about-container-info h4 {
        font-size: 1.75rem;
        max-width: 168px;
    }

    .about-container-info p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media screen and (min-width: 1248px) {
    .about-intro h2 {
        font-size: 4rem;
        max-width: 600px;
        line-height: 4.25rem;
    }

    .about-intro p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    .about-container-info h4 {
        font-size: 2.25rem;
        line-height: 2.5rem;
        max-width: 221px;
    }

    .about-container-info p {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }
}

@media screen and (min-width: 1440px) {
    .about-intro {
        width: 95%;
    }

    .about-intro p {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .about-container-info h4 {
        max-width: 100%;
        width: 100%;
    }

    .about-container-info p {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .about-container-wrapper {
        width: 95%;
    }
}






























#myPortfolio {
   padding: clamp(3rem, calc(3.2608695652vw + 2.347826087rem), 4.875rem) 1rem;
}

.portfolio-intro {
    padding-bottom: 5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portfolio-intro h2 {
    font-weight: 200;
    padding-bottom: 2rem;
    max-width: 300px;
}

.portfolio-intro span {
    font-weight: 400;
}

.portfolio-intro p {
    font-weight: 300;
    line-height: 1.5rem;
    max-width: 750px;
}



.portfolio-container-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portfolio-container {
    max-width: 708px;
    max-height: 541px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portfolio-container-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-container-img img {
    border-radius: 10px;
    transition: transform 0.5s ease;
    max-width: 100%;
    height: auto;
}

.portfolio-container-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.portfolio-container-info h3 {
  padding: 0;
  font-size: 1.25rem;
  font-weight: 400;
  text-transform: uppercase;
  display: inline-flex;        /* arrow + text in one row */
  align-items: center;         /* vertical centering */
  transition: transform 0.5s ease;
  position: relative;
}

.portfolio-container-info h3::before {
    content: "→";
    position: absolute;
    left: -30px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
    font-size: 2rem;
    bottom: 15%;                
}

.portfolio-container:hover .portfolio-container-img img {
  transform: scale(1.05);
}

.portfolio-container:hover .portfolio-container-info h3 {
  transform: translateX(30px);
  padding-left: 1rem;
  color: #ffffff;
  text-shadow: 1px 3px 0px #007bff;
}

.portfolio-container:hover .portfolio-container-info h3::before {
  opacity: 1;
  transform: translateX(0);
}

.portfolio-container-info p {
    font-weight: 300;
    line-height: 1.5rem;
    font-size: 1rem;
    color: #8c8c8c;
    max-width: 415px;
}













/* Overlay container */
.portfolio-container-img {
  position: relative; /* Needed for overlay positioning */
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-overlay {
  position: absolute;
  bottom: -100%; /* Hidden off canvas */
  left: 0;
  width: 100%;
  height: 50%;
  background: rgba(0, 123, 255, 0.521); /* translucent white */
  backdrop-filter: blur(20px);          /* blur effect */
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: bottom 0.5s ease;
  border-radius: 0px 0px 10px 10px;
}

.portfolio-overlay h4 {
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Hover effect */
.portfolio-container:hover .portfolio-overlay {
  bottom: 0; /* Slide up into view */
}











@media screen and (min-width: 550px) {
    #myPortfolio {
        padding: clamp(3rem,calc(3.2608695652vw + 2.347826087rem),4.875rem);
    }
}




@media screen and (min-width: 768px) {
    #myPortfolio {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .portfolio-container-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .portfolio-container {
        max-height: 491px;
        max-width: 335px;
    }

    .portfolio-intro h2 {
        line-height: 3rem;
        max-width: 400px;
        font-size: var(--fontheader768);
    }

}

@media screen and (min-width: 1024px) {
    
    .portfolio-container-wrapper {
        max-width: 832px;
    }
    
    .portfolio-container {
        max-height: 500px;
        max-width: 400px;
    }

    .portfolio-container-info {
        padding: 0;
    }

    .portfolio-container-info h3 {
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1248px) {
    .portfolio-intro h2 {
        font-size: var(--fontheader1248);
        line-height: 4.25rem;
    }

    .portfolio-intro p {
        font-size: var(--fontparagraph1248);
        line-height: 1.5rem;
        max-width: 900px;
    }
    
    .portfolio-container-wrapper {
        max-width: 1200px;
    }
    
    .portfolio-container {
        max-height: 600px;
        max-width: 500px;
    }
}

@media screen and (min-width: 1440px) {
    .portfolio-container-wrapper {
        max-width: 1300px;
    }
    
    .portfolio-container {
        max-height: 700px;
        max-width: 600px;
    }

    .portfolio-intro p {
        font-size: var(--fontparagraph1440);
        line-height: 2rem;
        max-width: 70%;
    }
}


























#contactMe {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to top, #012f61 0%, #1A1A1A 100%);
    background-size: 100% 200%; /* double the height to allow "movement" */
    background-position: 0% 50%; /* start with blue at bottom */
    animation: pulse-bg 15s ease-in-out infinite;
}

.contact-intro {
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    padding: clamp(3rem,calc(3.2608695652vw + 2.347826087rem),4.875rem);
    z-index: 100;
}

.contact-intro h2 {
    font-weight: 500;
    line-height: 2.5rem;
    padding-bottom: 1rem;
    letter-spacing: .1rem;
    max-width: 250px;
}

.contact-intro span {
    font-weight: 200;
}
















.contact-divider {
  position: relative;
  width: 1px;
  height: 80px;              /* adjust length */
  margin: 0 auto 2rem auto;
  background: #000000;          /* base gray line */
  overflow: hidden;
  border-radius: 2px;
  margin-top: -3rem;
}

.contact-divider::before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: top;
  animation: wipeFill 1.5s linear infinite;
}

@keyframes wipeFill {
  0% {
    transform: scaleY(0);   /* start empty */
    top: 0;                 /* stick to top */
  }
  50% {
    transform: scaleY(1);   /* fully filled */
    top: 0;                 /* still anchored at top */
  }
  100% {
    transform: scaleY(1);   /* same size */
    top: 100%;              /* slide all the way down */
  }
}





#fillButtonContact {
    width: fit-content;
    margin: 0 auto;
}






/* ==========================================================================
   8. KNIFE-EDGE BORDER EFFECT
   ========================================================================== */

@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.knife-edge-border {
    position: relative;
    border-radius: 20px;
    background-color: var(--colorsecondary);
    color: white;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.knife-edge-border::before,
.knife-edge-border::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    pointer-events: none;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.knife-edge-border::before {
    background: conic-gradient(
        from var(--border-angle),
        transparent 0%,
        transparent 43%,
        rgba(255, 255, 255, 0.3) 46%,
        rgba(255, 255, 255, 0.85) 48%, 
        white 50%,
        rgba(255, 255, 255, 0.85) 52%,
        rgba(255, 255, 255, 0.3) 54%,
        transparent 57%,
        transparent 100%
    );
    animation: knife-rotate 5s linear infinite;
}

@keyframes knife-rotate {
    from { --border-angle: 0deg; }
    to { --border-angle: 360deg; }
}


@property --dual-border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Dual knife-edge border class */
.dual-knife-edge-border {
  position: relative;
  background-color: var(--colorsecondary); /* Card background color - customize as needed */
  color: white;
  box-sizing: border-box;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Optional shadow for the card */
}

/* Common properties for both lights */
.dual-knife-edge-border::before,
.dual-knife-edge-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 2px; /* Border width */
  pointer-events: none;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

/* First light */
.dual-knife-edge-border::before {
  background: conic-gradient(
    from var(--dual-border-angle),
    transparent 0%,
    transparent 43%,
    rgba(255, 255, 255, 0.3) 46%,
    rgba(255, 255, 255, 0.85) 48%, 
    white 50%,
    rgba(255, 255, 255, 0.85) 52%,
    rgba(255, 255, 255, 0.3) 54%,
    transparent 57%,
    transparent 100%
  );
  animation: dual-knife-rotate 5s linear infinite;
}

/* Second light (opposite side) */
.dual-knife-edge-border::after {
  background: conic-gradient(
    from calc(var(--dual-border-angle) + 180deg),
    transparent 0%,
    transparent 43%,
    rgba(255, 255, 255, 0.3) 46%,
    rgba(255, 255, 255, 0.85) 48%, 
    white 50%,
    rgba(255, 255, 255, 0.85) 52%,
    rgba(255, 255, 255, 0.3) 54%,
    transparent 57%,
    transparent 100%
  );
  animation: dual-knife-rotate 5s linear infinite;
}

/* Animation for the dual rotating lights */
@keyframes dual-knife-rotate {
  from { --dual-border-angle: 0deg; }
  to { --dual-border-angle: 360deg; }
}







.contact-skills-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    flex: 0 0 100%;
    width: 100%;
    padding: 5rem 0;
}



.contact-skills-group {
    display: flex;
    will-change: transform; /* We should be nice to the browser - let it know what we're going to animate. */
     min-width: 100%; /* ensures each group always spans at least the full viewport */
    animation: scrolling 50s linear infinite;
    gap: 2rem;
    padding-right: 2rem;
    flex-shrink: 0;
}


.contact-skills-container {
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    height: 250px;
    width: 250px;
    border-radius: 10px;
    flex: 0 0 auto;
    outline: #bcbcbc64 1px solid;
}

.contact-skills-group .contact-skills-container:nth-child(1) {
    background-image: url(images/contact-email-marketing.webp);
}

.contact-skills-group .contact-skills-container:nth-child(2) {
    background-image: url(images/contact-coding.jpg);
}

.contact-skills-group .contact-skills-container:nth-child(3) {
    background-image: url(images/contact-web-design.jpg);
}

.contact-skills-group .contact-skills-container:nth-child(4) {
    background-image: url(images/contact-graphic-design.jpg);
}

.contact-skills-group .contact-skills-container:nth-child(5) {
    background-image: url(images/contact-it-support.webp);
}

.contact-skills-group .contact-skills-container:nth-child(6) {
    background-image: url(images/contact-video.jpg);
}

.contact-skills-info {
    background: rgba(255, 255, 255, 0.2); /* translucent white */
    backdrop-filter: blur(20px);          /* blur effect */
    -webkit-backdrop-filter: blur(20px);  /* Safari support */
    margin-top: auto;
    border-radius: 0px 0px 10px 10px;                  /* optional: rounded corners */
    padding: 1rem;                        /* optional: spacing */
    color: #fff;                          /* text stands out */
    border-top: 1px solid rgba(255, 255, 255, 0.161);
}

.contact-skills-info h3 {
    padding: 0;
    font-size: 1.25rem;
}

.contact-skills-info p {
    font-weight: 400;
    line-height: 1.25rem;
    font-size: .75rem;
}

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













@media screen and (min-width: 768px) {
    .contact-intro h2 {
        font-size: 3rem;
        line-height: 3rem;
        max-width: 350px;
    }
}


@media screen and (min-width: 1248px) {
    .contact-intro h2 {
        font-size: 4rem;
        line-height: 4.25rem;
        max-width: 500px;
    }
}


@media screen and (min-width: 1440px) {

}





















































/* ==========================================================================
   13. FOOTER
========================================================================== */
.footer-section {
          background: #131313;
          position: relative;
        }
        .footer-container {
          padding: 1rem;
        }
        .footer-cta {
          border-bottom: 1px solid #373636;
          padding-bottom: 1rem;
        }
        .single-cta svg {
          color: #007bff;
          height: 25px;
          float: left;
          margin-top: 5px;
        }
        .cta-text {
          padding-left: 15px;
          display: inline-block;
        }
        .cta-text h4 {
          color: #fff;
          font-size: 20px;
          font-weight: 600;
          margin-bottom: 2px;
        }
        .cta-text span {
          color: #757575;
          font-size: 15px;
        }
        .footer-content {
          position: relative;
          z-index: 2;
        }
        .footer-pattern img {
          position: absolute;
          top: 0;
          left: 0;
          height: 330px;
          background-size: cover;
          background-position: 100% 100%;
        }
        .footer-logo {
          margin-bottom: 30px;
        }
        .footer-logo img {
            max-width: 200px;
            border-radius: 5px;
        }
        .footer-text p {
          margin-bottom: 14px;
          font-size: 14px;
          color: #7e7e7e;
          line-height: 28px;
        }
        .footer-social-icon-wrapper {
          display: flex;
          padding-bottom: 1rem;
        }
        .footer-social-icon span {
          color: #fff;
          display: block;
          font-size: 20px;
          font-weight: 700;
          font-family: 'Poppins', sans-serif;
          margin-bottom: 20px;
        }
        .footer-social-icon a {
          color: #fff;
          font-size: 16px;
          margin-right: 15px;
        }
        .footer-social-icon svg {
          height: 40px;
          width: 40px;
          text-align: center;
          line-height: 38px;
          border-radius: 50%;
        }
        .facebook-bg{
          background: #3B5998;
        }
        .twitter-bg{
          background: #55ACEE;
        }
        .google-bg{
          background: #DD4B39;
        }
        .footer-widget {
          padding-top: 1rem;
        }
        .footer-widget-heading h3 {
          color: #fff;
          font-size: 20px;
          font-weight: 600;
          margin-bottom: 40px;
          position: relative;
        }
        .footer-widget-heading h3::before {
          content: "";
          position: absolute;
          left: 0;
          bottom: -15px;
          height: 2px;
          width: 50px;
          background: #007bff;
        }
        .footer-widget ul li {
          display: inline-block;
          float: left;
          width: 50%;
          margin-bottom: 12px;
        }
        .footer-widget ul li a:hover{
          color: #007bff;
        }
        .footer-widget ul li a {
          color: #878787;
          text-transform: capitalize;
          text-decoration: none;
        }
        .subscribe-form {
          position: relative;
          overflow: hidden;
        }
        .subscribe-form input {
          width: 100%;
          padding: 14px 28px;
          background: #2E2E2E;
          border: 1px solid #2E2E2E;
          color: #fff;
        }
        .subscribe-form button {
            position: absolute;
            right: 0;
            background: #007bff;
            padding: 13px 20px;
            border: 1px solid #007bff;
            top: 0;
            cursor: pointer;
        }
        .subscribe-form button svg {
          color: #fff;
          height: 25px;
          transform: rotate(-6deg);
        }
        .copyright-area{
          background: #202020;
          padding-top: 1rem;
        }
        .copyright-text p {
          margin: 0;
          font-size: 14px;
          color: #878787;
          text-align: center;
        }
        .copyright-text p a{
          color: #007bff;
          text-decoration: none;
        }
        .footer-menu li {
          display: inline-block;
          margin-left: 20px;
        }
        .footer-menu li:hover a{
          color: #007bff;
        }
        .footer-menu li a {
          font-size: 14px;
          color: #878787;
          text-decoration: none;
        }
        .footer-menu ul {
            list-style: none;
            margin-bottom: 0;
        }

/* Updated media query to ensure footer widgets stay on same line and proper CTA positioning */
@media screen and (min-width: 992px) {
  .footer-container {
    max-width: 960px;
    margin: 0 auto; /* Center the container */
    display: flex;
    flex-direction: column;
    padding: 1rem;
  }
  
  /* Footer CTA section - ensure it stays on top and centered */
  .footer-cta {
    width: 100%;
    order: 1;
  }
  
  .footer-cta .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
  }
  
  /* Footer content section - comes after CTA and centered */
  .footer-content {
    width: 100%;
    order: 2;
  }
  
  .footer-content .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
  }
  
  .footer-content .row > [class*="col-"] {
    flex: 1;
    max-width: none;
    margin-bottom: 0;
  }
  
  .footer-widget {
    height: 100%;
  }
}

body.light-mode #contact {
    margin-top: 10px;
}

body.light-mode .contact-header {
    color: var(--colorprimary)
}

option {
    color: var(--colorsecondary)
}












































































































































