 :root {
      --gradient-start: #1a2a6c;
      --gradient-end: #b21f1f;
      --accent-teal: #00ffc8;
      --light-bg: rgba(255, 255, 255, 0.9);
      --primary-blue: #1a2a6c;
      --glow-color: rgba(0, 255, 200, 0.6);
      --subtle-text: #6b7280;
    }

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

    body {
      font-family: 'Inter', sans-serif;
      background-color: #f4f4f4;
      /* padding: 20px; */
    }

    /* === PROUD SECTION === */
    .proud-section {
      text-align: center;
      width: 100%; /* Full width of the webpage */
      padding: 40px 20px;
      background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
      border-radius: 15px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
      margin: 20px auto;
      color: white;
      position: relative;
      box-sizing: border-box; /* Ensure padding is included in width */
      transform: translateZ(0);
    }

    .main-heading {
      font-family: 'Poppins', sans-serif;
      font-size: 2.8em;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 15px;
      text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
      letter-spacing: 2px;
      position: relative;
      z-index: 1;
    }

    .sub-heading {
      font-family: 'Inter', sans-serif;
      font-size: 1.3em;
      font-weight: 600;
      color: yellow;
      margin-bottom: 40px;
      opacity: 0.9;
      position: relative;
      z-index: 1;
    }

    .proud-box-container {
      display: flex;
      justify-content: space-between; /* Equal spacing between boxes */
      flex-wrap: wrap;
      padding: 5px 10px;
      position: relative;
      z-index: 1;
    }

    .proud-box {
      flex: 1 1 0; /* Equal widths */
      text-align: center;
      padding: 30px 15px;
      border: 3px solid transparent;
      border-image: linear-gradient(45deg, var(--gradient-start), var(--accent-teal)) 1;
      border-radius: 10px;
      background-color: var(--light-bg);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                  box-shadow 0.4s ease-in-out,
                  border-image 0.4s ease-in-out;
      color: var(--primary-blue);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      position: relative;
      overflow: hidden;
      transform-style: preserve-3d;
      cursor: pointer; /* Added for better UX */
    }

    /* Subtle light overlay on hover */
    .proud-box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at top left, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
      opacity: 0;
      transition: opacity 0.4s ease-in-out;
      z-index: 0;
    }

    .proud-box:hover::before,
    .proud-box.active::before { /* Added active state */
      opacity: 1;
    }

    /* Animated border on hover */
    .proud-box::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      z-index: 0;
      background: linear-gradient(90deg, #ff6ec4, #7873f5, #4ade80, #22d3ee, #ff6ec4);
      background-size: 300% 300%;
      animation: animatedBorder 3s linear infinite;
      border-radius: 12px;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }

    .proud-box:hover::after,
    .proud-box.active::after { /* Added active state */
      opacity: 1;
    }

    .fa-user-graduate:before,
    .fa-chalkboard-teacher:before,
    .fa-chart-line:before,
    .fa-users:before {
      color: darkblue;
    }

    /* Border animation keyframes */
    @keyframes animatedBorder {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Ensure content is above the animated border */
    .proud-box > * {
      position: relative;
      z-index: 1;
    }

    /* Enhanced Hover for proud-box */
    .proud-box:hover,
    .proud-box.active { /* Added active state */
      transform: translateY(-15px) scale(1.03) rotateX(2deg) rotateY(-2deg);
      box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
    }

    .proud-box .icon {
      font-size: 3em;
      line-height: 1;
      margin-bottom: 15px;
      color: var(--accent-teal);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
      transition: transform 0.4s ease-in-out, color 0.3s ease-in-out;
      position: relative;
      z-index: 1;
    }

    .proud-box:hover .icon,
    .proud-box.active .icon { /* Added active state */
      transform: rotateY(360deg) scale(1.15);
      color: var(--primary-blue);
    }

    .proud-box .number {
      font-family: 'Poppins', sans-serif;
      font-size: 2.3em;
      font-weight: 900;
      color: black;
      margin-bottom: 10px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
      position: relative;
      z-index: 1;
    }

    .proud-box .label {
      font-family: 'Inter', sans-serif;
      font-size: 1.1em;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      position: relative;
      z-index: 1;
    }

    /* Responsive adjustments for Proud Section */
    @media (max-width: 992px) {
      .proud-section {
        padding: 30px 15px;
        margin: 15px auto;
      }
      .main-heading {
        font-size: 2.2em;
      }
      .sub-heading {
        font-size: 1.2em;
        margin-bottom: 30px;
      }
      .proud-box-container {
        justify-content: space-between;
        padding: 5px;
      }
      .proud-box {
        flex: 1 1 calc(50% - 10px);
        padding: 25px 15px;
      }
      .proud-box .icon {
        font-size: 2.5em;
      }
      .proud-box .number {
        font-size: 2em;
      }
      .proud-box .label {
        font-size: 1em;
      }
      
      /* Mobile-specific hover effects */
      .proud-box:hover,
      .proud-box.active {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      .proud-box:hover::after,
      .proud-box.active::after {
        opacity: 1; /* Keep the glowing effect on mobile */
      }
      .proud-box:hover .icon,
      .proud-box.active .icon {
        transform: rotateY(360deg) scale(1.15); /* Keep icon animation on mobile */
        color: var(--primary-blue);
      }
    }

    @media (max-width: 768px) {
      .proud-section {
        padding: 25px 10px;
        border-radius: 10px;
      }
      .main-heading {
        font-size: 1.8em;
        letter-spacing: 1px;
      }
      .sub-heading {
        font-size: 1em;
        margin-bottom: 20px;
      }
      .proud-box-container {
        justify-content: space-between;
        padding: 5px;
      }
      .proud-box {
        flex: 1 1 calc(50% - 10px);
        padding: 20px 15px;
      }
      .proud-box .icon {
        font-size: 2em;
      }
      .proud-box .number {
        font-size: 1.7em;
      }
      .proud-box .label {
        font-size: 0.9em;
      }
      
      /* Mobile-specific hover effects */
      .proud-box:hover,
      .proud-box.active {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      .proud-box:hover::after,
      .proud-box.active::after {
        opacity: 1; /* Keep the glowing effect on mobile */
      }
      .proud-box:hover .icon,
      .proud-box.active .icon {
        transform: rotateY(360deg) scale(1.15); /* Keep icon animation on mobile */
        color: var(--primary-blue);
      }
    }

    @media (max-width: 480px) {
      .proud-section {
        padding: 20px 10px;
        width: 100%;
        border-radius: 8px;
      }
      .main-heading {
        font-size: 1.5em;
        letter-spacing: 0.5px;
      }
      .sub-heading {
        font-size: 0.9em;
        margin-bottom: 15px;
      }
      .proud-box-container {
        justify-content: center;
        padding: 5px;
      }
      .proud-box {
        flex: 1 1 100%;
        padding: 20px 10px;
      }
      .proud-box .icon {
        font-size: 1.8em;
        margin-bottom: 10px;
      }
      .proud-box .number {
        font-size: 1.5em;
        margin-bottom: 8px;
      }
      .proud-box .label {
        font-size: 0.85em;
        letter-spacing: 0.5px;
      }
      
      /* Mobile-specific hover effects */
      .proud-box:hover,
      .proud-box.active {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
      }
      .proud-box:hover::after,
      .proud-box.active::after {
        opacity: 1; /* Keep the glowing effect on mobile */
      }
      .proud-box:hover .icon,
      .proud-box.active .icon {
        transform: rotateY(360deg) scale(1.15); /* Keep icon animation on mobile */
        color: var(--primary-blue);
      }
    }

    /* Circle Cluster */
    /* Overlay for better text readability with increased visibility */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.2);
      z-index: -1;
    }

  

    /* Main Container */
    .container2 {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      background: linear-gradient(135deg, rgba(29,161,242,0.8), rgba(0,78,146,0.8));
      padding: 40px 20px;
      flex-wrap: wrap;
      overflow-x: auto;
      min-height: 100vh;
    }

    .container2::-webkit-scrollbar {
      height: 10px;
    }
    .container2::-webkit-scrollbar-thumb {
      background: rgba(255,255,255,0.5);
      border-radius: 6px;
    }