@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600,700,800");
* {
  box-sizing: border-box;
}

body {
  background-color: #c0c0c0;
  background-image: linear-gradient(to top, #bfbfbf 0%, #cfe9ff 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  font-family: "Fira Sans", sans-serif;
  display: relative;
}

@property --angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: calc(var(--header-height) + 20px) auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 12px;
  border-radius: 25px;
  height: 400px;
  transition: all 0.3s;
}

.blog-slider::before,
.blog-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  --angle: 0deg;
  background-image: conic-gradient(from var(--angle), #0515f5, #03a1a1, #fafa147c);
  animation: autoRotate 2s linear infinite;
  z-index: -1;
  box-sizing: border-box;
}
.blog-slider::after {
  filter: blur(60px);
}
@keyframes autoRotate {
  to { --angle: 360deg; }
}
@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}
@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 300px auto;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}
.blog-slider__item {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}
.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > * {
  opacity: 1;
  transform: none;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
  transition-delay: 0.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
  transition-delay: 0.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
  transition-delay: 0.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
  transition-delay: 0.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
  transition-delay: 0.7s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
  transition-delay: 0.8s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
  transition-delay: 0.9s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
  transition-delay: 1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
  transition-delay: 1.1s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
  transition-delay: 1.2s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
  transition-delay: 1.3s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
  transition-delay: 1.4s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
  transition-delay: 1.5s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
  transition-delay: 1.6s;
}
.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
  transition-delay: 1.7s;
}
.blog-slider__img {
  width: 240px;
  flex-shrink: 0;
  height: 300px;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  box-shadow: 4px 13px 30px 1px rgba(252, 56, 56, 0.2);
  border-radius: 20px;
  transform: translateX(-60px);
  overflow: hidden;
}
.blog-slider__img:after {
  /* overlay removed: keep pseudo-element but make it non-visible and non-interactive */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
}
.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}
@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}
.blog-slider__content {
  padding-right: 40px;
}
@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}
@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}
.blog-slider__content > * {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}
.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}
.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 20px;
}
.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 40px;
  line-height: 1.6em;
}
.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}
@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}
.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}
.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}
.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #062744;
  opacity: 0.2;
  transition: all 0.3s;
}
.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #fd3838;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}
@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}
/* Navigation and Footer styles copied from aboutus.css
    Purpose: keep navigation and footer appearance consistent between pages
*/

:root{
     --header-height: 80px;
}

/* New navbar component (independent, responsive) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--header-border);
    box-shadow: 0 6px 20px rgba(15,40,75,0.06);
    z-index: 1200;
    margin: 0;
}
.site-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2vmin; /* left/right padding only */
    gap: 1rem;
}
.site-logo img { height: 56px; width: auto; display: block; }
.site-nav__menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.site-nav__menu a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 6px; transition: background .18s, color .18s; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 500; text-transform: uppercase; }
.site-nav__menu a:hover { background: var(--accent-1); color: var(--text); }
.site-nav__menu a.active {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    color: #133beb;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(14, 56, 94, 0.603);
}

/* Mobile: collapse menu */
.site-nav__toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.site-nav__toggle span { display: block; height: 2px; width: 20px; background: var(--text); margin: 4px 0; border-radius: 2px; }

@media (max-width: 800px) {
    /* On small screens keep nav links visible as compact buttons and center layout */
    .site-nav__menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 0.6rem;
        background: transparent;
        padding: 0;
        border-radius: 0;
        align-items: center;
    }
    .site-nav__menu a { padding: 6px 8px; font-size: 0.95rem; }
    .site-nav__toggle { display: none !important; }
    .site-inner { justify-content: space-between; }
}

/* Increase navbar blur on About page so it appears more frosted */
.nav {
    backdrop-filter: blur(14px) !important;
}

/* Ensure navbar sits at the top like the index page */
.nav {
  position: relative !important;
  top: 0 !important;
  margin-top: 0 !important;
}

.nav-inner {
  margin: 0 auto !important;
  max-width: min(1200px, 90vw) !important;
}

.menu a {
    color: var(--text) !important;
}

@media(max-width: 900px) {
    .menu-toggle:checked~.menu {
        /* slightly grayer background and stronger blur for better frosted look */
        background: rgba(184, 184, 184, 0.92) !important;
        backdrop-filter: blur(14px) !important;
        color: var(--text) !important;
    }

    .menu-toggle:checked~.nav {
        background: rgba(235, 235, 235, 0.94) !important;
        border-bottom-color: rgba(0,0,0,0.06) !important;
        backdrop-filter: blur(14px) !important;
    }

    .menu li {
        border-bottom-color: rgba(0,0,0,0.06);
    }
}

/* Hamburger (menu button) color override for About page */
.hamburger {
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    background: transparent !important;
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
    background: #000 !important;
}

.hamburger:hover {
    background: rgba(0,0,0,0.03) !important;
}

    .menu .search,
    .menu .nav-btn {
        width: 90%;
        margin-top: 1rem;
    }

    .menu-toggle:checked~.menu {
        max-height: 100vh;
        height: 100vh;
        padding: 1.5rem 0;
        opacity: 1;
        pointer-events: auto;
        background: rgba(8, 10, 14, 0.86);
        backdrop-filter: blur(18px);
        transition: background .25s ease, backdrop-filter .25s ease, max-height .4s ease, opacity .4s ease, padding .4s ease;
    }

    /* If checkbox is placed such that this matches, darken top nav when menu opened */
    .menu-toggle:checked~.nav {
        background: rgba(8, 10, 14, 0.75);
        border-bottom-color: rgba(255,255,255,0.06);
        backdrop-filter: blur(12px);
        transition: background .2s ease, backdrop-filter .2s ease;
    }

    .hamburger {
        display: flex;
    }

    .menu-toggle:checked~.hamburger span {
        background: transparent;
    }

    .menu-toggle:checked~.hamburger span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle:checked~.hamburger span::after {
        top: 0;
        transform: rotate(-45deg);
    }

/* Reduce top gap on wider screens so nav and content come closer */
@media (min-width: 700px) {
    body {
        padding: calc(var(--header-height) + 0px) 2vmin 2vmin;
    }
}
@media (min-width: 1000px) {
    body {
        padding: calc(var(--header-height) + 0px) 2vmin 2vmin;
    }
}
@media (min-width: 1400px) {
    body {
        padding: calc(var(--header-height) + 0px) 2vmin 2vmin;
    }
}
@media (min-width: 1800px) {
    body {
        padding: calc(var(--header-height) + 0px) 2vmin 2vmin;
    }
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--header-height);
    padding: 0.4rem 2vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 120;
    pointer-events: auto;
    background-color: rgba(10, 8, 20, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.main {
    flex: 1 1 auto;
    width: 100%;
}
/* ensure the semantic <main> grows to push footer to bottom */
main {
    flex: 1 1 auto;
    width: 100%;
}

/* Larger breakpoints: scale the blog slider up on wide/fullscreen layouts */
@media screen and (min-width: 1200px) {
  .blog-slider {
    max-width: 1000px;
    height: 520px;
    padding: 36px;
    border-radius: 28px;
    margin: calc(var(--header-height) + 40px) auto;
  }
  .blog-slider__img {
    width: 320px;
    height: 420px;
    transform: translateX(-80px);
    border-radius: 22px;
    box-shadow: 8px 20px 60px rgba(252,56,56,0.12);
  }
  .blog-slider__content { padding-right: 60px; }
  .blog-slider__title { font-size: 28px; }
  .blog-slider__text { font-size: 18px; }
}

@media screen and (min-width: 1600px) {
  .blog-slider {
    max-width: 1200px;
    height: 620px;
    padding: 44px;
    border-radius: 32px;
    margin: calc(var(--header-height) + 60px) auto;
  }
  .blog-slider__img {
    width: 380px;
    height: 520px;
    transform: translateX(-100px);
  }
  .blog-slider__content { padding-right: 80px; }
  .blog-slider__title { font-size: 34px; }
  .blog-slider__text { font-size: 20px; line-height: 1.7; }
}
.nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 2vmin;
}
.nav-logo {
    width: 60px;
    height: 60px;
}
.nav-logo img.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure header logo scales responsively and image fits the square */
.logo-container .logo,
.logo-container img.logo {
    width: clamp(56px, 6vmin, 120px);
    height: clamp(56px, 6vmin, 120px);
}
.logo-container img.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-spot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}
.nav-menu {
    display: flex;
    gap: clamp(12px, 2vmin, 28px);
    align-items: center;
    flex-wrap: wrap;
}
.nav-link {
    color: #d7d7e8;
    text-decoration: none;
    position: relative;
    padding: 8px 6px;
    font-size: clamp(1.1rem, 2.6vmin, 1.7rem);
    transition: color .22s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s cubic-bezier(.2,.9,.2,1);
    border-radius: 3px;
}
.nav-link:hover,
.nav-link.active-link {
    color: #ffffff;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 8px;
    padding: 8px 6px;
}
.nav-link:hover::after,
.nav-link.active-link::after {
    transform: scaleX(1);
}

/* make the About link appear active on this page by showing its underline (::after) */
.nav-link[href="#about"] {
    color: #fff;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 8px;
    padding: 8px 6px;
}
.nav-link[href="#about"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 36px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    margin: 4px 0;
    transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sidebar / Mobile menu */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 84%;
    max-width: 360px;
    height: 100vh;
    background: #151226;
    transform: translateX(120%);
    transition: transform .35s cubic-bezier(.2,.9,.2,1);
    z-index: 90;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.sidebar.show-sidebar { transform: translateX(0); }
.nav-close { background: transparent; border: 0; color: #fff; font-size: 1.2rem; align-self: flex-end; cursor: pointer; }
.sidebar .nav-link { color: #fff; font-size: 1.125rem; padding: 8px 0; }

/* Footer: fixed to bottom with full-width translucent background (like header) */
footer {
    position: fixed; /* stick to viewport bottom */
    bottom: 0;
    left: 0;
    width: 100%; /* full-width without using 100vw to avoid scrollbars */
    box-sizing: border-box;
    height: var(--footer-height);
    background: #2addd44b; /* black */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--footer-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    z-index: 1200;
}
footer .Center {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 2vmin;
}

@media (max-width: 480px) {
    footer { height: calc(var(--footer-height) - 8px); }
    footer .Center { padding: 10px 3vmin; }
    footer .Center p { font-size: 0.85rem; }
}

footer { width: 100%; }
footer .Center { width: 100%; }

footer .Center p { color: #000000; text-align: center; font-size: 14px; margin: 0; }

/* Ensure page content isn't hidden behind the fixed footer */
body { padding-bottom: var(--footer-height); }

/* ---------- Contact Showcase Styles (futuristic + animated) ---------- */
.contact-section {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(28px, 6vw, 56px) 1rem;
  background: linear-gradient(180deg, rgba(10,12,20,0.02), rgba(6,8,14,0.03));
  display: flex;
  justify-content: center;
}
.contact-center { max-width: 1100px; width: 100%; text-align: center; }
.contact-heading {
  margin: 0 auto 6px;
  font-size: clamp(1.8rem, 5.5vw, 3.6rem);
  letter-spacing: 0.04em;
  color: #0b1220;
  font-weight: 800;
}
.contact-sub { margin: 0 0 20px; color: #546170; font-size: clamp(0.95rem, 2.4vw, 1.15rem); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.5vw, 24px);
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.78));
  box-shadow: 0 8px 30px rgba(6,10,20,0.06), 0 0 18px rgba(43,155,255,0.04) inset;
  transform: translateY(0);
  transition: transform 280ms cubic-bezier(.2,.9,.2,1), box-shadow 280ms;
  will-change: transform, box-shadow;
  backdrop-filter: blur(6px);
}
.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 60px rgba(6,10,20,0.12), 0 0 28px rgba(43,155,255,0.10) inset;
}

.card-icon {
  font-size: clamp(28px, 6vw, 44px);
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(43,155,255,0.12), rgba(0,200,190,0.06));
  box-shadow: 0 6px 18px rgba(43,155,255,0.06);
}
.card-title { font-weight: 700; font-size: 1.05rem; }
.card-meta { color: #556677; font-size: 0.95rem; }

/* subtle floating animation for cards on load */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.contact-card { animation: floaty 4.5s ease-in-out infinite; }
.contact-card:nth-child(1) { animation-delay: 0s; }
.contact-card:nth-child(2) { animation-delay: 0.18s; }
.contact-card:nth-child(3) { animation-delay: 0.36s; }

/* Responsive: stack on small screens */
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .contact-grid { grid-template-columns: 1fr; }
  .card-icon { width: 56px; height: 56px; font-size: 22px; }
  .contact-center { padding: 0 6px; }
}

/* small visual accent: glowing border around the center on wide screens */
@media (min-width: 1100px) {
  .contact-center { position: relative; }
  .contact-center::before {
    content: '';
    position: absolute;
    inset: -26px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(43,155,255,0.06), rgba(0,200,190,0.04));
    z-index: -1;
    filter: blur(18px);
  }
}

