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

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');


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

    --colorborder: 1px solid rgba(188, 188, 188, 0.39);
    
    /* Typography Variables */
    --fontfamily: "Red Hat Display", sans-serif;
    --h1: bold 54px/64px var(--fontfamily);
    --h2: bold 32px/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;
    color: var(--colorprimary);
    background-color: var(--colorsecondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: color var(--transition), background-color var(--transition);
}

/* 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 4s ease-in-out infinite;
}

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

.float-slow {
    animation: float 6s 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; }















/* ==========================================================================
   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; }
}

body.light-mode .knife-edge-border {
    box-shadow: none;
}

.intro-icon {
    text-transform: uppercase;
    background-color: #000000;
    padding: 0rem .75rem;
    border-radius: 30px;
    font-size: .75rem;
    border: 1px solid #313131;
    width: fit-content;
    font-weight: 900;
}



































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

/* Base Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled-past {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 102;
    padding: .5rem 1rem;
    border-radius: 5px;
    background-color: black;
    /* Only transition padding, not all properties */
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When visible, allow the animation transitions */
.logo.visible {
    transition: opacity 0.6s ease, transform 0.6s ease, padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo img {
    height: 25px;
    width: auto;
    border-radius: 5px;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--colorsecondary);
    width: 100%;
    height: calc(100vh - 70px);
    padding: 1rem 0;
    text-align: start;
    transition: all var(--transition);
    box-shadow: var(--shadowdark);
    overflow-y: auto;
    z-index: 101;
    display: flex;
    list-style: none;
    margin: 0;
}

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

/* Navigation Items */
.nav-item {
    position: relative;
    width: 100%;
    padding-left: 1rem;
}

.nav-link {
    font: var(--links);
    color: var(--coloraccent);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color var(--transition);
    text-decoration: none;
    font-weight: 500;
}

.nav-link svg {
    height: 25px;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-link:hover svg {
    transform: rotate(180deg);
}

.nav-link.active svg {
    transform: rotate(180deg);
}

.nav-link h4 {
    font-weight: 900;
    font-size: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--colorprimary);
}

/* Dropdown Menus */
.dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.dropdown.active + .dropdown-toggle svg,
.dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.dropdown {
    max-height: 0;
    overflow: hidden;
    background-color: var(--colorsecondary);
    width: 100%;
    transition: max-height 0.5s cubic-bezier(0.215, 0.610, 0.355, 1);
    list-style: none;
    opacity: 0;
}

.dropdown.active {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s ease;
    padding-left: 0;
}

/* Dropdown Items */
.dropdown-item {
    padding: 0.75rem 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transition-delay: 0s;
}

.dropdown.active .dropdown-item {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.dropdown.active .dropdown-item:nth-child(2) { transition-delay: 0.25s; }
.dropdown.active .dropdown-item:nth-child(3) { transition-delay: 0.3s; }
.dropdown.active .dropdown-item:nth-child(4) { transition-delay: 0.35s; }

.dropdown-link {
    color: var(--colorprimary);
    font: var(--subtext);
    font-weight: bold;
    text-decoration: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 1.5rem;
}

.dropdown-item-info > span {
    display: none;
}

.dropdown-item-info > p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

.dropdown-link > svg {
    height: 20px;
}

.contact-button {
    background: linear-gradient(to bottom, #046AD5 0%, #238EFF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: var(--colorborder);
    border-radius: 10px;
    gap: .5rem;
    padding: .5rem 1rem;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Allows Button To Play Animations */
.contact-button.visible {
    transition: opacity 0.6s ease, transform 0.6s ease, padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navButton {
    margin-left: auto;
    margin-right: 1rem;
}

.contact-button a {
    font-size: .75rem;
    transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-button svg {
    height: 20px;
    transition: transform 0.3s ease;
}

.contact-button:hover svg {
    transform: rotate(45deg);
}

/* Hamburger Menu */
.hamburger {
    display: block;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 102;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--colorprimary);
    transition: all var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar.scrolled-past {
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled-past .logo {
    padding: .25rem .75rem;
}

.navbar.scrolled-past .logo img {
    height: 20px;
}

.navbar.scrolled-past .contact-button {
    padding: .25rem .75rem;
}

.navbar.scrolled-past .contact-button a {
    font-size: .65rem;
}

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

@media screen and (max-width: 340px) {
    #navButton {
        margin-right: .5rem;
    }
}

/* Desktop Navigation */
@media (min-width: 993px) {
    .navbar {
        padding: 1rem 2rem;
    }
    
    .hamburger {
        display: none;
    }

    .logo img {
        height: 40px;
    }

    .navbar.scrolled-past {
        padding: 0.75rem 1rem;
    }

    .navbar.scrolled-past .logo img {
        height: 30px;
    }
    
    .nav-menu {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        background-color: transparent;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        overflow-y: visible;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    #navButton {
        margin-right: 0;
    }

    .nav-link {
        color: #D4D4D4;
    }

    .nav-link svg {
        display: none;
    }
    
    .nav-item {
        width: auto;
        margin: 0 1rem;
        position: relative;
        padding-left: 0;
    }

    .nav-item:hover .nav-link {
        color: var(--colorprimary);
    }

    .nav-item:hover .nav-link svg {
        transform: rotate(180deg);
    }

    .nav-link {
        padding: 0;
        gap: .25rem;
    }
    
    .dropdown {
        position: absolute;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 250px;
        margin-top: 1rem;
        box-shadow: var(--shadowdark);
        border-radius: 10px;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        max-height: none;
        overflow: visible;
        padding-left: 0;
        padding: 1rem;
        z-index: 105;
    }
    
    .dropdown-item {
        opacity: 1;
        transform: translateY(0);
        transition: none;
        margin-bottom: 0;
        padding: 0;
    }
    
    .nav-item:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .dropdown-toggle::after {
        transition: none;
    }
    
    .dropdown-toggle.active::after {
        transform: none;
    }

    .dropdown-item-info > span {
        display: block;
        color: var(--coloraccent);
    }

    .dropdown-item-info > p {
        line-height: 1.5;
    }

    .dropdown-link {
        gap: .75rem;
        padding-left: 0;
    }

    .dropdown-link > svg {
        min-width: 24px;
        min-height: 24px;
        width: 40px;
        height: 40px;
        background-color: rgba(64, 62, 62, 0.8);
        border-radius: 8px;
        padding: 0.25rem;
        fill: rgb(255, 255, 255);
    }

    .dropdown-link:hover > svg {
        background-color: var(--colorprimary);
        fill: var(--colorsecondary);
    }

    .dropdown-item-info:hover > span {
        color: var(--colorprimary);
    }

    .theme-toggle {
        margin-left: unset !important;
    }

    .navbar.scrolled-past {
        padding: 0.5rem 2rem;
    }

    .contact-button a {
        font-size: 1rem;
        transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar.scrolled-past .contact-button {
        padding: .25rem 1rem;
    }
}

@media screen and (min-width: 1248px) {
    header {
        display: flex;
        justify-content: center;
        background-color: var(--colorprimary);
    }
    
    .navbar {
        padding: 1rem 10rem;
    }

    .navbar.scrolled-past {
        padding: 0.5rem 10rem;
    }
}



























#landing {
  position: relative;
  background: linear-gradient(to bottom, #000000 0%, #044386 100%);
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0 1rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2.25rem;
    line-height: 2.25rem;
}

.hero-content h1 span:nth-child(3) {
    color: #046AD5;
}

.hero-content h1 span {
    display: inline-block;
}

.hero-content p {
    color: #D4D4D4;
    font-size: 1rem;
    max-width: 500px;
}

/* Floating images container */
.floating-images {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-image {
  position: absolute;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.floating-images > div {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-images > div .floating-image {
    position: absolute;
}

/* Position each image using viewport units and calc */
.floating-image--top-left {
  top: 15vh;
  left: 5vw;
  max-width: clamp(150px, 15vw, 250px);
}

.floating-image--top-right {
  top: 12vh;
  right: 8vw;
  max-width: clamp(120px, 12vw, 200px);
}

.floating-image--bottom-left {
  bottom: 5vh;
  left: 8vw;
  max-width: clamp(180px, 18vw, 280px);
  width: 120px;
}

.floating-image--bottom-right {
  bottom: 5vh;
  right: 5vw;
  max-width: clamp(200px, 20vw, 320px);
  width: 160px;
}

.floating-image--middle-left {
  top: 45%;
  left: 2vw;
  transform: translateY(-50%);
  max-width: clamp(250px, 14vw, 220px);
  display: none;
}

.floating-image--middle-right {
    top: 45%;
    right: 2vw;
    transform: translateY(-50%);
    max-width: clamp(250px, 14vw, 220px);
    display: none;
}



@media screen and (min-width: 500px) {
    /* Position each image using viewport units and calc */
    .floating-image--top-left {
        max-width: clamp(200px, 15vw, 250px);
        width: 200px;
    }

    .floating-image--top-right {
        max-width: clamp(160px, 12vw, 200px);
        width: 160px;
    }

    .floating-image--bottom-right {
        max-width: clamp(220px, 20vw, 320px);
        width: 220px;
    }

    .floating-image--bottom-left {
        bottom: 5vh;
        left: 8vw;
        max-width: clamp(180px, 18vw, 280px);
        width: 120px;
    }

    .floating-image--middle-left {
        top: 40%;
        left: -15vw;
        width: 200px;
    }

    .floating-image--middle-right {
        top: 40%;
        right: -15vw;
        transform: translateY(-50%);
        max-width: clamp(250px, 14vw, 220px);
        width: 200px;
    }
}

@media screen and (min-width: 700px) {
    .floating-image--middle-left {
        display: block;
    }

    .floating-image--middle-right {
        display: block;
    }
}


@media screen and (min-width: 768px) {
    .hero-content h1 {
        font-size: 4rem;
        line-height: 4rem;
    }

    .hero-content p {
        color: #D4D4D4;
        font-size: 1.25rem;
        max-width: 600px;
    }
}

@media screen and (min-width: 900px) {
    .floating-image--middle-left {
        left: -5vw;
    }

    .floating-image--middle-right {
        right: -5vw;
    }
}

@media screen and (min-width: 1024px) {
    .floating-image--top-left {
        top: 15vh;
        left: 10vw;
        max-width: clamp(200px, 15vw, 250px);
        width: 200px;
    }

    .floating-image--top-right {
        top: 12vh;
        right: 15vw;
        max-width: clamp(170px, 12vw, 200px);
        width: 170px;
    }

    .floating-image--bottom-left {
        bottom: 8vh;
        left: 10vw;
        max-width: clamp(180px, 18vw, 280px);
        width: 160px;
    }

    .floating-image--bottom-right {
        bottom: 5vh;
        right: 15vw;
        max-width: clamp(220px, 20vw, 320px);
        width: 220px;
    }
    
    .floating-image--middle-left {
        left: 1vw;
        top: 40%;
        width: 150px;
    }

    .floating-image--middle-right {
        right: 1vw;
    }
}

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

    .floating-image--top-left {
        top: 15vh;
        left: 15vw;
    }

    .floating-image--top-right {
        right: 18vw;
    }

    .floating-image--bottom-right {
        bottom: 5vh;
        right: 15vw;
        max-width: clamp(250px, 20vw, 320px);
        width: 250px;
    }

    .floating-image--bottom-left {
        left: 15vw;
    }

    .floating-image--middle-left {
        left: 5vw;
    }

    .floating-image--middle-right {
        right: 5vw;
    }
}

@media screen and (min-width: 1440px) {
    .floating-image--top-left {
        top: 15vh;
        left: 15vw;
        max-width: clamp(250px, 15vw, 250px);
        width: 250px;
    }

    .floating-image--top-right {
        right: 25vw;
    }

    .floating-image--bottom-left {
        left: 23vw;
        bottom: 2vw;
    }

    .floating-image--bottom-right {
        bottom: 2vh;
        right: 23vw;
    }

    .floating-image--middle-left {
        top: 35%;
        width: 250px;
        left: 8vw;
    }

    .floating-image--middle-right {
        top: 35%;
        width: 250px;
        right: 10vw;
    }
}

















#ourWork {
    background-color: #ffffff;
}

.our-work-carousel {
    background-color: black;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    padding: .75rem 0;
    height: 50px;
}

.carousel-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: scroll 15s linear infinite;
    white-space: nowrap;
}

.carousel-item {
    color: white;
    font-size: .75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.carousel-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #046AD5;
}

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

.our-work-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 4rem;
}

.our-work-track {
    position: relative;
    width: 100%;
    transition: height 0.6s ease reverse;
}

.our-work-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.our-work-slide.active {
    opacity: 1;
    visibility: visible;
    position: absolute;
    z-index: 1;
}

.our-work-slide-image {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.our-work-slide-image.active {
    opacity: 1;
    visibility: visible;
}

/* Wipe animation for image */
.our-work-slide-image.wipe-in {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    animation: wipeInFromLeft 0.6s ease forwards;
}

.our-work-slide-image.wipe-in.wipe-from-right {
    clip-path: inset(0 0 0 100%);
    animation: wipeInFromRight 0.6s ease forwards;
}

.our-work-slide-image.wipe-in.wipe-from-left {
    clip-path: inset(0 100% 0 0);
    animation: wipeInFromLeft 0.6s ease forwards;
}

.our-work-slide-image {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
}

.our-work-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Description Container */
.our-work-descriptions {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.our-work-slide-description {
    padding: 1rem;
    color: black;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.3s ease;
}

.our-work-slide-description.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Wipe animation for description */
.our-work-slide-description.wipe-in {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 100% 0 0);
    animation: wipeInFromLeft 0.6s ease 0.15s forwards;
}

.our-work-slide-description.wipe-in.wipe-from-right {
    clip-path: inset(0 0 0 100%);
    animation: wipeInFromRight 0.6s ease 0.15s forwards;
}

.our-work-slide-description.wipe-in.wipe-from-left {
    clip-path: inset(0 100% 0 0);
    animation: wipeInFromLeft 0.6s ease 0.15s forwards;
}

@keyframes wipeInFromLeft {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes wipeInFromRight {
    from {
        clip-path: inset(0 0 0 100%);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

.our-work-slide-description h3 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.our-work-slide-description p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
}

/* Navigation Dots */
.our-work-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem 0; 
    border-top: 1px solid #D4D4D4;
    margin-left: 1rem;
    margin-right: 1rem;
}

.nav-dot {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.nav-dot:hover {
    background-color: #666;
    opacity: 0.8;
}

.nav-dot.active {
    background-color: #046AD5;
}

@media screen and (min-width: 768px) {
    #ourWork {
        display: flex;
        flex-direction: row-reverse;
    }

    .our-work-carousel {
        height: 50px;
        width: 100%;
        top: 10vh;
    }

    .our-work-slider {
        width: 100%;
    }

}

@media screen and (min-width: 1024px) {
    .our-work-carousel {
        top: 20vh;
    }
    .our-work-slider {
        margin-top: -2rem;
    }
}
































#ourServices {
    background-color: #1A1A1A;
    padding: 4rem 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. SERVICES GRID LAYOUT
   ========================================================================== */

.services-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* ==========================================================================
   3. SERVICES INTRO
   ========================================================================== */
.services-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
}

#servicesIntroIcon {
    font-weight: 900;
    font-size: .75rem;
    margin-bottom: .5rem;
}

.services-intro h2 {
    text-transform: uppercase;
}

.services-intro h2 span {
    display: inline-block;
}

.services-intro h2 span:nth-child(1),
.services-intro h2 span:nth-child(2), 
.services-intro h2 span:nth-child(3) {
    font-weight: 400;
}

.services-intro h2 span:nth-child(5),
.services-intro h2 span:nth-child(6), 
.services-intro h2 span:nth-child(7) {
    font-weight: 900;
    color: #046AD5;
}

.services-intro p {
    color: #D4D4D4;
    font-size: 1rem;
    font-weight: 400;
    max-width: 500px;
}


/* ==========================================================================
   4. SERVICE CARDS
   ========================================================================== */

.services-info-card {
    height: 320px !important;
    width: 100%;
    max-width: 330px;
    border: 2px solid transparent;
    background: 
        linear-gradient(#021830, #021830) padding-box,
        linear-gradient(135deg, 
            #046AD5 0%, 
            rgba(4, 106, 213, 0.8) 10%,
            rgba(4, 105, 213, 0.476) 25%,
            rgba(188, 188, 188, 0.158) 50%,
            rgba(188, 188, 188, 0.106) 75%,
            rgba(4, 105, 213, 0.8) 90%,
            #046AD5 100%) border-box;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    display: flex;              
    flex-direction: column;     
}

.services-card-intro {
    width: 100%;
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.services-card-intro h3 {
    font-size: 1.5rem;
    font-weight: 900;
}

.services-card-intro p {
    line-height: 1.5rem;
    font-size: 16px;
    color: #D4D4D4;
}

/* ==========================================================================
   4. CENTER LOGO (DESKTOP ONLY)
   ========================================================================== */

.services-center-logo {
    display: none;
}

/* ==========================================================================
   6. SERVICE GRAPHICS
   ========================================================================== */

/* --------------------------------------------------------------------------
   6.1 WEB DEVELOPMENT GRAPHIC
   -------------------------------------------------------------------------- */

.web-dev-graphic {
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    border: var(--colorborder);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem 0 0.75rem;
    background: var(--colorgraphicbackground);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 1rem;
    max-height: 135px;
}

.web-dev-graphic img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
    border-radius: 3px;
    max-height: 120px;
    width: 100%;
}

/* Tech Icons */
.tech-icons {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 1;
}

.tech-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.js-icon {
    animation-delay: 0s;
    margin-top: 1rem;
}

.html-icon {
    animation-delay: 0.3s;
    transform: rotate(-15deg);
    margin-top: 2rem;
}

.css-icon {
    animation-delay: 0.6s;
    transform: rotate(10deg);
    margin-top: 3rem;
}

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

/* --------------------------------------------------------------------------
   6.2 CONTENT MARKETING GRAPHIC
   -------------------------------------------------------------------------- */

.content-marketing-graphic {
    height: 170px;
    width: 100%;
    border: var(--colorborder);
    background: var(--colorgraphicbackground);
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    margin-top: auto;
    display: flex;
}

.marketing-container {
    width: 100%;
}

.marketing-top-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 15px;
    width: 100%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 0.5rem;
    border: var(--colorborder);
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.marketing-top-bar-close {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #FF0000;
    border: var(--colorborder);
}

.marketing-top-bar-mini {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #A2A50E;
    border: var(--colorborder);
}

.marketing-top-bar-open {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background-color: #034D03;
    border: var(--colorborder);
}

.marketing-dashboard {
    height: 90%;
    width: 100%;
    padding: 1rem;
}

.marketing-search-bar {
    width: 100%;
    height: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.marketing-dashboard-content {
    height: 80%;
    width: 100%;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.marketing-dashboard-content-image {
    width: 30%;
    height: 100%;
    background: linear-gradient(to bottom, #02376F 0%, #05468A 100%);
    border-radius: 5px;
    border: var(--colorborder);
}

.marketing-dashboard-content-youtube {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-content-youtube-icon {
    height: 50%;
    width: 100%;
    background: linear-gradient(to bottom, #FF0000 0%, #990000 100%);
    border-radius: 3px;
    border: var(--colorborder);
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-content-youtube-icon svg {
    height: 30px;
}

.dashboard-content-youtube-text {
    height: 10px;
    width: 100%;
    background-color: rgba(188, 188, 188, 0.39);
    border-radius: 3px;
    border: var(--colorborder);
}

.marketing-dashboard-content-youtube > div:nth-child(3) {
    width: 70%;
}

.marketing-dashboard-content-youtube > div:nth-child(4) {
    width: 50%;
}

.marketing-dashboard-content-text {
    width: 30%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dashboard-content-text-box {
    height: 50%;
    width: 100%;
    background: linear-gradient(to bottom, #02376F 0%, #05468A 100%);
    border-radius: 3px;
    border: var(--colorborder);
}

.dashboard-content-box-text {
    height: 10px;
    width: 100%;
    background-color: rgba(188, 188, 188, 0.39);
    border-radius: 3px;
    border: var(--colorborder);
}

/* --------------------------------------------------------------------------
   6.3 UI/UX DESIGN GRAPHIC
   -------------------------------------------------------------------------- */

.ui-ux-graphic {
    width: 100%;
    height: 170px;
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.ui-ux-phone {
    height: 100%;
    width: 60%;
    background: var(--colorgraphicbackground);
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border-bottom: 0 !important;
    border: 10px solid rgba(188, 188, 188, 0.39);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 153px;
    outline: 1px solid rgba(255, 255, 255, 0.473);
}

.ui-ux-phone-top {
    height: 12px;
    width: 50%;
    background: rgba(188, 188, 188, 0.39);
    margin: 0 auto;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ui-ux-phone-title {
    width: 80%;
    height: 50px;
    background-color: #021830;
    border: var(--colorborder);
    border-radius: 10px;
    margin: 1rem 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-ux-phone-sub-heading {
    height: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.phone-sub-heading-large {
    height: 15px;
    width: 50%;
    border-radius: 30px;
    background-color: #046AD5;
    border: var(--colorborder);
}

.phone-sub-heading-small {
    height: 2px;
    width: 20%;
    background-color: #046AD5;
    border: var(--colorborder);
}

.phone-sub-heading-xs {
    height: 2px;
    width: 30%;
    background-color: #046AD5;
    border: var(--colorborder);
}

.phone-main-content {
    width: 80%;
    height: 40px;
    background-color: #021830;
    border: var(--colorborder);
    border-bottom: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 10px;
    padding-bottom: 0;
}

.phone-main-content-box {
    width: 100%;
    height: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #046AD5;
    border: var(--colorborder);
}

/* UI/UX Control Box */
.ui-ux-box {
    height: 75px;
    width: 45%;
    background: 
        linear-gradient(#021830, #021830) padding-box,
        linear-gradient(135deg, 
            #046AD5 0%, 
            rgba(4, 106, 213, 0.8) 10%,
            rgba(4, 105, 213, 0.476) 25%,
            rgba(0, 0, 0, 0) 50%,
            rgba(4, 105, 213, 0.476) 75%,
            rgba(4, 105, 213, 0.8) 90%,
            #046AD5 100%) border-box;
    border-radius: 15px;
    border: 2px solid transparent;
    margin-top: auto;
    margin-bottom: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ui-ux-slider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-track {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
}

.slider-fill {
    height: 100%;
    border-radius: 2px;
    position: relative;
    transition: width 0.3s ease;
}

.slider-fill.purple {
    width: 60%;
    background: linear-gradient(90deg, #046AD5, #3B82F6);
    animation: sliderPurple 3s ease-in-out infinite;
}

.slider-fill.blue {
    width: 80%;
    background: linear-gradient(90deg, #7C3AED, #A78BFA);
    animation: sliderBlue 3.5s ease-in-out infinite;
}

.slider-fill.gray {
    width: 45%;
    background: linear-gradient(90deg, #046AD5, #3B82F6);
    animation: sliderGray 2.8s ease-in-out infinite;
}

.slider-knob {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes sliderPurple {
    0%, 100% {
        width: 60%;
    }
    50% {
        width: 30%;
    }
}

@keyframes sliderBlue {
    0%, 100% {
        width: 80%;
    }
    50% {
        width: 50%;
    }
}

@keyframes sliderGray {
    0%, 100% {
        width: 45%;
    }
    50% {
        width: 75%;
    }
}

/* --------------------------------------------------------------------------
   6.4 CUSTOM WEB DESIGN GRAPHIC
   -------------------------------------------------------------------------- */

.web-design-graphic {
    width: 100%;
    height: 170px;
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.web-design-screen {
    height: 150px;
    width: 100%;
    margin-top: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: var(--colorborder);
    background: var(--colorgraphicbackground);
    border-bottom: 0;
}

.web-design-top-bar {
    height: 15px;
    width: 100%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    border-bottom: var(--colorborder);
}

.top-bar-buttons {
    width: 30%;
    height: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
    padding-left: 0.5rem;
}

.top-bar-buttons > div:nth-child(1) {
    background-color: #FF0000;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: var(--colorborder);
}

.top-bar-buttons > div:nth-child(2) {
    background-color: #A2A50E;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: var(--colorborder);
}

.top-bar-buttons > div:nth-child(3) {
    background-color: #034D03;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    border: var(--colorborder);
}

.web-design-content {
    height: 134px;
    width: 100%;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.web-design-column-1 {
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, #02376F 0%, #046AD5 100%);
    border-radius: 10px;
    border: var(--colorborder);
}

.web-design-column-2 {
    height: 100%;
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.web-design-carousel {
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border-radius: 10px;
    border: var(--colorborder);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.web-design-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    gap: 0.5rem;
    animation: scroll 10s linear infinite;
    width: fit-content;
    padding-right: 0.5rem;
}

.carousel-track img {
    height: 40px;
    width: auto;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(calc(0 - 0.25rem));
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.web-design-icons {
    width: 100%;
    height: 40%;
    display: flex;
    gap: 0.25rem;
}

.web-design-icon {
    width: 25%;
    height: 100%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border-radius: 5px;
    border: var(--colorborder);
    padding: 3px;
}

.web-design-icon img {
    height: 100%;
}

/* --------------------------------------------------------------------------
   6.5 SEO GRAPHIC
   -------------------------------------------------------------------------- */

.seo-graphic {
    height: 170px;
    width: 100%;
    display: flex;
    margin-top: auto;
    justify-content: center;
    align-items: center;
}

.seo-graphic-box {
    width: 100%;
    height: 80%;
    background: linear-gradient(to bottom, #3A3A3A 0%, #1A1A1A 100%);
    border: var(--colorborder);
    border-radius: 10px;
    padding: 1rem;
    padding-top: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #EEFAF1;
    border: 4px solid #51C975;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle h4 {
    color: #2D8A47;
    font-weight: 900;
    font-size: 1.5rem;
}

.circle-item p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   6.6 WEBSITE HOSTING GRAPHIC
   -------------------------------------------------------------------------- */

.web-hosting-graphic {
    height: 170px;
    width: 100%;
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.web-hosting-console-large {
    height: 100%;
    width: 60%;
    background: var(--colorgraphicbackground);
    border: var(--colorborder);
    border-bottom: 0;
    padding: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hosting-console-large-row {
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #02376F 0%, #046AD5 100%);
    border: var(--colorborder);
    padding: 1px;
    display: flex;
}

.console-large-row-vent {
    height: 100%;
    width: 30%;
    background: var(--colorgraphicbackground);
    border: var(--colorborder);
    display: flex;
    margin-left: auto;
    justify-content: space-between;
    gap: 3px;
    padding: 2px;
    max-width: 38px;
}

.console-large-row-vent-opening {
    width: 5px;
    height: 100%;
    background-color: var(--colorgraphicbackground);
    border: var(--colorborder);
}

.console-large-row-buttons {
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 2px;
    gap: 3px;
}

.large-row-button {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    border: var(--colorborder);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.console-large-row-buttons > div:nth-child(1) {
    background-color: #FBFF00;
    animation-delay: 0s;
}

.console-large-row-buttons > div:nth-child(2) {
    background-color: #00B7FF;
    animation-delay: 0.4s;
}

.console-large-row-buttons > div:nth-child(3) {
    background-color: #FF0000;
    animation-delay: 0.8s;
}

.hosting-console-large-row:nth-child(1) .large-row-button {
    animation-duration: 2s;
}

.hosting-console-large-row:nth-child(2) .large-row-button {
    animation-duration: 2.3s;
}

.hosting-console-large-row:nth-child(3) .large-row-button {
    animation-duration: 1.8s;
}

.hosting-console-large-row:nth-child(4) .large-row-button {
    animation-duration: 2.5s;
}

.web-hosting-console-small {
    height: 100%;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.console-small-icon {
    width: 80%;
}

.console-small {
    height: 80px;
    width: 100%;
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.console-small-row {
    height: 20px;
    width: 100%;
    background: var(--colorgraphicbackground);
    border: var(--colorborder);
    padding: 2px;
    display: flex;
}

.console-small .large-row-button {
    animation-duration: 2.2s;
}

.console-small-row:nth-child(1) .large-row-button:nth-child(1) {
    animation-delay: 0.3s;
}

.console-small-row:nth-child(1) .large-row-button:nth-child(2) {
    animation-delay: 0.7s;
}

.console-small-row:nth-child(1) .large-row-button:nth-child(3) {
    animation-delay: 1.1s;
}

.console-small-row:nth-child(3) .large-row-button:nth-child(1) {
    animation-delay: 0.2s;
}

.console-small-row:nth-child(3) .large-row-button:nth-child(2) {
    animation-delay: 0.6s;
}

.console-small-row:nth-child(3) .large-row-button:nth-child(3) {
    animation-delay: 1s;
}

.console-small-row:nth-child(5) .large-row-button:nth-child(1) {
    animation-delay: 0.4s;
}

.console-small-row:nth-child(5) .large-row-button:nth-child(2) {
    animation-delay: 0.8s;
}

.console-small-row:nth-child(5) .large-row-button:nth-child(3) {
    animation-delay: 1.2s;
}

.console-small-row-column {
    width: 10px;
    height: 10px;
    background: var(--colorgraphicbackground);
    border: var(--colorborder);
    border-top: 0;
    border-bottom: 0;
}

/* ==========================================================================
   7. MEDIA QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tablet - 608px
   -------------------------------------------------------------------------- */

@media screen and (min-width: 608px) {
    .services-info-card {
        max-width: none;
        width: 47%;
    }
}

/* --------------------------------------------------------------------------
   Tablet - 768px
   -------------------------------------------------------------------------- */

@media screen and (min-width: 768px) {
    #ourServices {
        padding: 6.25rem 2.25rem;
    }

    .services-info-wrapper {
        gap: 2rem;
    }

    .services-intro h2 {
        font-size: 3rem;
        line-height: 3rem;
    }

    .services-intro p {
        font-size: 1.15rem;
        max-width: unset;
    }
    
    .circle {
        width: 65px;
        height: 65px;
    }
    
    .circle-item p {
        font-size: 0.875rem;
    }
}

/* --------------------------------------------------------------------------
   Desktop - 1024px (Connected Layout with Center Logo)
   -------------------------------------------------------------------------- */

@media screen and (min-width: 1024px) {
    #ourServices {
        padding: 6.25rem 2rem;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .services-info-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 320px);
        gap: 0;
        column-gap: 2.5rem;
        row-gap: 300px;
        width: 100%;
        max-width: 980px;
        position: relative;
    }

    .services-intro {
        padding-bottom: 3rem;
    }

    .services-intro h2 {
        font-size: 4rem;
        line-height: 4rem;
    }

    .services-intro p {
        font-size: 1.25rem;
        max-width: 900px;
    }

    .services-intro span {
        display: inline-block;
    }

    .services-center-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 220px;
        height: 100px;
        background-color: #000;
        border-radius: 12px;
        z-index: 10;
        border: var(--colorborder);
        padding: 1rem;
        animation: logo-pulse 3s ease-in-out infinite;
    }

    .services-center-logo img {
        width: 100%;
        object-fit: contain;
    }

    @keyframes logo-pulse {
        0%, 100% {
            box-shadow: 0 0 30px rgba(30, 90, 158, 0.4);
            transform: translate(-50%, -50%) scale(1);
        }
        50% {
            box-shadow: 0 0 50px rgba(30, 90, 158, 0.8),
                        0 0 70px rgba(30, 90, 158, 0.5);
            transform: translate(-50%, -50%) scale(1.05);
        }
    }

    .services-info-card {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    /* Grid Positioning */
    .services-info-card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .services-info-card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .services-info-card:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
    }

    .services-info-card:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .services-info-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }

    .services-info-card:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }

    /* Connection Lines to Center */
    .services-info-card:nth-child(1)::after {
        content: '';
        position: absolute;
        bottom: -130px;
        right: calc(-5rem - 1px);
        width: calc(50% + 2rem + 60px);
        height: 130px;
        border-left: 2px solid #1e5a9e;
        border-bottom: 2px solid #1e5a9e;
        border-bottom-left-radius: 8px;
        z-index: 1;
    }

    .services-info-card:nth-child(2)::after {
        content: '';
        position: absolute;
        bottom: -110px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 110px;
        background-color: #1e5a9e;
        z-index: 1;
    }

    .services-info-card:nth-child(3)::after {
        content: '';
        position: absolute;
        bottom: -130px;
        left: calc(-5rem - 1px);
        width: calc(50% + 2rem + 60px);
        height: 130px;
        border-right: 2px solid #1e5a9e;
        border-bottom: 2px solid #1e5a9e;
        border-bottom-right-radius: 8px;
        z-index: 1;
    }

    .services-info-card:nth-child(4)::after {
        content: '';
        position: absolute;
        top: -130px;
        right: calc(-5rem - 1px);
        width: calc(50% + 2rem + 60px);
        height: 130px;
        border-left: 2px solid #1e5a9e;
        border-top: 2px solid #1e5a9e;
        border-top-left-radius: 8px;
        z-index: 1;
    }

    .services-info-card:nth-child(5)::after {
        content: '';
        position: absolute;
        top: -110px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 110px;
        background-color: #1e5a9e;
        z-index: 1;
    }

    .services-info-card:nth-child(6)::after {
        content: '';
        position: absolute;
        top: -130px;
        left: calc(-5rem - 1px);
        width: calc(50% + 2rem + 60px);
        height: 130px;
        border-right: 2px solid #1e5a9e;
        border-top: 2px solid #1e5a9e;
        border-top-right-radius: 8px;
        z-index: 1;
    }

    /* Animated Dots on Connection Lines */
    @keyframes pulse-dot {
        0%, 100% {
            opacity: 0.6;
            transform: translate(-50%, -50%) scale(1);
        }
        50% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.3);
        }
    }

    .services-info-card::before {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        background: radial-gradient(circle, #4dabf7 0%, #1e5a9e 70%);
        border-radius: 50%;
        box-shadow: 0 0 15px rgba(77, 171, 247, 0.8),
                    0 0 25px rgba(30, 90, 158, 0.5);
        z-index: 5;
    }

    .services-info-card:nth-child(1)::before {
        right: calc(50% + 2rem + 60px);
        bottom: 0;
        animation: pulse-dot 2s ease-in-out infinite,
                   travel-top-left 3s linear infinite;
    }

    @keyframes travel-top-left {
        0% {
            right: calc(50% + -3.75rem + 60px);
            bottom: 0;
        }
        40% {
            right: calc(50% + -4rem + 60px);
            bottom: -140px;
        }
        100% {
            right: -6rem;
            bottom: -140px;
        }
    }

    .services-info-card:nth-child(2)::before {
        left: 50%;
        bottom: 0;
        animation: pulse-dot 2s ease-in-out infinite 0.5s,
                   travel-top-center 3s linear infinite 0.5s;
    }

    @keyframes travel-top-center {
        0% {
            bottom: 0;
        }
        100% {
            bottom: -110px;
        }
    }

    .services-info-card:nth-child(3)::before {
        left: calc(50% + -3.1rem + 60px);
        bottom: 0;
        animation: pulse-dot 2s ease-in-out infinite 1s,
                   travel-top-right 3s linear infinite 1s;
    }

    @keyframes travel-top-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            bottom: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            bottom: -140px;
        }
        100% {
            left: -6rem;
            bottom: -140px;
        }
    }

    .services-info-card:nth-child(4)::before {
        right: calc(50% + -3.9rem + 60px);
        top: 0;
        animation: pulse-dot 2s ease-in-out infinite 1.5s,
                   travel-bottom-left 3s linear infinite 1.5s;
    }

    @keyframes travel-bottom-left {
        0% {
            right: calc(50% + -3.9rem + 60px);
            top: 0;
        }
        40% {
            right: calc(50% + -3.9rem + 60px);
            top: -130px;
        }
        100% {
            right: -6rem;
            top: -130px;
        }
    }

    .services-info-card:nth-child(5)::before {
        left: 50%;
        top: 0;
        animation: pulse-dot 2s ease-in-out infinite 2s,
                   travel-bottom-center 3s linear infinite 2s;
    }

    @keyframes travel-bottom-center {
        0% {
            top: 0;
        }
        100% {
            top: -110px;
        }
    }

    .services-info-card:nth-child(6)::before {
        left: calc(50% + -3.1rem + 60px);
        top: 0;
        animation: pulse-dot 2s ease-in-out infinite 2.5s,
                   travel-bottom-right 3s linear infinite 2.5s;
    }

    @keyframes travel-bottom-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            top: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            top: -130px;
        }
        100% {
            left: -9rem;
            top: -130px;
        }
    }
}

/* --------------------------------------------------------------------------
   Desktop - 1100px
   -------------------------------------------------------------------------- */

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

    .services-center-logo {
        top: 59%;
    }
    .services-info-wrapper {
        column-gap: 3.5rem;
        max-width: 1100px;
        row-gap: 400px;
    }

    .services-info-card:nth-child(1)::after {
        bottom: -180px;
        right: calc(-6.25rem - 1px);
        width: calc(50% + 2rem + 80px);
        height: 180px;
    }

    .services-info-card:nth-child(2)::after {
        bottom: -155px;
        height: 155px;
    }

    .services-info-card:nth-child(3)::after {
        bottom: -180px;
        left: calc(-6.25rem - 1px);
        width: calc(50% + 2rem + 80px);
        height: 180px;
    }

    .services-info-card:nth-child(4)::after {
        top: -180px;
        right: calc(-6.25rem - 1px);
        width: calc(50% + 2rem + 80px);
        height: 180px;
    }

    .services-info-card:nth-child(5)::after {
        top: -155px;
        height: 155px;
    }

    .services-info-card:nth-child(6)::after {
        top: -180px;
        left: calc(-6.25rem - 1px);
        width: calc(50% + 2rem + 80px);
        height: 180px;
    }

    @keyframes travel-top-left {
        0% {
            right: calc(50% + -3.75rem + 60px);
            bottom: 0;
        }
        40% {
            right: calc(50% + -4rem + 60px);
            bottom: -190px;
        }
        100% {
            right: -8rem;
            bottom: -190px;
        }
    }

    @keyframes travel-top-center {
        0% {
            bottom: 0;
        }
        100% {
            bottom: -170px;
        }
    }

    @keyframes travel-top-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            bottom: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            bottom: -190px;
        }
        100% {
            left: -8rem;
            bottom: -190px;
        }
    }

    @keyframes travel-bottom-left {
        0% {
            right: calc(50% + -3.9rem + 60px);
            top: 0;
        }
        40% {
            right: calc(50% + -3.9rem + 60px);
            top: -180px;
        }
        100% {
            right: -9rem;
            top: -180px;
        }
    }

    @keyframes travel-bottom-center {
        0% {
            top: 0;
        }
        100% {
            top: -180px;
        }
    }

    @keyframes travel-bottom-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            top: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            top: -180px;
        }
        100% {
            left: -9rem;
            top: -180px;
        }
    }
}

/* --------------------------------------------------------------------------
   Desktop - 1248px
   -------------------------------------------------------------------------- */

@media screen and (min-width: 1248px) {
    #ourServices {
        padding: 6.25rem;
    }

    .services-info-wrapper {
        column-gap: 5rem;
        max-width: 1280px;
    }

    .services-info-card:nth-child(1)::after {
        right: calc(-10rem - 1px);
        width: calc(50% + 2rem + 140px);
    }

    .services-info-card:nth-child(3)::after {
        left: calc(-10rem - 1px);
        width: calc(50% + 2rem + 140px);
    }

    .services-info-card:nth-child(4)::after {
        right: calc(-10rem - 1px);
        width: calc(50% + 2rem + 140px);
    }

    .services-info-card:nth-child(6)::after {
        left: calc(-10rem - 1px);
        width: calc(50% + 2rem + 140px);
    }

    @keyframes travel-top-left {
        0% {
            right: calc(50% + -3.75rem + 60px);
            bottom: 0;
        }
        40% {
            right: calc(50% + -4rem + 60px);
            bottom: -190px;
        }
        100% {
            right: -11rem;
            bottom: -190px;
        }
    }

    @keyframes travel-top-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            bottom: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            bottom: -190px;
        }
        100% {
            left: -11rem;
            bottom: -190px;
        }
    }

    @keyframes travel-bottom-left {
        0% {
            right: calc(50% + -3.9rem + 60px);
            top: 0;
        }
        40% {
            right: calc(50% + -3.9rem + 60px);
            top: -180px;
        }
        100% {
            right: -11rem;
            top: -180px;
        }
    }

    @keyframes travel-bottom-right {
        0% {
            left: calc(50% + -3.1rem + 60px);
            top: 0;
        }
        40% {
            left: calc(50% + -3.1rem + 60px);
            top: -180px;
        }
        100% {
            left: -11rem;
            top: -180px;
        }
    }
}

/* --------------------------------------------------------------------------
   Mobile - 480px
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
    .circle {
        width: 50px;
        height: 50px;
    }
    
    .circle-item p {
        font-size: 0.75rem;
    }
    
    .seo-graphic-box {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .circle h4 {
        font-size: 1rem;
    }
}
































































#ourPortfolio {
    background-color: rgb(255, 255, 255);
    padding: 4rem 1rem;
}

.our-portfolio-intro {
    padding-bottom: 2rem;
}

.our-portfolio-intro h2 {
    text-transform: uppercase;
}

.our-portfolio-intro h2 span {
    display: inline-block;
}

.our-portfolio-intro h2 span:nth-child(1),
.our-portfolio-intro h2 span:nth-child(2),
.our-portfolio-intro h2 span:nth-child(3) {
    font-weight: 400;
    color: black;
}

.our-portfolio-intro h2 span:nth-child(5),
.our-portfolio-intro h2 span:nth-child(6),
.our-portfolio-intro h2 span:nth-child(7),
.our-portfolio-intro h2 span:nth-child(8) {
    font-weight: 900;
    color: #046AD5;
}

.our-portfolio-intro p {
    color: #000000;
    font-size: 1rem;
    font-weight: 400;
}

#portfolioIntroIcon {
    color: white;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: .5rem;
    box-shadow: none;
}

.grid {
    display: grid;
    gap: 15px;
    border-radius: 8px;
}

/* Box Styling with Hover Effect */
.box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: var(--colorborder);
    padding: .5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.container-tag-overlay {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #1A1A1A;
    border-radius: 5px;
    border: var(--colorborder);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Keep this */
    color: white;
    z-index: 10;
    text-transform: uppercase;
    padding: 0rem 1rem; /* Add padding */
}

.container-tag-overlay .tag-title {
    font-size: 12px;
    font-weight: 900;
    margin: 0;
    padding: 0; /* Ensure no extra padding */
}

.container-tag-overlay .tag-action {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    align-self: flex-end;
    opacity: 0;
    display: none; /* Add this line */
}

.box:hover .container-tag-overlay .tag-action {
    opacity: 1;
    display: block; /* Add this line */
}

.box-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.box-image img {
    width: auto;
    height: 60%;
    object-fit: contain;
    border-radius: 10px;
    max-width: 90%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-1 {
    background-color: #1A1A1A;
}

.box-2 {
    background: linear-gradient(to bottom, #046AD5 0%, #238EFF 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-3 {
    background-color: #F8981D;
    height: 100%;
}

.box-4 {
    background-color: var(--colorprimary);
}

.box-5 {
    background-color: black;
}

.box-6 {
    background: #3d2fa9;
}

.box-7 {
    background: linear-gradient(to bottom, #F6D72C 0%, #CAB126 100%);
}

.box-8 {
    background: linear-gradient(to bottom, #2E5301 0%, #85B24E 100%);
}

.box-1, .box-5, .box-8 {
    height: 150px;
}

.box-2, .box-4, .box-7 {
    height: 200px;
}

.box-3, .box-6 {
    height: 300px;
}

.box-2-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-2-intro h2 {
    text-align: center;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.5rem;
}

.box-2-intro h2 span:nth-child(3) {
    font-weight: 900;
}

#boxIcon {
    box-shadow: none;
    margin-bottom: .5rem;
}

#boxButton {
    width: 80%;
    background: white;
    color: black;
    margin-top: 1rem;
    outline: var(--colorborder);
}










.box-6-info {
    height: 70%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.box-6-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5rem;
    font-style: italic;
}

.box-6-info span {
    text-transform: uppercase;
    font-weight: 900;
    font-size: .75rem;
    opacity: .5;
}

.box-6-profile {
    height: 30%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.box-6-profile-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: rgb(255, 255, 255);
    border: var(--colorborder);
    overflow: hidden;
}

.box-6-profile-image img {
    width: 100%;
    object-fit: cover;
}


.box-6-profile-info {

}

.box-6-profile-info h3 {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1rem;
}

.box-6-profile-info p {
    font-size: .75rem;
    opacity: .5;
}

@media screen and (min-width: 423px) {
    .box-6-info h3 {
        font-size: 1.5rem;
    }

    .box-6 {
        padding: 1rem;
    }
}

@media screen and (min-width: 590px) {
    .box-6-info h3 {
        font-size: 1.75rem;
        line-height: 2rem;
        font-weight: 500;
    }

    .box-2-intro h2 {
        font-size: 1.75rem;
        line-height: 1.75rem;
    }
}


@media screen and (min-width: 768px) {
    .box-2-intro h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    .box-6-profile {
        gap: 2rem;
    }
}

@media screen and (min-width: 1024px) {
    .box-6-info h3 {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }
}








@media (min-width: 768px) {
    #ourPortfolio {
        padding: 6.25rem 2.25rem;
    }

    .our-portfolio-intro h2 {
        line-height: 3rem;
        font-size: 3rem;
    }

    .our-portfolio-intro p {
        font-size: 1.15rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }


    .container-tag-overlay .tag-title {
        font-size: 1rem;
    }

    .box-1 { 
        grid-column: 1 / -1;
    }

    .box-2 { 
        grid-column: 1 / 2;
        height: 185px !important;
    }

    .box-3 { 
        grid-column: 1 / 2;
        height: 200px !important;
    }

    .box-4 { 
        grid-column: 2 / 3;
        grid-row: 2 / 4;
        height: auto;
    }

    .box-5 { 
        grid-column: 1 / -1;
    }

    .box-6 { 
        grid-column: 1 / 2;
        grid-row: 5 / 7;
        height: auto;
    }

    .box-7 { 
        grid-column: 2 / 3;
        height: 120px;
    }

    .box-8 { 
        grid-column: 2 / 3;
        height: 120px;
    }

    .box-1, .box-5 {
        height: 300px;
    }

    .box-4, .box-6 {
        height: 400px;
    }

    .box-2, .box-3, .box-7, .box-8 {
        height: 100%;
    }
}

@media screen and (min-width: 1248px) {
    .box-2, .box-3, .box-7, .box-8 {
        height: 242.5px !important;
    }

    .box-2-intro h2 {
        font-size: 2rem;
        line-height: 2rem;
    }

    .box-6-info h3 {
        font-size: 2.75rem;
    }
}

@media screen and (min-width: 1024px) {
    #ourPortfolio {
        padding: 6.25rem;
    }

    .our-portfolio-intro h2 {
        line-height: 4rem;
        font-size: 4rem;
    }

    .our-portfolio-intro p {
        font-size: 1.25rem;
        max-width: 950px;
    }
    
    .box-1, .box-5 {
        height: 400px;
    }

    .box-4, .box-6 {
        height: 500px;
    }

    .box-2 {
        height: 242.5px !important;
    }

    .box-3 {
        height: 242.5px !important;
    }

    /* Enable hover animation at 1024px and above */
    .container-tag-overlay {
        transition: all 0.4s ease;
    }

    .container-tag-overlay .tag-action {
        transition: opacity 0.3s ease;
    }

    .box:hover .container-tag-overlay {
        width: calc(100% - 1rem);
        border-radius: 5px;
        padding: 1rem;
    }

    .box:hover .container-tag-overlay .tag-title {
        font-size: 18px;
    }

    .box:hover .container-tag-overlay .tag-action {
        opacity: 1;
    }
}

@media screen and (min-width: 1440px) {
    .box-6-info h3 {
        font-size: 2.75rem;
        line-height: 3rem;
    }

    .box-6-profile-image {
        width: 120px;
        height: 120px;
    }

    .box-6-profile-info h3 {
        font-size: 1.5rem;
        font-weight: 900;
        line-height: 1rem;
    }

    .box-6-profile-info p {
        font-size: 1rem;
        opacity: .5;
    }
}



























#ourPromises {
    background-color: #1A1A1A;
    padding: 4rem 0;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#promisesIntroIcon {
    font-size: 12px;
    font-weight: 900;
    margin-bottom: .5rem;
}

#promisesButton {
    width: 70%;
    margin-top: 1rem;
}

.our-promises-intro {
    padding: 0 1rem;
}

.our-promises-intro h2 {
    text-transform: uppercase;
}

.our-promises-intro h2 span {
    display: inline-block;
}

.our-promises-intro h2 span:nth-child(1),
.our-promises-intro h2 span:nth-child(2),
.our-promises-intro h2 span:nth-child(3) {
    font-weight: 400;
}

.our-promises-intro h2 span:nth-child(5) {
    color: #046AD5;
    font-weight: 900;
}


.our-promises-intro p {
    color: #D4D4D4;
    font-size: 1rem;
    font-weight: 400;
}


.our-promises-info-wrapper {
    width: 100%;
}

.our-promises-info-row {
    border-top: var(--colorborder) .5px;
    border-bottom: var(--colorborder);
    padding: 2rem 1rem;
}

.our-promises-info-row svg {
    height: 40px;
    padding-bottom: .5rem;
}

.our-promises-info-wrapper .our-promises-info-row:nth-child(1) {
    border-top: none;
}

.our-promises-info-wrapper .our-promises-info-row:nth-child(8) {
    border-bottom: none;
}

.our-promises-info-row h3 {
    font-size: 1.25rem;
}

.our-promises-info-row p {
    font-size: .75rem;
    line-height: 1rem;
    color: #D4D4D4;
    font-weight: 500;
}







@media screen and (min-width: 768px) {
    #ourPromises {
        padding: 6.25rem 0;
    }

    .our-promises-intro {
        padding: 0 2rem;
    }

    .our-promises-info-row svg {
        height: 50px;
    }

    .our-promises-intro h2 {
        font-size: 3rem;
        line-height: 3rem;
    }

    .our-promises-intro p {
        font-size: 1.15rem;
    }

    .our-promises-info-row {
        padding: 2rem 2rem;
    }

    .our-promises-info-row h3 {
        font-size: 1.5rem;
    }

    .our-promises-info-row p {
        font-size: 1rem;
        line-height: 1.25rem;
    }
}



@media screen and (min-width: 1024px) {
    #ourPromises {
        flex-direction: row;
        align-items: flex-start;
        overflow-y: visible; /* Ensure visible on desktop too */
        padding: 0;
    }

    .our-promises-intro {
        width: 60%;
        position: sticky;
        top: 5rem; /* Adjusted to account for navbar height */
        align-self: flex-start;
        will-change: unset; /* Override any will-change from animations */
        padding-left: 4rem;
        padding: 6.25rem;
    }

    .our-promises-info-wrapper {
        width: 40%;
        border-left: var(--colorborder);
    }
    
    .our-promises-intro h2 {
        font-size: 4rem;
        line-height: 4rem;
    }

    .our-promises-intro p {
        font-size: 1.25rem;
    }
}


































/* ==========================================================================
   5. CONTACT SECTION
   ========================================================================== */
#contactUs {
    background-color: white;
    padding: 4rem 1rem;
}

.contact-us-wrapper {
    background-color: #1A1A1A;
    padding: 1rem;
    border-radius: 10px;
    border: var(--colorborder);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-us-intro {
    width: 100%;
    height: 100%;
}

.contact-intro h2 {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2rem;
    padding-top: .5rem;
    padding-bottom: 2rem;
}

.contact-intro h2 span {
    display: inline-block; /* Add this */
}


.contact-intro h2 span:nth-child(1),
.contact-intro h2 span:nth-child(2) {
    font-weight: 400;
}

.contact-intro h2 span:nth-child(4),
.contact-intro h2 span:nth-child(5) {
    color: #046AD5;
}

.contact-headshot {
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes it square */
    background: linear-gradient(to bottom, #046AD5 0%, #238EFF 100%);
    border: var(--colorborder);
    border-radius: 10px;
    overflow: hidden; /* Ensures image doesn't overflow */
}

.contact-headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling container */
    object-position: center top; /* Aligns image to the top */
    border-radius: 10px;
}

.contact-intro-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: .5rem;
}

.contact-intro-info-about h4 {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.5rem;
}

.contact-intro-info-about p {
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: 300;
}

.contact-intro-info-links {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.contact-intro-info-links a:nth-child(1) {
    font-size: 1rem;
    font-weight: 300;
}

.contact-intro-info-links a:nth-child(2) {
    color: #046AD5;
    font-size: 1rem;
    font-weight: 900;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-label {
    font-weight: 900;
}

.form-input,
.form-textarea,
.form-select {
    background-color: #2A2A2A;
    border-radius: 10px;
    padding: .5rem 1rem;
    border: var(--colorborder);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-select option {
    color: black;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #046AD5;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 122, 122, 0.1);
}

::placeholder {
    color: #D9D9D9;
    font-size: 1rem;
}

#contactButton a {
    font-size: 1rem;
}



@media screen and (min-width: 768px) {
    #contactUs {
        padding: 6.25rem 2.25rem;
    }

    .contact-us-wrapper {
        padding: 4rem;
    }

    .contact-intro h2 {
        font-size: 3rem;
        line-height: 3rem;
    }
}

@media screen and (min-width: 1024px) {
    #contactUs {
        padding: 6.25rem 6.25rem;
    }

    .contact-us-wrapper {
        padding: 4rem;
        flex-direction: row;
    }

    .contact-intro {
        width: 50%;
    }

    form {
        width: 50%;
    }

    .contact-headshot {
        width: 70%;
    }
}
































/* ==========================================================================
   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;
          padding: .5rem 1rem;
          border-radius: 10px;
          background-color: black;
          display: flex;
          justify-content: center;
          max-width: 200px;
        }
        .footer-logo img {
            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 {
    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;
    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;
    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)
}

@media screen and (min-width: 1024px) {
    .footer-container {
        padding: 6.25rem;
    }

    .subscribe-form form {
        width: 100%;
    }
}