/*
Theme Name: Olderi
Template: hello-elementor
Author: vDisain
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1729251924
Updated: 2024-10-18 11:45:24

*/


h1.entry-title {
    DISPLAY: NONE;
}

/* ► GRID (flex + wrapping) */
.info-blocks-grid {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  
  /* ► BLOCK DEFAULT: 3 per row */
  .info-block {
    flex: 0 0 calc((100% - 64px) / 3);
    box-sizing: border-box;
  }
  
  /* ► RESPONSIVE: 2 per row on tablet */
  @media (max-width: 1024px) {
    .info-block {
      flex: 0 0 calc((100% - 32px) / 2);
    }
  }
  
  /* ► RESPONSIVE: 1 per row on phone */
  @media (max-width: 640px) {
    .info-block {
      flex: 0 0 100%;
    }
  }
  
  /* ► BLOCK (hover & base) */
  .info-block {
    position: relative;
    background: #EBEFF2;
    padding: 24px 24px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .info-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(14, 36, 88, 0.5);
  }
  
  /* ► NUMBER BADGE */
  .info-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    background: #FFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .info-number span {
    font-size: 18px;
    font-weight: 600;
    color: #0e2458;
  }
  
  /* ► TITLE & SUMMARY */
  .info-title {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.3;
    color: #0e2458;
  }
  .info-content {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #66788A;
  }
  
  /* ► MODAL OVERLAY */
  .info-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .info-modal-inner {
    background: #fff;
    max-width: 600px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    box-sizing: border-box;
  }
  .info-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }
  .info-modal-content {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
  }
  
/* ► FULL-BLEED MIDDLE IMAGE */
.info-block.middle-image {
    /* remove padding & default bg so the photo can fill entire cell */
    padding: 0;
    background-color: transparent;
    overflow: hidden;
  }
  
  /* hide inner text/badge on that one block */
  .info-block.middle-image .info-number,
  .info-block.middle-image .info-title,
  .info-block.middle-image .info-content {
    display: none;
  }
  /* ─── HIDE MIDDLE PHOTO ON TABLET & MOBILE ───────────────── */
@media (max-width: 1024px) {
  .info-block.middle-image {
    display: none;
  }
}

  /* hover‐lift and shadow still come from your .info-block:hover rule */
  
  















/* ─── RESET LINK UNDERLINE + NO BLUE ─────────────────── */
.upload-service,
.upload-service:link,
.upload-service:visited,
.upload-service:hover,
.upload-service:active {
  text-decoration: none !important;
  color: inherit;
}

/* ─── GRID ───────────────────────────────────────────── */
.upload-services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 52px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
  }
  
  /* ─── SERVICE ITEM ──────────────────────────────────── */
  .upload-service {
    text-align: center;
  }
  
  /* ─── ICON CIRCLE + HOVER LIFT & SHADOW ─────────────── */
  .service-icon {
    position: relative;
    overflow: hidden;
    width: 125px;
    height: 125px;
    background: #EBEFF2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  /* only the circle lifts and casts shadow */
  .upload-service:hover .service-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(14, 36, 88, 0.5);
  }
  
  /* ─── SMOKY/FOGGY FILL ───────────────────────────────── */
  .service-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      circle at bottom center,
      rgba(242, 98, 12, 0)    0%,
      rgba(242, 98, 12, 0.15) 40%,
      rgba(242, 98, 12, 0.3)  40%,
      rgba(242, 98, 12, 0.5)  60%,
      rgba(242, 98, 12, 1)    100%
    );
    filter: blur(8px);
    opacity: 0.8;
    transform-origin: bottom center;
    transform: scaleY(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 0;
  }
  .upload-service:hover .service-icon::before {
    transform: scaleY(1);
    opacity: 1;
  }
  
  /* ─── ICON IMAGE ────────────────────────────────────── */
  .service-icon img {
    position: relative;
    max-width: 50%;
    max-height: 50%;
    transition: transform 0.3s ease;
    z-index: 1;
  }
  
  /* ─── TITLE ─────────────────────────────────────────── */
  .service-title {
    margin-top: 8px;
    font-size: 14px;
    color: #1C2B39;
    transition: color 0.3s ease;
  }









/* ─── GRID ───────────────────────────────── */
.button-blocks-grid {
  width: 100%;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;              /* allow wrapping on small screens */
  gap: 32px;
  justify-content: center;
  box-sizing: border-box;
}

/* ─── BLOCK (background + hover) ─────────── */
/* default desktop: 3 per row (2 gaps = 64px) */
.button-block-link {
  position: relative;
  flex: 0 0 calc((100% - 64px) / 3);
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}
.button-block-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(14, 36, 88, 0.5);
  --overlay-bg: transparent;
}

/* ─── EXACTLY 4-UP ON DESKTOP ONLY ───────── */
@media (min-width: 1025px) {
  .button-blocks-grid > .button-block-link:nth-last-child(4),
  .button-blocks-grid > .button-block-link:nth-last-child(4) ~ .button-block-link {
    flex: 0 0 calc((100% - 96px) / 4);  /* 4 per row (3 gaps = 96px) */
  }
}

/* ─── OVERLAY ───────────────────────────── */
.button-block-link .overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg, rgba(255,255,255,0.6));
  transition: background 0.3s ease;
}
.button-block-link.active .overlay {
  background: transparent;
}

/* ─── BUTTON ────────────────────────────── */
.button-block-link .button-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: #0e2458;
  transition: background 0.3s ease;
  text-transform: uppercase;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.2;
}
.button-block-link:hover .button-btn {
  background: #f2620c;
}
.button-block-link.active .button-btn {
  background: #f5820c;
}

/* ─── RESPONSIVE ───────────────────────── */
/* Tablet: 2 per row (1 gap = 32px) */
@media (max-width: 1024px) {
  .button-block-link {
    flex: 0 0 calc((100% - 32px) / 2);
  }
}

/* Phone: 1 per row */
@media (max-width: 640px) {
  .button-block-link {
    flex: 0 0 100%;
  }
}

/* Super-mobile tweaks for very small screens */
@media (max-width: 480px) {
  .button-blocks-grid {
    padding: 0 12px;
    gap: 16px;
  }
  .button-block-link {
    aspect-ratio: auto;
    height: 200px;
  }
  .button-block-link .button-btn {
    bottom: 12px;
    left: 12px;
    padding: 6px 16px;
    font-size: 12px;
  }
}

