/*=================================*
 * universal.css - William Astley
 * Kymetric Consulting website defaults - specifically, non utility classes that define things like font, colours, etc.
 * This file is intended to be used as a base for all other stylesheets.
/*=================================*

/*=================================*
 * 1. CSS Reset
 *=================================*/
/* Modern CSS reset - Credit to Andy Bell */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

body {
    min-height: 100vh;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

textarea:not([rows]) {
    min-height: 10em;
}

:target {
    scroll-margin-block: 5ex;
}

/*=================================*
 * 2. Variables & Base Styles
 *=================================*/
:root {
    --accent: rgb(255, 169, 77);
}

body {
    margin: 0;
    background-color: #03060f;
    color: #e0e0e0;
    justify-content: center;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merriweather', serif;
    font-weight: 400;
}

li {
    list-style-type: square;
}

/*=================================*
 * 3. Re-usable Backgrounds
 *=================================*/
.overlay {
    background-color: rgba(0, 0, 0, 0.427);
    display: flex;
    min-height:100vh;
    top: 0; left: 0; right: 0; bottom: 0;
}

.bg-generic {
    background-color: inherit;
    background-repeat: repeat;
    min-height: 100%;
}

.bg-white {
    background-color: #ffffff;
    color: #000000;
    min-height: 100%;
}

.bg-problem {
    background-image: linear-gradient(180deg,
            #0b141900 0%,
            rgba(10, 25, 35, 0.85) 25%,
            rgba(14, 44, 58, 0.95) 50%,
            rgba(10, 34, 45, 1) 75%,
            rgba(3, 12, 20, 1) 100%),
        url('http://kymetric.com/assets/test4.png');
    color: #ccc;
    min-height: 100%;
}

.bg-solution {
    background-image:
        linear-gradient(180deg,
            #03060f 0%,
            #03060f 50%,
            rgba(14, 74, 62, 0.8) 100%);
    background-repeat: repeat;
    min-height: 100%;
}

.bg-about {
    background-image:url('http://kymetric.com/assets/about_us_bg_sea.jpg');
    background-size: cover;
    /*min-height:100vh; */
}

/*=================================*
 * 4. Cards / Panels
 *=================================*/
.dark-card {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(93, 255, 247, 0.25);
  box-shadow:
    inset 0 -3px 8px rgba(0, 0, 0, 0.25),
    inset 0 2px 3px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
}
 
.service-box {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    background: rgba(14, 74, 62, 0.2);
    border: 1px solid rgba(93, 255, 247, 0.25);
    box-shadow:
        0 2px 20px rgba(93, 255, 247, 0.08),
        inset 0 0 10px rgba(93, 255, 247, 0.05);
    transition: all 0.3s ease;
}
.service-box:hover {
    background: rgba(14, 74, 62, 0.35);
    border-color: rgba(93, 255, 247, 0.45);
    box-shadow:
        0 4px 30px rgba(93, 255, 247, 0.2),
        inset 0 0 20px rgba(93, 255, 247, 0.08);
    transform: translateY(-4px);
}
.service-box--img {
    width: 100%;
    height: auto;
    padding: 0;
    box-shadow: 0 0 10px rgba(14, 74, 62, 0.2);
    margin-top: auto;
}

.badge {
    display: inline-block;
     background: linear-gradient(
      145deg,
      rgba(93, 255, 247, 0.15),
      rgba(60, 170, 160, 0.35)
    ),
    #0a2c3b;
    color:white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}


/*=================================*
 * 5. Re-usable Components
 *=================================*/
/* COMPONENT: ACCORDION */

.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-button {
    display: flex;
    justify-content: space-between;
    background-color: #0a2c3b;
    font-weight: 600;
    color: white;
    border: none;
    padding: 25px;
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-button:hover {
    background-color: #094b68;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #0d384b;
    padding: 0 30px;
}

.accordion-content p {
    margin: 15px 0;
    color: #ffffff;
}

.accordion-icon {
    flex-shrink: 0;
    /* prevent shrinking */
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.accordion-button.active .accordion-icon {
    transform: rotate(45deg);
}

/* COMPONENT: FOOTER */
.footer {
    background-color: #082922;
}

.footer li {
    list-style: none;
}

.footer h3 {
    margin-bottom: 2rem;
}

.footer--copyright {
    border-top: 1px solid #b0b0b082;
    color: #b0b0b082;
    font-size: 0.875rem;
}

.footer--copyright a:hover {
    color: #ffffff;
}

.footer--mailing-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer--mailing-list input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.footer--mailing-list button {
    padding: 0.5rem;
    background-color: #0e4a3e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.footer--mailing-list button:hover {
    background-color: #259f85;
}

/* COMPONENT: CTA BUTTON */
.cta-button {
  background: linear-gradient(
      145deg,
      rgba(93, 255, 247, 0.15),
      rgba(60, 170, 160, 0.35)
    ),
    #0a2c3b;
  color: #e0f7fa;
  border: 1px solid rgba(93, 255, 247, 0.25);
  padding: 1rem 2.5rem;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 2rem;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 rgba(0, 0, 0, 0), 
    0 0 10px rgba(93, 255, 247, 0.15),
    0 0 20px rgba(93, 255, 247, 0.08);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: linear-gradient(
      145deg,
      rgba(93, 255, 247, 0.3),
      rgba(30, 255, 240, 0.5)
    ),
    #0f3a4c;
  color: #ffffff;
  border-color: rgba(93, 255, 247, 0.5);
  box-shadow:
    0 0 12px rgba(93, 255, 247, 0.25),
    0 0 30px rgba(93, 255, 247, 0.12);
  transform: translateY(-2px);
}

/* COMPONENT: NAVBAR */
.navbar {
  z-index:1;
  padding: 1rem;
  /*position: absolute;
  top: 0;
  left: 0;
  right: 0;*/
  width: 100%;
  height: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #03060f28;
}

.navbar:hover {
  background-color: rgba(31, 88, 77, 0.5);
  transition: background-color 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: auto;
  z-index:2;
}
.nav-content ul {
  display: flex;
  gap: 1.5rem;
}

.nav-content li {
  list-style-type: none;
}

.nav-content a {
  text-decoration: none;
  font-weight: 600;
  padding: 1.5rem;
}
.nav-content a:hover {
  color: #d0d5dc69;
  text-decoration: underline;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.navbar a.icon {
    display: none;
    color: #ddd;
}

/*==================================*
 * 6. Media Queries
 *=================================*/
/* Tablet | Mobile */

@media (max-width: 480px) {
  .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }

  .service-box {
    min-height: auto; /* let content decide */
  }

@media (max-width: 768px) {

  .cta-button {
    font-size: 1.25rem;
    padding: 1rem 1.5rem;
  }
}

@media screen and (max-width:768px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    display: none;
  }

  .navbar a.icon {
    float: right;
    display: block;
  }

  .navbar.responsive {
    position: relative;
    padding: 0;
  }

  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0; /* shift due to nav padding */
  }

  .navbar.responsive ul {
    display: block;
    width: 100%;
    text-align: left;
  }

  .navbar.responsive li,
  .navbar.responsive a {
    display: block;
  }

  .navbar.responsive img {
    display: none;
  }
}