/*
COLOR PALETTE
https://coolors.co/f7fff7-343434-2f3061-fff66d-a1c6d7-065eaf-091b74-e9592d-706f6f
# F7FFF7 - almost white (Mint Cream)
# 343434 - dark gray - almost black (Jet)
# 2F3061 - blue dark = RGBA(47,48,97) (Space Cadet)
# FFE66D - yellow (Icterine)   REMOVE ???????????????????
# A1C6D7 - blue light (Pale Cerulean)
# 065EAF - another blue for links (Green Blue)
# 706F6F - gray (Sonic Silver) 
# 091B74 - suttertek logo blue (Midnight Blue)
# E9592D - suttertek logo orange (Flame)
*/
/*
FONTS and ICONS
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.0.0/css/font-awesome.min.css 
https://fonts.googleapis.com/css?family=Caveat|Montserrat:400,600&display=swap
https://fonts.googleapis.com/icon?family=Material+Icons 
https://fonts.googleapis.com/css?family=Orbitron:400,500&display=swap
*/
/*
FORM using Formspree 

*/

/*------------------------------------------------------------*/
/* Global styles                                              */
/*------------------------------------------------------------*/

html {
  /* box-sizing: border-box; */
  scroll-behavior: smooth; /* The scroll to "Let's Keep in Touch" when ckick on [Contact] in the Menu */
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  color: #343434; /* very dark gray instead of pure black */
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif; /* font thruout the page */
  font-size: 16px; /* default font size is 16px */
  line-height: 1.5;
}

a {
  color: #065eaf;
  font-weight: bold;
}

a:hover {
  text-decoration: none;
}

/* Fonts for the Titles */
h1 {
  font-size: 100px;
  line-height: 1;
}

h2 {
  font-size: 50px; /* added in h1, h2, so 'margin: 0;' is redundant here */
}

h1,
h2 {
  font-family: "Caveat", cursive; /* Titles in cursive font */
  font-weight: 700;
  margin: 0;
}

h3 {
  margin-bottom: 0;
}

.content-wrap {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  padding: 60px 0; /*padding: 120px 0 60px 0; /* top right bottom left */
}

.item-details h3 + p {
  font-style: italic;
}

.item-details h3 ~ p {
  margin: 0;
}

.divider > section {
  border-bottom: 1px dashed #343434;
  padding: 25px 0;
}

.divider > section:last-of-type {
  border-bottom: none;
}

/*------------------------------------------------------------*/
/* Top Menu style - code needs to be polished a bit here)     */
/*------------------------------------------------------------*/

/* @import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap"); */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

nav {
  display: flex;
  height: 60px;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

nav ul li {
  margin: 0 5px;
}

nav ul li a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

/* nav ul li a.active,  would hover the [Home] choice in the Menu */
nav ul li a:hover {
  color: #111;
  background: #fff;
}

nav .menu-btn i {
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

input[type="checkbox"] {
  display: none;
}

@media (max-width: 1000px) {
  nav {
    padding: 0 40px 0 50px;
  }
}

@media (max-width: 920px) {
  nav .menu-btn i {
    display: block;
  }

  #click:checked ~ .menu-btn i:before {
    content: "\f00d";
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: #111;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }

  #click:checked ~ ul {
    left: 0;
  }

  nav ul li {
    width: 100%;
    margin: 40px 0;
  }

  nav ul li a {
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  #click:checked ~ ul li a {
    margin-left: 0px;
  }

  nav ul li a.active,
  nav ul li a:hover {
    background: none;
    color: cyan;
  }
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: -1;
  width: 100%;
  padding: 0 30px;
  color: #1b1b1b;
}

.content div {
  font-size: 40px;
  font-weight: 700;
}

/* drop down About menu */

li {
  /* color: #fff;
  background: darkorange;
  display: block; */
  float: left;
  padding: 1rem;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
}

li:hover,
li:focus-within {
  /* background: red; */
  cursor: pointer;
}

li:focus-within a {
  outline: none;
}

ul li ul {
  background: #111e;

  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 1rem;
  left: 0;
  display: none;
}

ul li:hover > ul,
ul li:focus-within > ul,
ul li ul:hover,
ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}

ul li ul li {
  clear: both;
  width: 100%;
}

/*------------------------------------------------------------*/
/* Profile TITLE & SUMMARY (Arturo Sutter, IT Exec + ... )    */
/*------------------------------------------------------------*/

header {
  background: #2f3061; /* Dark Blue (Space Cadet) */
  color: #f7fff7; /* Almost White (Mint Cream) */
  /* text-align: center; */
}

/* Styling from here for Images */

img {
  width: 300px;
}

/*------------------------------------------------------------*/
/* Work Experience                                            */
/*------------------------------------------------------------*/
.work-experience {
  background: #f7fff7;
  color: #343434;
}

/*------------------------------------------------------------*/
/* Projects
/*------------------------------------------------------------*/
.projects {
  background: #a1c6d7; /* Light Blue (Pale Cerilean) */
}

.projects a {
  color: #2f3061; /* Dark Blue (Space Cadet) */
}

.projects .btn {
  color: #f7fff7; /* Almost White (Mint Cream)*/
  background: #2f3061;
  text-decoration: none;
  padding: 8px;
  border-radius: 4px;
  display: inline-block;
}

.projects .btn:hover {
  background: rgba(47, 48, 97, 80%);
}

.project-item {
  overflow: hidden;
}

.project-item h3 {
  margin-top: 0;
}

/*------------------------------------------------------------*/
/* Specific Skills Set                                            */
/*------------------------------------------------------------*/
.skills-set {
  background: #def3de;
  color: #343434;
}
.skill-logo-container-1 {     /* for less than 7 logos */
  display: grid;
  grid-gap: 10px;
  width: 100%;
  margin: 10px;
}
/* Define the grid layout for larger screens */
.skill-logo-container-1 {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(1, 1fr);
}
/* Media query for screens smaller than 900px */
@media (max-width: 900px) {
  .skill-logo-container-1 {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
  .skill-logo-container-1 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skill-logo-container-2 {     /* for more than 6 logos */
  display: grid;
  grid-gap: 10px;
  width: 100%;
  margin: 10px;
}
/* Define the grid layout for larger screens */
.skill-logo-container-2 {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
/* Media query for screens smaller than 900px */
@media (max-width: 900px) {
  .skill-logo-container-2 {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
}
/* Media query for screens smaller than 600px */
@media (max-width: 600px) {
  .skill-logo-container-2 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
}

.logo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  width: 120px;
  height: auto;
}
.logo-name {
  bottom: 0;
  width: 100%;
  text-align: center;
  color: darkgreen; 
  padding: 5px; 
  font-size: 12px;
  font-weight: bold;
} 
.logo img {
  max-width: 100%;
  max-height: 100%;
}

/*------------------------------------------------------------*/
/* Education                                                  */
/*------------------------------------------------------------*/
.education {
  background-image: url(../images/joanna-kosinska-unsplash.jpg);
  background-size: cover;
  background-position: top right;
  padding-bottom: 30px;
}

.education .edu-item,
.education .edu-text,
.education .edu-logo {
  all: unset;
}

/* Re-apply only what’s needed */
.education .edu-item {
  display: flex;
  align-items: flex-start;     /* logo aligns to degree title */
  justify-content: flex-start;
  margin-bottom: 26px;         /* space between rows */

  /* lock all text blocks to the same width */
  width: 700px;                /* adjust until Deusto logo stays exactly where you want */
}

.education .edu-text {
  flex: 0 0 580px;             /* keeps text column same width for all */
}

.education .edu-logo {
  width: 95px;
  height: 95px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.9);
  transition: filter .2s ease, transform .2s ease;
}
.education .edu-logo:hover {
  filter: none;
  transform: scale(1.05);
}

/* Mobile stack */
@media (max-width: 768px) {
  .education .edu-item {
    flex-direction: column;
    gap: 8px;
  }
  .education .edu-logo {
    width: 70px;
    height: 70px;
  }
}

/*------------------------------------*/
/* Certifications section look & feel */
/*------------------------------------*/
section.certifications {
  background:  #EDE3D4;               /* subtle contrast vs Education */
  /* Option: add a light figure, different from Education */
  /* background: url('/assets/bg/geometry-light.svg') center/cover no-repeat; */
  padding: 40px 0;
  border-top: 1px solid #e9ecf3;
}
section.certifications .content-wrap.item-details h2 {
  color: #091B74; /* Suttertek blue */
  margin: 0;
}

/* Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 10px;
}

@media (max-width: 900px) { .certs-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .certs-grid { grid-template-columns: 1fr; } }

/* Card */
.cert-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.cert-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-1px); }

.cert-card img {
  width: 50px; height: 50px; object-fit: contain; filter: grayscale(25%);
}
.cert-card .meta { display: flex; flex-direction: column; gap: 2px; }
.cert-card .inst { font-weight: 700; color: #091B74; }
.cert-card .prog { font-weight: 500; color: #2d2d2d; }
.cert-card .view { font-weight: 600; color: #6b7280; font-size: 0.9rem; }

.certifications .all-link { text-align: center; margin-top: 22px; }
.certifications .all-link a { color: #091B74; font-weight: 700; text-decoration: none; }
.certifications .all-link a:hover { text-decoration: underline; }

.cert-card:hover {
  box-shadow:0 6px 18px rgba(9,27,116,.15);
  transform:translateY(-2px);
}

/* Credential links */
.credential-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: #065eaf;
  text-decoration: none;
}
.credential-link:hover { text-decoration: underline; }

/*------------------------------------------------------------*/
/* Contact Info / Social Media                                */
/*------------------------------------------------------------*/
footer {
  background: #706f6f; /* Gray (Sonic Silver) */
  color: #f7fff7; /* Almost White (Mint Cream) */
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 15px;
  box-shadow: 0px 0px 20px #00000010;
  background-color: white;
  border-radius: 8px;
  margin-bottom: 50px;
}

.form-group {
  color: #343434;
  width: 100%;
  margin-top: 20px;
  text-align: left;
  font-size: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(128, 128, 128, 0.199);
  margin-top: 5px;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  border: none;
  outline: none;
  padding: 20px;
  font-size: 24px;
  border-radius: 8px;
  font-family: "Montserrat";
  color: white;
  background-color: #2f3061;

  text-align: center;
  cursor: pointer;
  transition: 0.3s ease background-color;
  margin-top: 10px;
}

button[type="submit"]:hover {
  background-color: rgba(47, 48, 97, 75%);
}

#status {
  width: 90%;
  max-width: 500px;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
}

#status.success {
  background-color: rgb(211, 250, 153);
  color: green;
  animation: status 4s ease forwards;
}

#status.error {
  background-color: rgb(250, 129, 92);
  color: rgb(252, 252, 252);
  animation: status 4s ease forwards;
}

@keyframes status {
  0% {
    opacity: 1;
    pointer-events: all;
  }

  90% {
    opacity: 1;
    pointer-events: all;
  }

  100% {
    opacity: 0;
    pointer-events: none;
  }
}

/*===============================================*/
/* Social Media */
/*--------------*/

.contact-list {
  list-style-type: none;
  padding: 0;
}

.contact-list a {
  padding: 15px;
  display: inline-block;
  justify-content: space-evenly;
}

/* Social Media Icons */
/* ====================== Social Media Section ====================== */

/* Card that matches contact form width and style */
.contact-list {
  max-width: 700px;           /* same as contact form */
  width: 90%;
  margin: 6px auto 48px;     /* spacing above & below */
  background: #ffffff;
  border-radius: 10px;        /* same curve as form */
  padding: 22px 14px;         /* same padding as form */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); /* subtle shadow */
}

/* Keep alignment clean and centered */
.text-center.center-block {
  text-align: center;
}

/* Base icon style */
.text-center.center-block a {
  color: #333;                 /* neutral base color */
  text-decoration: none;
}

.text-center.center-block .social {
  margin: 0 14px;              /* equal horizontal spacing */
  transform: scale(0.88);      /* rest size */
  transition: color 0.25s ease, transform 0.25s ease;
}

.text-center.center-block .social:hover {
  transform: scale(1.06);      /* smooth zoom on hover */
}

/* Brand hover colors (same IDs) */
.text-center.center-block #social-in:hover { color: #0A66C2; } /* LinkedIn */
.text-center.center-block #social-fb:hover { color: #1877F2; } /* Facebook */
.text-center.center-block #social-tw:hover { color: #000000; } /* X (Twitter) */
.text-center.center-block #social-ig:hover { color: #E4405F; } /* Instagram */
.text-center.center-block #social-em:hover { color: #065eaf; } /* Email */

/* ================================================================== */

/* Social Media Icons - finished Styling */
/*---------------------------------------*/
/*------------------------------------------------*/
/* Coprright Arturo Sutter / Powered by suttertek */
/*------------------------------------------------*/
.box {
  display: flex;
  justify-content: space-between;
  color: #ffffff;
}

/*------------------------------------------------------------*/
/* Responsive page                                            */
/*------------------------------------------------------------*/
@media screen and (min-width: 750px) {
  header,
  footer {
    text-align: center;
  }

  .project-item img {
    float: left;
    margin-right: 20px;
  }

  .job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
  }

  .contact-list {
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 749px) {
  h1 {
    font-size: 75px;
    line-height: 0.9;
    margin-bottom: 20px;
  }

  h2 {
    line-height: 1;
  }

  .contact-list a {
    padding: 5px;
  }
}

/*--------------------------*/
/* Back to Top arrow button */
/*--------------------------*/

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
 /* z-index: 996;
 /* background: #e9592d;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  transition: all 0.4s; */
}
.triangle-box {
  /* background-color: green;
  height: 20px;
  width: 20px; */
  border: 20px solid transparent;
  border-bottom-color: #e9592d;
}
.back-to-top i {
  font-size: 20px;
  color: #fff;
  line-height: 0;
}
.triangle-box:hover {
  background-color: 50%;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ================= Mobile layout tweaks (<= 700px) ================ */
@media (max-width: 700px) {
  /* Education hero copy + photo */
  .education {
    background-position: center top;
    padding: 28px 0 22px;
    min-height: 320px; /* ensure bg shows even with little content */
  }
  /* If your headshot is floated right in the hero text block */
  .hero-photo, .hero img, img[style*="float:right"] {
    float: none !important;
    display: block;
    margin: 14px auto 0 !important;
    width: 75% !important;
    max-width: 320px !important;
    height: auto !important;
  }

  /* Certificates list/cards become single column */
  .certificates, .cert-grid, .cards {
    display: block !important;
  }
  .certificates .card, .cert-grid .card, .cards .card {
    width: 100% !important;
    max-width: 700px;
    margin: 12px auto !important;
  }

  /* Social icons: match contact form width and reduce icon size */
  .contact-list {
    max-width: 700px;
    width: 94%;
    margin: 8px auto 36px;
    padding: 18px 12px;
  }
  .text-center.center-block .social {
    transform: scale(0.82);
    margin: 0 10px;
  }
}
