*::-webkit-input-placeholder {
	color: #666;
	opacity: 1;
}
*:-moz-placeholder {
	color: #666;
	opacity: 1;
}
*::-moz-placeholder {
	color: #666;
	opacity: 1;
}
*:-ms-input-placeholder {
	color: #666;
	opacity: 1;
}

body input:focus:required:invalid,
body textarea:focus:required:invalid {
	
}
body input:required:valid,
body textarea:required:valid {
	
}

.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: "";
  background-color: rgba(0, 0, 0, 0);
}

body {
	font-size: 16px;
	min-width: 320px;
	position: relative;
	line-height: 1.6;
	font-family: "Noto Sans Sinhala", sans-serif;
	overflow-x: hidden;
	margin: 0;
	background: #111;
}
.hidden {
	display: none;
}
header {
	border-radius: 0px;
	padding-top: 30px;
	/* border: 1px solid #E8E8E8;*/
	/* background: #FFF;*/
}
.header {
	display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 42px;
	background: #242424;
    padding: 15px 30px 15px 15px;	
}
.header-logo {
	background: #fff;
    padding: 5px;
    border-radius: 32px;
}
.header-logo img{
	max-width: 120px;
    height: auto;
    width: 100%;
}
.header-logo a {
	display: flex;
}
.header-issued {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-issued-text {
	color: #FFF;
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
	max-width: 200px;
}
.header-issued-num {
	display: flex;
	gap: 3px;
}
.header-issued-num span{
	border-radius: 4px;
	background: #111;
	display: flex;
	width: 24px;
	padding: 0px 4px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 150%;	
}

main{
	padding-bottom: 0px;
	font-size: 20px;
	color: #999;
	position: relative;
}
main h1 {
	color: #fff;
	text-align: left;
	font-size: 52px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%; 
	padding: 0;
	margin: 20px 0 24px 0;
	text-align: center;
}
.subtitleh1 {
	color: #999;
	text-align: left;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-align: center;
}
.abovetitle {
    border-radius: 60px;
    background: linear-gradient(90deg, #9634FF 0%, #1E3AAA 100%);
    transform: rotate(2deg);
    color: #FFF;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: -0.75px;
    padding: 15px 30px;
    display: inline-block;
    margin: 60px 0 0px 0;
}
main h2 {
	color: #fff;
	font-size: 42px;
	font-style: normal;
	font-weight: 600;
	line-height: 120%;
	padding: 0;
	margin: 0;
	margin-bottom: 24px;
	text-align: center;
}

main .section {
	margin-bottom: 140px;
	z-index: 1;
}


main ul {
	margin: 0;
	padding: 0;
	padding-left: 30px;
}
main ul li {
	color: #999;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin-bottom: 16px;
}


.offers-block {
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.20) 0%, rgba(92, 52, 255, 0.60) 45.19%, rgba(17, 17, 17, 0.20) 90.4%);
	margin-top: 90px;
	margin-bottom: 90px;
}

/*
.offers {
	display: flex;
	flex-wrap: wrap;
	--gap: 16px;
	--columns: 3;	
	gap: var(--gap);	
}
.offer {
	padding: 20px;
	border-radius: 16px;
	background: #FFF;
	position: relative;	
	width: calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));	
	display: flex;
	flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.10);
}
*/

.offers {
	display: flex;
	flex-wrap: wrap;
	--gap: 16px;
	gap: var(--gap);
}

.offer {
	padding: 20px;
	border-radius: 16px;
	background: #FFF;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 2px 10px rgba(0,0,0,0.10);

	/* базовая ширина для "обычных" карточек в ряду: 30% от (100% - 2*gap) */
	flex: 0 0 calc((100% - 2*var(--gap)) * 0.30);
}

/* Нечётные ряды (элементы 1–3, 7–9, 13–15, ...):
   первый элемент ряда — 40% */
.offers .offer:nth-child(6n + 1) {
	flex-basis: calc((100% - 2*var(--gap)) * 0.40);
}

/* Чётные ряды (элементы 4–6, 10–12, 16–18, ...):
   второй элемент ряда — 40% */
.offers .offer:nth-child(6n + 6) {
	flex-basis: calc((100% - 2*var(--gap)) * 0.40);
}

.offer-header {
	display: flex;
	/* justify-content: space-between;*/
	gap: 15px;
	border-bottom: 1px solid #E9E9E9;
	padding-bottom: 12px;
	align-items: center;
}
.offer-title {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.offer-name {
	color: #454545;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 100%; /* 100% */
}
.offer-text {
	color: #454545;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 120%;
}
.offer-logo {
	text-align: center;
    display: flex;
    align-items: center;
}
.offer-logo img {
	max-width: 100px;
    height: auto;
    width: 100%;
}
.offer-params {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}
.offer-param {
    display: flex;
    justify-content: space-between;
}
.offer-param-title {
	color: #AEAEAE;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
	min-width: 30%;
}
.offer-param-value {
	color: #454545;
	text-align: right;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 100%;
}
.offer-button a{
    display: block;
	border-radius: 16px;
	background: linear-gradient(91deg, #00BD00 -2.8%, #00CFB7 107.87%);
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    padding: 10px 15px;
    text-decoration: none;
    margin-top: 30px;
}
.offer-button a:hover {
	background: #00CFB7;
}


.requirements {
	display: flex;
	--req-gap: 20px;
	--req-columns: 4;	
	gap: var(--req-gap);	
}
.requirement {
	text-align: left;
	width: calc((100% / var(--req-columns)) - var(--req-gap) + (var(--req-gap) / var(--req-columns)));	
	border-radius: 16px;
	/* border: 2px solid linear-gradient(91deg, #910082 -2.8%, #6200CA 107.87%); */
	padding: 20px;

background: 
    linear-gradient(#111, #111) padding-box, /* внутренняя заливка */
    linear-gradient(180deg, rgb(145 0 130 / 20%) -2.8%, rgb(98 0 202 / 20%) 107.87%) border-box;         /* градиентный бордер */
  border: 2px solid transparent;

}
.requirement img {}
.requirement-text {
	color: #999;
	text-align: left;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 150%;
	margin-top: 16px;
}
.gets {
	display: flex;
	--get-gap: 32px;
	--get-columns: 3;	
	gap: var(--get-gap);	
}
.get {
	width: calc((100% / var(--get-columns)) - var(--get-gap) + (var(--get-gap) / var(--get-columns)));		
}
.get-img {
	display: flex;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #0F0F0F 0%, #2A2A2A 100%);
    justify-content: center;
    align-items: flex-end;
}
.get-img img {
	width: inherit;
	height: auto;
}
.get-title {
	color: #fff;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 20px 0 8px;
}
.get-text {
	color: #999;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;
}

.repays {
	display: flex;
	--repay-gap: 32px;
	--repay-columns: 3;	
	gap: var(--repay-gap);	
}
.repay {
	width: calc((100% / var(--repay-columns)) - var(--repay-gap) + (var(--repay-gap) / var(--repay-columns)));		
}
.repay-img {
	display: flex;
    text-align: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #0F0F0F 0%, #2A2A2A 100%);
    justify-content: center;
    align-items: flex-end;
}
.repay-img img {
	width: inherit;
	height: auto;
}

.repay-title {
	color: #fff;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin: 20px 0 8px;
}
.repay-text {
	color: #999;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: normal;	
}



footer {
}
.footer {
	background: #242424;
	padding: 32px;
	border-radius: 42px 42px 0 0;
	display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.footer-logo {
	flex: 0 0 100px;
}
.footer-logo img{
	width: 100%;
}

.footer-text {
	color: #676767;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.main-bg {
	position: absolute;
	bottom: -100px;
	background: linear-gradient(180deg, rgba(17, 17, 17, 0.20) 0%, rgba(92, 52, 255, 0.60) 45.19%, rgba(17, 17, 17, 0.20) 90.4%);
	width: 100%;
	height: 800px;

}



/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	.offers {
		--columns: 2;
	}
	.offer {
		flex: inherit;
		width: calc((100% / var(--columns)) - var(--gap) + (var(--gap) / var(--columns)));
	}
	.offers .offer:nth-child(6n + 1) {
		flex-basis: inherit;
	}

	/* Чётные ряды (элементы 4–6, 10–12, 16–18, ...):
	   второй элемент ряда — 40% */
	.offers .offer:nth-child(6n + 6) {
		flex-basis: inherit;
	}	
	.bottom-wrap {
		flex-direction: column;
    	padding: 16px;
	}
	.bottom-text {
		font-size: 14px;
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	
	/*Disable Animation on Mobile Devices*/
	.animated {
		/*CSS transitions*/
		-o-transition-property: none !important;
		-moz-transition-property: none !important;
		-ms-transition-property: none !important;
		-webkit-transition-property: none !important;
		transition-property: none !important;
		/*CSS transforms*/
		-o-transform: none !important;
		-moz-transform: none !important;
		-ms-transform: none !important;
		-webkit-transform: none !important;
		transform: none !important;
		/*CSS animations*/
		-webkit-animation: none !important;
		-moz-animation: none !important;
		-o-animation: none !important;
		-ms-animation: none !important;
		animation: none !important;
	}
	body {
		font-size: 14px;
	}
	.header {
		padding: 16px;
	}
	.header-logo a {
		display: flex;
	}
	.header-logo img {
		max-width: 100px;
	    height: auto;
	    width: 100%;
	}
	.header-issued {
		flex-direction: column;
    	align-items: flex-end;
    	gap: 0;
	}
	.header-issued-num {
		font-size: 24px;
		font-weight: 600;
	}
	.header-issued-num span {
		font-size: 16px;
		width: 16px;
	}
	.header-issued-text {
        font-size: 10px;
        margin-top: 3px;
        font-weight: 300;
	}
	main h1 {
		font-size: 24px;
		margin: 24px 0 8px;
	}
	.subtitleh1 {
		color: #999;
        /* text-align: left; */
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
	}
	.abovetitle {
		font-size: 16px;
	}
	main h2 {
		font-size: 20px;
	}
	main{
		font-size: 14px;
	}	
	main .section {
		margin-bottom: 50px;
	}
	main ul {
		margin: 0;
		padding: 0;
		padding-left: 30px;
	}
	main ul li {
		margin-bottom: 14px;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: 110%;		
	}
	.offers-block {
		padding: 30px 0;
	    margin-top: 30px;
	    margin-bottom: 50px;
	}
	.offers {
	    --columns: 1;
	    --gap: 16px;
	}
	.offer {
		/* border-radius: 4px;*/
		padding: 16px;
	}
	.offer-name {
		font-size: 14px;
	}
	.offer-text {
		font-size: 10px;
	}
	.offer-param-title {
		font-size: 12px;
	}
	.offer-param-value {
		font-size: 12px;
	}
	.offer-button a {
		padding: 10px;
		font-size: 14px;
		margin-top: 20px;
	}	
	.requirements {
	    display: flex;
	    --req-gap: 16px;
	    --req-columns: 2;
	    gap: var(--req-gap);
	    flex-wrap: wrap;
	}
	.requirement-text {
		font-size: 12px;
	}
	.gets {
	    display: flex;
	    --get-gap: 24px;
	    --get-columns: 1;
	    gap: var(--get-gap);
	    flex-wrap: wrap;
	}
	.get-img img {
		max-width: 120px;
	}		
	.get-title {
		font-size: 14px;
	}
	.get-text {
		font-size: 12px;
	}
	
	.repays {
	    display: flex;
	    --repay-gap: 24px;
	    --repay-columns: 1;
	    gap: var(--repay-gap);
	    flex-wrap: wrap;
	}
	.repay-img img {
		max-width: 120px;
	}	
	.repay-title {
		font-size: 14px;
	}	
	.repay-text {
		font-size: 12px;
	}
	footer {
		
	}
	.footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 24px;

	}
	.footer-logo {
		flex: inherit;
	}
	.footer-logo a {
		display: flex;
	}
	.footer-logo img {
    	width: 90px;
	}
	.footer-text {

	}

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {

}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}

.tgbot-block {
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.tgbot-block img {
    width: 48px;
    height: 48px;
}
.tgbot-block a {
    display: flex;
    background: #fff;
    padding: 3px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/***** modal ****/

.modal-block {
	position: fixed;
	right:50px;
	bottom: 50px;
	background: #FFFFFF;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08), 0px 0px 24px rgba(0, 0, 0, 0.16);
	border-radius: 16px;	
    z-index: 2;
}
.modal-block .mb-wrap {
	color: #192028;
	text-align: center;
	width: 480px;
	padding: 24px;	
}
.modal-block .mb-img{}
.modal-block .mb-img img{
	max-height:60px;
}
.modal-block h3 {
	font-weight: bold;
	font-size: 25px;
	line-height: 29px;	
    padding: 0px;
    margin: 0px;	
}
.modal-block  p {
	font-size: 15px;
	line-height: 22px;
}
/*
.modal-block a {
display: block;
    font-weight: bold;
    font-size: 14px;
    line-height: 12px;
    color: #FFFFFF;
    background: linear-gradient(180deg, #FFA700 0%, #FF8A00 100%);
    border-radius: 4px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    padding: 20px 0;
    text-decoration: none;
	cursor:pointer;
}
.modal-block a:hover {
	background: linear-gradient(0deg, #FFA700 0%, #FF8A00 100%);
}
*/

.modal-block a{
    display: block;
	border-radius: 16px;
	background: linear-gradient(91deg, #00BD00 -2.8%, #00CFB7 107.87%);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    padding: 15px;
    text-decoration: none;
    margin-top: 30px;
    cursor:pointer;
}
.modal-block a:hover {
	background: #00CFB7;
}


.modal-block .mb-close {
	position:absolute;
	top:10px;
	right:10px;
	cursor:pointer;
	width: 24px;
    height: 24px;
    background: url(../img/close.svg) no-repeat;
    background-size: cover;
}

@media screen and (max-width:768px) {
	.modal-block {
		width: 96%;
        bottom: 4px;
        right: 0;
        left: 2%;
        border: 1px solid #dfdfdf;
        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
        border-radius: 16px;
	}
	.modal-block .mb-wrap {
		width: initial;
	}
}