/* ========== CSS Reset ========== */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  } */
  
  /* ========== Base Styles ========== */
  
  main {
    max-width: 1300px;
    margin: auto;
    text-align: center;
   
  }
  /* ================================first part==================== */
  .first-part{
    margin-top: 5%;
     margin-bottom: 20%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #menu-wheel{ 
    width: 50%;
    margin-left: 15%;

  }
  #empowering{
    margin: 5% 2% 5% 2%;
    overflow: hidden;
    width: 50%;
  }
/*=============================== menu wheel part animation ====================================*/
.zoom{
    transition: transform 0.9s ease-in-out; 
    transform-origin:center;
    cursor: pointer;
  }

  .zoom:hover {
    width: 300px;
     transform: scale(0.9);
  }
  /* =========================empowering progress image animation======================================== */
  .image {
    
    transform-origin: center;
     animation: burst 6.5s ease-in-out infinite;
    /* animation: burst 6.5s ease-out forwards; */
  } 

  /* Inner elements scale during burst */
  .image > * {
    transform-origin: center;
    animation: scaleInner 5.5s ease-in-out infinite;
    /* animation: scaleInner 5.5s ease-out forwards; */
  }

  @keyframes scaleInner {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    80% {
      opacity: 1;
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  .image:nth-child(1) { animation-delay: 0s; }
.image:nth-child(1) > * { animation-delay: 0s; }

.image:nth-child(2) { animation-delay: 0.2s; }  
.image:nth-child(2) > * { animation-delay: 0.2s; }  

.image:nth-child(3) { animation-delay: 0.4s; }  
.image:nth-child(3) > * { animation-delay: 0.4s; }  

.image:nth-child(4) { animation-delay: 0.6s; }  
.image:nth-child(4) > * { animation-delay: 0.6s; }  

.image:nth-child(5) { animation-delay: 0.8s; }  
.image:nth-child(5) > * { animation-delay: 0.8s; }


   /* =========================empowering progress text animation======================================== */
   
 

.text { 
  transform-origin: center;
  animation: burst 6.5s ease-in-out infinite;
}

.text > * {
  transform-origin: center;
  animation: scaleInner 5.5s ease-in-out infinite;
}

@keyframes scaleInner {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  80% {
    opacity: 1;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.text:nth-child(1)  { animation-delay: 0s; }
.text:nth-child(1)  > * { animation-delay: 0s; }

.text:nth-child(2)  { animation-delay: 0.3s; }
.text:nth-child(2)  > * { animation-delay: 0.3s; }

.text:nth-child(3)  { animation-delay: 0.6s; }
.text:nth-child(3)  > * { animation-delay: 0.6s; }

.text:nth-child(4)  { animation-delay: 0.9s; }
.text:nth-child(4)  > * { animation-delay: 0.9s; }

.text:nth-child(5)  { animation-delay: 1.2s; }
.text:nth-child(5)  > * { animation-delay: 1.2s; }

.text:nth-child(6)  { animation-delay: 1.5s; }
.text:nth-child(6)  > * { animation-delay: 1.5s; }

.text:nth-child(7)  { animation-delay: 1.8s; }
.text:nth-child(7)  > * { animation-delay: 1.8s; }

.text:nth-child(8)  { animation-delay: 2.1s; }
.text:nth-child(8)  > * { animation-delay: 2.1s; }

.text:nth-child(9)  { animation-delay: 2.4s; }
.text:nth-child(9)  > * { animation-delay: 2.4s; }

.text:nth-child(10) { animation-delay: 2.7s; }
.text:nth-child(10) > * { animation-delay: 2.7s; }

.text:nth-child(11) { animation-delay: 3s; }
.text:nth-child(11) > * { animation-delay: 3s; }

.text:nth-child(12) { animation-delay: 3.3s; }
.text:nth-child(12) > * { animation-delay: 3.3s; }

.text:nth-child(13) { animation-delay: 3.6s; }
.text:nth-child(13) > * { animation-delay: 3.6s; }

.text:nth-child(14) { animation-delay: 3.9s; }
.text:nth-child(14) > * { animation-delay: 3.9s; }

.text:nth-child(15) { animation-delay: 4.2s; }
.text:nth-child(15) > * { animation-delay: 4.2s; }

.text:nth-child(16) { animation-delay: 4.5s; }
.text:nth-child(16) > * { animation-delay: 4.5s; }

.text:nth-child(17) { animation-delay: 4.8s; }
.text:nth-child(17) > * { animation-delay: 4.8s; }

.text:nth-child(18) { animation-delay: 5.1s; }
.text:nth-child(18) > * { animation-delay: 5.1s; }

.text:nth-child(19) { animation-delay: 5.4s; }
.text:nth-child(19) > * { animation-delay: 5.4s; }

.text:nth-child(20) { animation-delay: 5.7s; }
.text:nth-child(20) > * { animation-delay: 5.7s; }

.text:nth-child(21) { animation-delay: 6s; }
.text:nth-child(21) > * { animation-delay: 6s; }

.text:nth-child(22) { animation-delay: 6.3s; }
.text:nth-child(22) > * { animation-delay: 6.3s; }

.text:nth-child(23) { animation-delay: 6.6s; }
.text:nth-child(23) > * { animation-delay: 6.6s; }



/* .text:nth-child(1)  { animation-delay: 0s; }
.text:nth-child(1)  > * { animation-delay: 0s; }

.text:nth-child(2)  { animation-delay: 0.2s; }
.text:nth-child(2)  > * { animation-delay: 0.2s; }

.text:nth-child(3)  { animation-delay: 0.4s; }
.text:nth-child(3)  > * { animation-delay: 0.4s; }

.text:nth-child(4)  { animation-delay: 0.6s; }
.text:nth-child(4)  > * { animation-delay: 0.6s; }

.text:nth-child(5)  { animation-delay: 0.8s; }
.text:nth-child(5)  > * { animation-delay: 0.8s; }

.text:nth-child(6)  { animation-delay: 1s; }
.text:nth-child(6)  > * { animation-delay: 1s; }

.text:nth-child(7)  { animation-delay: 1.2s; }
.text:nth-child(7)  > * { animation-delay: 1.2s; }

.text:nth-child(8)  { animation-delay: 1.4s; }
.text:nth-child(8)  > * { animation-delay: 1.4s; }

.text:nth-child(9)  { animation-delay: 1.6s; }
.text:nth-child(9)  > * { animation-delay: 1.6s; }

.text:nth-child(10) { animation-delay: 1.8s; }
.text:nth-child(10) > * { animation-delay: 1.8s; }

.text:nth-child(11) { animation-delay: 2s; }
.text:nth-child(11) > * { animation-delay: 2s; }

.text:nth-child(12) { animation-delay: 2.2s; }
.text:nth-child(12) > * { animation-delay: 2.2s; }

.text:nth-child(13) { animation-delay: 2.4s; }
.text:nth-child(13) > * { animation-delay: 2.4s; }

.text:nth-child(14) { animation-delay: 2.6s; }
.text:nth-child(14) > * { animation-delay: 2.6s; }

.text:nth-child(15) { animation-delay: 2.8s; }
.text:nth-child(15) > * { animation-delay: 2.8s; }

.text:nth-child(16) { animation-delay: 3s; }
.text:nth-child(16) > * { animation-delay: 3s; }

.text:nth-child(17) { animation-delay: 3.2s; }
.text:nth-child(17) > * { animation-delay: 3.2s; }

.text:nth-child(18) { animation-delay: 3.4s; }
.text:nth-child(18) > * { animation-delay: 3.4s; }

.text:nth-child(19) { animation-delay: 3.6s; }
.text:nth-child(19) > * { animation-delay: 3.6s; }

.text:nth-child(20) { animation-delay: 3.8s; }
.text:nth-child(20) > * { animation-delay: 3.8s; }

.text:nth-child(21) { animation-delay: 4s; }
.text:nth-child(21) > * { animation-delay: 4s; }

.text:nth-child(22) { animation-delay: 4.2s; }
.text:nth-child(22) > * { animation-delay: 4.2s; }

.text:nth-child(23) { animation-delay: 4.4s; }
.text:nth-child(23) > * { animation-delay: 4.4s; } */

/* =========================About us section ================================================= */

/* Tooltip card style
    .hover-card {
      position: absolute;
      background-color: white;
      border: 1px solid #ccc;
      padding: 8px 12px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      display: none;
      pointer-events: none;
      z-index: 1000;
    }  */

.hover-card {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  padding: 16px 20px;          
  font-size: 18px;             
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25); 
  display: none;
  pointer-events: none;
  z-index: 1000;
  width: 300px;   
  
}


#about-container{
  width: 100%;
  margin-bottom: 20%;
}

  #about-container svg{
   margin-left: 10%;
      width: 50%;
      height: 30%;
      margin-top: 5%;
      margin-bottom: 5%;

      
    }

    .introduction,
    .yellow,
    .green,
    .orange
    :hover {
      cursor: pointer;
    }
/* ================================================================== */
#historyContainer{

 width: 100%;
 
}
#historyContainer svg{
  width:60%;
  
}

/* History Zoom:hovering section has been commented/deleted  */
/* just delete the comments properly for redo zooming behaviour */
 .history {
      /* transition: transform 0.3s ease; */
      /* transform-origin:center;  */
      /* position: absolute;
      transition: transform 2.5s ease ;
      cursor: pointer; */
    }

    /* .history:hover {
      transform: scale(1.4); 
    } */
    /*======================================About Us========================================  */
    #organogramContainer{
     max-width: 80%;
      height: auto;
      display: block;
     margin: 20% auto 10% auto;
     /* margin-top: ; */
/* top: 5%, right: auto, bottom: 0, left: auto */


    }
    /* ======================================contact Us=================================== */
    .contactUs{
      max-width: 100%;
      height: auto;
      display: block;
     margin: 20% auto 0 auto;
/* top: 5%, right: auto, bottom: 0, left: auto */

    }

    /* ========================================map============================================== */

    #map-container{
      max-width: 100%;
      padding-top: 10%;
      margin-top: 20%;
      margin-bottom: 20%;
/* top: 5%, right: auto, bottom: 0, left: auto */
     
    }
    #map-container path {
      transition: all 0.9s ease;
       transform-origin: center center;
    }

    #map-container path:hover {
       fill: #4ad9eb; /* Hover color */
            transform: scale(1.05); /* Zoom effect */
            cursor: pointer;
    }

    .card {
      position: absolute;
      display: none;
      background: white;
      border: 1px solid #ccc;
      padding: 10px;
      z-index: 1000;
      border-radius: 5px;
      box-shadow: 0 0 8px rgba(0,0,0,0.2);
      pointer-events: none;
      font-family: sans-serif;
    }

    /* =================================CoglaGamards================================================= */

    .coglagamards {
      max-width: 100%;
      height: auto;
      display: block;
     /* border: 2px solid black; */
     margin-bottom: 25%;
     margin-top: 25%;
     padding-top: 20%;
     padding-bottom: 20%;
    }

    /* ======================================gallary================================================ */

  
        /* * { margin: 0; padding: 0; box-sizing: border-box; } */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* background: rgb(213, 191, 212); */
            min-height: 100vh;
            /* padding: 20px; */
        }
        .container { max-width: 1200px; margin: 0 auto; }

        .slider-container { position: relative; overflow: hidden; padding-top: 5%; }

        .slider-track {
            display: flex; transition: transform 0.5s ease;
        }

        .slider-item { min-width: 100%; box-sizing: border-box; }

        .slider-btn {
            position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(0,0,0,0.5); color: white; border: none;
            padding: 10px; cursor: pointer; z-index: 10; font-size: 20px;
            border-radius: 50%; transition: background 0.3s;
        }
        .slider-btn:hover { background: rgba(0,0,0,0.8); }
        .prev-btn { left: 10px; }
        .next-btn { right: 10px; }

        .post-card {
            background: white; border-radius: 20px; overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer; margin: 20px;
        }

        .post-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .post-image {
            width: 60%; height: 320px; object-fit: cover;
            margin-left: 5%;
            margin-top:5%; margin-bottom: 5%;
            transition: transform 0.3s ease;
        }

        .post-card:hover .post-image { transform: scale(1.05); }

        .post-content { padding: 20px; }
        .post-caption {
            color: #333; font-size: 14px; line-height: 1.6; margin-bottom: 15px;
            display: -webkit-box; -webkit-line-clamp: 3;
            -webkit-box-orient: vertical; overflow: hidden;
        }

        .post-meta {
            display: flex; justify-content: space-between;
            align-items: center; color: #666; font-size: 12px;
        }

        .post-type {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white; padding: 4px 8px; border-radius: 12px;
            font-size: 10px; font-weight: bold;
        }

        .modal {
            display: none; position: fixed; z-index: 1000;
            left: 0; top: 0; width: 100%; height: 100%;
            background-color: rgba(0,0,0,0.95);
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        .modal-content {
            position: absolute; top: 50%; left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90%; max-height: 90%; border-radius: 15px; overflow: hidden;
        }

        .modal-image { width: 80%; height: auto; display: block; }

        .modal-info {
            background: white; padding: 20px; max-height: 200px;
            overflow-y: auto;
        }

        .modal-caption { color: #333; margin-bottom: 10px; line-height: 1.6; }
        .modal-meta { color: #666; font-size: 14px; }

        .close {
            position: absolute; top: 20px; right: 30px;
            color: white; font-size: 35px; font-weight: bold;
            cursor: pointer; z-index: 1001; background: rgba(0,0,0,0.5);
            width: 50px; height: 50px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
        }

        .close:hover { background: rgba(0,0,0,0.8); }

        @media (max-width: 768px) {
            .post-image { width: 90%; margin-left: 5%; }
        }
    

/* ========================================================================================================== */
/* ================================================contact style============================================ */

 
        /* .email-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        } */

        /* .email-link {
            display: inline-block;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.2s ease;
        } */

        /* .email-link:hover {
            transform: scale(1.05);
        } */

        /* .email-svg {
            width: 80px;
            height: 80px;
            fill: #2563eb;
            transition: fill 0.3s ease;
        } */

        /* .email-link:hover .email-svg {
            fill: #1d4ed8;
        } */

        .captcha-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(5px);
        }

        .captcha-container {
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            max-width: 90%;
            max-height: 90%;
            overflow-y: auto;
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .captcha-title {
            text-align: center;
            color: #1f2937;
            margin-bottom: 20px;
            font-size: 1.2em;
            font-weight: 600;
        }

        .captcha-content {
            text-align: center;
            margin: 20px 0;
        }

        .math-captcha {
            font-size: 2em;
            color: #374151;
            margin: 20px 0;
            font-weight: bold;
        }

        .captcha-input {
            width: 100%;
            max-width: 200px;
            padding: 12px;
            font-size: 16px;
            border: 2px solid #d1d5db;
            border-radius: 8px;
            margin: 10px 0;
            text-align: center;
            transition: border-color 0.3s ease;
        }

        .captcha-input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .captcha-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
            min-width: 100px;
        }

        .btn-submit {
            background: #10b981;
            color: white;
        }

        .btn-submit:hover {
            background: #059669;
            transform: translateY(-2px);
        }

        .btn-cancel {
            background: #ef4444;
            color: white;
        }

        .btn-cancel:hover {
            background: #dc2626;
            transform: translateY(-2px);
        }

        .error-message {
            color: #ef4444;
            margin-top: 10px;
            font-size: 14px;
        }

        .success-message {
            color: #10b981;
            margin-top: 10px;
            font-size: 14px;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: #e5e7eb;
            border-radius: 3px;
            margin: 20px 0;
            overflow: hidden;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #2563eb, #3b82f6);
            width: 0%;
            transition: width 0.5s ease;
        }

        .color-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin: 20px 0;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }

        .color-box {
            width: 60px;
            height: 60px;
            border: 3px solid transparent;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .color-box:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        .color-box.selected {
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
        }

        .pattern-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 20px 0;
            max-width: 250px;
            margin-left: auto;
            margin-right: auto;
        }

        .pattern-box {
            width: 70px;
            height: 70px;
            border: 3px solid #d1d5db;
            border-radius: 12px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
            background: #f9fafb;
        }

        .pattern-box:hover {
            border-color: #2563eb;
            transform: scale(1.05);
        }

        .pattern-box.selected {
            border-color: #2563eb;
            background: #eff6ff;
        }

        .image-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin: 20px 0;
            max-width: 300px;
            margin-left: auto;
            margin-right: auto;
        }

        .image-box {
            width: 80px;
            height: 80px;
            border: 3px solid #d1d5db;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            transition: all 0.3s ease;
            background: #f9fafb;
        }

        .image-box:hover {
            border-color: #2563eb;
            transform: scale(1.05);
        }

        .image-box.selected {
            border-color: #10b981;
            background: #ecfdf5;
        }

        .slider-container {
            margin: 20px 0;
        }

        .slider {
            width: 100%;
            max-width: 300px;
            height: 6px;
            border-radius: 3px;
            background: #e5e7eb;
            outline: none;
            -webkit-appearance: none;
        }

        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #2563eb;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .slider::-moz-range-thumb {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: #2563eb;
            cursor: pointer;
            border: none;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        }

        .sequence-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            margin: 20px 0;
            flex-wrap: wrap;
        }

        .sequence-number {
            width: 50px;
            height: 50px;
            border: 2px solid #d1d5db;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: bold;
            color: #374151;
        }

        .arrow {
            font-size: 20px;
            color: #6b7280;
        }

        .question-mark {
            background: #fef3c7;
            border-color: #f59e0b;
            color: #d97706;
        }

        @media (max-width: 480px) {
            .captcha-container {
                padding: 20px;
                margin: 10px;
            }
            
            .color-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .color-box {
                width: 50px;
                height: 50px;
            }
            
            .pattern-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .captcha-buttons {
                flex-direction: column;
                align-items: center;
            }
            
            .btn {
                width: 100%;
                max-width: 200px;
            }
        }
   