/* =============
    Logo
============= */
.mv-logo{
    height: 30px; width: auto;
}

/* =============
    Buttons
============= */

/* Base Button Styles */
.btn {
    position: relative;
    padding: 20px 40px;
    background: transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    transition: all 0.3s ease;
    color: var(--black);
    border: 3px solid transparent;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1000;
}

/* Modern browsers - gradient border with masking */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 3px;
    background: var(--iridescent-gradient);
    border-radius: 15px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

/* Fallback for older browsers - solid border */
@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .btn {
        border: 3px solid var(--aero-green);
        background: linear-gradient(var(--white), var(--white)) padding-box,
                    var(--iridescent-gradient) border-box;
    }
    
    .btn::before {
        display: none;
    }
}

/* Button Variants */
.dark-mode-btn {
    color: var(--white);
}

/* Hover States */
.btn:hover {
    color: var(--white);
}

/* Alternative: Use a different pseudo-element for hover fill */
.btn::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--iridescent-gradient-light);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -2;
}

.btn:hover::after {
    opacity: 1;
}


/* =============
    Typography
============= */

/* Heading Styles */
h1 {
    font-size: clamp(28px, 5vw, 50px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

h2 {
    font-size: clamp(30px, 6vw, 48px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

h3 {
    font-size: clamp(22px, 4vw, 36px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h4 {
    font-size: clamp(21px, 3.5vw, 30px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

h5 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

h6 {
    font-size: clamp(16px, 2vw, 21px);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

/* Paragraph Styles */
p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}

.small{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    margin: 0;
}

/* Google Fonts */

  /* Font classes */

  .marquee-text {
    font-family: 'Inter', sans-serif;
    font-weight: 150;
    line-height: 1.0;
    padding: 0 1em;
    text-transform: uppercase;
    font-size: clamp(24px, 8vw, 60px);
    font-style: italic;
    color: var(--light-gray);
  }

  .blue-header {
    color: var(--ocean-blue);
  }

  .light{
    font-weight: 300
  }

  .medium{
    font-weight: 500;
  }

  .bold{
    font-weight: 700;
  }

  .service-card-title{
    font-family: 'Inter', sans-serif;
  }

  .service-title-italic{
    font-family: 'PT Serif', serif;
    font-style: italic;
    font-weight: 400;
  }

/* =============
    Color Variables
============= */

:root {
    /* Base Colors */
    --aero-green: #00987A;
    --dolphin-blue: #00A7D5;
    --denim-blue: #0060B9;
    --ocean-blue: #0A02EE;
    --black: #000;
    --white: #FFF;
    --gray: #888888;
    --light-gray: #B5B5B5;
    --pearl-gray: #E9E9E9;

    /* Gradients */
    --iridescent-gradient: linear-gradient(90deg, var(--aero-green) 0%, var(--dolphin-blue) 50%, var(--denim-blue) 100%);
    --iridescent-gradient-light: linear-gradient(90deg, color-mix(in srgb, var(--aero-green) 50%, transparent) 0%, color-mix(in srgb, var(--dolphin-blue) 50%, transparent) 50%, color-mix(in srgb, var(--denim-blue) 50%, transparent) 100%);
    --iridescent-gradient-light-20: linear-gradient(90deg, color-mix(in srgb, var(--aero-green) 20%, transparent) 0%, color-mix(in srgb, var(--dolphin-blue) 20%, transparent) 50%, color-mix(in srgb, var(--denim-blue) 20%, transparent) 100%);
    --diamond-gradient: linear-gradient(to bottom right, var(--white) 0%, var(--pearl-gray) 50%) bottom right / 50% 50% no-repeat, linear-gradient(to bottom left, var(--white) 0%, var(--pearl-gray) 50%) bottom left / 50% 50% no-repeat, linear-gradient(to top left, var(--white) 0%, var(--pearl-gray) 50%) top left / 50% 50% no-repeat, linear-gradient(to top right, var(--white) 0%, var(--pearl-gray) 50%) top right / 50% 50% no-repeat;
    --linear-gradient: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

/* =============
    Media Queries
============= */

/* =============
    Utility Classes
============= */

ul{
    padding-left: 20px;
    margin-top: 0px;
}


.gradient-underline-inline {
    display: inline;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--dolphin-blue) 50%, transparent);
    text-decoration-thickness: 5px;
    text-underline-offset: 0.05em;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    line-height: 1.2;  /* Optional: helps with vertical alignment */
    

    /* Tablet/Desktop/XL only */
    @media (min-width: 768px) {
        display: inline-block;
        text-decoration: none; /* Remove mobile underline */
        background: var(--iridescent-gradient-light);
        background-size: 0% 8px; /* Start hidden */
        background-repeat: no-repeat;
        background-position: 0 1.06em;
        transition: none;
        min-height: 1.2em; /* Ensures enough height for the underline */
        line-height: 1.2;  /* Optional: helps with vertical alignment */
        }
}

.divider {
    height: 2px;
    width: 100%;
    background: var(--light-gray);
    opacity: 0.5;

    /* Tablet/Desktop/XL only */
    @media (min-width: 768px) {
        width: 2px;
        height: 100%;
        align-self: center;
        justify-self: center;
        }
}

.rounded-corners {
    border-radius: 15px;
}

 /* =============
    Icons
============= */

.offer-icon{
    width: 60px; height: 70px;
    -o-object-fit: contain;
    object-fit: contain;
}

#offer-4-icon{
    width: 70px;
}

.arrow-icon-med{
    width: 30px; height: 30px;
}


 /* =============  Universal Marquee Classes  ============= */

 /* Marquee Text Container */
 .marquee-text-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 100%;
    height: clamp(3em, 10vw, 6em);
    overflow: hidden;
    margin-bottom: 40px;
 }

 .marquee-text {
    animation: loopText 15s infinite linear;
    width: auto; 
}

@keyframes loopText {
  from {transform: translateX(0);}
  to{transform: translateX(-100%);}

}
 
 /* Base marquee container */
 .marquee-container {
    display: flex;
    block-size: var(--marquee-item-height);
    position: relative;
    overflow-x: hidden;
}

/* Base marquee item */
.marquee-item {
    width: var(--marquee-item-width);
    height: var(--marquee-item-height);
    position: relative;
    overflow-x: hidden;

    --marquee-item-offset: max(
        calc(var(--marquee-item-width) * var(--marquee-items)),
        calc(100% + var(--marquee-item-width))
    );
    --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
    position: absolute;
    inset-inline-start: var(--marquee-item-offset);
    transform: translateX(-50%);
    animation: marquee-scroll linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
}

/* Marquee animation keyframes */
@keyframes marquee-scroll {
    to {  
        inset-inline-start: calc(var(--marquee-item-width) * -1);
    }
}



 /* =============  Hero Background  ============= */


.hero-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--diamond-gradient);
    color: var(--black);
    z-index: 1;
}