/*
Theme Name: Blocksy Child
Theme URI: https://creativethemes.com/blocksy/
Description: Child theme for Blocksy. Customizations for ECI Stats, CGArts, JSON data, and header shortcode.
Author: Your Name
Template: blocksy
Version: 1.0.0
*/

/* Add your custom CSS below */
/* Font Controls - clean inline look */



/* search page css start  */


.entry-header .page-title {
    margin-bottom: 0;
    margin-top: 40px!important;
	text-align:left!important;
}


.ct-pagination{
	margin-bottom:60px!important;
	background:#faf2f2!important;
}

/* serach page css end  */



/* widget title color  */

.widget-title{
color:#ffffff;
}

/* info box about section homepage */
.kt-blocks-info-box-link-wrap a{
color:#003366;
}


/*  */
.justify {
  text-align: justify;
  text-justify: inter-word;
}







/* home flip card css start  */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:    #0d1f3c;
      --blue:    #1a56db;
      --sky:     #e8f0fe;
      --slate:   #4b5a72;
      --light:   #f5f7fb;
      --white:   #ffffff;
      --accent:  #f59e0b;
      --radius:  16px;
    }

 

    /* ── Section ── */
    .activities-section {
      min-height: 50vh;
      display: flex;
      flex-direction: column;
      align-items: center;

    }

    /* ── Header ── */
    .section-header {
      text-align: center;
      margin-bottom: clamp(40px, 6vw, 72px);
      max-width: 540px;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
      background: rgba(26,86,219,.1);
      padding: 6px 14px;
      border-radius: 999px;
      margin-bottom: 18px;
    }

    .eyebrow::before {
      content: '';
      width: 6px; height: 6px;
      border-radius: 50%;
      background: var(--blue);
      flex-shrink: 0;
    }

    .section-title {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(32px, 5vw, 52px);
      color: var(--navy);
      line-height: 1.15;
      margin-bottom: 14px;
    }

    .section-subtitle {
      font-size: clamp(14px, 2vw, 17px);
      color: var(--slate);
      line-height: 1.6;
    }

    /* ── Grid ── */
    .flip-card-wrapper {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(16px, 2.5vw, 28px);
      width: 100%;
      max-width: 1280px;
				margin-bottom:40px;
    }

    /* ── Card ── */
    .flip-card {
      height: clamp(240px, 28vw, 300px);
      perspective: 1200px;

    }

    .flip-inner {
      position: relative;
      width: 100%; height: 100%;
      transition: transform 0.75s cubic-bezier(0.4,0,0.2,1);
      transform-style: preserve-3d;
    }

    .flip-card:hover .flip-inner,
    .flip-card:focus-within .flip-inner {
      transform: rotateY(180deg);
    }

    .flip-front,
    .flip-back {
      position: absolute;
      inset: 0;
      border-radius: var(--radius);
      padding: clamp(22px, 3vw, 32px);
      backface-visibility: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    /* Front */
    .flip-front {
      background: var(--white);
      border: 1.5px solid rgba(26,86,219,.12);
      box-shadow: 0 4px 24px rgba(13,31,60,.07);
      flex-direction: column;
      gap: 12px;
      transition: box-shadow .3s;
    }

    .flip-card:hover .flip-front {
      box-shadow: 0 8px 40px rgba(26,86,219,.14);
    }

    .card-icon-wrap {
      width: 56px; height: 56px;
      border-radius: 14px;
      background: var(--sky);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 4px;
      flex-shrink: 0;
    }

    .card-icon {
      font-size: 65px;
    }

    .card-number {
      display: block;
      font-size: 11px;
      font-weight: 700;
      color: var(--blue);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }

    .flip-front h3 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: clamp(18px, 2.2vw, 22px);
      color: var(--navy);
      line-height: 1.2;
    }

    .tagline {
      font-size: 13px;
      color: var(--slate);
      font-weight: 400;
    }

    /* Back */
    .flip-back {
      background: linear-gradient(145deg, var(--navy) 0%, #1a3462 100%);
      color: var(--white);
      transform: rotateY(180deg);
      flex-direction: column;
      gap: 0;
    }

    .back-number {
      font-size: 48px;
      font-family: Georgia, 'Times New Roman', serif;
      font-style: italic;
      color: rgba(255,255,255,.1);
      line-height: 1;
      margin-bottom: 10px;
    }

    .flip-back p {
      font-size: clamp(13px, 1.4vw, 15px);
      line-height: 1.65;
      color: rgba(255,255,255,.85);
      margin-bottom: 24px;
      flex: 1;
      display: flex; align-items: center;
    }

    .read-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 20px;
      background: transparent;
      border: 1.5px solid rgba(255,255,255,.4);
      color: var(--white);
      text-decoration: none;
      font-size: 13px;
      font-weight: 500;
      border-radius: 8px;
      transition: background .25s, border-color .25s, gap .2s;
      letter-spacing: 0.02em;
    }

    .read-btn:hover {
      background: rgba(255,255,255,.12);
      border-color: rgba(255,255,255,.8);
      gap: 10px;
    }

    /* ── Responsive ── */
    @media (max-width: 1024px) {
      .flip-card-wrapper { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 600px) {
      .flip-card-wrapper { grid-template-columns: 1fr; }
      .flip-card { height: 230px; }
    }


/* home flip card css end  */