:root {
            --primary: #6c5ce7;
            --secondary: #a29bfe;
            --accent: #fd79a8;
            --dark: #2d3436;
            --light: #f9f9f9;
            --success: #00b894;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            color: var(--dark);
            line-height: 1.6;
            padding: 20px;
        }

        .container {
            max-width: 850px;
            margin: -17px auto;
            background: #fff;
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        /* Hero / Details Section */
        .competition-header {
              background: linear-gradient(45deg, #ff007f, #7f00ff);
            color: white;
            padding: 40px 30px;
            text-align: center;
            position: relative;
        }

        .competition-header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgb(0 0 0 / 87%);
        }

        .competition-header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .details-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 20px;
            padding: 30px;
            background: #f1f2f6;
            border-bottom: 2px dashed #dcdde1;
        }

        .detail-card {
            background: white;
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            border-top: 4px solid var(--accent);
        }

        .detail-card h3 {
            font-size: 0.9rem;
            color: #7f8c8d;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .detail-card p {
            font-weight: bold;
            color: var(--dark);
            font-size: 1.1rem;
			background: linear-gradient(45deg, #ff007f, #7f00ff);
  
  /* 2. Clip the background tightly to the text characters */
  background-clip: text;
  -webkit-background-clip: text;
  
  /* 3. Hide the actual text fill color to let the background show through */
  color: transparent;
  -webkit-text-fill-color: transparent;
  
  /* 4. Project the shadow behind the clipped background layer */
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
  
  /* Optional: Ensure structural layout stability */
  display: inline-block;
        }
		
		
		.detail-card p.spnsr_p
		{
			background: linear-gradient(45deg, #03bdf9, #7f00ff);
			background-clip: text;
		}

        /* Form Section */
        form {
            padding: 40px 30px;
        }

        .section-title {
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 20px;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 5px;
            display: inline-block;
        }

        .form-group {
            margin-bottom: 25px;
			position:relative;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #4a4a4a;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        select {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        input:focus, select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 8px rgba(108, 92, 231, 0.2);
        }

        /* Payment Section */
        .payment-box {
            background: #f9f9ff;
            border: 2px solid var(--secondary);
            border-radius: 12px;
            padding: 25px;
            margin-top: 30px;
        }

        .price-summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e0e0e0;
        }

        .price-summary span {
            font-size: 1.2rem;
            font-weight: bold;
        }

        .price-amount {
            color: var(--success);
            font-size: 1.5rem !important;
        }

        .payment-methods {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .method-option {
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 15px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }

        .method-option input {
            margin-right: 12px;
            transform: scale(1.2);
        }

        .method-option:hover {
            border-color: var(--secondary);
        }

        input[type="radio"]:checked + span {
            font-weight: bold;
            color: var(--primary);
        }

        /* Submit Button */
        .btn-submit {
            display: block;
            width: 100%;
            background: var(--primary);
            color: white;
            border: none;
            padding: 15px;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 8px;
            cursor: pointer;
            margin-top: 30px;
            transition: background 0.3s transform 0.2s;
            box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
        }

        .btn-submit:hover {
            background: #5b4bc4;
            transform: translateY(-2px);
        }

        .btn-submit:active {
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 600px) {
            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }
            .payment-methods {
                grid-template-columns: 1fr;
            }
            .competition-header h1 {
                font-size: 1.8rem;
            }
        }
		a {
    text-decoration: none;
}

.gray_box
{
border-bottom: 2px solid #b0b2b5;
    border-right: 2px solid #e0e0e1;
    border-top: 1px solid #e7e6e6;
}

.grid_with4_bx
{
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 7px;
}




#regstnobutn {
	position: fixed;   /* Keeps the button pinned in place */
	top: 20px;         /* Distance from the very top */
	right: -12px;       /* Distance from the right edge */
	z-index: 9999;     /* Keeps the button floating above all other elements */
	
	/* Visual Styles */
	background-color: #4293e942;
	color: white;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 5px;
	box-shadow: 3px 3px 3px rgb(0 0 0 / 42%);
	transition: background-color 0.3s;
	
	 transform: rotate(27deg); /* Positive = clockwise, Negative = counter-clockwise */
    transform-origin: center; 
}

#contactgnolnk {
	position: fixed;   /* Keeps the button pinned in place */
	top: 12px;         /* Distance from the very top */
	left: 4px;       /* Distance from the right edge */
	z-index: 9999;     /* Keeps the button floating above all other elements */
	    color: white;
    padding: 12px 24px;
	
	background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
	transform: rotate(345deg); /* Positive = clockwise, Negative = counter-clockwise */
    transform-origin: center; 	
	box-shadow: 3px 3px 3px rgb(0 0 0 / 42%);
}
#contactgnolnk.zerorot
{
	transform: rotate(0deg); /* Positive = clockwise, Negative = counter-clockwise */
    transform-origin: center; 	
	top: 0px;  
}

#regstnobutn:hover {
	background-color: #4293e942;
}

.scrolled #regstnobutn
{
	background-color: #4293e9;
}

.ss_hidden
{
	display: none;
}

.form-group label::before {
    content: "*";
    position: absolute;
    left: -7px;
    color: red;
}


.branches_maindiv .detail-card{
width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    /* Animation name, duration, crisp instant step tracking, infinite loop */
    animation: backgroundFlicker 0.8s steps(1) infinite;
}
/*
.branches_maindiv .detail-card p{ 
 font-family: 'Arial Black', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: #ffffff; /* Remains solid white * /
    text-shadow: 2px 2px 4px #1928396b;
} */

@font-face {
    font-family: 'BangkokFont';
    src: url('res/Bangkok-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@keyframes backgroundFlicker {
    15% { background-color: #00ffcc; }  
    100% { background-color: #068f73; } 
}	

@font-face {
  font-family: 'Bangkok Bold';
  src: url('https://static.wfonts.com/data/2015/10/17/bangkok/Bangkok Bold.ttf') format('ttf');
  font-display: swap;
}

.sat_namefont
{
	 font-family: 'BangkokFont', 'Times New Roman'; 
}

/*

.car-movement {
  overflow: hidden;
  font-size: 40px;
  height: 50px;
}

.car-movement > .car {
  position: relative;
  display: inline-block;
  animation: linear infinite;
  animation-name: run;
  animation-duration: 5s;
}


@keyframes run {
  0% {
    transform: rotateY(180deg);
    left: -20px;
  }
  50% {
    transform: rotateY(180deg);
    left: 100%;
  }
  51% {
    transform: rotateY(0deg);
    left: calc(100% + 100px);
  }
  100% {
    transform: rotateY(0deg);
    left: -20px;
  } */
  
  
  .car-movement {
    position: absolute;
    top: 80%;
    left: 0;
    -webkit-animation: linear infinite;
    -webkit-animation-name: run;
    -webkit-animation-duration: 5s;
    }
	
	@media screen and (max-width: 767px) {
		.car-movement {
		top: 90%;
		}
    }
	
    @-webkit-keyframes run {
     0% {
      left: 0;
     }
     48% {
       -webkit-transform: rotateY(0deg); 
     }
     50% { 
      left: calc(100% - 100px);
      -webkit-transform: rotateY(180deg); 
     }
     98% {
      -webkit-transform: rotateY(180deg); 
     }
     100% {
     left: 0;    
     -webkit-transform: rotateY(0deg);
     }
	}


/*  >>>>>>>>>>>>>>>>>>>>>>>>  prize  >>>>>>> */

.prize-container {
	max-width: 1200px;
	width: 100%;
	text-align: center;
}

/* Elegant Entry Header Section */
.header-section {
	margin-bottom: 4rem;
	animation: fadeInDown 0.8s ease-out;
}

.header-section h2 {
	font-size: 3.2rem;
	font-weight: 800;
	background: linear-gradient(135deg, #3b82f6 0%, #ec4899 50%, #f59e0b 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -0.5px;
	margin-bottom: 0.75rem;
}

.header-section p {
	color: var(--text-muted);
	font-size: 1.2rem;
	font-weight: 500;
}

/* Grid Layout */
.prize-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2.5rem;
}

/* Light-Theme Soft Glow Cards */
.prize-card {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 32px;
	padding: 3.5rem 2rem;
	position: relative;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 10px 30px rgba(79, 70, 229, 0.04), 
				0 1px 3px rgba(0, 0, 0, 0.02);
	transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	opacity: 0;
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered entrance delay for cards */
.prize-card:nth-child(1) { animation-delay: 0.2s; }
.prize-card:nth-child(2) { animation-delay: 0.4s; }
.prize-card:nth-child(3) { animation-delay: 0.6s; }

/* Smooth Floating Micro-Interaction on Hover */
.prize-card:hover {
	transform: translateY(-12px);
	background: #ffffff;
	box-shadow: 0 30px 60px rgba(79, 70, 229, 0.12);
	
	transform: translateY(-15px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Fluid Top Colored Accent Bars */
.card-accent-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	transition: height 0.3s ease;
}
.card-winners .card-accent-line { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.card-recognition .card-accent-line { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.card-participants .card-accent-line { background: linear-gradient(90deg, #ec4899, #f472b6); }

.prize-card:hover .card-accent-line {
	height: 10px;
}

/* Elegant Pastel Icon Wrappers */
.icon-box {
	width: 84px;
	height: 84px;
	margin: 0 auto 2rem;
	border-radius: 24px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2.2rem;
	transition: all 0.5s ease;
}

.card-winners .icon-box { background: #fef3c7; color: #d97706; }
.card-recognition .icon-box { background: #e0e7ff; color: #4f46e5; }
.card-participants .icon-box { background: #fce7f3; color: #db2777; }

/* Rotate & Pulse Icon on Card Hover */
.prize-card:hover .icon-box {
	transform: scale(1.1) rotate(6deg);
}

/* Typography Inside Cards */
.prize-tag {
	display: inline-block;
	padding: 0.35rem 1.1rem;
	border-radius: 50px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1.25rem;
}
.card-winners .prize-tag { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.card-recognition .prize-tag { background: rgba(79, 70, 229, 0.1); color: #4338ca; }
.card-participants .prize-tag { background: rgba(236, 72, 153, 0.1); color: #be185d; }

.prize-card h3 {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 1rem;
	letter-spacing: -0.3px;
}

.prize-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Base Keyframe Animations */
@keyframes fadeInDown {
	from { opacity: 0; transform: translateY(-30px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Responsive Mobile Breakpoints */
@media (max-width: 768px) {
	body { padding: 1.5rem 1rem; }
	.header-section h2 { font-size: 2.4rem; }
	.prize-grid { gap: 1.5rem; }
	.prize-card { padding: 2.5rem 1.5rem; }
}
/*  >>>>>>>>>>>>>>>>>>>>>>>>  prize  >>>>>>> */