 
       
       :root {
            --primary-color: #103632;
            --secondary-color: #cfd1d1;
            --text-color: #2a5e2a;
            --active-color: linear-gradient(135deg, #d4af37 0%, #f4df9f 100%);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
        background: linear-gradient(135deg, #d6dcd6 0%, #e8f0e8 100%);

            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }



        header {

            background: linear-gradient(120deg, rgba(7, 76, 56, 0.899), #6f958ce9);
            color: white;
            padding: 10px 0 10px;
            text-align: center;
            position: relative;
            margin-bottom: 0;


        }

        /* Gradient bottom border */
        header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 5px;
            width: 100%;
            /* background: linear-gradient(125deg, rgb(214, 227, 221), #070f0ab9); */
            background: linear-gradient(120deg, rgba(7, 76, 56, 0.899), #6f958ce9);
        }


        .header-top {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .logo {
            border-radius: 4px;
            position: absolute;
            left: -10%;
            top: 70%;
            transform: translateY(-50%);
            height: 90px;
        }

        header h1 {
            font-size: 2.3rem;
        }

        header a {
            font-size: 1rem;
            margin-top: 0;
            color: #f5f5f5;
            text-decoration: none;
        }

        header a:hover {
            color: #666;
            transition: 0.3s all;
        }

        /* Menu */
        nav.menu {
            margin-top: 15px;
        }

        nav.menu ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 30px;
        }

        nav.menu ul li a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            padding: 5px 2px;
            transition: background-color 0.3s ease;
        }

        nav.menu ul li a:hover {

            background:linear-gradient(135deg, #d4af37 0%, #f4df9f 100%);
            color:#2a5e2a;
            border-radius: 4px;
        }

        /* Hamburger Menu Icon */
        .hamburger {
            display: none;
            position: absolute;
            top: 20px;
            right: 30px;
            cursor: pointer;
            flex-direction: column;
            gap: 5px;
        }

        .hamburger span {
            display: block;
            width: 25px;
            height: 3px;
            background-color: white;
        }

        /* Responsive Styles */
        <!-- @media (max-width: 768px) {
            .logo {
                left: 30px;
                height: 60px;
            }
        } -->
  /* Responsive Styles */
       @media (max-width: 1368px) {
      .logo {
      left:-3%;
 
      }
             header h1 {
      font-size: 2.0rem;
    }
    }

       @media (max-width: 1068px) {
        .logo {
      left:-2%;
 
      }
             header h1 {
      font-size: 1.6rem;
    }
    }

    @media (max-width: 768px) {
                header h1 {
      font-size: 1.3rem;
      
    }
      .logo {
        
 /* left:0%; */
        left: 30px;
        height: 60px;
      }
    }
        @media (max-width: 450px) {
            .logo {
                left: 0px;
                height: 55px;
                top: 10%;
                transform: translateY(-10%);
            }

            .hamburger {
                margin-top: 5px;
                display: flex;

            }

            header h1 {
                  font-size: 1.3rem;
                margin-left: 100px;
                margin-right: 100px;
            }




            nav.menu {
                display: none;
                margin-top: 10px;
            }

            nav.menu.active {
                display: block;
            }

            nav.menu ul {
                flex-direction: column;
                align-items: center;
                gap: 15px;
                background-color: linear-gradient(to left, rgb(156, 158, 158), #3d8e7b);
                padding: 10px 0;
            }
        }






        /* video gallery section */
        .video-gallery {
            background: linear-gradient(120deg, rgba(7, 76, 56, 0.899), #6f958ce9);
            padding: 2rem;
            color: var(--text-color);
            border-radius: 10px;
            max-width: 1200px;
            margin: 50px auto;
        }

        .gallery-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .filter-buttons {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }

        .filter-btn {
            background: rgba(255, 255, 255, 0.761);
            border: none;
            color: var(--text-color);
            padding: 0.5rem 1.5rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.0rem;
        }

        .filter-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .filter-btn.active {
            background: var(--active-color);
            color: #333;
            font-weight: bold;
        }

        .videos-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-bottom: 2rem;
            min-height: 500px;
            position: relative;
        }

        .video-item {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 0px;
            overflow: hidden;
            transition: all 0.4s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            min-height: 200px;
            border-bottom-left-radius: 22px;
            border-top-right-radius: 22px;
            opacity: 0;
        }

        /* Odd items animation (positions 1,3,5) */
        .animate-odd {
            animation: oddEntry 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
        }

        @keyframes oddEntry {
            0% {
                opacity: 0;
                transform: translateX(50px) translateY(-50px) rotate(10deg);
            }

            30% {
                opacity: 0.8;
                transform: translateX(-30px) translateY(20px) rotate(-5deg);
            }

            60% {
                opacity: 0.9;
                transform: translateX(15px) translateY(-10px) rotate(3deg);
            }

            100% {
                opacity: 1;
                transform: translateX(0) translateY(0) rotate(0);
            }
        }

        /* Even items animation (positions 2,4,6) */
        .animate-even {
            animation: evenEntry 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
            animation-delay: 0.4s;
            /* Start after odd items finish */
        }

        @keyframes evenEntry {
            0% {
                opacity: 0;
                transform: translateX(-50px) translateY(50px) rotate(-10deg);
            }

            30% {
                opacity: 0.8;
                transform: translateX(30px) translateY(-20px) rotate(5deg);
            }

            60% {
                opacity: 0.9;
                transform: translateX(-15px) translateY(10px) rotate(-3deg);
            }

            100% {
                opacity: 1;
                transform: translateX(0) translateY(0) rotate(0);
            }
        }

        .animate-shrink {
            animation: shrinkOut 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
            transform-origin: center;
        }

        @keyframes shrinkOut {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            70% {
                transform: scale(0.7);
                opacity: 0.3;
            }

            100% {
                transform: scale(0.5);
                opacity: 0;
            }
        }

        .video-tthumbnail {
            position: relative;
            padding-top: 56.25%;
            overflow: hidden;
            flex-grow: 1;
        }

        .video-tthumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .video-tthumbnail:hover img {
            transform: scale(1.05);
        }

        .play-iicon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-iicon::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-left: 15px solid white;
            margin-left: 5px;
        }

        .video-ttitle {
        
                   background: linear-gradient(135deg, #d3b54f 0%, #e6d8ae 100%);
            padding: 1rem;
            font-size: 1.2rem;
            text-align: center;
            border-bottom-left-radius: 22px;
        }


        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 0;
        }

        .page-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: var(--text-color);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 80px;
        }

        .page-numbers {
            display: flex;
            gap: 0.5rem;
        }

        .page-number {
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .page-number.active {
            background: var(--active-color);
            color: #333;
            font-weight: bold;
        }

        .page-btn:hover,
        .page-number:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .gallery-header h2 {
            background: linear-gradient(to left, rgb(242, 243, 243), #b7b8b7);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: transparent;
            font-size: 2.5rem;
        }

        @media (max-width: 768px) {
            .videos-container {
                grid-template-columns: repeat(2, 1fr);
                min-height: 800px;
            }

            /* Adjust animations for 2-column layout */
            .animate-even {
                animation-delay: 0.4s;
            }
        }

        @media (max-width: 450px) {
            .video-gallery {

                margin: 50px 5%;
            }

            .video-item {
                min-height: 00px;
            }

            .videos-container {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            /* Single column - all items animate together */
            .animate-even {
                animation-delay: 0s;
            }

            .filter-buttons {
                flex-direction: column;
                align-items: center;
            }

            .filter-btn {
                width: 100%;
                max-width: 200px;
            }

            .gallery-header h2 {
                font-size: 2rem;
            }

             .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        padding: 0.5rem;
    }

    .page-numbers {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        max-width: 100%;
    }

    .page-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .page-btn {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
        min-width: auto;
    }
        }


        footer {
            background: linear-gradient(120deg, rgba(7, 76, 56, 0.899), #6f958ce9);
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 50px;
        }

.hidden {
  opacity: 0.5;
  transform: translateY(-50px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.5s ease, transform 1.5s ease, visibility 1.5s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1.5s ease, transform 1.5s ease, visibility 1.5s ease;
}

/* visible slide */
.hiddenSlide{
  opacity: 0.5;
  transform: translateX(-50px); /* Slide from the left */
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.5s ease, transform 1.5s ease, visibility 1.5s ease;
}

.visibleSlide {
  opacity: 1;
  transform: translateX(0); /* Move to original position */
  visibility: visible;
  pointer-events: auto;
  transition: opacity 1.5s ease, transform 1.5s ease, visibility 1.5s ease;
}

   /* Silver Shimmer Animation */
        @keyframes silverShimmer {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }

        /* Base Styles */
        .gann-mastery-section {
            font-family: 'Arial', sans-serif;
            max-width: 1200px;
            margin: 100px auto;
            padding: 30px;
            background: linear-gradient(135deg, rgba(2, 28, 20, 0.96), rgba(107, 108, 107, 0.387), rgba(21, 66, 54, 0.96), rgba(123, 120, 120, 0.784), rgba(2, 28, 20, 0.96));
            background-size: 400% 400%;
            animation: silverShimmer 9s ease-in-out infinite alternate;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            overflow: hidden;
            position: relative;
            border: 1px solid rgba(255,255,255,0.3);
        }

        /* Initial hidden state */
        .gann-mastery-section.hiddenSlide {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 1.2s ease-out, transform 1.2s ease-out;
        }

        /* Visible state */
        .gann-mastery-section.visibleSlide {
            opacity: 1;
            transform: translateY(0);
        }

        .gann-mastery-container {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            position: relative;
        }

        /* Image container with fixed height */
        .gann-mastery-image {
            flex: 1 1 300px;
            height: 400px; /* Fixed height */
            max-height: 400px; /* Maximum height */
            border-radius: 10px;
            margin: 10px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            border: 3px solid rgba(255,255,255,0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            transform: translateX(80px);
            opacity: 0;
            transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1), 
                        opacity 1.8s ease;
        }

        /* Image styles */
        .gann-mastery-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        /* Content styles */
        .gann-mastery-content {
            flex: 1 1 300px;
            padding: 20px;
            position: relative;
            transform: translateX(-80px);
            opacity: 0;
            transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1), 
                        opacity 1.8s ease;
        }

        /* Visible states */
        .gann-mastery-section.visibleSlide .gann-mastery-image,
        .gann-mastery-section.visibleSlide .gann-mastery-content {
            transform: translateX(0);
            opacity: 1;
        }

        .gann-mastery-image:hover {
            transform: translateX(0) scale(1.03);
        }

        /* Rest of your styles remain unchanged */
        .gann-mastery-badge {
            position: absolute;
            top: -15px;
            right: 20px;
            background: linear-gradient(135deg, #e0e0e0, #ffffff);
            color: #021c14;
            padding: 8px 15px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 14px;
            animation: pulse 3s infinite;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            z-index: 2;
            border: 1px solid rgba(255,255,255,0.7);
        }

        .gann-mastery-title {
            font-size: 2.2rem;
            color: #e0f7fa;
            margin-bottom: 15px;
            line-height: 1.3;
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.4);
            font-weight: 700;
        }

        .gann-mastery-subtitle {
             color: #d2e1d6;
            margin-bottom: 25px;
            font-size: 1.1rem;
            font-weight: 500;
        }

        .gann-mastery-features {
            list-style-type: none;
            padding: 0;
            margin-bottom: 30px;
        }

        .gann-mastery-features li {
            padding: 12px 0;
            padding-left: 35px;
            position: relative;
            color: #e0f7fa;
            font-weight: 500;
        }

        .gann-mastery-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #80deea;
            font-weight: bold;
            font-size: 1.3rem;
            text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
        }

        .gann-mastery-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            margin-top: 40px;
        }
        
        .gann-mastery-btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            font-size: 0.9rem;
            transition: all 0.5s ease;
            text-align: center;
            flex: 1;
            min-width: 140px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            border: none;
            cursor: pointer;
            color: white;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }
        
        .btn-buy {
            background: linear-gradient(135deg, #00695c, #004d40);
            border: 1px solid #80deea;
        }
        
        .btn-book {
            background: linear-gradient(135deg, #00897b, #00695c);
            border: 1px solid #b2ebf2;
        }
        
        .gann-mastery-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.08); }
            100% { transform: scale(1); }
        }

        @media (max-width: 768px) {
              .gann-mastery-container {
                flex-direction: column;
                margin-left: -6%;
            }
            
 /* Base Styles */
        .gann-mastery-section {
            font-family: 'Arial', sans-serif;
            width:90%;
            max-width: 800px;
            margin: 30px auto;
            padding: 20px;
      
        }
            
            .gann-mastery-image {
                width: 100%;
                height: 300px; /* Adjusted for mobile */
                margin-bottom: 20px;
                transform: translateY(60px);
            }
            
            .gann-mastery-content {
                transform: translateY(-60px);
            }
            
            .gann-mastery-title {
                font-size: 1.8rem;
            }
            
            .gann-mastery-buttons {
                flex-direction: column;
            }
            
            .gann-mastery-btn {
                width: 100%;
            }
             .gann-mastery-subtitle {
               
            color: #d2e1d6;
            margin-bottom: 25px;
            font-size: 1.1rem;
            font-weight: 500;
        }
        }