/* ===================================================
   MadMade — Full stylesheet (maps to clean HTML)
   File: assets/css/main.css
   Created: StudioARC
   =================================================== */

/* ================================
   Sharp Grotesk — Local Font Load
   (Place .woff2 files in assets/fonts/SharpGrotesk/)
   
   https://ezgif.com/optijpeg?err=http
   ================================ */
/*
@font-face {
  font-family: "Sharp Grotesk";
  src: url("../fonts/SharpGrotesk-SemiBold20.otf") format("otf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sharp Grotesk";
  src: url("../fonts/SharpGrotesk/SharpGrotesk-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sharp Grotesk";
  src: url("../fonts/SharpGrotesk/SharpGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */
@font-face {
	font-family: 'Sharp Grotesk';
	src: url('../fonts/SharpGroteskSmBold-25.woff') format('woff2'),
		url('../fonts/SharpGroteskSmBold-25.woff') format('woff'),
		url('../fonts/SharpGroteskSmBold-25.ttf') format('truetype');
	/* fallback */
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* -------------------------
   Root variables
   ------------------------- */
:root {
	--bg: #ffffff;
	--text: #111111;
	--muted: #6b6b6b;
	--accent: #F96444;
	--accent-2: #1D37EC;
	--footer-heading-color: #F1401D;
	--light: #F5F5FE;
	--card: #ffffff;
	--radius: 12px;
	--container: 1450px;
	--gap-lg: 60px;
	--gap-md: 32px;
	--gap-sm: 16px;
	--transition: 250ms cubic-bezier(.2, .9, .3, 1);
	--max-width: 1400px;
	--drawer-width: 450px;
	--drawer-speed: 0.4s;
	--drawer-timing: cubic-bezier(.65, .05, .36, 1);
}

/* -------------------------
   Base reset & utilities
   ------------------------- */
* {
	box-sizing: border-box
}

html{
	height: 100%
}

body {
	margin: 0;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
	font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Sharp Grotesk", "Montserrat", sans-serif;
}

img {
	max-width: 100%;
	height: auto;
	display: block
}

a {
	color: inherit;
	text-decoration: none
}
iframe{
    pointer-events: none;
}

.portfolio-item .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 5rem;
}

/* Flex helpers */
.row {
	display: flex;
	gap: var(--gap-md)
}

.col {
	display: flex;
	flex-direction: column;
	gap: var(--gap-sm)
}

.center {
	display: flex;
	align-items: center;
	justify-content: center
}

.left {
	justify-content: flex-start
}

.right {
	justify-content: flex-end
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition);
	border: 0;
}

.btn-primary {
	background: var(--accent-2);
	color: #fff;
	box-shadow: 0 6px 18px rgba(29, 55, 236, 0.12);
}

.btn-primary:hover {
	transform: translateY(-3px);
	-webkit-animation-name: shakeme;
    -webkit-animation-duration: 0.8s;
    -webkit-transform-origin:50% 50%;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease;
}

@-webkit-keyframes shakeme {
	0% { transform: translate(2px, 1px) rotate(0deg); }
	10% { -webkit-transform: translate(-1px, -2px) rotate(-1deg); }
	20% { -webkit-transform: translate(-3px, 0px) rotate(1deg); }
	30% { -webkit-transform: translate(0px, 2px) rotate(0deg); }
	40% { -webkit-transform: translate(1px, -1px) rotate(1deg); }
	50% { -webkit-transform: translate(-1px, 2px) rotate(-1deg); }
	60% { -webkit-transform: translate(-3px, 1px) rotate(0deg); }
	70% { -webkit-transform: translate(2px, 1px) rotate(-1deg); }
	80% { -webkit-transform: translate(-1px, -1px) rotate(1deg); }
	90% { -webkit-transform: translate(2px, 2px) rotate(0deg); }
	100% { -webkit-transform: translate(1px, -2px) rotate(-1deg); }
}

.btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost {
	background: transparent;
	color: var(--text);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.kicker {
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.02em
}

/* -------------------------
   Header
   ------------------------- */
.site-header {
	top: 0;
	width: 100%;
	z-index: 120;
	transition: all 0.3s ease;
	position: sticky;
	background: var(--accent-2);
	/*border-bottom:1px solid rgba(0,0,0,0.04);*/
}
.site-header.sticky-enabled {
	position: sticky;
	z-index: 9999;
	top: 0;
	background: var(--accent-2);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	transition: top .15s ease-out;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
    padding-bottom: 16px;
}

.logo img {
	height: 48px;
	display: block
}

.main-nav ul {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center
}

.main-nav a {
	font-weight: 600;
	color: var(--text);
	font-size: 15px
}

.header-cta {
	display: flex;
	align-items: center;
	gap: 16px
}

/* Hamburger */
.hamburger {
	background: none;
	border: none;
	font-size: 22px;
	cursor: pointer;
}

/* -------------------------
   HERO
   ------------------------- */
.hero {
	padding: 80px 0;
	background: var(--accent);
	color: #fff;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1fr 574px;
	gap: 30px;
	align-items: center;
}

.hero-left {
	display: flex;
	flex-direction: column;
	gap: 0
}
.hero-right .hero-sub, 
.hero-right .hero-ctas{
    display: none;
}
.hero-title {
	font-family: "Poppins", sans-serif;
    font-size: 62px;
    letter-spacing: -0.5px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}
.hero-right .portfolio-item,
.process-media .media-wrap{
    position: relative;
}
.process-media .media-wrap{
    padding-bottom: 55.4% !important; /* 16:9 of the videos */
}
.hero-right .portfolio-item{
    /*padding-bottom: 93.6% !important;*/
}
.hero-right .portfolio-item iframe,
.process-media iframe{
    position: absolute;
    top: 0;
    left: 0; 
    width: 100%;
    height: 100%;
}
.hero-title .highlight, .section-title .highlight, .faq .section-title {
	color: var(--accent-2)
}

.hero-sub {
	color: rgba(255, 255, 255, 0.95);
	font-size: 18px;
	padding-right: 2rem;
}

.hero-ctas {
	display: flex;
	gap: 14px;
	margin-top: 8px
}

.hero-right .hero-media {
	border-radius: 8px;
	overflow: hidden;
	/*box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);*/
	/*background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.02));*/
	/*padding: 8px;*/
}

/* hero media grid (3 columns x 2 rows) */
.media-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	height: 100%;
	max-height: 500px;
}

.media-grid-column{
    display: grid;
    gap: .6rem;
    grid-template-rows: repeat(3, 170px);
    grid-auto-rows: 170px;
    grid-auto-columns: 170px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.media-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px
}
.media-grid-column[data-direction="down"]{
    animation: scroll-down 20s linear infinite;
}
.media-grid-column[data-direction="up"]{
    animation: scroll-up 20s linear infinite;
}

@keyframes scroll-up{
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
@keyframes scroll-down{
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0%);
    }
}
/* Section title */
.section-title {
	font-size: 28px;
	font-family: "Sharp Grotesk", "Montserrat", sans-serif;
	font-weight: 400;
	text-align: center;
	margin: 0;
	line-height:1.2;
	padding-bottom: 12px;
}

.muted {
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	color: var(--muted);
	text-align: center
}

/* -------------------------
   Brands / Trust
   ------------------------- */

.brands .marquee-wrapper {
	overflow: hidden;
	position: relative;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding-bottom: 1rem;
}

.brands .marquee-content.right-to-left {
	display: flex;
	animation: scroll-right-to-left 60s linear infinite;
	width: fit-content;
}

@keyframes scroll-right-to-left {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

.brands .marquee-content.left-to-right {
	display: flex;
	animation: scroll-left-to-right 60s linear infinite;
	width: fit-content;
}

@keyframes scroll-left-to-right {
	0% {
		transform: translateX(-50%);
	}

	100% {
		transform: translateX(0);
	}
}

.brands {
	padding: 42px 0;
	background: var(--bg);
}

.brand-grid {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	margin-top: 20px
}

/*.brand-card{*/
/*    padding: 16px 20px;*/
/*    background: var(--card);*/
/*    border-radius: 16px;*/
/*    outline: 1px solid rgb(249 100 68);*/
/*    min-width: 180px;*/
/*    text-align: center;*/
/*    font-size: 42px;*/
/*    font-weight: 300;*/
/*    color: #444;*/
/*    min-width: 200px;*/
/*    height: 100px;*/
/*}*/
.brand-card {
	padding: 10px 16px;
	width: 180px;
	height: 110px;
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background-color: #fff;
}

.brand-card img {
	max-width: 90%;
	/* scale image to fit width */
	max-height: 90%;
	/* scale image to fit height */
	object-fit: contain;
	/* maintain aspect ratio */
	display: block;
}

/* -------------------------
   Services
   ------------------------- */
.services {
	padding: 24px 0;
	background: var(--bg)
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin-top: 18px;
}

.service-item {
	background: var(--card);
	border-radius: 25px;
	padding: 18px 14px;
	display: flex;
	align-items: center;
	gap: 18px;
	/*box-shadow:0 8px 24px rgba(12,12,12,0.03);*/
}

.service-item .icon-box {
	padding: 18px;
	border-radius: 8px;
	background: var(--light);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 68px;
	width: 68px;
}

.service-item .icon-box svg,
.service-item .icon-box img {
	width: 32px;
	/* fixed icon width */
	height: 32px;
	/* fixed icon height */
	object-fit: contain;
	/* keep icon proportions */
	display: block;
}

.service-title {
	font-weight: 600
}

/* CTA button wide */
.cta-row .btn {
	padding: 16px 28px;
	border-radius: 8px
}

/* -------------------------
   Portfolio
   ------------------------- */
.portfolio .container{
    max-width: 1200px;
    padding: 0 10rem;
}
.portfolio {
	padding: 32px 0;
	background: var(--bg)
}

.portfolio-grid {
	display: grid;
	gap: 8px;
	align-items: stretch;
	width: 100%;
}

.tab, .mobile-tab {
	background: #f5f5fe;
	padding: 10px 20px;
	border: none;
	border-radius: 50px;
	color: #444;
}

.tab.active, .mobile-tab.active {
	background: #F96444;
	color: #fff;
}

/* default (6) - 3 columns x 2 rows */
.portfolio .mobile{
    display: none;
}
.portfolio .desktop{
    display: block;
}
.portfolio-grid.count-6{
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 186px;
    grid-auto-flow: column;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(2),
.portfolio-grid.count-6 .portfolio-item:nth-child(3),
.portfolio-grid.count-6 .portfolio-item:nth-child(6),
.portfolio-grid.count-6 .portfolio-item:nth-child(7){
    grid-row: span 2;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(1){
    grid-column: 1;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(2){
    grid-column: 1;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(3){
    grid-column: 2;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(4){
    grid-column: 2;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(5){
    grid-column: 3;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(7){
    grid-column: 4;
}
.portfolio-grid.count-6 .portfolio-item:nth-child(8){
    grid-column: 4;
}

.portfolio-grid.count-6 .portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover
}

/* 5 items: slightly larger first item + 2 columns */
.portfolio-grid.count-5 {
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-areas:
		"a b c"
		"a d e";
	grid-auto-rows: 320px;
}

.portfolio-grid.count-5 .portfolio-item:nth-child(1) {
	grid-area: a
}

.portfolio-grid.count-5 .portfolio-item:nth-child(2) {
	grid-area: b
}

.portfolio-grid.count-5 .portfolio-item:nth-child(3) {
	grid-area: c
}

.portfolio-grid.count-5 .portfolio-item:nth-child(4) {
	grid-area: d
}

.portfolio-grid.count-5 .portfolio-item:nth-child(5) {
	grid-area: e
}

/* 4 items: 2x2 balanced */
.portfolio-grid.count-4 {
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 360px;
}

/* 3 items: layout matching the provided image (big left, two stacked right) */
.portfolio-grid.count-3 {
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows: repeat(2, 1fr);
	grid-template-areas:
		"a b"
		"a c";
	gap: 16px;
	height: auto;
}

.portfolio-grid.count-3 .portfolio-item:nth-child(1) {
	grid-area: a;
	min-height: 640px
}

.portfolio-grid.count-3 .portfolio-item:nth-child(2) {
	grid-area: b
}

.portfolio-grid.count-3 .portfolio-item:nth-child(3) {
	grid-area: c
}

/* 2 items: split columns */
.portfolio-grid.count-2 {
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 480px;
}

/* 1 item: full width hero */
.portfolio-grid.count-1 {
	grid-template-columns: 1fr;
	grid-auto-rows: 640px;
}

.portfolio-grid .portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* -------------------------
   Comparison / Why Us
   ------------------------- */
.comparison {
	padding: 30px 0;
	background: var(--bg)
}

.compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	margin-top: 28px
}

.compare-col h3 {
	font-family: "Montserrat", sans-serif;
	margin-bottom: 18px
}

.compare-col ul {
	padding-left: 0;
	color: var(--muted);
	line-height: 1.7;
	list-style: none;
	list-style-type: none;
}
.comparison-icon-text{
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}
.comparison-icon-text span{
    font-size: 14px;
}
.comparison-icon-text .icon-wrap svg, .comparison-icon-text .icon-wrap{
    width: 20px;
    height: 20px;
}
.compare-col.compare-col-left {
	background: var(--accent-2);
	padding: 30px 40px;
	color: #fff;
	border-radius: 16px;
}

.compare-col.compare-col-left ul {
	padding-left: 0;
	color: #fff;
	line-height: 1.7
}
.compare-col.compare-col-left h3 svg{
    width: 100px;
    height: auto;
}

.compare-col.compare-col-right {
	background: #FFF1EE;
	padding: 30px 40px;
	border-radius: 22px;
}

/* -------------------------
   Team
   ------------------------- */
.team {
	padding: 30px 0;
	background: var(--bg)
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 28px;
}
.team-video{
    padding: 1.5rem 0;
}
.team-member {
	text-align: left;
}

.team-member p.role {
	margin: 0;
	font-size: 12px;
}

.team-member img {
	height: auto;
	object-fit: cover;
	width: 100%
}

.team-member h4 {
	margin: 12px 0 0;
	font-weight: 600;
	font-family: "Montserrat", sans-serif
}

.role {
	color: var(--muted)
}

/* -------------------------
   Testimonials
   ------------------------- */
.testimonials {
	padding: 30px 0;
	background: var(--bg);
}

.testimonial-slider {
	gap: 20px;
	padding-bottom: 2rem;
}

.testimonial {
	margin: 0 12px;
	border: .8px solid #eb6b4f;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
	padding-bottom: 12px;
}

.testimonial .rating {
	display: flex;
}

.quote {
	font-size: 16px;
	margin-bottom: 12px;
	margin: 0;
}
.client{
    font-weight: 700;
}
.designation {
	color: #000;
}
.testimonial .avatar-wrapper{
    display: flex;
    gap: .8rem;
    padding: .6rem 0;
}
.testimonial .text-wrapper{
    display: flex;
    flex-direction: column;
}
.testimonial .text-wrapper p{
    margin: 0;
    padding: 2px 0;
    line-height: 1.3;
    font-size: 13px;
}

/* -------------------------
   FAQ / Accordion
   ------------------------- */
.faq {
    padding: 2rem;
	background: var(--bg);
	font-family: 'Poppins', sans-serif;
}

.accordion {
	max-width: 750px;
	margin: 20px auto
}

.content-wrapper {
	border-bottom: 1px solid #1D37EC;
}

.accordion-toggle {
	width: 100%;
	text-align: left;
	font-weight: 600;
	background: #fff;
	border: none;
	padding: 24px 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-family: 'Poppins', sans-serif;
}

.accordion-toggle+.accordion-panel {
	display: none
}

.accordion-panel {
	padding: 4px 6px;
	margin-bottom: 12px;
}
.accordion-toggle .down{
    display: block;
}
.accordion-toggle .up{
    display: none;
}
.accordion-toggle.open .down{
    display: none;
}
.accordion-toggle.open .up{
    display: block;
}

.accordion-panel p {
	margin: 0;
}

/* -------------------------
   Contact CTA
   ------------------------- */
.site-footer .container.contact-grid {
	max-width: 900px;
}

.contact-cta {
	bottom: -75px;
	position: relative;
}

.contact-grid {
	border-radius: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	background: var(--accent);
}

.contact-grid .muted {
	margin-top: 6px
}

.contact-heading {
	width: 100%;
	max-width: 600px;
	color: #fff;
	padding: 1.8rem 1rem;
}

.contact-heading h2 {
	line-height: 1.2;
}

.contact-icon svg {
	width: 85px;
	height: 85px;
}
.contact-actions{
    justify-content: center;
    display: flex;
}
.contact-actions .muted.text {
	text-align: left;
	font-size: 18px;
	color: #fff;
	font-weight: 600;
}

.contact-actions .email {
	font-size: 28px;
	font-weight: 700;
}

.contact-actions {
	width: 100%;
	max-width: 400px;
	padding: 1rem;
}

/* -------------------------
   Footer
   ------------------------- */
.site-footer {
	background: #0F0F0F;
	color: #fff;
	padding: 110px 0 12px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	background-position: left bottom;
	background-size: 1050px 471px;
	background-repeat: no-repeat;
}

.footer .site-footer h4, .footer .copyright span {
	color: var(--footer-heading-color);
}
.contact-heading .section-title {
    font-size: 26px;
    text-align: left;
}
.contact-actions .book-a-call{
    padding: 24px 36px;
    font-size: 18px;
}
.footer-grid {
	display: grid;
	gap: 28px;
}

.site-footer h4 {
	margin-bottom: 10px;
}

.site-footer p {
	margin: 0;
}

.footer-top {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.footer-grid.col-4 {
	grid-template-columns: repeat(4, 1fr);
}

.footer-grid.col-3 {
	grid-template-columns: repeat(3, 1fr);
}

.footer-grid.col-2 {
	grid-template-columns: repeat(2, 1fr);
}

.footer-links,
.social-icons,
.policy-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.social-icons {
	display: flex;
	gap: 1rem;
}

.social-icons svg {
	width: 20px;
	height: 20px;
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.footer-links li,
.policy-links li {
	margin-bottom: 8px;
	padding: 8px 16px;
	color: var(--muted);
	font-size: 14px;
}

.footer-links a {
	color: var(--muted);
	font-size: 14px;
}

.policy-links {
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-logo {
	height: 170px;
	margin-bottom: 12px;
}

.copyright {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

.footer-bottom {
	padding-top: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* -------------------------
   Tiny UI details & animations
   ------------------------- */
.fade-up {
	opacity: 0;
	transform: translateY(12px);
	transition: all 420ms ease
}

.fade-up.in-view {
	opacity: 1;
	transform: none
}

.card-hover {
	transition: transform var(--transition), box-shadow var(--transition)
}

.card-hover:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08)
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width:1200px) {
	:root {
		--container: 1000px
	}

    .container {
		padding: 0 2rem;
	}
	.portfolio .container{
        max-width: 1200px;
        padding: 0 6rem;
    }
    .header-inner{
        padding: 0 2rem;
    }
	.hero-grid {
		grid-template-columns: 1fr 440px;
		padding: 0 2rem;
	}
	.media-grid-column{
        grid-auto-rows: 140px;
        grid-auto-columns: 140px;
    }

	.media-grid {
		grid-template-columns: repeat(3, 1fr)
	}

	.process-grid {
		grid-template-columns: repeat(3, 1fr)
	}

	.team-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.hero-title {
		font-size: 50px;
		line-height: 1.12;
		font-weight: 700;
	}

	header {
		padding: 1rem 2rem
	}

	.portfolio-grid.count-6 {
		grid-auto-rows: 160px;
	}
}

@media (max-width:900px) {
	.container {
		padding: 0 2rem;
	}

	.container.header-inner {
		padding: 0;
	}
	.container.hero-grid{
	    padding: 0 5rem;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		text-align: center
	}
	.media-grid-column{
        grid-auto-rows: 220px;
        grid-auto-columns: 220px;
    }

	.hero-right {
		order: 2
	}

	.hero-left {
		order: 1
	}
	
	.hero-left .hero-sub, 
	.hero-left .hero-ctas{
	    display: none;
	}
	
	.hero-right .hero-sub, 
	.hero-right .hero-ctas{
	    display: block;
	}

	.hero-title {
		font-size: 46px;
		line-height: 1.15;
		font-weight: 700;
	}

	.brand-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.services-grid {
		grid-template-columns: repeat(3, 1fr)
	}

	.service-item .icon-box img {
		width: 24px;
		height: 24px
	}

	.service-title {
		font-size: 16px;
	}

	.service-item .icon-box {
		padding: 22px;
	}

	.portfolio-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.compare-grid {
		grid-template-columns: 1fr;
	}

	.contact-grid {
		flex-direction: column;
		text-align: center
	}

	.hamburger {
		display: inline-block
	}

	.main-nav {
		display: none
	}

	header {
		padding: 1rem 2rem
	}

	.hero {
		padding: 48px 0
	}

	.hero-ctas {
		justify-content: center;
	}

	.portfolio-grid.count-6 {
		/*grid-template-columns: repeat(1, 1fr);*/
		grid-auto-rows: 140px;
	}

	.portfolio-grid.count-3 {
		grid-template-columns: repeat(1, 1fr);
		grid-auto-rows: auto;
	}

	/*Contact Footer*/
	.contact-grid {
		flex-direction: column;
		gap: 0;
	}

	.contact-actions .muted.text {
		text-align: center;
	}

	.contact-icon svg {
		width: 78px;
		height: 78px;
	}

	.contact-heading {
		padding: 1.4rem 1rem;
	}

	/*Footer */
	.footer-top {
		padding: 2rem 1.8rem;
	}

	.footer-bottom {
		flex-direction: column-reverse;
		padding-top: 1rem;
		gap: 0.4rem;
	}

	.footer-links li,
	.policy-links li {
		margin: 0;
		padding: 6px 12px;
	}

	.policy-links li,
	.dev-agency p,
	.copyright p {
		font-size: 12px;
	}
}

@media (max-width:749px) {
    header {
        padding: 1rem 2rem;
        padding-right: 1rem;
    }
    .cta-row .btn {
        padding: 12px 16px;
    }
    .hamburger svg{
        width: 77px;
    }
	.services-grid {
		grid-template-columns: repeat(2, 1fr)
	}
	.container.hero-grid{
	    padding: 0 3.5rem;
	}
	.media-grid-column{
        grid-auto-rows: 180px;
        grid-auto-columns: 180px;
    }
	.portfolio-grid-mobile .portfolio-item img{
        height: 200px;
        object-fit: cover;
    }
	.portfolio .desktop{
	    display: none;
	}
	.portfolio .mobile{
	    display: block;
	}
	.portfolio .container {
        padding: 0 4rem;
    }
	.portfolio-grid-mobile {
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }
    .tab, .mobile-tab {
        padding: 6px 14px;
    }
    .portfolio-grid-videos {
        padding-top: .8rem;
        padding-bottom: 1rem;
    }
    .portfolio-grid-mobile .portfolio-item.video {
      position: relative;
      width: 100%;
      padding-bottom: 177.78%; /* 9:16 aspect ratio for Shorts */
      height: 0;
      overflow: hidden;
    }
    
    .portfolio-grid-mobile .portfolio-item.video iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
    .portfolio-grid-mobile .portfolio-item img{
        width: 100%;
    }
    .portfolio-grid-mobile .portfolio-item, 
    .portfolio-grid-mobile .portfolio-item img{
        width: 100%;
        height: 100%;
    }
	.portfolio-grid-mobile.count-4{
	    grid-template-columns: repeat(2, 1fr);
	}
	
    .portfolio-grid-mobile .column-0, .portfolio-grid-mobile .column-1{
            display: flex;
        flex-direction: column;
        gap: .6rem;
    }

    .portfolio-grid-videos .portfolio-item{
        padding: .2rem;
    }
    .portfolio .button-wrapper.book-a-call{
        margin-top: 32px;
    }
    .compare-col.compare-col-left h3 svg{
	    width: 80px;
	    height: auto;
	}
    .testimonial-slider .slick-list {
        padding-right: 60px !important;  /* amount of next slide you want to show */
        padding-left: 0 !important;       /* NO left padding (no previous slide) */
    }
    
	.footer-links {
		grid-template-columns: repeat(3, 1fr);
	}

	.footer-logo {
		height: 150px;
	}

	.contact-actions .email {
		font-size: 22px;
	}
}

@media (max-width:600px) {
	:root {
		--container: 540px
	}
	
	.portfolio .container {
        padding: 0 2rem;
    }

	.hero-title {
		font-size: 28px;
		font-weight: 700;
		line-height: 1.25;
		letter-spacing: 0.3px;
	}

	.hero-sub {
		font-size: 15px;
		padding: 0;
		line-height: 1.5;
	}

    .hero-right .media-grid{
        max-height: 310px;
    }
	
	.brand-card {
		font-size: 10px;
        padding: 8px;
        width: 120px;
        height: 54px;
	}
    .services .container{
        padding: 0 1rem;
    }
	.services-grid {
		grid-template-columns: repeat(2, 1fr)
	}
    .service-item{
        padding: 8px;
        gap: 12px;
    }
	.service-item .icon-box {
		padding: 12px;
	}

	.service-title {
		font-size: 14px;
	}

	.portfolio-grid {
		grid-template-columns: 1fr
	}

	.team-grid {
		grid-template-columns: 1fr
	}

	.process-grid {
		grid-template-columns: repeat(2, 1fr)
	}

	.footer-grid {
		grid-template-columns: 1fr
	}

	.media-grid {
		grid-template-columns: repeat(2, 1fr)
	}
	.container.hero-grid{
	    padding: 0 2rem;
	}
	.media-grid-column{
        grid-auto-rows: 180px;
        grid-auto-columns: 180px;
    }

	.btn {
		padding: 10px 14px
	}

	.hero-ctas {
		justify-content: center;
	}

	.process .process-video {
		height: 100%;
	}

	.portfolio-grid.count-3 .portfolio-item:nth-child(1) {
		grid-area: a;
		min-height: auto;
	}

    .portfolio-grid-videos .slick-list {
        padding-right: 60px !important;  /* amount of next slide you want to show */
        padding-left: 0 !important;       /* NO left padding (no previous slide) */
    }
	.portfolio-grid.count-2 {
		grid-auto-rows: auto;
	}

	.portfolio-grid.count-1 {
		grid-auto-rows: auto;
	}

    .faq{
        padding: 2rem 0;
        padding-bottom: 0;
    }
    .testimonial-slider .slick-list {
        padding-right: 0px !important;  /* amount of next slide you want to show */
        padding-left: 0 !important;       /* NO left padding (no previous slide) */
    }
    .testimonial .rating .star svg{
        width: 18px;
        height: 18px;
    }
    .testimonial .quote {
        font-size: 14px;
        min-height: 180px;
    }
    .testimonial .avatar-wrapper .icon-wrap svg{
        width: 42px;
        height: 42px;
    }
    .testimonial .text-wrapper p {
        padding: 2px 0;
        line-height: 1;
        font-size: 10px;
    }
    .testimonial .avatar-wrapper{
        align-items: center;
    }
    .contact-actions{
        padding: 2rem;
    }
	/*footer*/
	.footer-grid.col-2 {
		grid-template-columns: repeat(1, 1fr);
	}

	.footer-top-contact.footer-grid.col-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.logo-image-block {
		order: 2;
	}

	.logo-image-block img {
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width:450px) {
    .container {
        padding: 0 1.5rem;
    }
    .media-grid {
		grid-template-columns: repeat(2, 1fr)
	}
	.hero-left, .hero-right{
	    padding: 0 1rem;
	}
	.contact-actions .book-a-call {
        padding: 12px 32px;
        font-size: 18px;
    }
	.container.hero-grid{
	    padding: 0;
	}
	iframe{
        width: 100%;
        height: 55vh;
    }
	.media-grid-column{
	    /*grid-template-columns: none;*/
     /*   grid-auto-rows: 148px;*/
     /*   grid-auto-columns: 148px;*/
    }
    .portfolio-grid-mobile .portfolio-item img{
        height: 160px;
        object-fit: cover;
    }
	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}
	.service-item{
        padding: 10px 8px;
        gap: 12px;
    }
	.service-item .icon-box {
		padding: 12px;
	}

	.service-title {
		font-size: 12px;
	}
    .service-item .icon-box{
        height: 50px;
        width: 50px;
    }
	.contact-actions .email {
		font-size: 14px;
	}

	.section-title {
	   font-size: 28px;
	}
	.contact-cta .section-title{
	  font-size: 20px;
	  line-height: 1.4;
	}
	.contact-actions {
	    padding-top: 0;
        padding-bottom: 2rem;
    }
	.muted{
	    font-size: 14px;
	}
	.compare-col.compare-col-left,
	.compare-col.compare-col-right{
	    padding: 24px 18px;
	}
	.compare-col.compare-col-left h3 svg{
	    width: 50px;
	    height: auto;
	}
	.compare-col.compare-col-left h3,
	.compare-col.compare-col-right h3{
	    font-size: 28px !important;
	}
	.portfolio-grid-videos .slick-list {
        padding-right: 60px !important;  /* amount of next slide you want to show */
        padding-left: 0 !important;       /* NO left padding (no previous slide) */
    }
	.footer-top-contact.footer-grid.col-2 {
		grid-template-columns: repeat(1, 1fr);
	}
	.copyright p {
		font-size: 10px;
	}
	.site-footer {
        background-position: center bottom;
        background-size: 726px 567px;
    }
}

/* -------------------------
   Accessibility / print
   ------------------------- */
@media print {

	.site-header,
	.site-footer {
		display: none
	}

	.container {
		width: 100%
	}
}

/* -------------------------
   Process
   ------------------------- */
.process {
	padding: 14px 0;
	background: #1D37EC;
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
}

.portfolio-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
	margin-top: 32px;
}

.process-step {
	background: #fff;
	border-radius: 12px;
	padding: 18px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	text-align: center
}

.step-num {
	color: #fff;
}

.process-wrap {
	padding-top: 60px;
	padding-bottom: 90px;
}

.process-inner {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 48px;
	align-items: start;
	margin-top: 22px;
}

.paragraph-text {
	color: #fff;
	text-align: center;
	color: #fff;
	text-align: center;
	margin-bottom: 3rem;
	margin-top: 0;
}

/* LEFT: steps list */

.process-steps {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.process .step {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.process .step.active-tab:after {
	content: "";
	position: absolute;
	border: 1px solid #fff;
	width: 90px;
}

.process .step-btn {
	display: flex;
	align-items: center;
	gap: 16px;
	border: none;
	width: 100%;
	text-align: left;
	background: transparent;
	cursor: pointer;
	border-radius: 8px;
	transition: background 180ms ease, transform 180ms ease;
	align-items: flex-start;
	padding: 24px 0;
}

.process .step-btn.is-active .step-num,
.process .step-btn.is-active .step-title {
	color: var(--accent);
}

.process .step-btn .step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1.2;
}

.process .step-btn .step-title {
	color: #fff;
	font-size: 16px;
	display: block;
}

.process .step-btn[aria-expanded="true"],
.process .step-btn.is-active {
	background: transparent;
	transform: none;
}

.process .step-btn[aria-expanded="true"] .step-num,
.process .step-btn.is-active .step-num,
.process .step-btn.is-active .step-title {
	color: var(--accent);
}

/* panel (hidden by default) */
.step-panel {
	display: none;
	padding: 24px 0;
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	padding-top: 0;
}

.process .side-panel p,
.process .step-panel p {
	margin: 0;
}

/* make sure the active panel is visible */
.step .step-panel[style*="display:block"],
.step .step-panel[aria-hidden="false"] {
	display: block;
}

/* RIGHT: video */
.process-media .media-wrap {
	background: #fff;
	padding: 6px;
	border-radius: 12px;
	box-shadow: 0 30px 60px rgba(7, 26, 196, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
}

.process-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

/* small screens: stack vertically */
@media (max-width:980px) {
	.process .process-wrap {
		padding: 24px 20px 60px 20px;
	}

	.process-inner {
		grid-template-columns: 1fr;
		gap: 24px
	}

	.process-steps {
		order: 2
	}

	.process-media {
		order: 1
	}

	.process-video {
		height: 100%;
	}

	.step-panel {
		margin-left: 0
	}

	/*.step-btn .step-num{width:40px;height:40px}*/
}

/*Cart drawer new*/

.drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	visibility: hidden;
	pointer-events: none;
}

.drawer.is-open {
	visibility: visible;
	pointer-events: auto;
}

.drawer__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity var(--drawer-speed) var(--drawer-timing);
}

.drawer.is-open .drawer__overlay {
	opacity: 1;
}

.drawer__content {
	position: absolute;
	top: 0;
	right: 0;
	width: var(--drawer-width);
	max-width: calc(100% - 40px);
	height: 100%;
	background-color: var(--accent);
	z-index: 1;

	/* --- This is the required animation --- */
	transform: translateX(100%);
	transition: transform var(--drawer-speed) var(--drawer-timing);
	/* ------------------------------------ */
}

.drawer.is-open .drawer__content {
	transform: translateX(0);
}

[dir="rtl"] .drawer__content {
	left: auto;
	right: 0;
	transform: translateX(100%);
}

[dir="rtl"].drawer.is-open .drawer__content {
	transform: translateX(0);
}

.drawer__header {
	padding: 3rem 2rem;
	text-align: right;
}

.drawer__close-button {
	background: none;
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: #fff;
	font-weight: 700;
}

.drawer__main {
	padding: 1rem;
	display: flex;
	flex-direction: column;
}

.drawer__link {
	padding: 0.75rem 0;
	text-decoration: none;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 600;
	border-bottom: 1px solid #ffffff1f;
}

.menu-open-button {
	font-size: 1.5rem;
	padding: 0.5rem 1rem;
	cursor: pointer;
}

@media (max-width:480px) {
	.drawer__content {
		max-width: 100%;
	}

	.drawer__link {
		font-size: 1.6rem;
	}

	.drawer__header {
		padding: 2rem;
	}
}

/* Drawer css end */


/* Off-canvas nav drawer (always triggered by hamburger) */
.nav-drawer {
	position: fixed;
	inset: 0;
	z-index: 140;
	pointer-events: none;
}

.nav-drawer .nav-drawer-inner {
	position: absolute;
	top: 0;
	right: -420px;
	/* hidden by default */
	width: 420px;
	height: 100%;
	background: #0F0F0F;
	color: #fff;
	box-shadow: -40px 0 80px rgba(0, 0, 0, 0.45);
	transition: right 360ms cubic-bezier(.2, .9, .3, 1);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	pointer-events: auto;
}

/* Drawer open state */
.nav-drawer.open .nav-drawer-inner {
	right: 0;
}

/* Overlay */
.nav-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.48);
	transition: opacity 320ms ease;
	opacity: 0;
	pointer-events: none;
}

.nav-drawer.open .nav-overlay {
	opacity: 1;
	pointer-events: auto;
}

/* Close button */
.drawer-close {
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 20px;
	position: absolute;
	top: 18px;
	right: 18px;
	cursor: pointer;
}

/* Drawer nav links */
.drawer-nav {
	margin-top: 36px;
	overflow: auto;
	padding-right: 6px;
}

.drawer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.drawer-menu li a {
	color: #fff;
	font-size: 20px;
	font-weight: 600;
	padding: 12px 8px;
	display: block;
}

.drawer-menu li a:hover,
.drawer-menu li a:focus {
	color: var(--accent);
	outline: none;
}

/* Drawer CTAs */
.drawer-ctas {
	margin-top: auto;
}

.drawer-ctas .btn {
	width: 100%;
	justify-content: center;
}

/* Hamburger (always visible) */
.hamburger {
	background: transparent;
	border: 0;
	font-size: 22px;
	cursor: pointer;
	color: var(--accent-2)
}

.hamburger-icon {
	display: inline-block;
	transform: translateY(-2px);
}

/* Prevent background scroll when drawer open */
body.nav-open {
	overflow: hidden;
}

/* Accessibility focus style */
.nav-drawer .drawer-menu a:focus {
	outline: 3px solid rgba(255, 255, 255, 0.12);
	outline-offset: 4px;
}

/* RESPONSIVE: slim drawer on small screens */
@media (max-width:480px) {
	.nav-drawer .nav-drawer-inner {
		width: 100%;
		right: -100%;
	}

	.nav-drawer.open .nav-drawer-inner {
		right: 0;
	}
}

/* Slick dots*/
.slick-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    transform: translate(-50%, 0);
}

.slick-dots li {
    padding: 5px;
}

.slick-dots button {
    display: block;
    width: 10px;
    height: 10px;
    padding: 0;
    font-size: 0;
    line-height: 0;
    border: none;
    background-color: #cccccc;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .25);
    transition: all .3s ease;
}

.slick-dots .slick-active button {
    background-color: var(--accent-2);
}
/* Slick Arrows */
.arrow-btn {
    background: transparent;
    border: none;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.arrow-btn:hover {
    color: #000;
}

.slick-prev, .slick-next {
    background: #fff;
    padding:0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 45px;
    cursor: pointer;
    z-index: 5;
    position: absolute;
    top: 42%;
}

.slick-prev:hover, .slick-next:hover {
    background: #f7f7f7;
}

.slick-prev {
    left: -12px;  /* adjust */
}

.slick-next {
    right: -12px; /* adjust */
}

/* ===================================================
   Ads Videos Page Template Custom Styles
   =================================================== */

/* --- 1. Shark Tank India Badge --- */
.sharktank-badge-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px auto 16px;
    width: 100%;
    text-align: center;
}

.sharktank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 22px;
    border-radius: 4px;
    border: 1px solid #D5D9E2;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.sharktank-badge .badge-dot {
    width: 9px;
    height: 9px;
    background: #F1401D;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px rgba(241, 64, 29, 0.6);
    flex-shrink: 0;
}

.sharktank-badge .badge-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.8px;
    color: #111111;
    text-transform: uppercase;
    font-family: "Sharp Grotesk", "Montserrat", sans-serif;
    text-align: center;
    line-height: 1.4;
}

.sharktank-badge .badge-text strong {
    font-weight: 700;
    color: #1D37EC;
}

/* --- 2. Ads Video Portfolio Grid & Controls --- */
.ads-video-portfolio {
    padding: 80px 0;
    background: var(--bg);
}

.ads-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ads-video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111111;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    box-shadow: none;
    user-select: none;
    -webkit-user-select: none;
}

.ads-video-card:hover {
    transform: none;
    box-shadow: none;
}

.ads-video-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ads-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Dark Gradient Shadow */
.ads-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Brand Name Text (Completely Hidden) */
.ads-card-brand,
.ads-card-gradient {
    display: none !important;
}

/* Play Control Overlay (Visible only when paused, completely hidden while playing) */
.ads-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background: transparent;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.ads-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    outline: none;
}

.ads-play-btn .icon-play {
    display: block;
    margin-left: 2px;
}

.ads-play-btn .icon-pause {
    display: none !important;
}

/* While playing: absolutely no play/pause button overlay */
.ads-video-card:hover .ads-play-overlay,
.ads-video-card.is-playing .ads-play-overlay,
.ads-video-card:hover.is-playing .ads-play-overlay,
.ads-video-card.is-playing:hover .ads-play-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    pointer-events: none !important;
}

/* Sound / Mute Button (Hidden normally, appears on hover / play) */
.ads-sound-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

/* On hover or while playing: show mute button in top right */
.ads-video-card:hover .ads-sound-badge,
.ads-video-card.is-playing .ads-sound-badge {
    opacity: 1;
    pointer-events: auto;
}

.ads-sound-badge:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.6);
}

.ads-sound-badge .icon-sound-on {
    display: none;
}

.ads-sound-badge .icon-sound-off {
    display: block;
}

.ads-video-card.is-unmuted .ads-sound-badge .icon-sound-on {
    display: block;
}

.ads-video-card.is-unmuted .ads-sound-badge .icon-sound-off {
    display: none;
}

/* --- 3. Founder Section ("The Person Behind MadMade / Mythili") --- */
.founder-section {
    padding: 90px 0;
    background: #F8F9FD;
}

.founder-wrapper {
    display: grid;
    grid-template-columns: 440px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.founder-video-col {
    width: 100%;
}

.founder-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: #111111;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.founder-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease;
    z-index: 2;
}

.founder-play-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #F96444;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, background 0.25s ease;
    box-shadow: 0 6px 20px rgba(249, 100, 68, 0.4);
}

.founder-play-circle svg {
    margin-left: 4px;
}

.founder-play-overlay:hover .founder-play-circle {
    transform: scale(1.1);
    background: #E84D2B;
}

.founder-video-card.is-playing .founder-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.founder-video-card.is-playing:hover .founder-play-overlay {
    opacity: 1;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35);
}

.founder-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    pointer-events: none;
}

.founder-badge span {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
}

.founder-content-col {
    padding: 10px 0;
}

.founder-eyebrow {
    display: inline-block;
    color: #1D37EC;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: "Sharp Grotesk", "Montserrat", sans-serif;
    margin-bottom: 8px;
}

.founder-title {
    font-size: 38px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 20px 0;
    line-height: 1.15;
    font-family: "Sharp Grotesk", "Montserrat", sans-serif;
}

.founder-bio p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #383838;
    margin-bottom: 16px;
}

.founder-cta-note {
    font-size: 16.5px;
    font-weight: 600;
    color: #111111;
    margin: 24px 0 18px 0;
}

.founder-btn {
    background: #F96444 !important;
    color: #FFFFFF !important;
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
}

.founder-btn:hover {
    background: #E84D2B !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 100, 68, 0.35);
}

/* --- 4. Comparison Matrix Table --- */
.comparison-matrix-wrapper {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #EBECEF;
}

.comparison-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 680px;
}

.comparison-matrix-table th {
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.comparison-matrix-table .th-feature {
    width: 24%;
    background: #111625;
    color: #FFFFFF;
    font-weight: 700;
}

.comparison-matrix-table .th-madmade {
    width: 28%;
    background: #1D37EC;
    color: #FFFFFF;
    font-size: 17px;
    font-weight: 700;
}

.comparison-matrix-table .th-other {
    width: 24%;
    background: #111625;
    color: #FFFFFF;
    font-weight: 600;
}

.comparison-matrix-table td {
    padding: 18px 24px;
    font-size: 14.5px;
    border-bottom: 1px solid #ECEEF3;
    vertical-align: middle;
}

.comparison-matrix-table tr:last-child td {
    border-bottom: none;
}

.comparison-matrix-table .td-feature {
    font-weight: 600;
    color: #111111;
    background: #FFFFFF;
}

.comparison-matrix-table .td-madmade {
    background: #EFF2FE;
    color: #071EC3;
    font-weight: 600;
}

.comparison-matrix-table .td-madmade .cell-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-matrix-table .td-madmade .check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #1D37EC;
    font-weight: 800;
    font-size: 16px;
}

.comparison-matrix-table .td-other {
    color: #555566;
    background: #FFFFFF;
}

/* --- Comparison Desktop vs Mobile Views --- */
.comparison-desktop-view {
    display: block;
}
.comparison-mobile-view {
    display: none;
}

@media (max-width: 767px) {
    .comparison-desktop-view {
        display: none !important;
    }
    .comparison-mobile-view {
        display: block !important;
    }

    /* Mobile Comparison Table with Competitor Filter */
    .comp-mobile-table-wrap {
        width: 100%;
    }
    .comp-subfilter {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
        text-align: center;
    }
    .comp-subfilter-title {
        font-size: 13px;
        font-weight: 700;
        color: #111625;
        letter-spacing: 0.3px;
    }
    .comp-subfilter-buttons {
        display: inline-flex;
        gap: 6px;
        background: #F1F3F9;
        padding: 4px;
        border-radius: 24px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
    }
    .comp-subfilter-btn {
        padding: 7px 16px;
        border-radius: 20px;
        border: none;
        background: transparent;
        color: #475569;
        font-size: 12.5px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    .comp-subfilter-btn.active {
        background: #1D37EC;
        color: #FFFFFF;
        box-shadow: 0 2px 8px rgba(29, 55, 236, 0.28);
    }
    .comp-mob-card {
        background: #FFFFFF;
        border-radius: 14px;
        border: 1px solid #E4E7ED;
        box-shadow: 0 4px 20px rgba(17, 22, 37, 0.05);
        overflow: hidden;
    }
    .comp-mob-table-container {
        width: 100%;
        overflow-x: hidden;
        background: #FFFFFF;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .comp-mob-table-container::-webkit-scrollbar {
        display: none !important;
        height: 0 !important;
        width: 0 !important;
    }

    /* When 'Both' option is selected: enable horizontal scrolling on container */
    .comp-mob-table-container.mode-both {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Custom Permanent Scrollbar Area (Only for 'Both' Mode) */
    .comp-custom-scrollbar-area {
        display: none;
        align-items: center;
        background: #FAFBFD;
        border-top: 1px solid #ECEEF3;
        padding: 8px 12px 10px 0;
        box-sizing: border-box;
        width: 100%;
    }
    .comp-mob-card.is-both .comp-custom-scrollbar-area {
        display: flex;
    }
    /* Blank spacer under the sticky first column so scrollbar does NOT show there */
    .comp-custom-scrollbar-spacer {
        width: 120px;
        min-width: 120px;
        flex-shrink: 0;
        box-sizing: border-box;
        border-right: 1px solid #ECEEF3;
    }
    /* Scrollbar track line across the scrollable columns */
    .comp-custom-scrollbar-track {
        flex: 1;
        margin-left: 10px;
        height: 5px;
        background: #E2E8F0;
        border-radius: 6px;
        position: relative;
        cursor: pointer;
    }
    /* Blue thumb permanently visible, controlled smoothly by JS */
    .comp-custom-scrollbar-thumb {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: #1D37EC;
        border-radius: 6px;
        cursor: grab;
        transition: transform 0.04s linear;
    }

    .comp-mob-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
    }
    /* Fixed 3-column layout when comparing with a single competitor */
    .comp-mob-table.show-freelancers,
    .comp-mob-table.show-influencers {
        table-layout: fixed;
    }
    .comp-mob-table.show-freelancers .mob-th-feature,
    .comp-mob-table.show-freelancers .mob-td-feature,
    .comp-mob-table.show-influencers .mob-th-feature,
    .comp-mob-table.show-influencers .mob-td-feature {
        width: 33%;
    }
    .comp-mob-table.show-freelancers .mob-th-madmade,
    .comp-mob-table.show-freelancers .mob-td-madmade,
    .comp-mob-table.show-influencers .mob-th-madmade,
    .comp-mob-table.show-influencers .mob-td-madmade {
        width: 37%;
    }
    .comp-mob-table.show-freelancers .col-freelancer,
    .comp-mob-table.show-influencers .col-influencer {
        width: 30%;
    }

    .comp-mob-table th {
        padding: 14px 10px;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
    }
    .comp-mob-table td {
        padding: 13px 10px;
        font-size: 12px;
        border-bottom: 1px solid #ECEEF3;
        vertical-align: middle;
        line-height: 1.35;
        word-wrap: break-word;
    }
    .comp-mob-table tr:last-child td {
        border-bottom: none;
    }
    .mob-th-feature {
        background: #111625;
        color: #FFFFFF;
    }
    .mob-td-feature {
        background: #FFFFFF;
        color: #111111;
        font-weight: 700;
    }
    .mob-th-madmade {
        background: #1D37EC;
        color: #FFFFFF;
        font-size: 12.5px;
    }
    .mob-td-madmade {
        background: #EFF2FE;
        color: #071EC3;
        font-weight: 600;
    }
    .mob-td-madmade .check-dot {
        display: inline-block;
        color: #1D37EC;
        font-weight: 800;
        margin-right: 3px;
    }
    .mob-th-freelancer,
    .mob-th-influencer {
        background: #111625;
        color: #FFFFFF;
    }
    .mob-td-comp {
        color: #555566;
        background: #FFFFFF;
    }

    /* When 'Both' is active, allow horizontal scroll with sticky feature column */
    .comp-mob-table.show-all {
        min-width: 530px;
    }
    .comp-mob-table.show-all .mob-th-feature {
        position: sticky;
        left: 0;
        z-index: 3;
        background: #111625;
        width: 120px;
        min-width: 120px;
        max-width: 120px;
    }
    .comp-mob-table.show-all .mob-td-feature {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #FFFFFF;
        box-shadow: 2px 0 6px rgba(0, 0, 0, 0.04);
        width: 120px;
        min-width: 120px;
        max-width: 120px;
    }
    .comp-mob-table.show-all .mob-th-madmade,
    .comp-mob-table.show-all .mob-td-madmade {
        min-width: 140px;
    }
    .comp-mob-table.show-all .mob-th-freelancer,
    .comp-mob-table.show-all .col-freelancer,
    .comp-mob-table.show-all .mob-th-influencer,
    .comp-mob-table.show-all .col-influencer {
        min-width: 125px;
    }

    /* Filter Column Visibility */
    .comp-mob-table.show-freelancers .col-influencer {
        display: none !important;
    }
    .comp-mob-table.show-influencers .col-freelancer {
        display: none !important;
    }
    .comp-mob-table.show-all .col-freelancer,
    .comp-mob-table.show-all .col-influencer {
        display: table-cell !important;
    }
}

/* --- 5. Responsive Breakpoints --- */
@media (max-width: 991px) {
    .ads-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .founder-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .founder-video-col {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .ads-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ads-card-badge.top-badge span {
        font-size: 9px;
        padding: 4px 8px;
    }
    .ads-card-badge.bottom-brand span {
        font-size: 10px;
        padding: 4px 10px;
    }
    .ads-play-btn {
        width: 44px;
        height: 44px;
    }
    .ads-play-btn svg {
        width: 22px;
        height: 22px;
    }
    .founder-title {
        font-size: 28px;
    }
    .founder-bio p {
        font-size: 14px;
    }
    .founder-video-col {
        max-width: 100%;
    }
    .sharktank-badge-wrap {
        margin: 20px auto 14px;
        padding: 0 16px;
    }
    .sharktank-badge {
        padding: 8px 16px;
        gap: 8px;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }
    .sharktank-badge .badge-text {
        font-size: 11px;
        letter-spacing: 0.5px;
        text-align: center;
        line-height: 1.35;
        white-space: normal;
        word-break: normal;
    }
}

