@font-face {
    font-family: 'Geologica';
    src:url('assets/fonts/Geologica.woff2') format('woff2'),
        url('assets/fonts/Geologica.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #000;
    --white: #fff;
    --shadowgrey: #f2f0f0;
    --purple: #340586;
    --shadow: #e2e2e2;
  }

body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Geologica', sans-serif;
}

/* @font-face {
    font-family: 'geologica';
    src: url('/geologica.woff2') format('woff2'),
         url('/geologica.woff') format('woff');
  } */



  /* System font before webfont is loaded */
/* body {
    font-family: sans-serif;
  } */
  
  /* Use webfont when it loads */
  /* .fonts-loaded body {
    font-family: 'Geologica', sans-serif;
  } */

section{
    margin-bottom: 80px;
} 


/* HEADER CSS */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: var(--white);
    color: var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    z-index: 1000;
    box-shadow: 0px 2px 15px var(--shadow);
}

.logo {
    font-size: 24px;
    margin-left: 2%;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-right: 2%;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: var(--black);
    color: var(--white);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-right: 2%;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--black);
}

.menu-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--white);
    color: var(--black);
    z-index: 1001;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.menu-popup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-popup-content a {
    color: var(--black);
    text-decoration: none;
    font-size: 24px;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

/* END OF HEADER CSS */

/* HERO BANNER */
.hero-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: url('img/hero-background.jpeg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-text {
    position: absolute;
    /* background: rgba(0, 0, 0, 0.5);  */
    /* Black background with transparency */
    padding: 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 400px;
        background: url('img/hero-background.jpeg') no-repeat center center/cover;
    }

    .hero-text {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-text {
        padding: 10px;
    }
}

/* END OF HERO BANNER */

/* 3 CARDS W/ SERVICES */
.cards-section {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.card {
    flex: 1 1 30%;
    background: var(--shadowgrey);
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow);
    text-align: center;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}

@media (max-width: 768px) {
    .cards-section {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        flex: 1 1 100%;
        margin: 10px 0;
    }
}

section.cards-section a {
    text-decoration: none;
    color: black;
}
/* END OF 3 CARDS W/ SERVICES */

/* WHO WE ARE */
.innodev-who-we-are {
    text-align: center;
}

/* END OF WHO WE ARE */


/* ANIMATED PROJETCS NUMBERS */
.counters-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 20px;
    background: #f9f9f9;
    margin-bottom: 0px;
}

.counter {
    text-align: center;
}

.counter-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 10px;
}

.counter h2 {
    font-size: 24px;
    margin: 10px 0;
}

.counter p {
    font-size: 16px;
    color: #666;
}

@media (max-width: 768px) {
    .counters-section {
        flex-direction: column;
    }

    .counter {
        margin-bottom: 20px;
    }
}

/* END OF ANIMATED PROJETCS NUMBERS */

/* CONTACT FORM */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: auto;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.form-group label {
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}

button {
    padding: 10px 20px;
    margin-top: 30px;
    border: none;
    border-radius: 5px;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s;
    font-size: 20px;
    font-family: 'Geologica';
}

button:hover {
    background: var(--purple);
    color: var(--white);
}
/* END OF CONTACT FORM */


/* USPS */

.usps-section {
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    align-content: center;
    margin-left: auto;
    margin-right: auto;
}

.usp-card {
    flex: 1 1 25%;
    background: var(--shadowgrey);
    margin: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow);
    text-align: center;
}

.usp-card i {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .usp-card {
        flex: 1 1 45%;
        margin: 10px 0;
    }
}

/* END OF USPs */

/* FOOTER SECTION */
footer.footer-section {
    background-color: var(--purple);
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    bottom: 0vh;
    justify-content: space-around;
    width: 100vw;
}

.footer-column{
    color: var(--white);
    font-size:20px;
    text-align: center;
}

/* END OF FOOTER SECTION */

/* MAIN TEXT SECTION INNER PAGES */
.main-text-section {
    margin: 5%;
}

/* SIMPLE UNDERLINE BUTTON */
.innodev-underline-button {
    padding: 10px 5px;
    text-decoration: underline;
}


/* CASE STUDIES */
.image-text-section {
    display: flex;
    flex-wrap: nowrap;
    margin: 80px 15%;
  background: #f0f0f0;
      padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container, .text-container {
    flex: 1 1 50%;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  align-items: flex-start;
}

.text-container h3{
  color: gray;
  font-size: 16px;
  font-style: italics;
}

.text-container a{
    text-decoration: none;
  background-color: #340586;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  transition: 1s;
}

.text-container a:hover{
  scale: 1.05;
  box-shadow: 10px 10px 10px lightgrey;
  transition: ease-out;
  background-color: #000;
}

@media (max-width: 768px) {
    .image-text-section {
        flex-direction: column;
		margin: 80px 5%;
    }

    .image-container, .text-container {
        flex: 1 1 100%;
        padding: 10px 10px;
    }
}