
.ai-categories {
	max-width: 1500px;
	margin: auto;
	padding-top: 100px;
}

.heading {
	text-align: center;
	margin-bottom: 50px;
}

.heading span {
	color: #ff4ba8;
	font-size: 12px;
	letter-spacing: 3px;
	font-weight: 700;
}

.heading h2 {
	font-size: 42px;
	color: #28314b;
	margin-top: 10px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.card {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	height: 500px;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	color: white;
	background-size: cover;
	background-position: center;
	transition: .5s;
	/*opacity: 0*/
	transform: translateY(60px);
	will-change: transform;
	box-shadow: 0 25px 70px rgba(0, 0, 0, .12);
}

.card.show {
	opacity: 1;
	transform: translateY(0);
}

.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: inherit;
	background-size: cover;
	background-position: center;
	transition: transform .8s;
}

.card:hover::before {
	transform: scale(1.08);
}

.overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top,
			rgba(66, 15, 95, .92),
			rgba(86, 42, 157, .40),
			rgba(0, 0, 0, 0));
	z-index: 1;
}

.content {
	position: relative;
	z-index: 2;
	padding: 35px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    height:100%;	
}

.icon {
    position:absolute;
    top:28px;
    left:28px;
    width:64px;
    height:64px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.25);
    box-shadow:
        0 10px 30px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.35);

    z-index:5;
    background:
    linear-gradient(
        135deg,
        rgba(255,255,255,.28),
        rgba(255,255,255,.05)
    ),
    linear-gradient(
        135deg,
        #ff5fb7,
        #b33dff
    );
}

.icon::before{
    content:"";
    position:absolute;
    top:-40%;
    left:-40%;
    width:120%;
    height:120%;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.45),
            transparent 70%
        );
    opacity:.8;
}

.icon::after{
    content:"";
    position:absolute;
    inset:-10px;
    border-radius:50%;
    background:
        radial-gradient(
            circle,
            rgba(255,70,170,.45),
            transparent 70%
        );
    filter:blur(16px);
    opacity:.35;
    z-index:-1;
}

.icon img{
    width:30px;
    height:30px;
    object-fit:contain;
    position:relative;
    z-index:2;
    filter:
        brightness(0)
        invert(1);
    transition:.4s;
}

.card:hover .icon{
    transform:
        translateY(-6px)
        scale(1.08);
    box-shadow:
        0 18px 40px rgba(255,70,170,.45),
        inset 0 1px 0 rgba(255,255,255,.5);
}

.card:hover .icon img{
    transform:scale(1.12);
}

.icon2 {
  font-size: 34px;
  line-height: 1;
  margin-top: -30px;
}

h3 {
	font-size: 38px;
	line-height: 1.1;
	margin-bottom: 15px;
	margin-top:70px;
}

p {
	opacity: .92;
	line-height: 1.8;
	margin-bottom: 30px;
}

.btn {
	display: inline-block;
	padding: 15px 28px;
	border-radius: 60px;
	background: linear-gradient(90deg, #ff4fa8, #a03dff);
	font-weight: 600;
	transition: .35s;
}

.card:hover .btn {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px rgba(255, 75, 170, .45);
}

.fashion {
	background-image: url('../img/gallerie/ai-fashion.png');
}

.custom {
	background-image: url('../img/gallerie/custom-design.png');
}

.gallery {
	background-image: url('../img/gallerie/more-galleries.png');
}

.ai-features {
	max-width: 1500px;
	margin: 70px auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 40px 0;
	border-radius: 26px;
	background: linear-gradient(90deg,
			#f542b7 0%,
			#c144ea 45%,
			#7d4ce8 100%);
	box-shadow:
		0 25px 70px rgba(176, 63, 255, .18);
	overflow: hidden;
}

.feature-gallery {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	color: white;
}

.icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	color: white;
	background: rgba(255, 255, 255, .12);
	backdrop-filter: blur(10px);
	transition: .35s;
}

.feature:hover .icon {
	transform: translateY(-5px) scale(1.08);
	background: rgba(255, 255, 255, .22);
}

.text h4 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 5px;
	color: white;
}

.text p {
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
}

.divider {
	width: 1px;
	height: 55px;
	background: rgba(255, 255, 255, .18);
}

.ai-features {
	opacity: 0;
	transform: translateY(50px);
	animation: fadeUp .8s ease forwards;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media(max-width:1100px) {
	.grid {
		grid-template-columns: 1fr
	}

	.card {
		height: 430px
	}

	.heading h2 {
		font-size: 34px
	}
}

@media(max-width:991px) {
	.ai-features {
		flex-wrap: wrap;
		gap: 25px;
		padding: 30px;
	}

	.divider {
		display: none;
	}

	.feature {
		width: calc(50% - 20px);
		justify-content: flex-start;
	}
}

@media(max-width:600px) {
	.ai-features {
		padding: 25px;
	}

	.feature {
		width: 100%;
	}

	.text h4 {
		font-size: 16px;
	}

	.text p {
		font-size: 12px;
	}
}