@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

body{
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Fira Sans', sans-serif;
    width: 100%;
}
* {
    box-sizing: border-box; /* Ensures padding and borders are included in width/height */
}
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
.container {
    display: flex;
    align-items: normal;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    height: 210px;
    z-index: 3000;
}
.container #sidebartoggle {
    display: none;
}
.container .conarrow{
    display: none;
}
.container .nav-backdrop {
    display: none;
}
.container .nav{
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 65%;
    padding: 10px;
    position: absolute;
    left: 10%;
    top: -7px;
    z-index: 3000;
}
.container li{
    list-style: none;
    margin: 0 10px;
    text-wrap: nowrap;
}
.container button{
    background-color: transparent;
    border: solid 2px #00C89A;
    border-radius: 100px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    height: 50%;
    position: relative;
    top: 5px;
    align-content: center;
    padding: 0px 20px 0px 20px;
    box-shadow: 0px 59px 23px rgba(255, 214, 89, 0.01), 
    0px 33px 20px rgba(255, 214, 89, 0.05), 
    0px 15px 15px rgba(255, 214, 89, 0.09), 
    0px 4px 8px rgba(255, 214, 89, 0.1);
}
.container button.ins{
    margin: 0;
    height: 40px;
    background-color: #FFF;
    color: #00C89A !important;
}
.container button.ins a{
    color: #00C89A;
    text-decoration: none;
}
.container button.ins a:visited{
    color: #00C89A;
}
.container button.con{
    margin: 0 5px;
    height: 40px;
    background-color: #00C89A;
    color: #fff;
}
.container button.con a{
    color: #fff;
    text-decoration: none;
}
.container button.con a:visited{
    color: #fff;
}
.container .lang{
    position: absolute;
    right: 23.3%;
    height: 20px;
    top: 15px;
    width: 10px;
    border: none;
}
.container .lang img{
    width: 20px;
    object-fit: contain;
    position: relative;
    right: 15px;
}
.container div{
    display: flex;
    justify-content: space-between;
}
.logo{
	background-color: rgba(11, 2, 99, 1);
    border-radius: 120px 150px 50px 200px;
    height: fit-content;
    width: 50%;
    height: 300px;
    overflow: hidden;
    position: relative;
    left: -39%;
    top: -200px;
    transform: rotate(13deg);
}
.logo img{
    object-fit: contain;
    position: relative;
    top: 60px;
    left: 39%;
    transform: rotate(-13deg);
    width: 25%;
    height: 120px;
    margin:auto;
    padding: 5px;
}
a{
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}
.nav a{
    color: #00C89A;
    text-shadow: 0px 3px 40px #0B0263;
}
.nav a:hover, #dropdown-button:hover{
    color: #ffd659;
}
#dropdown-button {
    border: none;
    cursor: pointer;
    color: #00C89A;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    top: 0;
    background-image: url('../droparrow.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
    margin: 0;
    box-shadow: none;
    text-shadow: 0px 3px 40px #0B0263;
}
#dropdown-button:hover {
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.9761 19.7875L8.17984 11.5037C7.36609 10.3437 8.19609 8.75 9.61234 8.75L20.3898 8.75C21.8061 8.75 22.6361 10.3437 21.8236 11.5037L16.0248 19.7875C15.9096 19.952 15.7563 20.0864 15.5781 20.1791C15.3999 20.2718 15.202 20.3203 15.0011 20.3203C14.8002 20.3203 14.6023 20.2718 14.4241 20.1791C14.2458 20.0864 14.0914 19.952 13.9761 19.7875Z" fill="%23ffd659"/></svg>');;
}
#dropdown {
    position: absolute;
    background: #FFFFFF;
    border-radius: 5px 24px 12px;
    top: 50px;
    left: 110px;
    width: 250px;
    height: 170px;
    background-color: #FFF;
    z-index: 1000;
    overflow: hidden;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 5px;
    gap: 5px;
}
#dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
#dropdown a {
    text-wrap: wrap;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    display: block;
    width: 100%;
    text-shadow: none;
}
.spacer{
    margin: auto;
    width: 80%;
    background-color: #ffd559ab;
    height: 1px;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px;
    flex-wrap: wrap;
    background-image: linear-gradient(to right,#0B0263 40%, #00C89A 50%);
    border-radius: 12px;
}
.hero-text {
    max-width: 400px;
    margin: -20px;
    padding: 0;
}
.hero-text h4 {
  color: #ffcc00;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
  padding: 0;
}
.hero-text p{
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 12px;
}
.laptop{
    position:absolute;
    left: 30%;
    top: 15px;
}
.iphone{
    position: absolute;
    top: 55px;
    right: 5%;
}
.lost{
    position: absolute;
    width: 200px;
    left: 62%;
    top: 290px;
}
.social-iconsu{
    position: absolute;
    top: 350px;
    right: 10px;
}
.social-iconsu img {
  width: 30px;
  height: 30px;
}
.net{
    position: absolute;
    display: flex;
    right: 20px;
    top: 300px;
}
.net p{
    color: #FFFFFF;
}
.filters {
      display: flex;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }

    .filters button {
      border: 2px solid turquoise;
      background: none;
      color: turquoise;
      padding: 5px 12px;
      border-radius: 20px;
      font-weight: bold;
      cursor: pointer;
    }

    .filters button.active {
      background: turquoise;
      color: white;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 20px;
    }

    .card {
      display: flex;
      flex-direction: column;
      border-radius: 12px;
      overflow: hidden;
      background: white;
      box-shadow: 0 0 5px rgba(0,0,0,0.1);
    }

    .card img {
      display: block;
      width: 100%;
      height: 128px;
      object-fit: cover;
    }

    .card-body {
      background: navy;
      color: white;
      padding: 12px 14px;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .card-title {
      font-weight: 700;
      line-height: 1.4;
      margin: 0;
    }

    .card-excerpt {
      color: rgba(255,255,255,0.85);
      font-size: 14px;
      line-height: 1.45;
      margin: 0;
    }

    .tag {
      background: turquoise;
      color: navy;
      display: inline-block;
      padding: 2px 10px;
      border-radius: 10px;
      font-size: 12px;
      margin-bottom: 2px;
    }

    .read-more {
      color: turquoise;
      text-decoration: none;
      font-weight: bold;
      align-self: flex-start;
      margin-top: 6px;
    }

    .no-blogs-message {
      grid-column: 1 / -1;
      background: rgba(220, 38, 38, 0.12);
      color: #991b1b;
      border: 1px solid rgba(220, 38, 38, 0.2);
      border-radius: 10px;
      padding: 14px 16px;
      font-weight: 600;
    }

    .pagination {
      margin-top: 2rem;
      display: flex;
      justify-content: center;
      gap: 10px;
    }

    .pagination button {
      background: none;
      border: none;
      font-weight: bold;
      color: navy;
      cursor: pointer;
    }

    .pagination .active {
      background: turquoise;
      color: white;
      border-radius: 50%;
      padding: 5px 10px;
    }

.blog-modal.hidden {
  display: none;
}

.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 2, 99, 0.72);
}

.blog-modal-card {
  position: relative;
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  background: white;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(11, 2, 99, 0.12);
  animation: blogModalIn 180ms ease-out;
}

.blog-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: rgba(11, 2, 99, 0.85);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.blog-modal-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.blog-modal-content {
  padding: 20px 22px 24px;
}

.blog-modal-content h2 {
  color: #0B0263;
  margin: 12px 0 10px;
  font-size: 28px;
  line-height: 1.25;
}

.blog-modal-date {
  color: #4a5568;
  font-size: 14px;
  margin-bottom: 18px;
}

.blog-modal-article {
  color: #1f2937;
  line-height: 1.75;
  white-space: pre-line;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 16px;
  color: #333;
  text-align: center;
  margin: auto;
}

@keyframes blogModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.footer {
    position: relative;
    background-color: #6D8DCA;
    color: white;
    font-family: Arial, sans-serif;
    padding: 0px 20px;
    padding-bottom: 0;
    border-top: 5px solid #00C89A;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 250px;
    text-align: center;
}

.logan{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.footer-logo {
    width: 50%;
    max-width: 100px;
}

.slogan {
    color: #ffc857;
    font-size: 20px;
    width: 50%;
    margin: 0;
    text-shadow: #0B0263 1px 1px;
}
.emof{
    width: 15%;
    object-fit: contain;
    align-self: flex-start;
    transform: rotate(8deg);
}
.description {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
    text-align: left;
    text-shadow: #0B0263 2px 0px;
}
.footer .infos{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #0B0263;
}
.footer-section h3:not(.slogan) {
    color: #ffc857;
    text-decoration: underline;
    margin-bottom: 15px;
    text-shadow: #0B0263 2px 0px;
}

.apps p{
    text-shadow: #0B0263 2px 0px;
}
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

footer p{
    font-weight: bold;
    font-size: 14px;
}
.footer a{
    text-shadow: #0B0263 2px 0px;
}

.footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    color: #555;
    font-size: 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
.footer-bottom a{
    color: #FFFFFF;
    text-shadow: #0B0263 2px 0px;
}

.social-icons a {
    display: inline-flex;
    margin: 0;
}
.social-icons{
    position: absolute;
    top: 320px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 26px;
    border: none;
    border-radius: 12px;
}
.social-icons::after{
    content: "";
    position: absolute;
    background: rgba(0, 200, 154, 0.79);
    filter: blur(50px);
    border-radius: 20px;
    transform: rotate(-180deg);
    width: 100%;
    height: 100%;
    z-index: -1;
}
.social-icons img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

@media (max-width: 1250px) {
    .container ul li {
        margin: 0;
    }
    .container .nav {
        width: fit-content;
        gap: 15px;
    }
    .container .lang{
        right: 25%;
    }
    .lost{
        display: none;
    }
}
@media (max-width: 1170px){
    .container{
        overflow: visible;
    }
    .logo {
        position: relative;
        left: 0%;
        top: 0;
        width: 120px;
        height: 120px;
        border-radius: 12px;
        transform: none;
    }
    .logo img {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 80%;
        height: 80%;
    }
    .container .header{
        justify-content: flex-start;
    }
    .container .header div:not(.logo){
        flex-grow: 1;
    }
    .container .nav {
        position: relative;
        left: 0;
        top: 0;
        width: fit-content;
        margin: auto;
    }
    .container .lang {
        display: none;
    }
    .container div{
        align-items: center;
    }
    .container button {
        position: relative;
        top: 0px;
    }
    .container button.ins {
        display: none;
    }
    .hero{
        position: relative;
    }
    .net{
        top: 30%;
    }
    .social-iconsu{
        top: 50%;
    }
    .iphone{
        width: 30%;
        right: 10%;
        top: -30%;
    }
    .laptop{
        top: -50%;
        left: 52%;
        transform: translateX(-50%);
    }
    .hero-text{
        max-width: 380px;
    }
}
@media (max-width: 1100px){
    .laptop, .iphone{
        display: none;
    }
    .hero-text{
        max-width: 100%;
    }
    .hero{
        background: linear-gradient(to right, #0B0263, #00C89A);
    }
    .net{
        top: 10%;
    }
    .social-iconsu{
        top: 30%;
    }
}
@media (max-width: 1000px){
    .container .con{
        display: none;
    }
    .container .conarrow{
        display: block;
        width: fit-content;
        transform: rotate(180deg);
    }
}
@media (max-width: 900px){
    .container .header{
        justify-content: space-between;
        padding: 8px 12px;
        background-color: #0B0263;
    }
    .container > .header > div:last-child{
        flex: none;
        min-width: unset;
    }
    .container .nav {
        position: fixed;
        top: 0;
        left: -320px;
        width: min(300px, 85vw);
        height: 100vh;
        margin: 0;
        padding: 100px 16px 24px;
        background: linear-gradient(180deg, rgba(11, 2, 99, 0.98) 0%, rgba(4, 30, 109, 0.98) 100%);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 30px;
        overflow-y: auto;
        transition: left 0.28s ease;
        z-index: 20000;
    }
    .container .nav.nav-open {
        left: 0;
    }
    body.nav-open {
        overflow: hidden !important;
    }
    .container .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(11, 2, 99, 0.45);
        backdrop-filter: blur(2px);
        z-index: 19990;
    }
    .container .nav-backdrop.show {
        display: block;
    }
    .container li {
        margin: 0;
    }
    .container .nav a,
    .container .nav #dropdown-button {
        width: 100%;
        color: #ffffff;
        text-align: left;
        font-size: 16px;
        filter: none;
        padding: 0;
    }
    .container .nav button {
        width: 100%;
        justify-content: flex-start;
        padding: 12px;
        box-shadow: none;
    }
    .container .nav > li {
        display: flex;
        flex-direction: column;
    }
    .container .nav #dropdown {
        position: static;
        width: 100%;
        height: auto;
        overflow: visible;
        background-color: #0B0263;
    }
    .container #sidebartoggle {
        display: block;
        background-color: #00C89A;
        position: relative;
        padding: 0px 9px;
        height: 40px;
        z-index: 30001;
    }
    .container #sidebartoggle img {
        width: 20px;
        height: 20px;
    }
}
@media (max-width: 800px){
    .net, .social-iconsu{
        display: none;
    }
}
@media (max-width: 950px) {
    .social-icons {
        position: relative;
        top: -50px;
        width: fit-content;
        left: 50%;
        transform: translateX(-50%);
    }
    .links {
        display: none;
    }
}
@media (max-width: 768px) {
  .blog-modal-image {
    height: 200px;
  }

  .blog-modal-content {
    padding: 18px;
  }
  .footer-container {
    flex-direction: column;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .links {
    display: block;
    margin-bottom: 100px;
  }
}