  /* ----- horizontal content card (unique glassmorphism + vibrant edges) ----- */
    .horiz-card {
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(2px);
      border-radius: 2rem;
      margin-bottom: 3rem;
      box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
      border: 1px solid rgba(255,255,240,0.6);
    }

    .horiz-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 32px 55px -15px rgba(0, 0, 0, 0.3);
    }

    /* image container - left or right flexible */
    .card-image {
      flex: 1.1;
      min-width: 280px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      transition: all 0.4s;
    }

    /* overlay gradient to enhance text readability and modern look */
    .card-image::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 40%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
      pointer-events: none;
    }
	
	
	

    /* content side */
    .card-content {
      flex: 1.2;
      padding: 2.2rem 2.5rem;
      background: #ffffffdd;
      backdrop-filter: blur(4px);
      transition: background 0.3s;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    /* alternating row styles: unique per card */
    .card-content h3 {
      font-size: 1.9rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      letter-spacing: -0.3px;
      position: relative;
      display: inline-block;
    }

    .card-content h3 i {
      font-size: 1.8rem;
      margin-right: 10px;
      opacity: 0.8;
    }

    .subhead {
      font-size: 1rem;
      font-weight: 600;
     
      letter-spacing: 1px;
      margin-bottom: 1rem;
      color: #E96C4A;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .description {
      font-size: 1rem;
      line-height: 1.55;
      color: #1f2e3c;
      margin: 1rem 0 1.25rem 0;
      font-weight: 400;
	  text-align:justify;
    }

    .feature-list {
      list-style: none;
      margin: 1rem 0 1rem 0;
    }

    .feature-list li {
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 500;
	  color:#222;
      background: rgba(236, 245, 255, 0.6);
      padding: 0.5rem 0.8rem;
      border-radius: 60px;
      backdrop-filter: blur(2px);
    }

    .feature-list li i {
      width: 26px;
      color: #F28705;
      font-size: 1.2rem;
    }

    .grade-stages {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 1rem;
    }

    .stage-badge {
      background: linear-gradient(115deg, #F5F9FF, #EBF2FA);
      padding: 0.6rem 1rem;
      border-radius: 2rem;
      flex: 1;
      min-width: 206px;
      border-left: 5px solid #FFA447;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: all 0.2s;
    }

    .stage-badge strong {
      display: block;
      font-size: 1.1rem;
      color: #1F4E6E;
    }

    .stage-badge span {
      font-size: 0.85rem;
      color: #4F6F8F;
    }

    /* unique color variations per card (different vibes) */
    .card-global .card-content {
      background: linear-gradient(115deg, rgba(255,248,235,0.9), rgba(255,241,224,0.85));
    }
    .card-global .card-content h3 {
      color: #C4450C;
      border-left: 6px solid #FF9F4A;
      padding-left: 18px;
    }
    .card-global .feature-list li i {
      color: #E67E22;
    }

    .card-gradewise .card-content {
      background: linear-gradient(125deg, rgba(230, 245, 255, 0.92), rgba(215, 235, 250, 0.88));
    }
    .card-gradewise .card-content h3 {
      color: #1E6F5C;
      border-left: 6px solid #2DCDA2;
      padding-left: 18px;
    }
    .card-gradewise .feature-list li i {
      color: #289672;
    }

    /* image assets: we use unsplash style high-quality placeholder but with proper curriculum context images */
    /* we embed data:image/svg + actual scenic educational images from free CDN (clean & relevant) */
    /* To ensure uniqueness, using curated abstract but meaningful images from Picsum & placeholder with vibrant overlays */
    .img-global {
      background-image: linear-gradient(125deg, #2b5876, #4e4376), url('https://picsum.photos/id/20/800/600');
      background-blend-mode: overlay;
      background-size: cover;
      background-position: center 35%;
    }

    .img-grade {
      background-image: linear-gradient(135deg, #1f4037, #99f2c8), url('https://picsum.photos/id/26/800/600');
      background-blend-mode: soft-light;
      background-size: cover;
      background-position: center 30%;
    }

    /* Responsive: on smaller screens, image will be on top or bottom depending on order */
    @media (max-width: 850px) {
      .horiz-card {
        flex-direction: column;
      }
      .card-image {
        min-height: 260px;
        width: 100%;
      }
      .card-content {
        padding: 1.8rem;
      }
      .section-header h2 {
        font-size: 2rem;
      }
    }

    /* subtle decoration */
    .curriculum-showcase::before {
      content: "⚡";
      font-size: 100px;
      position: fixed;
      bottom: -20px;
      left: -30px;
      opacity: 0.03;
      pointer-events: none;
      z-index: 0;
    }

    .btn-curious {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #2C5F8A;
      color: white;
      padding: 0.7rem 1.6rem;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.85rem;
      margin-top: 1.2rem;
      border: none;
      cursor: default;
      transition: 0.2s;
      width: fit-content;
      box-shadow: 0 6px 12px -8px rgba(0,0,0,0.2);
    }

    .btn-curious i {
      transition: transform 0.2s;
    }

    .btn-curious:hover i {
      transform: translateX(5px);
    }
	
		 .content-box4 {
            width: 100%;
            max-width: 600px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
			background-color:#fff;
        }
        
        .title-section {
            
            padding: 14px 25px;
            color: white;
            text-align: center;
        }
		
		.theme-color1 {
  background-color: #f55353;
}

.p-21 {
  padding: 20px 20px 0px 25px;
}
.text-justify {
  text-align: justify;
}
        
        .title-section h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 5px;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
        }
        
        .title-section p {
            font-size: 16px;
            opacity: 0.9;
        }
        
        .content-section2 {
            background-color: #f9f9f9;
            padding: 25px 15px 25px 25px;
            border-radius: 0 0 15px 15px;
        }
        
        .content-section h3 {
            color: #333;
            margin-bottom: 15px;
            font-size: 22px;
            font-weight: 600;
        }
        
        .content-section p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .bullet-points {
            list-style-type: none;
            padding-left: 0;
        }
        
        .bullet-points li {
            position: relative;
            padding: 11px 5px 13px 42px;
            margin-bottom: 0px;
            color: #444;
            line-height: 27px;
            border-bottom: 1px solid #eee;
        }
		
		.pt-20 {padding-bottom:15px;}
		
		.theme-color2 {
  background-color: #fb8e62;
}
		.theme-color3 {
  background-color: #ea4c89;
}
	.theme-color4 {
  background-color: #3ec7b0;
}

		.mt-50 {margin-bottom:50px;}
        
        .bullet-points li:before {
            content: "•";
            position: absolute;
            left: 15px;
            top: 10px;
            color: #ff6b6b;
            font-size: 54px;
        }
        
        .bullet-points li:last-child {
            border-bottom: none;
        }
        
        @media (max-width: 600px) {
            .content-box {
                max-width: 100%;
            }
            
            .title-section, .content-section {
                padding: 15px 20px;
            }
            
            .title-section h2 {
                font-size: 24px;
            }
        }
		
		
		 /* image container - left or right flexible */
    .card-image2 {
      flex: 0.6;
      min-width: 280px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      transition: all 0.4s;
    }

    /* overlay gradient to enhance text readability and modern look */
    .card-image2::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at 20% 40%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
      pointer-events: none;
    }
		
		
		
		 /* horizontal card (modern neumorphism + glass hybrid) */
    .hori-card {
      display: flex;
      width: 100%;
      max-width: 600px;
      align-items: stretch;
      background: rgba(255, 255, 245, 0.88);
      backdrop-filter: blur(3px);
      border-radius: 2.2rem;
      margin-bottom: 2.8rem;
      box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255,255,210,0.5);
      transition: transform 0.25s ease, box-shadow 0.3s;
      overflow: hidden;
    }

    .hori-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 45px -15px rgba(0, 0, 0, 0.25);
    }
	
	.hori-card2 {
      display: flex;
      width: 100%;
      
      align-items: stretch;
      background: rgba(255, 255, 245, 0.88);
      backdrop-filter: blur(3px);
      border-radius: 2.2rem;
      margin-bottom: 2.8rem;
      box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255,255,210,0.5);
      transition: transform 0.25s ease, box-shadow 0.3s;
      overflow: hidden;
    }

    .hori-card2:hover {
      transform: translateY(-5px);
      box-shadow: 0 28px 45px -15px rgba(0, 0, 0, 0.25);
    }
	
	 .hori-card2:hover .main-icon {
      transform: scale(1.02) rotate(2deg);
    }

    /* icon container (left or right) - vibrant gradient background with iconography */
    .card-icon-side {
      flex: 0.4;
      min-width: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(ellipse at 30% 40%, #fff2e0, #ffe6d5);
      position: relative;
      transition: all 0.3s;
      padding: 2rem;
    }
	
	 .card-icon-side2 {
      flex: 0.5;
      min-width: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(ellipse at 30% 40%, #fff2e0, #ffe6d5);
      position: relative;
      transition: all 0.3s;
      padding: 2rem;
    }
	
	.card-extracurricular .card-icon-side2 {
  background: radial-gradient(ellipse at 30% 50%, #EFF7FF, #E3EEF9);
}

    /* big main icon */
    .main-icon {
      font-size: 6.5rem;
      filter: drop-shadow(8px 12px 18px rgba(0,0,0,0.15));
      transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    }

    .hori-card:hover .main-icon {
      transform: scale(1.02) rotate(2deg);
    }

    /* content side */
    .card-details {
      flex: 1.4;
      padding: 2rem 2.2rem;
      background: rgba(255, 253, 248, 0.96);
      backdrop-filter: blur(2px);
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #F4EADB;
      padding: 0.3rem 1rem;
      border-radius: 40px;
      width: fit-content;
      font-weight: 700;
      font-size: 0.75rem;
      letter-spacing: 0.5px;
      color: #B64926;
      margin-bottom: 1rem;
      text-transform: uppercase;
    }

    .card-details h3 {
      font-size: 1.7rem;
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.3px;
      background: linear-gradient(135deg, #2C3E50, #c4451c);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      display: inline-block;
    }

    .activity-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
      margin: 1rem 0 0.5rem;
    }

    .activity-item {
      flex: 300px;
      background: #ffffffcc;
      backdrop-filter: blur(2px);
      border-radius: 1.2rem;
      padding: 1rem 1rem;
      transition: all 0.2s;
      border: 1px solid rgba(231, 111, 81, 0.2);
      box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    }

    .activity-item h4 {
      font-size: 1.3rem;
      font-weight: 800;
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 10px;
      color: #3D2B1F;
    }

    .activity-item h4 i {
      font-size: 1.3rem;
      color: #E76F51;
    }

    .activity-item ul {
      list-style: none;
      margin-top: 0.5rem;
    }

    .activity-item li {
      font-size: 16px;
      margin-bottom: 0.45rem;
      display: flex;
      align-items: center;
      gap: 8px;
      color: #2C3E4E;
      font-weight: 500;
    }

    .activity-item li i {
      font-size: 0.75rem;
      color: #F4A261;
      width: 18px;
    }

    /* alternate color schemes per card to make design unique */
    /* Co-curricular card (handwriting & art) */
    .card-cocurricular .card-icon-side {
      background: radial-gradient(circle at 70% 20%, #FFF1E0, #FFE2C6);
    }
    .card-cocurricular .main-icon {
      color: #D96C2B;
      text-shadow: 0 5px 12px rgba(217,108,43,0.2);
    }
    .card-cocurricular .card-details {
      background: linear-gradient(115deg, #FEFAF5, #FFF7EF);
    }

    /* Extra-curricular card (robotics, finance, dance, exams) */
    .card-extracurricular .card-icon-side {
      background: radial-gradient(ellipse at 30% 50%, #EFF7FF, #E3EEF9);
    }
    .card-extracurricular .main-icon {
      color: #2A6F8F;
      filter: drop-shadow(0 8px 14px rgba(42,111,143,0.2));
    }
    .card-extracurricular .card-details {
      background: linear-gradient(125deg, #F6FBFE, #EDF5FA);
    }
    .card-extracurricular .activity-item h4 i {
      color: #2C7A8C;
    }

    /* reverse layout: second card image/icons on right side */
    .reverse-layout {
      flex-direction: row-reverse;
    }

    /* responsive magic */
    @media (max-width: 800px) {
      .hori-card, .reverse-layout {
        flex-direction: column;
      }
	  
	   .card-image2 {
    flex-direction: column;
  }
	  
      .card-icon-side {
        min-height: 200px;
        padding: 1.5rem;
      }
      .main-icon {
        font-size: 4.5rem;
      }
      .card-details {
        padding: 1.6rem;
      }
      .master-header h1 {
        font-size: 2rem;
      }
      .activity-grid {
        gap: 0.8rem;
      }
    }

    /* small decorative glow */
    .extra-tag {
      margin-top: 1rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #EBDCCB;
      padding: 0.3rem 1rem;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 700;
      color: #B1622C;
    }
	
	
	  /* grid layout for the four pillars */
    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      margin: 0rem 0;
    }

    /* card style – professional, clean, slightly elevated */
    .pillar-card {
      background: #ffffff;
      border-radius: 28px;
      padding: 2.2rem 2rem 2rem 2rem;
      box-shadow: 0 15px 30px -12px rgba(0,45,70,0.2);
      transition: transform 0.2s ease, box-shadow 0.2s;
      border: 1px solid #eef5fa;
      display: flex;
      flex-direction: column;
    }
    .pillar-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 40px -16px #00315370;
      border-color: #b9d9f0;
    }

    /* card header with numbering + icon */
    .card-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 1.5rem;
      border-bottom: 2px solid #e2edf6;
      padding-bottom: 1rem;
    }
    .card-header .num-icon {
      font-size: 2.6rem;
      font-weight: 700;
      background: #003d66;
      color: white;
      width: 60px;
      height: 60px;
      border-radius: 30px 10px 30px 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 0 #001f33;
    }
    .card-header h2 {
      font-size: 2rem;
      font-weight: 600;
      color: #003459;
      letter-spacing: -0.01em;
    }

    /* content style with bullet lists */
    .pillar-content {
      flex: 1;
    }
    .pillar-content p {
      font-size: 1.1rem;
      margin-bottom: 1.2rem;
      color: #2a4055;
    }
    .pillar-content ul {
      list-style: none;
      margin-bottom: 1.2rem;
    }
    .pillar-content li {
      font-size: 1.05rem;
      padding: 0.4rem 0 0.4rem 1.8rem;
      position: relative;
      color: #1f4a6e;
    }
    .pillar-content li i {
      color: #1e7e34;
      position: absolute;
      left: 0;
      top: 0.55rem;
      font-size: 1.2rem;
    }

    /* special badge for zero incidents */
    .safety-stats {
      display: inline-flex;
      background: #004b6e;
      color: white;
      padding: 0.5rem 1.4rem;
      border-radius: 60px;
      font-weight: 600;
      margin-top: 1rem;
      align-items: center;
      gap: 12px;
      border: 1px solid #ffb347;
    }
    .safety-stats i {
      font-size: 1.6rem;
      color: #ffc164;
    }

    /* wastewater management extra highlight */
    .env-badge {
      background: #e4f3e4;
      padding: 0.7rem 1.5rem;
      border-radius: 30px;
      color: #006633;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 0.8rem;
      border-left: 6px solid #2e7d32;
    }
	
	 /* markdown style horizontal rule (---) representation as thin line */
    .section-divider {
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg, transparent, #2b6c9f, transparent);
      margin: 1rem 0 2rem;
    }

    /* Responsive */
    @media (max-width: 950px) {
      .pillars-grid {
        grid-template-columns: 1fr;
      }
      .main-heading h1 {
        font-size: 2.6rem;
      }
    }
    @media (max-width: 550px) {
      .main-heading {
        flex-wrap: wrap;
      }
      .card-header {
        flex-wrap: wrap;
      }
    }
	
	
	 /* ----- VERTICAL CARD GRID (unique vertical layout) ----- */
    .house-vertical-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      margin: 2rem 0 2.5rem;
    }

    /* each vertical card stands individually with full height content */
    .vertical-house-card {
      flex: 1;
      min-width: 460px;
      max-width: 620px;
      background: rgba(255, 253, 248, 0.95);
      backdrop-filter: blur(2px);
      border-radius: 2rem;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s;
      box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.2);
      display: flex;
      flex-direction: column;
      border: 1px solid rgba(255,245,215,0.6);
    }

    .vertical-house-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 28px 40px -15px rgba(0, 0, 0, 0.28);
    }

    /* top icon zone - each house gets unique gradient */
    .card-top-icon {
      padding: 2rem 1rem 1.5rem;
      text-align: center;
      transition: all 0.2s;
    }

    .house-icon-large {
      font-size: 4rem;
      filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
      transition: transform 0.2s;
      display: inline-block;
    }

    .vertical-house-card:hover .house-icon-large {
      transform: scale(1.02) rotate(2deg);
    }

    .house-name-tag {
      font-size: 0.75rem;
      font-weight: 800;
      letter-spacing: 1px;
      background: rgba(0,0,0,0.05);
      display: inline-block;
      padding: 0.25rem 1rem;
      border-radius: 50px;
      margin-top: 0.8rem;
      text-transform: uppercase;
    }

    /* content body */
    .card-body {
      padding: 0 1.5rem 1.2rem;
      text-align: center;
      flex: 1;
    }

    .card-body h3 {
      font-size: 1.8rem;
      font-weight: 800;
      margin-bottom: 0.6rem;
      letter-spacing: -0.3px;
    }

    .virtue-list {
      list-style: none;
      margin: 1.2rem 0;
      text-align: left;
    }

    .virtue-list li {
      margin-bottom: 0.7rem;
      display: flex;
      align-items: center;
      gap: 10px;
	  color:#222;
      font-weight: 500;
      font-size: 16px;
      background: rgba(245, 240, 235, 0.5);
      padding: 0.5rem 0.8rem;
      border-radius: 50px;
      transition: all 0.2s;
    }

    .virtue-list li i {
      width: 24px;
      font-size: 0.9rem;
    }

    /* unique colors per house (vertical cards) */
    /* RED HOUSE */
    .red-vertical .card-top-icon {
      background: linear-gradient(145deg, #FFF0EA, #FFE2D6);
      border-bottom: 3px solid #E1552E;
    }
    .red-vertical .house-icon-large { color: #DD4B28; }
    .red-vertical h3 { color: #BC4424; }
    .red-vertical .virtue-list li i { color: #E1552E; }
    .red-vertical .virtue-list li { border-left: 3px solid #E1552E; background: #FFF5F0; }

    /* BLUE HOUSE */
    .blue-vertical .card-top-icon {
      background: linear-gradient(145deg, #EBF3FA, #E0ECF5);
      border-bottom: 3px solid #2F7CA0;
    }
    .blue-vertical .house-icon-large { color: #2F6F8F; }
    .blue-vertical h3 { color: #235F7A; }
    .blue-vertical .virtue-list li i { color: #2F7CA0; }
    .blue-vertical .virtue-list li { border-left: 3px solid #2F7CA0; background: #F0F7FC; }

    /* GREEN HOUSE */
    .green-vertical .card-top-icon {
      background: linear-gradient(145deg, #EAF7EF, #DFF0E6);
      border-bottom: 3px solid #41A072;
    }
    .green-vertical .house-icon-large { color: #3A8C64; }
    .green-vertical h3 { color: #317A58; }
    .green-vertical .virtue-list li i { color: #41A072; }
    .green-vertical .virtue-list li { border-left: 3px solid #41A072; background: #F0F9F3; }

    /* PINK HOUSE */
    .pink-vertical .card-top-icon {
      background: linear-gradient(145deg, #FDEAF2, #FCE1EB);
      border-bottom: 3px solid #D57398;
    }
    .pink-vertical .house-icon-large { color: #C86388; }
    .pink-vertical h3 { color: #B6547A; }
    .pink-vertical .virtue-list li i { color: #D57398; }
    .pink-vertical .virtue-list li { border-left: 3px solid #D57398; background: #FFF5F8; }
	
	.house-footer-quote {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(0,0,0,0.02);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  color: #5c6b6f;
}

.intro-text {
  font-size: 16px;
  background: #ffffffd9;
  padding: 1.8rem 2.2rem;
  border-radius: 40px 12px 40px 12px;
  box-shadow: 0 8px 22px -10px #0b3050;
  margin: 2rem 0 3rem 0;
  border-left: 10px solid #0077be;
  color: #1f405d;
  font-weight: 400;
  line-height: 1.7;
}

	
	 /* responsive: stack vertically on small screens */
    @media (max-width: 850px) {
      .house-vertical-grid {
        gap: 1.5rem;
      }
      .vertical-house-card {
        min-width: 260px;
        max-width: 100%;
      }
      .vertical-header h1 {
        font-size: 2.2rem;
      }
      .card-body h3 {
        font-size: 1.6rem;
      }
    }

    /* extra spark */
    .leadership-badge {
      display: inline-block;
      background: #F7E9DD;
      border-radius: 30px;
      padding: 0.2rem 0.9rem;
      font-size: 0.7rem;
      font-weight: 800;
      margin-top: 0.5rem;
    }
	
	 /* horizontal card design: left circle icon, right content */
    .rule-card {
      display: flex;
      flex-wrap: wrap;
      align-items: stretch;
      background: rgba(255, 254, 250, 0.96);
      backdrop-filter: blur(2px);
      border-radius: 2rem;
      margin-bottom: 2.5rem;
      box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.12);
      transition: transform 0.3s ease, box-shadow 0.3s;
      overflow: hidden;
      border: 1px solid rgba(210, 190, 160, 0.3);
    }

    .rule-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 26px 40px -14px rgba(0, 0, 0, 0.2);
    }

    /* LEFT CIRCLE SECTION (icon inside circle) */
    .circle-icon-area {
      flex: 0.8;
      min-width: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      background: #FDF9F2;
    }

    .circle-wrapper {
      background: linear-gradient(145deg, #F5F0E8, #EDE5DA);
      width: 140px;
      height: 140px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,240,0.8);
      transition: all 0.25s;
    }

    .rule-card:hover .circle-wrapper {
      transform: scale(1.02);
      box-shadow: 0 16px 24px -10px rgba(0, 0, 0, 0.25);
    }

    .circle-icon {
      font-size: 3.8rem;
      filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
    }

    /* RIGHT CONTENT AREA */
    .rule-content {
      flex: 1.6;
      padding: 2rem 2.5rem;
      background: #ffffffef;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .rule-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #EEF3EF;
      padding: 0.3rem 1.2rem;
      border-radius: 40px;
      width: fit-content;
      font-weight: 700;
      font-size: 0.7rem;
      letter-spacing: 0.5px;
      color: #2C6E5A;
      margin-bottom: 0.8rem;
      text-transform: uppercase;
    }

    .rule-content h3 {
      font-size: 1.9rem;
      font-weight: 800;
      margin-bottom: 0.8rem;
      letter-spacing: -0.3px;
      color: #2A5A4E;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .rule-description {
      font-size: 1rem;
      line-height: 1.55;
      color: #2c404d;
      margin-bottom: 1rem;
      font-weight: 500;
    }

    .rule-list {
      list-style: none;
      margin: 0.6rem 0 0.2rem;
    }

    .rule-list li {
      margin-bottom: 0.7rem;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-weight: 500;
      font-size: 16px;
	  color:#222;
      background: #FBF8F2;
      padding: 0.5rem 1rem;
      border-radius: 50px;
      transition: all 0.2s;
    }

    .rule-list li i {
      margin-top: 0.2rem;
      color: #E07A3C;
      width: 20px;
      font-size: 0.85rem;
    }

    .highlight-note {
      background: #F9F0E4;
      border-radius: 1rem;
      padding: 0.7rem 1rem;
      margin-top: 0.8rem;
      font-weight: 500;
      font-size: 0.85rem;
      border-left: 4px solid #E09A3C;
    }

    /* unique color variations per card (circle backgrounds) */
    /* attendance card */
    .card-attendance .circle-wrapper {
      background: linear-gradient(145deg, #E6F2EF, #D2E5DF);
    }
    .card-attendance .circle-icon { color: #3F8D7A; }
    .card-attendance .rule-badge { background: #E1F0EA; color: #2D6E5C; }

    /* discipline card */
    .card-discipline .circle-wrapper {
      background: linear-gradient(145deg, #FBEFE6, #F5E5D8);
    }
    .card-discipline .circle-icon { color: #D97C3A; }
    .card-discipline .rule-badge { background: #FCEADE; color: #B8592A; }

    /* dress code card */
    .card-dresscode .circle-wrapper {
      background: linear-gradient(145deg, #EAF1F5, #E0EAF0);
    }
    .card-dresscode .circle-icon { color: #2F7D8C; }
    .card-dresscode .rule-badge { background: #E5F0F5; color: #236B78; }

    /* additional atmosphere card (special) */
    .card-atmosphere .circle-wrapper {
      background: linear-gradient(145deg, #F3EFE8, #EDE6DC);
    }
    .card-atmosphere .circle-icon { color: #C17A3A; }

    /* responsive */
    @media (max-width: 800px) {
      .rule-card {
        flex-direction: column;
      }
      .circle-icon-area {
        padding: 1.5rem;
      }
      .circle-wrapper {
        width: 110px;
        height: 110px;
      }
      .circle-icon {
        font-size: 3rem;
      }
      .rule-content {
        padding: 1.6rem;
      }
      .rule-content h3 {
        font-size: 1.5rem;
      }
      .rules-header h1 {
        font-size: 2.2rem;
      }
    }

		
		

