* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {

  /*===================================VARIABLES DECLARATIONS=============================*/
  /* Colors */
  --color-primary: #0414C2;
  --color-secondary: #051570;
  --color-body-bg: #F2F8FF;
  --color-header: #F2F8FF;
  --color-origin: #010328;
  --gradient-colimaco: linear-gradient(to right, #750604 4%, #DB0B07 96%);
  --gradient-daamaar: linear-gradient(to right, #025922 4%, #049238 96%);
  --gradient-artistika: linear-gradient(to right, #020A6C 4%, #0414C2 96%);
  --gradient-grindcv: linear-gradient(to right, #FFAD01 4%, #DB0B07 96%);
  --gradient-service-cards-back: linear-gradient(to right, #02075F 4%, #040CB2 51%, #040FF4 100%);
  --gradient-footer: linear-gradient(to right, #03046e 4%, #1905cf 96%);

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --fs-xl: clamp(2rem, 5vw, 3rem);
  /* Main headlines */
  --fs-lg: clamp(1.5rem, 4vw, 2rem);
  /* Section titles */
  --fs-md: clamp(1rem, 2vw, 1.25rem);
  /* Paragraphs */
  --fs-sm: 0.875rem;
  /* Buttons, captions */
  --fs-xs: 0.75rem;
  /* Small labels */

  /* Spacing: padding, margin, gap */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;


  /* Border radius and shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.15);


  /* Breakpoints */
  --break-sm: 480px;
  --break-md: 768px;
  --break-lg: 1024px;
  --break-xl: 1280px;



}

/* ========ADDING THE WAKANADA FONT FAMILY==========*/

@font-face {
    font-family: 'WakandaForever';
    src: url('../fonts/wakandaforeverregular-k7pzx-webfont.woff2') format('woff2'),
         url('../fonts/wakandaforeverregular-k7pzx-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* =========BODY======= */

body {
  padding: 0rem;
  font-family: "Inter", sans-serif;
  background-color: var(--color-body-bg);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

/* ===================================HEADER SECTION======================================*/

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  padding: var(--space-sm);
  position: sticky;
  z-index: 1000;
  background-color: var(--color-body-bg);
  top: 0;
}

.nav_links {
  display: none;
  gap: var(--space-sm);
  list-style: none;
}

.nav_links li a {
  text-decoration: none;
  color: var(--color-origin);
  font-weight: 500;
  font-size: var(--fs-sm);
}

.nav_links li a:hover {
  color: var(--color-primary);
  font-weight: bolder;
}

.header_logo img {
  width: clamp(7rem, 13vw, 10rem);
  height: auto;
  cursor: pointer;
}

.header_logo {
  cursor: pointer;
}

.cta_btn {
  background-color: var(--color-primary);
  border: none;
  border-radius: 3px;
  padding: 0.4rem 0.6rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--color-body-bg);
  display: none;
}

.hamburger_btn {
  border: none;
  color: var(--color-primary);
  font-size: x-large;
  font-weight: bold;
  background-color: var(--color-body-bg);
  cursor: pointer;
}

.Hero_section {
  padding: var(--space-md);
  height: 80vh;
  background-image: url('../images/new_hero.svg');
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero_headline {
  color: var(--color-body-bg);
  text-align: center;
  margin-bottom: var(--space-xs);
  font-size: clamp(1.5rem, calc(1rem + 2vw), 10rem);
  
}

.hero_subheadline {
  padding-inline: 20vw;
  color: var(--color-body-bg);
  text-align: center;
  font-size: clamp(0.5rem, calc(0.75rem + 1.5vw), 3rem);
  font-weight: 100;
}

.services_offered {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: var(--color-body-bg);
  position: absolute;
  bottom: 7rem;
  flex-wrap: wrap;
  flex-direction: column;
  font-size: var(--fs-sm);
  display: none;
}

#typed_services::after {
  content: "|";
  animation: blink 0.7s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}


/*====================HAMBURGER MENU CONTENT==================*/
.mobile_menu{
  display: none;
  position: fixed;
  top: var(--space-lg); /* Or match header height exactly */
  left: 0;
  width: 100%;
  height: calc(100vh - var(--space-lg));
  background: var(--gradient-artistika);
  z-index: 998;
  padding: var(--space-lg);
  flex-direction: column;
  align-items:center;
  justify-content: space-between;
  text-align: center;
  transition: all 0.3s ease-in-out;
} 

.mobile_menu.active {
  display: flex;
  top: var(--space-lg); /* If your header is sticky, adjust top */
}

.mobile_nav_links{
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-body-bg);
  font-weight: bold;
  font-size: var(--fs-sm);
  gap: var(--space-md);
}

.mobile_nav_links li{
  list-style: none;
}

.mobile_nav_links li a{
  text-decoration: none;
  color: var(--color-body-bg);
}

.mobile_menu_cta_btn{
  padding-inline: var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  font-size: var(--fs-sm);
  font-weight: bold;
  background-color: var(--color-body-bg);
  border-color: var(--color-body-bg);
  position: fixed;
  bottom: 3rem;
}




/* =====================================ABOUT SECTION==================================== */

.about {
  padding: var(--space-sm);
  height: fit-content;
  background-image: url(../images/about_bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about h2 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
}

.about p {

font-size: var(--fs-xs);
  /* text-size-adjust: auto; */
  text-align: justify;
  margin-bottom: 2rem;
}

.about_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* or `center` if you prefer */
  gap: 2rem;
  margin-top: 2rem;
}

.about_cards>div {
  flex: 1 1 calc(100% - 2rem);
  /* 4 cards per row, accounting for gap */
  background-color: var(--color-body-bg);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about_cards img {
  width: 80%;
  display: flex;
  border: solid;
  border-radius: 9px;
  border-color: var(--color-secondary);
  margin-bottom: 1rem;
}

.about_cards h5 {
  margin-bottom: 1rem;
}

.about_cards p {
  text-align: center;
}

.our_solutions {
  padding: var(--space-sm);
  background-image: url(../images/our_solutions_bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: fit-content;
  text-align: start;
  position: relative;
}

.our_solutions p {
  margin-bottom: 2rem;
  font-size: var(--fs-xs);
}

.our_solutions h2 {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-md);
}

.solution_cards {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 2rem;
  padding: 1rem;
  padding-left: calc((100vw - 300px) / 2);
  padding-right: calc((100vw - 300px) / 2);
}

.custom_solution_card {
  scroll-snap-align: center;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100vw;
  max-width: 300px;
}


.custom_solution_card>div {
  margin: 0;
  padding: 0;
}


.bg_card,
.colimaco_gradient {
  margin: 0;
  padding: 0;
}

.bg_card img {
  width: 100%;
  height: auto;
  display: block;
}

.gradient_header {
  display: flex;
  justify-content: space-between;
  align-items: flex;
  padding: 0.5rem 0.5rem 0rem 0.5rem;
}

.title {
  font-family: 'WakandaForever';
  font-size: var(--fs-md);
  font-weight: bold;
  color: var(--color-body-bg);
}

.interest {
  font-style: italic;
  font-weight: bold;
  font-size: var(--fs-sm);
  color: var(--color-body-bg);
}


.custom_solution_card p {
  font-size: var(--fs-xs);
  line-height: 1.4;
  font-weight: 200;
  color: var(--color-body-bg);
  padding: 0.5rem 0.5rem;
  text-align: left;
  width: 80%;
}



.colimaco_gradient {
  min-height: 40%;
  background: var(--gradient-colimaco)
}

.daamaar_gradient {
  min-height: 40%;
  background: var(--gradient-daamaar)
}

.artistika_gradient {
  min-height: 40%;
  background: var(--gradient-artistika)
}

.grind_cv_gradient {
  min-height: 40%;
  background: var(--gradient-grindcv)
}

.solution_cards::-webkit-scrollbar {
  display: none;
}

.scroll_controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-primary);
  color: var(--color-body-bg);
  border: none;
  padding: 1rem;
  font-size: var(--fs-sm);
  font-weight: bolder;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.scroll-btn.left {
  left: 15px;
}

.scroll-btn.right {
  right: 15px;
}

.scroll-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


.our_services {
  padding: var(--space-sm);
  width: 100%;
  background-position: center;
  background-color: var(--color-body-bg);
  background-repeat: no-repeat;
  background-size: cover;
  height: fit-content;
  margin-bottom: var(--space-sm);
}

.our_services h2 {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-md);
}

.our_services p {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
}

.services_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.custom_services_card {
  padding: 1rem;
  background-image: url(../images/services_bg.svg);
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: clamp(275px, 10vw, 350px);
  min-height: 150px;
  flex-shrink: 0;
  color: var(--color-body-bg);
  line-height: 1.4;
  cursor: pointer;
  perspective: 1000px;
}

.card_faces {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.custom_services_card.flipped .card_faces {
  transform: rotateY(180deg);
}


.card_front,
.card_back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: var(--shadow-md);
  background-image: url(../images/services_bg.svg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-body-bg);
}

.card_back {
  transform: rotateY(180deg);
  background: var(--gradient-service-cards-back);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  height: 100%;
}


.custom_services_card:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}


.custom_services_card p {
  font-style: italic;
  font-weight: 200;
  font-size: var(--fs-xs);
  width: 100%;
}

.card_back p {
  font-size: var(--fs-xs);
  text-align: center;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.flip_icon {
  color: var(--color-primary);
}





/* =================================CONTACT US===========================================*/

.contact {
  display: flex;
  flex-direction: column;
  background-image: url('../images/contact_bg.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--space-sm);
}

.contact h2 {
  font-size: var(--fs-md);
  padding-bottom: var(--space-sm);
}

.contact h5 {
  font-size: var(--fs-sm);
}

.contact_p {
  font-size: var(--fs-xs);
  padding-bottom: var(--space-md);
}

form label {
  font-size: var(--fs-xs);
  font-weight: bold;
}

#email,
#name,
#message,
#file {
  border: solid;
  border-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-size: var(--fs-sm);
  outline: none;
  resize: vertical;
  background-color: transparent;
  color: var(--color-origin);
  width: 100%;
}

textarea {
  margin-bottom: 0;
  padding: var(--space-xs);
  background: transparent;
  font-size: var(--fs-sm);
}

textarea:focus,
input:focus {
  outline: none;
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0 2px rgba(4, 20, 194, 0.2);
}

.contact_form {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.contact_form_first_row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact_form_first_row input {
  padding: 0.5rem;
}

.name,
.email {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}

.contact_form_second_row {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.contact_form_second_row_left_column {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact_form_second_row_right_column {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.file_upload {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.file_upload input {
  border: solid;
}

.contact_form_second_row_right_column input {
  padding: 0.5rem;
}

button {
  margin: 0;
  width: fit-content;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  border-color: var(--color-primary);
  color: var(--color-body-bg);
  padding: 0.2rem;
  font-size: var(--fs-sm);

}

.contact_info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-sm);
}

.contact_info a {
  font-size: var(--fs-xs);
  font-weight: bold;

}

.contact_info h5,
p {
  font-size: var(--fs-xs);

}



/* =========================================FOOTER========================================= */

footer {
  background: var(--gradient-footer);
  padding: var(--space-sm)
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;

}

.footer-logo img {
  width: clamp(7rem, 13vw, 10rem);
  height: auto;
  cursor: pointer;
}

.footer-column h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-sm);
  color: var(--color-body-bg);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--space-xs);
}

.footer-column ul li a {
  color: var(--color-body-bg);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: lighter;
}

.footer-column ul li a:hover {
  color: var(--color-body-bg);
  font-weight: bolder;
}

.footer-column li {
  color: var(--color-body-bg);
  font-size: var(--fs-sm);
  font-weight: lighter;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-body-bg);
  color: var(--color-body-bg);
}










/* ==========================================================================================
=====================================THE LAND OF MEDIAQUERIES================================
===========================================================================================*/


@media (min-width: 480px) {
  /* Small phones and up */

}

@media (min-width: 768px) {
  /* Tablets and up */


  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Make sure it stays on top */
    background-color: var(--color-body-bg);
    /* Prevent transparency issues */
  }

  .nav_links {
    display: flex;
    align-items: flex-start;
  }

  .hamburger_btn {
    display: none;
  }

  .cta_btn {
    display: block;
  }


  .services_offered {
    display: flex;
    width: 100%;
    align-items: left;
    flex-direction: row;
    font-size: var(--fs-md);
  }




  .data {
    padding-right: 0rem;
  }

  .about_cards>div {
    flex: 1 1 calc(50% - 2rem);
    /* 2 cards per row */

  }

  .solution_cards {
    padding-left: calc((100vw - 90vw) / 2);
    padding-right: calc((100vw - 90vw) / 2);
  }
  .custom_solution_card {
    max-width: 90vw;
  }

  .contact_form_first_row,
  .contact_form_second_row,
  .contact_info {
    flex-direction: row;
  }

  .contact_form_second_row {
    margin-bottom: var(--space-xl);
  }

  .contact_info {
    padding-inline: var(--space-xl);
  }

  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    grid-template-columns: 1fr;
    padding-inline: var(--space-sm);
  }

}


@media (min-width: 1024px) {
  /* Small laptops and up */

  .about_cards>div {
    flex: 1 1 calc(25% - 2rem);
    /* 4 cards per row */


  }

  .custom_solution_card {
    width: 25vw;
  }
}

@media (min-width: 1280px) {
  /* Standard desktops and up */
}

@media (min-width: 1536px) {
  /* Big desktop monitors */
}






















/* Debug Info */
#screen-size {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: monospace;
  border-radius: 5px;
  z-index: 9999;
}