                    
      :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, #e9ede9 0%, #e1e4e1 100%);
            color: #333;
            line-height: 1.6;
        }

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



        /* video gallery section */
        .video-gallery {
            background: linear-gradient(120deg, rgba(227, 202, 177, 0.899), #b39470e9);
            ;
            padding: 2rem;
            color: rgb(40, 18, 3);
            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: linear-gradient(135deg, rgba(255, 255, 255, 0.922) 0%, rgb(100, 100, 100) 100%);
            border: none;
            color: rgb(40, 18, 3);
            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: linear-gradient(135deg, #402810 0%, #846848 100%);
            color: #efeded;
            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 {
            /* Your existing styles (background, border-radius etc.) */
            opacity: 0;
            clip-path: circle(10% at 50% 50%);
            transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .video-item.show {
            opacity: 1;
            clip-path: circle(100% at 50% 50%);
        }

        /* Exit animation (replaces shrink) */
        .animate-shrink {
            animation: circleCollapse 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        @keyframes circleCollapse {
            0% {
                clip-path: circle(100% at 50% 50%);
                opacity: 1;
            }

            100% {
                clip-path: circle(10% at 50% 50%);
                opacity: 0;
            }
        }

        /* Optional hover effect */
        .video-item:hover {
            transform: scale(1.02);

        }

        .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, rgba(255, 255, 255, 0.98) 0%, rgb(100, 100, 100) 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: rgb(40, 18, 3);
            ;
            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: rgb(40, 18, 3);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .page-number.active {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.971) 0%, rgb(100, 100, 100) 100%);
            color: rgb(40, 18, 3);
            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(135deg, #402810 0%, #846848 100%);
            -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;
            }
        }

        @media (max-width: 450px) {
            .video-gallery {
                margin: 50px 5%;
            }

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

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

            .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(201, 198, 198, 0.95),
                    /* dark silver/gray */
                    rgba(229, 227, 227, 0.57),
                    /* subtle shimmer */
                    rgba(100, 100, 100, 0.95),
                    /* mid-tone metallic */
                    rgba(246, 246, 246, 0.292),
                    /* subtle shimmer */
                    rgba(195, 191, 191, 0.95)
                    /* dark silver base again */
                );
            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: rgb(40, 18, 3);
            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: rgb(40, 18, 3);
            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: rgb(40, 18, 3);
            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: rgb(40, 18, 3);
            font-weight: 500;
        }

        .gann-mastery-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: rgb(40, 18, 3);
            font-weight: bold;
            font-size: 1.3rem;
            text-shadow: 0 0 5px rgba(36, 12, 4, 0);
        }

        .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, #402810 0%, #846848 100%);
            border: 1px solid #c8c6c4;
        }

        .btn-book {
            background: linear-gradient(135deg, #402810 0%, #846848 100%);
            border: 1px solid #a6a39f;
        }

        .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: -10px;
            }

            .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: rgb(40, 18, 3);
                margin-bottom: 25px;
                font-size: 1.1rem;
                font-weight: 500;
            }
        }
