/********** Template CSS **********/
:root {
    --primary: #FE5D37;
    --light: #FFF5F3;
    --dark: #103741;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #000000;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Heading ***/
h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
}

h5,
h6,
.h5,
.h6 {
    font-weight: 600;
}

.font-secondary {
    font-family: Arial, Helvetica, sans-serif;
}


/*** Navbar ***/
.navbar .navbar-nav .nav-link {
    padding: 30px 15px;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: 'Poppins';;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: calc(100% - 15px);
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel::before,
.header-carousel::after,
.page-header::before,
.page-header::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 10px;
    top: 0;
    left: 0;
    background: url(../img/bg-header-top.png) center center repeat-x;
    z-index: 1;
}

.header-carousel::after,
.page-header::after {
    height: 19px;
    top: auto;
    bottom: 0;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Facility ***/
.facility-item .facility-icon {
    position: relative;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-item .facility-icon::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: rgba(255, 255, 255, .9); */
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-icon span {
    position: absolute;
    content: "";
    width: 15px;
    height: 30px;
    top: 0;
    left: 0;
    border-radius: 50%;
}

.facility-item .facility-icon span:last-child {
    left: auto;
    right: 0;
}

.facility-item .facility-icon i {
    position: relative;
    z-index: 2;
}

.facility-item .facility-text {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-radius: 100%;
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
}

.facility-item .facility-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: rgba(255, 255, 255, .9); */
    transition: .5s;
    z-index: 1;
}

.facility-item .facility-text * {
    position: relative;
    z-index: 2;
}

.facility-item:hover .facility-icon::before,
.facility-item:hover .facility-text::before {
    background: transparent;
}

.facility-item * {
    transition: .5s;
}

.facility-item:hover * {
    color: #FFFFFF !important;
}


/*** About ***/
.about-img img {
    transition: .5s;
}

.about-img img:hover {
    background: var(--primary) !important;
}


/*** Classes ***/
.classes-item {
    transition: .5s;
}

.classes-item:hover {
    margin-top: -10px;
}


/*** Team ***/
.team-item .team-text {
    position: absolute;
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #FFFFFF;
    border: 17px solid var(--light);
    border-radius: 250px;
    transition: .5s;
}

.team-item:hover .team-text {
    border-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 576px) {
    .testimonial-carousel {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.testimonial-carousel .testimonial-item .border {
    border: 1px dashed rgba(0, 185, 142, .3) !important;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 45px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    border-color: var(--primary);
    background: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 16px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary) !important;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
    color: var(--primary) !important;
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}



.ceo-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 80px 10%;
      background: linear-gradient(135deg, #dfefff 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }

    .ceo-container::before {
      content: '';
      position: absolute;
      top: -100px;
      right: -100px;
      width: 300px;
      height: 300px;
      background: rgba(30, 136, 229, 0.1);
      border-radius: 50%;
      z-index: 0;
    }

    .ceo-content {
      flex: 1 1 55%;
      position: relative;
      z-index: 2;
      backdrop-filter: blur(5px);
    }

    .ceo-content h2 {
      font-size: 2.6rem;
      margin-bottom: 30px;
      color: #003366;
      position: relative;
    }

    .ceo-message {
      background: rgba(255, 255, 255, 0.8);
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      position: relative;
    }

    .ceo-message::before {
      content: "❝";
      font-size: 60px;
      color: #1e88e5;
      position: absolute;
      top: -20px;
      left: -20px;
      opacity: 0.2;
    }

    .ceo-message p {
      font-size: 1.1rem;
      color: #333;
      line-height: 1.8;
      margin-bottom: 15px;
    }

    .ceo-image {
      flex: 1 1 40%;
      text-align: center;
      position: relative;
      z-index: 2;
      margin-top: 90px;
    }

    .ceo-image img {
      width: 80%;
      max-width: 380px;
      border-radius: 25px;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
      transition: transform 0.4s ease;
    }

    .ceo-image img:hover {
      transform: scale(1.04);
    }

    @media (max-width: 768px) {
      .ceo-container {
        flex-direction: column;
        padding: 50px 20px;
      }

      .ceo-content h2 {
        font-size: 2rem;
        text-align: center;
      }

      .ceo-message {
        text-align: left;
      }

      .ceo-image {
        margin-top: 40px;
      }
    }

    .story-wrapper {
      padding: 10px 10%;
      display: flex;
      justify-content: center;
      /* background: #f0f6ff; */
    }

    .story-card {
      display: flex;
      flex-wrap: wrap;
      /* background: #ffffff; */
      border-radius: 20px;
      overflow: hidden;
      /* box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1); */
      max-width: 1200px;
      width: 100%;
    }

    .story-left {
      flex: 1 1 45%;
      /* background: #e3efff; */
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0px;
    }

    .story-left img {
      width: 100%;
      max-width: 820px;
      border-radius: 15px;
      /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); */
    }

    .story-right {
      flex: 1 1 55%;
      padding: 40px 50px;
      /* background: #fff; */
    }

    .story-right h2 {
      font-size: 2.5rem;
      color: #002f5f;
      margin-bottom: 25px;
    }

    .story-right p {
      font-size: 1.1rem;
      color: #444;
      line-height: 1.75;
      margin-bottom: 15px;
    }

    @media (max-width: 900px) {
      .story-card {
        flex-direction: column;
      }

      .story-left, .story-right {
        flex: 1 1 100%;
        padding: 30px;
        text-align: center;
        display: contents;
      }

      .story-right h2 {
        font-size: 2rem;
      }
    }


    .mg-mv-section-wrapper {
      width: 100%;
      padding: 60px 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .mg-mv-heading {
      font-size: 3rem;
      font-weight: 700;
      color: #002f6c;
      margin-bottom: 60px;
      position: relative;
      letter-spacing: 1px;
      user-select: none;
    }

    .mg-mv-heading::after {
      content: '';
      display: block;
      width: 90px;
      height: 5px;
      background: linear-gradient(90deg, #1e88e5, #1976d2);
      margin: 16px auto 0 auto;
      border-radius: 3px;
    }

    .mg-mv-section {
      display: flex;
      gap: 50px;
      width: 100%;
      justify-content: center;
      perspective: 1000px;
      max-width: 1100px;
    }

    .mg-panel {
      flex: 1;
      background: linear-gradient(135deg, #d6e6ff 0%, #ffffff 100%);
      border-radius: 24px;
      padding: 50px 40px 60px;
      box-shadow:
        0 12px 24px rgba(30, 136, 229, 0.15),
        0 8px 16px rgba(30, 136, 229, 0.1);
      transition: 
        background 0.6s ease,
        box-shadow 0.6s ease,
        transform 0.3s ease;
      text-align: center;
      cursor: pointer;
      transform-style: preserve-3d;
      will-change: transform;
      position: relative;
      overflow: hidden;
    }

    .mg-panel::before {
      content: "";
      position: absolute;
      top: -120%;
      left: -50%;
      width: 220%;
      height: 220%;
      background: radial-gradient(circle at center, #1976d2 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 0;
      border-radius: 50%;
      pointer-events: none;
    }

    .mg-panel:hover::before {
      opacity: 0.3;
    }

    .mg-panel:hover {
      background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
      box-shadow:
        0 20px 40px rgba(30, 136, 229, 0.5),
        0 12px 30px rgba(30, 136, 229, 0.3);
      color: #fff;
      transform: translateZ(40px) rotateX(5deg) rotateY(10deg);
      z-index: 10;
    }

    .mg-panel svg {
      width: 72px;
      height: 72px;
      margin-bottom: 28px;
      stroke: #1e88e5;
      fill: #1e88e5;
      transition: stroke 0.5s ease, fill 0.5s ease, transform 0.4s ease;
      transform-origin: center;
      position: relative;
      z-index: 1;
    }

    .mg-panel:hover svg {
      stroke: #fff;
      fill: #fff;
      transform: scale(1.15) rotate(15deg);
    }

    .mg-panel h3 {
      font-size: 2.2rem;
      margin-bottom: 20px;
      font-weight: 600;
      z-index: 1;
      position: relative;
    }

    .mg-panel p {
      font-size: 1.1rem;
      line-height: 1.75;
      color: inherit;
      max-width: 380px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    @media (max-width: 840px) {
      .mg-mv-section {
        flex-direction: column;
        gap: 40px;
      }
      .mg-panel {
        transform: none !important;
      }
    }



    @keyframes float1 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}
@keyframes float2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(15px); }
  100% { transform: translateY(0); }
}
@keyframes float3 {
  0% { transform: translateX(0); }
  50% { transform: translateX(-15px); }
  100% { transform: translateX(0); }
}



  @keyframes floatImg1 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0); }
  }
  @keyframes floatImg2 {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(10px); }
    100% { transform: translateY(0); }
  }
  @keyframes floatImg3 {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(-10px); }
    100% { transform: translateX(0); }
  }



  .teacher-container {
      display: flex;
      justify-content: center;
      gap: 65px;
      padding: 25px;
      border-radius: 15px;
      background: linear-gradient(90deg, #8a2be2, #4169e1);
    }

    .teacher-card {
      background: #fff;
      border-radius: 12px;
      padding: 15px;
      text-align: center;
      width: 260px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }

    .teacher-card img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 10px;
    }

    .teacher-card h4 {
      margin: 5px 0 0;
      font-size: 16px;
      font-weight: bold;
      color: #333;
    }

    .teacher-card h4 span {
      color: #5d3be0;
    }


    
    .fascilities-container {
      display: flex;
      gap: 30px;
      flex-wrap: wrap;
      justify-content: center;
      padding-top: 50px;
    padding-bottom: 100px;
    }

    .card {
    /* position: relative; */
    width: 395px;
    height: 265px;
    padding: 35px;
    border-radius: 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: none;
}

    /* ICON */
    .card .icon {
      width: 60px;
      height: 60px;
      background: #fff;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .card .icon svg {
      width: 34px;
      height: 34px;
    }

    /* HEADING */
    .card h2 {
      font-size: 20px;
      font-weight: 400;
    }
    .card h2 span {
      font-weight: 600;
    }

    /* TEXT */
    .card p {
      font-size: 14px;
      line-height: 19px;
      margin-top: 24px;
    }

    /* Bubble tail */
    .circle {
      position: absolute;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      bottom: -21px;
      right: -12px;
    }

    /* Colors */
    .orange { 
      background: url('/img/inner-bg/img1.png') no-repeat;
      background-position: center;
     }
  
    .green { 
      background: url('/img/inner-bg/img2.png') no-repeat;
      background-position: center; 
    }
    

    .yellow { 
      background: url('/img/inner-bg/img3.png') no-repeat;
      background-position: center;
    }
    

    .blue { 
      background: url('/img/inner-bg/img4.png') no-repeat;
      background-position: center;
    }
    

    .mbg-btn-read {
      display: inline-block;
      margin-top: 10px;
      padding: 10px 22px;
      font-size: 16px;
      font-weight: 600;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      background: linear-gradient(#9DAFFF, #DB99FF);
      color: #fff;
      transition: all 0.3s ease;
    }

    .mbg-btn-read:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }

    /* Modal overlay */
    .mbg-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.65);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(2px);
    }

    /* Modal box */
    .mbg-modal-content {
      background: #fff;
      padding: 30px;
      border-radius: 16px;
      width: 90%;
      max-width: 650px;
      position: relative;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.35s ease;
    }

    .mbg-modal-content p {
      margin-bottom: 15px;
    }

    /* Stylish Close Button */
    .mbg-close-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      width: 38px;
      height: 38px;
      border: none;
      border-radius: 50%;
      background: #ff6b6b;
      color: #fff;
      font-size: 18px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .mbg-close-btn:hover {
      background: #e84141;
      transform: rotate(90deg);
    }

    @keyframes slideUp {
      from { transform: translateY(50px); opacity: 0; }
      to { transform: translateY(0); opacity: 1; }
    }


    /* Make facilities container responsive */
.fascility-contain {
  display: flex;
  flex-wrap: wrap;         /* Allow wrapping */
  gap: 20px;               /* Space between cards */
  justify-content: center; /* Center align */
  width: 100% !important;  /* Remove fixed width */
  box-sizing: border-box;
}

.fascility-contain .card {
  flex: 1 1 calc(25% - 20px); /* 4 cards per row on large screen */
  min-width: 250px;
}

/* Tablet view (2 per row) */
@media (max-width: 992px) {
  .fascility-contain .card {
    flex: 1 1 calc(50% - 20px);
  }
}

/* Mobile view (1 per row) */
@media (max-width: 600px) {
  .fascility-contain .card {
    flex: 1 1 100%;
  }
}


/* Default: your existing styles remain same */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .ceo-section {
    flex-direction: column;
    text-align: center;
    gap: 20px !important;
  }

  .ceo-section img {
    max-width: 420px !important;
    margin-left: 165px;
  }

  .ceo-section .text-card {
    padding: 20px !important;
    font-size: 14px;
  }

  /* Background shapes scale down */
  .bg-circle-large {
    width: 300px !important;
    height: 300px !important;
    left: 50px !important;
  }
  .bg-circle-small {
    width: 80px !important;
    height: 80px !important;
  }
  .bg-circle-outline {
    width: 90px !important;
    height: 90px !important;
    border-width: 12px !important;
  }
}

/* Mobile (max-width: 576px) */
@media (max-width: 576px) {
  .ceo-section {
    padding: 10px !important;
    gap: 15px !important;
  }

  .ceo-section img {
    max-width: 280px !important;
    margin-left: 42px;
  }

  .ceo-section .text-card {
    padding: 15px !important;
    font-size: 13px;
  }

  .ceo-section .text-card h2 {
    font-size: 18px !important;
  }

  /* Hide or shrink some background shapes for clarity */
  .bg-circle-large {
    display: none !important;
  }
  .bg-circle-small {
    width: 60px !important;
    height: 60px !important;
    bottom: 40px !important;
    left: 20px !important;
  }
  .bg-circle-outline {
    display: none !important;
  }
}


.teacher-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.teacher-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
  width: 250px; /* Default for desktop */
}

.teacher-card img {
  width: 100%;
  height: auto;
  display: block;
}

.teacher-card h4 {
  margin: 10px 0;
}

/* Tablet Responsive (max-width: 992px) */
@media (max-width: 992px) {
  .teacher-container {
    justify-content: center;
  }
  .teacher-card {
    width: 45%; /* 2 cards per row */
  }
}

/* Mobile Responsive (max-width: 576px) */
@media (max-width: 576px) {
  .teacher-container {
    flex-direction: column;
    align-items: center;
  }
  .teacher-card {
    width: 90%; /* Full width on mobile */
    margin-bottom: 15px;
  }
}

.navbar-nav .nav-link.active {
  color: #FE7150 !important;
  font-weight: 600;
}


.category-section {
  padding: 70px 20px;
  background: #f9f9ff;
  display: flex;
  justify-content: center;
}

.category-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  justify-items: center;
}

.category-card {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 320px;
  height: 380px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.category-icon {
  background: var(--color);
  width: 100%;
  height: 110px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon img {
  width: 65px;
  height: 65px;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  transition: transform 0.3s ease;
}

.category-card:hover .category-icon img {
  transform: rotate(10deg) scale(1.1);
}

.category-card h3 {
  margin: 40px 0 15px;
  font-size: 1.3rem;
  color: #222;
  font-weight: 600;
}

.category-card p {
  color: #555;
  font-size: 0.95rem;
  padding: 0 20px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .category-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .category-container {
    grid-template-columns: 1fr;
  }

  .category-card {
    max-width: 350px;
    height: auto;
  }
}
