@import url("fonts.css");


h1,
h2,
h3,
h4,
h5,
h6,
a,
p {
	font-family: var(--sf-font-sans), sans-serif !important; 
	font-style: normal;
}

:root {
	--sf-orange: #fd5a16;
	--sf-black: #000000;
	--sf-radius-pill: 11px;
	--sf-transition: 0.4s ease;
}


	@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-ExtraBoldDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-ExtraBoldDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-ExtraBoldDots3.ttf') format('truetype'); font-weight: bold; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-LightDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-LightDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-LightDots3.ttf') format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-ThinDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-ThinDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-ThinDots3.ttf') format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-MediumDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-MediumDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-MediumDots3.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-BoldDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-BoldDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-BoldDots3.ttf') format('truetype'); font-weight: bold; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-ExtraLightDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-ExtraLightDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-ExtraLightDots3.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-SemiBoldDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-SemiBoldDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-SemiBoldDots3.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'AradBeta Dots3'; src: url('https://saadfaris.com/fonts/subset-AradBeta-RegularDots3.woff2') format('woff2'), url('https://saadfaris.com/fonts/subset-AradBeta-RegularDots3.woff') format('woff'), url('https://saadfaris.com/fonts/subset-AradBeta-RegularDots3.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; }


*{box-sizing:border-box}
body{
	margin:0;

  min-height:100dvh;
	display:flex;
	flex-direction:column;
	}

	
	
  .sf-works{
    padding:32px 18px;
    max-width:1100px;
    margin:0 auto;
  }

	.sf-works-grid {
  align-items: start;
}
.sf-work-card {
  height: auto;      
  align-self: start;  
}

	
  .sf-works-head{
    text-align:right;
    margin-bottom:18px;
  }

  .sf-works-title{
    margin:0;
    font-size:34px;
    line-height:1.15;
    letter-spacing:-0.02em;
  }

  .sf-works-sub{
    margin:10px 0 0;
    font-size:14px;
    opacity:.7;
  }

  .sf-works-grid{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:16px;
  }

  /* Card */
  .sf-work-card{
    border:1px solid rgba(0,0,0,.07);
    border-radius:20px;
    background:#fff;
    overflow:hidden;
  }
	
	.sf-work-card:hover{
		background: rgb(255, 244, 238);
	}

  .sf-work-top{
    padding:16px 16px 10px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
  }

  .sf-work-name{
    margin:0;
    font-size:16px;
    letter-spacing:-0.01em;
  }

  .sf-work-meta{
    margin:6px 0 0;
    font-size:12px;
    opacity:.65;
  }

  .sf-work-link{
    font-size:12px;
    padding:8px 10px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.08);
    text-decoration:none;
    color:inherit;
		font-weight: bold;
    white-space:nowrap;
    background: #fd5a16;
  }

  /* Preview */
  .sf-preview{
    position:relative;
    margin:0 12px 12px;
    border-radius:16px;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(0,0,0,.02);
    overflow:hidden;
  }

  /* gradients to hint scroll */
  .sf-preview:before,
  .sf-preview:after{
    content:"";
    position:absolute;
    left:0; right:0;
    height:36px;
    z-index:2;
    pointer-events:none;
  }
  .sf-preview:before{
    top:0;
    background:linear-gradient(to bottom, rgba(255,255,255,.01), rgba(255,255,255,0));
  }
  .sf-preview:after{
    bottom:0;
    background:linear-gradient(to top, rgba(255,255,255,.01), rgba(255,255,255,0));
  }

  .sf-preview-viewport{
    height:320px;
    overflow:auto;
    scroll-behavior:smooth;
    cursor:grab;
  }
  .sf-preview-viewport:active{ cursor:grabbing; }

  .sf-preview-img{
    width:100%;
    height:auto;
    display:block;
  }

  .sf-preview-ui{
    position:absolute;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  .sf-preview-chip{
    font-size:11px;
    padding:8px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.88);
    border:1px solid rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
    white-space:nowrap;
  }

  .sf-preview-bar{
    flex:1;
    height:10px;
    border-radius:999px;
    background:rgba(255,255,255,.65);
    border:1px solid rgba(0,0,0,.06);
    overflow:hidden;
    backdrop-filter: blur(10px);
  }
  .sf-preview-bar span{
    display:block;
    height:100%;
    width:0%;
    background:rgba(0,0,0,.65);
  }

  /* Bottom */
  .sf-work-bottom{
    padding:0 16px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }

  .sf-work-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }

  .sf-tag{
    font-size:9px;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.08);
    background:rgba(0,0,0,.02);
  }

  .sf-btn{
    border-radius:12px;
    padding:9px 12px;
    font-size:12px;
    border:1px solid rgba(0,0,0,.08);
    background:#fff;
    cursor:pointer;
    white-space:nowrap;
  }
  .sf-btn-ghost{ background:rgba(0,0,0,.02); }

  @media (max-width: 980px){
    .sf-works-title{ font-size:28px; }
    .sf-works-grid{ grid-template-columns: 1fr; }
    .sf-preview-viewport{ height:360px; }
  }


/* ============ الأساسيات ============ */

.sf-body {
	margin: 0;
	padding: 0;
	font-family: var(--sf-font-sans), sans-serif;
	direction: rtl;
	background-color: var(--sf-orange);
	color: #000;
	transition: background-color var(--sf-transition), color var(--sf-transition);
}

.sf-body.sf-mode-dark {
	background-color: var(--sf-black);
	color: #fff;
}

.sf-page {
	min-height: 100vh;
}

.sf-section {
	min-height: 100vh;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

/* ==================== الهيرو البرتقالي ==================== */

.sf-section-orange {
	padding: 0;
}

.sf-hero-logo {
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
}

.sf-hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: end;
	padding: 0 0 50px;
	max-width: 600px;
	gap: 28px;
	margin: 0 auto;
}

.sf-hero-title {
	margin: 0;
	font-size: clamp(28px, 3.8vw, 48px);
	line-height: 1;
	font-weight: 800;
	text-align: center;
}

.sf-hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-start;
	flex-direction: row;
}

.sf-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	border-radius: var(--sf-radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.3);
	background-color: rgba(255, 255, 255, 0.05);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.18s ease-out, border-color 0.18s ease-out,
		color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.18s ease-out;
}

.sf-pill-btn img {
	width: 18px;
	height: 18px;
	display: block;
}

.sf-pill-btn:hover {
	background-color: rgba(0, 0, 0, 0.24);
	border-color: rgba(0, 0, 0, 0.42);
	color: #ffffff;
	transform: translateY(-1px);
}

.sf-hero-bottom-text {
	margin-top: 30px;
	margin-bottom: 0px;
	color: white;
	font-size: 26px;
	font-weight: 600;
	opacity: 0.9;
	text-align: center;
}

.sf-center {
	text-align:center;
}

/* ==================== الجزء الأسود ==================== */

.sf-section-black {
	color: #fff;
	padding: 60px 20px 60px;
}

.sf-black-content {
	flex: 1;
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.sf-black-question {
	margin: 150px 0px 150px;
	font-size: 65px;
	font-weight: 600;
}

.sf-black-welcome {
    height: 129px;
    z-index: 20;
    position: absolute;
    margin: 10px -250px;
}

.sf-black-photo {
	max-width: min(320px, 90vw);
	height: auto;
	display: block;
	margin-bottom: 14px;
}

.sf-black-name {
    margin: 0 0 12px;
    font-size: 50px;
    font-weight: 700;
    position: absolute;
    z-index: 20;
    margin: -70px 209px;
}

.sf-black-desc {
	margin: 40px auto;
	font-size: 28px;
}

.sf-black-desc-strong {
	font-weight: 700;
	background: url(https://saadfaris.com/wp-content/uploads/2025/12/line.svg);
	background-repeat: no-repeat;
	padding: 0px 0px 20px 0px;
	background-position: bottom;
	background-origin: padding-box;
}

.sf-black-down {
	width: 26px;
	height: auto;
	animation: sf-bounce 1.4s infinite;
}

/* ==================== أنيميشن ==================== */

@keyframes sf-bounce {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(6px);
	}
}

.sf-hero-logo-mobile {
	display: none;
}

/* ==================== Responsive ==================== */

@media (max-width: 700px) {
	/* ===== الهيرو – نفس شكل الديسكتوب بس أصغر + تبديل الشعار ===== */

	
.sf-section {
	min-height: 85vh;
}
	
	/* إخفاء شعار الديسكتوب وإظهار شعار الجوال */
	.sf-hero-logo {
		display: none;
	}

	.sf-hero-logo-mobile {
		display: block;
		width: 100%;
		padding: 12px;
		box-sizing: border-box;
		margin-top: 12px;
	}

	.sf-hero-content {
		max-width: 750px;
		padding: 50px 30px;
		margin: 0 auto;
		justify-content: flex-end;
		gap: 20px;
	}
	
	.sf-hero-content .sf-black-down {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

	.sf-hero-title {
		font-size: 26px;
		line-height: 1.2;
		text-align: right;
	}

	.sf-hero-actions {
		gap: 8px;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.sf-pill-btn {
		padding: 11px 12px;
		font-size: 13px;
	}

	.sf-hero-bottom-text {
		font-size: 18px;
		margin-top: 20px;
		text-align: center;
		display: block;
	}

	/* ===== الجزء الأسود – نفس الشكل بالضبط بس مكبّره/مصغّره ===== */

	.sf-section-black {
		padding: 0;
	}

	.sf-black-content {
		flex: 1;
		max-width: max-content;
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	/* نفس الترتيب – بس نصغّر القيم */
	.sf-black-question {
		font-size: 48px;
		margin: 190px 0;
	}

	.sf-black-welcome {
		height: 120px;
		margin: -50px -140px;
	}

	.sf-black-photo {
		max-width: min(238px, 85vw);
		margin-bottom: 12px;
	}

	.sf-black-name {
        font-size: 34px;
        margin: -60px 49px;
	}

	.sf-black-desc {
		font-size: 22px;
		margin: 30px auto;
	}

	.sf-black-desc-strong {
		padding-bottom: 19px;
		background-size: 160px auto;
		background-position: bottom center;
	}

	.sf-black-down {
		margin-top: 70px;
		margin-bottom: 50px;
	}
}



/* ===================== قسم العملاء ===================== */

#sf-clients-section {
    position: relative;
    background: #ffffff;
    padding: 30px 20px 30px;
    text-align: center;
    color: #000;
    overflow: hidden;
}


/* التدرّج الأبيض من الأعلى */
.sf-clients-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 30%,
        rgba(255, 255, 255, 0.75) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 50;
}


.sf-clients-header {
    max-width: 1200px;
    margin: 0 auto;
}

/* العنوان */
.sf-clients-header h2 {
    font-size: 48px;
    margin: 0 0 12px;
    font-weight: 800;
}

.sf-clients-header p {
    font-size: 31px;
    opacity: 0.7;
    margin: -5px 0 50px;
}

/* ===================== قسم العملاء ===================== */

#sf-clients-section {
    position: relative;
    background: #ffffff;
    padding: 30px 20px 30px;
    text-align: right;
    color: #000;
    overflow: hidden;
}


/* التدرّج الأبيض من الأعلى */
.sf-clients-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 30%, rgba(255, 255, 255, 0.75) 60%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 50;
}


/* العنوان */
.sf-clients-header h2 {
    font-size: 48px;
    margin: 0 0 12px;
    font-weight: 800;
}

.sf-clients-header p {
    font-size: 31px;
    opacity: 0.7;
    margin: -5px 0 50px;
}

/* شبكة الشعارات */
.sf-clients-grid {
    direction: rtl;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px 11px;
    align-items: center;
    justify-items: center;
}

.sf-clients-grid img {
    width: 100%;
    height: 62px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: 0.25s 
ease;
}

.sf-clients-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Placeholder للشعارات المفقودة */
.sf-client-placeholder {
    width: 100%;
    height: 90px;
    border: 2px dashed #ccc;
    border-radius: 12px;
    font-size: 26px;
    font-weight: 800;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* الفقرة السفلية */
.sf-clients-footer {
    margin-top: -10px;
    font-size: 36px;
    font-weight: 600;
    opacity: 0.9;
    position: relative;
    z-index: 51;
    text-align: center;
}

.sf-clients-header h2 {
    font-size: 44px;
    margin: 0 0 12px;
    font-weight: 800;
}

/* ===================== Responsive ===================== */

@media (max-width: 700px) {
	
	.sf-clients-grid img {
    width: 100%;
    height: 46px !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.9;
    transition: 0.25s 
ease;
}
    .sf-clients-header h2 {
        font-size: 32px;
			text-align:right;
    }

    .sf-clients-header p {
        font-size: 26px;
    			text-align:right;
}

    .sf-clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(57px, 1fr));
        gap: 8px;
			        max-height: 400px;
    }

    .sf-client-placeholder {
        height: 70px;
        font-size: 20px;
    }

	    .sf-clients-footer {
        font-size: 20px;
        margin-top: 10px;
    }
}




/* ===================== سكشن التعريف + الأزرار ===================== */

.sf-about-section {
    background: #000000;
    color: #ffffff;
	min-height: auto;
    padding: 70px 40px 80px;
    display: flex;
    align-items: center;
}

.sf-about-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    gap: 50px;
	align-items: start;
}

/* الصورة يسار */

.sf-about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

/* النص يمين */

.sf-about-text {
    text-align: right;
}

.sf-about-title {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 800;
    color: var(--sf-orange);
}

.sf-about-p {
    margin: 0 0 10px;
    font-size: 29px;
    line-height: 1;
}

/* الأزرار تحت النص */

.sf-about-buttons {
    margin-top: 26px;
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* نفس روح أزرار الهيرو لكن أنعم شوي */

.sf-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 21px;
    border-radius: 11px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
    transition: background-color 0.22s 
ease, color 0.22s 
ease, box-shadow 0.22s 
ease, transform 0.22s 
ease, border-color 0.22s 
ease;
}

/* زر أساسي لملف الأعمال */

.sf-about-btn-primary {
    background-color: var(--sf-orange);
    color: #fff;
    border-color: rgba(0, 0, 0, 0.12);
}

/* ثانوي للفيديوهات */

.sf-about-btn-secondary {
    background-color: rgba(255, 255, 255, 0.95);
}

/* هوفر */

.sf-about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.sf-about-btn-primary:hover {
    background-color: #ff6a24;
    color: #fff;
}

.sf-about-btn-secondary:hover {
    background-color: #ffffff;
    color: #000;
}

/* ===================== Responsive ===================== */

@media (max-width: 900px) {
    .sf-about-section {
        padding: 50px 20px 60px;
    }

    .sf-about-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    /* نخفي الصورة في الجوال */
    .sf-about-image {
        display: none;
    }

    .sf-about-text {
        text-align: right;
    }

    .sf-about-title {
        font-size: 46px;
    }

    .sf-about-p {
        font-size: 24px;
    }

    .sf-about-buttons {
        width: 100%;
        gap: 10px;
    }

    .sf-about-btn {
        font-size: 22px;
        padding: 10px 23px;
    }
}

/* ===================== قسم أعمال برمجة المواقع ===================== */

#sf-web-section {
	border-top: 1px solid #eee;
    background: #ffffff;
    padding: 70px 24px 60px;
    color: #000;
}

.sf-web-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.sf-web-header {
    flex: 0 0 32%;
    text-align: right;
}

.sf-web-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
}

.sf-web-header p {
    font-size: 20px;
    opacity: 0.75;
    margin: 0;
}

.sf-web-list {
    flex: 1;
    border-radius: 18px;
    overflow: hidden;
}

.sf-web-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    text-align: right;
}

.sf-web-row:last-child {
    border-bottom: none;
}

.sf-web-row:hover {
    background: #fff4ee;
}

.sf-web-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    direction: rtl;
}

.sf-web-title {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: baseline;
}

.sf-web-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.sf-web-name a {
    color: inherit;
    text-decoration: none;
}

.sf-web-name a:hover {
    color: var(--sf-orange);
}

.sf-web-note {
    font-size: 15px;
    opacity: 0.8;
}

.sf-web-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sf-tag {
    font-size: 14px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    opacity: 0.9;
}

.sf-web-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--sf-orange);
    text-decoration: none;
    white-space: nowrap;
    padding-inline-start: 10px;
}

.sf-web-link:hover {
    color: #000;
}

/* ===================== Responsive ===================== */

@media (max-width: 900px) {
    #sf-web-section {
        padding: 50px 16px 50px;
    }

    .sf-web-layout {
        flex-direction: column;
        gap: 24px;
    }

    .sf-web-header {
        flex: 1;
    }

    .sf-web-header h2 {
        font-size: 30px;
    }

    .sf-web-header p {
        font-size: 17px;
    }

    .sf-web-row {
        flex-direction: column;
        align-items: flex-start;
        direction: rtl; /* في الجوال نخلي الترتيب طبيعي RTL */
    }

    .sf-web-main {
        direction: rtl;
    }

    .sf-web-link {
        margin-top: 8px;
        align-self: flex-start;
    }
}

/* ===================== سكشن أحدث الفيديوهات في الرئيسية ===================== */

#sf-home-videos-section {
    background: #000;
    padding: 70px 24px 60px;
    color: #ffffff;
}

/* نفس فكرة sf-web-layout: عمود يمين نص، عمود يسار محتوى */
#sf-home-videos-section .sf-web-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* العنوان + الوصف يمين */
#sf-home-videos-section .sf-web-header {
    flex: 0 0 360px;
    text-align: right;
}

#sf-home-videos-section .sf-web-header h2 {
    font-size: 37px !important;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1 !important;
}

#sf-home-videos-section .sf-web-header p {
    font-size: 22px !important;
    opacity: 0.8;
    margin: 0 0 20px;
    line-height: 1 !important;
}

/* رابط استعراض كل الفيديوهات */
.sf-home-videos-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
    padding: 8px 16px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    transition: background-color 0.2s 
ease, border-color 0.2s 
ease, transform 0.2s 
ease;
}

.sf-home-videos-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* شبكة الفيديوهات يسار – نفس عرض عمود الصفحات بالضبط */
.sf-home-videos-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

/* الكارد الأساسي – تقدر تعدله بالكامل براحتك */
.sf-home-video-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.sf-home-video-item a {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* مربع – نفس اللي تستخدمه في أرشيف الفيديو */
}

/* الصورة داخل الكارد */
.sf-home-video-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* أيقونة التشغيل – نفس اللي تستخدمها حالياً */
.sfv-play-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 66px;
    height: 66px;
    background-image: url(https://saadfaris.com/wp-content/uploads/2024/06/player-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 54%;
    z-index: 2;
    transition: transform 0.25s 
ease, box-shadow 0.25s 
ease, background-color 0.25s 
ease;
}

/* .sfv-play-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 0 7px 11px;
    border-color: transparent transparent transparent #000;
} */

/* Hover بسيط */
.sf-home-video-item:hover img {
    transform: scale(1.07);
    opacity: 0.96;
}

	
	@media (max-width: 900px) {
    .sf-vid-h-layout {
        flex-direction: column;
        gap: 24px;
    }
}
.sf-vid-h-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}
/* ===================== Responsive ===================== */

@media (max-width: 900px) {
    #sf-home-videos-section {
        padding: 50px 16px 50px;
    }

    #sf-home-videos-section .sf-web-layout {
        flex-direction: column;
        gap: 26px;
    }

    #sf-home-videos-section .sf-web-header {
        flex: 1;
    }

    #sf-home-videos-section .sf-web-header h2 {
        font-size: 26px;
    }

    #sf-home-videos-section .sf-web-header p {
    font-size: 20px;
    opacity: 0.8;
    margin: 0 0 20px;
}
}

@media (max-width: 600px) {
    .sf-home-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 2fr)) !important;
        gap: 10px !important;
    }
	
	.sf-vid-h-layout {
    align-items: normal;
}
}


/* ===================== Footer CTA – Clean Portfolio Style ===================== */

#sf-footer-cta {
    background: #000;
    color: #fff;
    padding: 120px 24px 56px;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

#sf-footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 78%, rgba(253,90,22,.22), transparent 30%),
        radial-gradient(circle at 85% 22%, rgba(255,255,255,.08), transparent 30%);
    opacity: .75;
}

.sf-footer-shell {
    width: min(1200px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sf-footer-card {
    min-height: 340px;
    border-radius: 36px;
    padding: clamp(28px, 4vw, 58px);
    background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 34px 90px rgba(0,0,0,.48);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .72fr);
    gap: clamp(28px, 5vw, 74px);
    align-items: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sf-footer-main {
    text-align: right;
}

.sf-footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--sf-orange);
    font-size: 15px;
    font-weight: 800;
}

.sf-footer-kicker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--sf-orange);
    box-shadow: 0 0 0 8px rgba(253,90,22,.12);
}

.sf-footer-main h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(38px, 6vw, 84px);
    line-height: .95;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.sf-footer-main p {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(18px, 2vw, 28px);
    line-height: 1.65;
    color: rgba(255,255,255,.80);
}

.sf-footer-brief {
    align-self: stretch;
    border-radius: 28px;
    padding: 28px;
    background: rgba(0,0,0,.24);
    border: 1px solid rgba(255,255,255,.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-footer-brief h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 1.15;
    font-weight: 900;
}

.sf-footer-brief ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.sf-footer-brief li {
    position: relative;
    padding-inline-start: 24px;
    color: rgba(255,255,255,.84);
    font-size: clamp(16px, 1.55vw, 22px);
    line-height: 1.45;
}

.sf-footer-brief li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sf-orange);
}

.sf-footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sf-footer-main .sf-footer-socials {
    margin-top: 30px;
}

.sf-footer-main .sf-footer-socials-before_text {
    margin-top: 0;
    margin-bottom: 28px;
}

.sf-footer-shell > .sf-footer-socials {
    justify-content: center;
    margin-top: 24px;
}

.sf-contact-btn,
.sf-footer-social-link {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.075);
    color: #fff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.sf-contact-btn span,
.sf-footer-social-link span {
    color: currentColor;
    font-size: 20px;
    line-height: 1;
}

.sf-contact-btn img,
.sf-footer-social-link img,
.sf-social-icon-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.sf-contact-btn:hover,
.sf-footer-social-link:hover {
    transform: translateY(-3px);
    background: var(--sf-orange);
    border-color: var(--sf-orange);
}

.sf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 8px 0;
    color: rgba(255,255,255,.48);
    font-size: 14px;
}

.sf-footer-bottom a {
    color: rgba(255,255,255,.72);
    text-decoration: none;
}

.sf-footer-bottom a:hover {
    color: #fff;
}

.sf-footer-style-center .sf-footer-card {
    grid-template-columns: 1fr;
    text-align: center;
}

.sf-footer-style-center .sf-footer-main {
    text-align: center;
    margin: 0 auto;
}

.sf-footer-style-center .sf-footer-main h2,
.sf-footer-style-center .sf-footer-main p {
    margin-left: auto;
    margin-right: auto;
}

.sf-footer-style-center .sf-footer-socials {
    justify-content: center;
}

@media (max-width: 900px) {
    #sf-footer-cta {
        padding: 80px 14px 42px;
    }

    .sf-footer-card {
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 28px;
        padding: 30px 22px;
        gap: 28px;
    }

    .sf-footer-main h2 {
        font-size: clamp(42px, 12vw, 64px);
        line-height: .98;
    }

    .sf-footer-main p {
        font-size: 18px;
        line-height: 1.75;
    }

    .sf-footer-brief {
        padding: 22px;
        border-radius: 22px;
    }

    .sf-contact-btn,
    .sf-footer-social-link {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .sf-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 4px;
    }
}

@media (max-width: 520px) {
    .sf-footer-main h2 {
        font-size: 44px;
    }

    .sf-footer-main p {
        font-size: 17px;
    }

    .sf-footer-socials {
        gap: 8px;
    }
}

  .sf-blur-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    width: 100%;
    z-index: 999;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(0, 0, 0, 0.12);
    mask-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 30%,
      rgba(0, 0, 0, 0) 100%
    );

    /* الحالة الافتراضية (مخفي) */
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;

    transition: opacity 0.35s ease, transform 0.35s ease;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 28px;
    direction: rtl;
  }

  /* لما يظهر */
  .sf-blur-header.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* الشعار */
	.sf-header-logo {
    height: 27px;
    width: auto;
    filter: invert(1);
		    transition: opacity 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;

}



  /* الزر */
  .sf-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 15px;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.8);
    border: 0.875186px solid rgba(255, 255, 255, 1);

    color: #000;
    font-size: 14px;
    font-weight: 700;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;

    text-decoration: none;
    white-space: nowrap;
  }

  .sf-header-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
  }

  .sf-btn-icon {
    font-size: 16px;
    line-height: 1;
  }

  /* موبايل */
  @media (max-width: 520px) {
    .sf-blur-header {
      padding: 0 14px;
      height: 92px;
    }

    .sf-header-logo {
      height: 27px;
    }

    .sf-header-btn {
      font-size: 14px;
      padding: 12px 14px;
      border-radius: 12px;
/* 	  margin-left: 29px; */
    }
  }

/* ===================== SF Dynamic Case Study Cards - v0.3.0 ===================== */
#sf-web-section {
  border-top: 1px solid #eee;
  background: #ffffff;
  padding: 70px 24px 60px;
  color: #000;
}

#sf-web-section .sf-web-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

#sf-web-section .sf-web-header {
  flex: 0 0 32%;
  text-align: right;
  position: sticky;
  top: 120px;
}

#sf-web-section .sf-web-header h2 {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

#sf-web-section .sf-web-header p {
  font-size: 20px;
  line-height: 1.8;
  opacity: 0.75;
  margin: 0;
}

#sf-web-section .sf-web-list {
  flex: 1;
  border-radius: 18px;
  overflow: visible;
}

#sf-web-section .sf-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

#sf-web-section .sf-work-card {
  height: auto;
  align-self: start;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  box-shadow: none;
  position: relative;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

#sf-web-section .sf-work-card:hover {
  background: rgb(255,244,238);
  transform: none;
  box-shadow: none;
  border-color: rgba(0,0,0,.1);
}

#sf-web-section .sf-work-top {
  padding: 16px 16px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

#sf-web-section .sf-work-titlewrap {
  text-align: right;
  min-width: 0;
}

#sf-web-section .sf-work-name {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 800;
  color: #000;
}

#sf-web-section .sf-work-name a {
  color: inherit;
  text-decoration: none;
}

#sf-web-section .sf-work-name a:hover {
  color: var(--sf-orange);
}

#sf-web-section .sf-work-meta {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: .65;
}

#sf-web-section .sf-work-link {
  font-size: 12px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  text-decoration: none;
  color: #000;
  font-weight: 800;
  white-space: nowrap;
  background: var(--sf-orange);
}

#sf-web-section .sf-work-link:hover {
  color: #000;
  filter: brightness(.97);
}

#sf-web-section .sf-preview {
  position: relative;
  margin: 0 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  overflow: hidden;
}

#sf-web-section .sf-preview:before,
#sf-web-section .sf-preview:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 2;
  pointer-events: none;
}

#sf-web-section .sf-preview:before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.01), rgba(255,255,255,0));
}

#sf-web-section .sf-preview:after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255,255,255,.01), rgba(255,255,255,0));
}

#sf-web-section .sf-preview-viewport {
  height: 320px;
  overflow: auto;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: thin;
}

#sf-web-section .sf-preview-viewport.is-dragging,
#sf-web-section .sf-preview-viewport:active {
  cursor: grabbing;
  user-select: none;
}

#sf-web-section .sf-preview-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

#sf-web-section .sf-preview-ui {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

#sf-web-section .sf-preview-bar {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

#sf-web-section .sf-preview-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: rgba(0,0,0,.65);
}

#sf-web-section .sf-work-bottom {
  padding: 0 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

#sf-web-section .sf-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  align-items: center;
}

#sf-web-section .sf-tag {
  font-size: 9px;
  line-height: 1.2;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  opacity: 1;
  color: #111;
}

#sf-web-section .sf-tag-category {
  background: #fff;
  font-weight: 800;
}

#sf-web-section .sf-btn {
  border-radius: 12px;
  padding: 9px 12px;
  min-width: 42px;
  min-height: 42px;
  font-size: 16px;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#sf-web-section .sf-btn-ghost {
  background: rgba(0,0,0,.02);
}

@media (max-width: 980px) {
  #sf-web-section .sf-web-header h2 { font-size: 30px; }
  #sf-web-section .sf-works-grid { grid-template-columns: 1fr; }
  #sf-web-section .sf-preview-viewport { height: 360px; }
}

@media (max-width: 900px) {
  #sf-web-section {
    padding: 50px 16px 50px;
  }

  #sf-web-section .sf-web-layout {
    flex-direction: column;
    gap: 24px;
  }

  #sf-web-section .sf-web-header {
    flex: 1;
    position: static;
  }

  #sf-web-section .sf-web-header p {
    font-size: 17px;
  }

  #sf-web-section .sf-web-list {
    width: 100%;
  }
}

@media (max-width: 560px) {
  #sf-web-section .sf-work-top {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  #sf-web-section .sf-work-link {
    align-self: flex-start;
  }

  #sf-web-section .sf-preview-viewport {
    height: 310px;
  }
}


/* ===================== SF Fix v0.3.5: Home videos visible cards ===================== */
#sf-home-videos-section {
    background: #000 !important;
    color: #fff !important;
}

#sf-home-videos-section > div {
    display: grid !important;
    grid-template-columns: 1.4fr .7fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: auto !important;
    align-items: start !important;
}

#sf-home-videos-section .sf-home-videos-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 1px !important;
}

#sf-home-videos-section .sf-home-video-item {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #111 !important;
    text-decoration: none !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

#sf-home-videos-section .sf-home-video-item img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    opacity: 1 !important;
    transform: scale(1.01) !important;
}

#sf-home-videos-section .sf-home-video-item::after {
    content: '▶';
    position: absolute;
    inset-inline-start: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #000;
    display: grid;
    place-items: center;
    font-size: 15px;
    line-height: 1;
    z-index: 2;
}

#sf-home-videos-section .sf-home-video-item:hover img {
    transform: scale(1.06) !important;
    opacity: .96 !important;
}

@media (max-width: 900px) {
    #sf-home-videos-section > div {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    #sf-home-videos-section .sf-home-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* ===================== SF Fix v0.3.6: Home videos uses archive video cards ===================== */
#sf-home-videos-section.sf-home-videos-section {
    background: #000000 !important;
    color: #ffffff !important;
/*     padding: 80px 6vw !important; */
    min-height: auto !important;
    box-sizing: border-box !important;
}

#sf-home-videos-section .sf-home-videos-layout {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr) !important;
    grid-template-areas: "videos side" !important;
    gap: 56px !important;
    align-items: start !important;
    direction: ltr !important;
}

#sf-home-videos-section .sf-home-videos-side {
    grid-area: side !important;
    position: sticky !important;
    top: 70px !important;
    order: initial !important;
    direction: rtl !important;
    text-align: right !important;
    height: fit-content !important;
    display: block !important;
}

#sf-home-videos-section .sf-home-videos-side .sfv-side-block,
#sf-home-videos-section .sf-home-videos-title,
#sf-home-videos-section .sf-home-videos-lead {
    text-align: right !important;
}

#sf-home-videos-section .sf-home-videos-title {
    color: #ffffff !important;
    font-size: clamp(21px, 2.5vw, 29px) !important;
    line-height: 1.15 !important;
    margin: 0 0 18px !important;
    font-weight: 800 !important;
}

#sf-home-videos-section .sf-home-videos-lead {
    color: #ffffff !important;
    font-size: clamp(18px, 1.15vw, 21px) !important;
    line-height: 1.9 !important;
    opacity: .92 !important;
    margin: 0 0 14px 0 !important;
}

#sf-home-videos-section .sf-home-videos-grid {
    grid-area: videos !important;
    direction: rtl !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
    width: 100% !important;
    align-content: start !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item,
#sf-home-videos-section .sf-home-videos-grid .video-item {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 100% !important;
    aspect-ratio: auto !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #111111 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65) !important;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item > a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    transform: scale(1.02) !important;
    opacity: 1 !important;
    transition: transform 0.35s ease, filter 0.35s ease !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item::after {
    content: "" !important;
    position: absolute !important;
    inset: auto 0 0 0 !important;
    width: auto !important;
    height: 38% !important;
    border-radius: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent) !important;
    pointer-events: none !important;
    display: block !important;
    z-index: 1 !important;
}

#sf-home-videos-section .sf-home-videos-grid .sfv-play-icon {
    top: 6px !important;
    left: 6px !important;
    right: auto !important;
    bottom: auto !important;
    width: 66px !important;
    height: 66px !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: url(https://saadfaris.com/wp-content/uploads/2024/06/player-icon.svg) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 54% !important;
    color: transparent !important;
    display: block !important;
    place-items: initial !important;
    z-index: 3 !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.9) !important;
}

#sf-home-videos-section .sf-home-videos-grid .sf-home-video-item:hover img {
    transform: scale(1.08) !important;
    filter: brightness(1.04) !important;
    opacity: 1 !important;
}

@media (max-width: 1100px) {
    #sf-home-videos-section .sf-home-videos-layout {
        grid-template-columns: 1fr !important;
        grid-template-areas: "side" "videos" !important;
        gap: 34px !important;
        direction: rtl !important;
    }

    #sf-home-videos-section .sf-home-videos-side {
        position: static !important;
    }

    #sf-home-videos-section .sf-home-videos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 720px) {
    #sf-home-videos-section.sf-home-videos-section {
        padding: 56px 18px !important;
    }

    #sf-home-videos-section .sf-home-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    #sf-home-videos-section .sf-home-videos-grid .sf-home-video-item,
    #sf-home-videos-section .sf-home-videos-grid .video-item {
        border-radius: 22px !important;
    }

    #sf-home-videos-section .sf-home-videos-grid .sfv-play-icon {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ===================== v0.4.4 typography + spacing overrides ===================== */
section#sf-clients-section p {
    z-index: 1000;
    position: relative;
    font-size: 24px;
    padding: 0 !important;
    font-weight: 500;
}

.sf-hero-title {
    margin: 0;
    font-size: clamp(28px, 3.0vw, 40px);
    line-height: 1.5;
    font-weight: 800;
    text-align: right;
}

.sf-iban-bank {
    flex: 0 0 auto;
    width: 90px;
    height: 35px;
    border-radius: 16px;
    background: #071b2a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    overflow: hidden;
    font-weight: 900;
    font-size: 18px;
}

.sf-iban-bank img {
    max-width: 130px;
    max-height: 46px;
    width: 80%;
    height: auto;
    display: block;
    object-fit: contain;
}

.sf-iban-number {
    appearance: none;
    border: 0;
    cursor: pointer;
    width: 100%;
    display: block;
    background: transparent;
    color: #000;
    direction: ltr;
    text-align: center;
    padding: 28px 28px 31px;
    font: inherit;
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.05;
    letter-spacing: .04em;
    font-weight: 500;
    white-space: nowrap;
    overflow: auto hidden;
    user-select: all;
    scrollbar-width: none;
}

.sf-iban-name {
    min-width: 0;
    direction: ltr;
    text-align: right;
    font-size: clamp(20px, 4vw, 27px);
    letter-spacing: .045em;
    font-weight: 500;
    white-space: nowrap;
}

.sf-iban-copy-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    min-width: min(310px, 80vw);
    min-height: 56px;
    border-radius: 999px;
    background: var(--sf-orange, #fd5a16);
    color: #000;
    font: inherit;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    padding: 14px 28px;
    box-shadow: 0 16px 40px rgba(253, 90, 22, .17);
    transition: transform .18s ease, filter .18s ease;
    max-width: fit-content;
}

.sf-about-title {
    margin: 0 0 18px;
    font-size: 27px;
    font-weight: 800;
    color: var(--sf-orange);
}

.sf-about-p {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1;
}

.sf-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 21px;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(255, 255, 255, 0.95);
    color: #000;
    transition: background-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.sf-clients-header h2 {
    font-size: 33px;
    margin: 0 0 12px;
    font-weight: 800;
}

.sf-clients-header p {
    font-size: 23px;
    opacity: 0.7;
    margin: -5px 0 50px;
}

#sf-web-section .sf-web-header h2 {
    font-size: 29px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

#sf-home-videos-section .sf-home-videos-title {
    color: #ffffff !important;
    font-size: clamp(21px, 3vw, 36px) !important;
    line-height: 1.15 !important;
    margin: 0 0 18px !important;
    font-weight: 800 !important;
}

.sf-footer-main h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(18px, 4vw, 35px);
    line-height: .95;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.sf-footer-main p {
    max-width: 760px;
    margin: 24px 0 0;
    font-size: clamp(18px, 1vw, 24px);
    line-height: 1.65;
    color: rgba(255, 255, 255, .80);
}

.sf-footer-brief h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(20px, 2.4vw, 26px);
    line-height: 1.15;
    font-weight: 800;
}

.sf-footer-brief li {
    position: relative;
    padding-inline-start: 24px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(15px, 0.55vw, 21px);
    line-height: 1.45;
}

@media (max-width: 760px) {
    .sf-iban-name {
        flex: 1 1 auto;
        font-size: clamp(20px, 8.2vw, 20px);
        letter-spacing: .035em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sf-iban-bank {
        width: 77px;
        height: 30px;
        border-radius: 14px;
        padding: 9px 12px;
    }
}

@media (max-width: 390px) {
    .sf-iban-bank {
        width: 77px;
        height: 30px;
    }
}


/* v0.4.6 requested text sizing refinements */
.sf-hero-title{
    margin:0;
    font-size:clamp(19px,2vw,30px);
    line-height:1.5;
    font-weight:800;
    text-align:right;
}
.sf-about-p{
    margin:0 0 10px;
    font-size:18px;
    line-height:normal;
}
@media (max-width:700px){
    .sf-black-question{
        font-size:37px;
        margin:190px 0;
    }
    .sf-black-name{
        font-size:34px;
        margin:-60px 18px;
        text-align:center;
    }
    .sf-black-desc{
        font-size:15px;
        margin:30px auto;
    }
}


/* v0.5.0: move footer orange glow lower */
#sf-footer-cta::before{
background:
    radial-gradient(circle at 16% 85%, rgba(253, 90, 22, .22), transparent 28%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, .08), transparent 30%);
}


/* v0.5.1 Home videos CTA button */
#sf-home-videos-section .sf-home-videos-more {
    margin-top: 26px !important;
    display: inline-flex !important;
    width: fit-content !important;
    text-decoration: none !important;
}
@media (max-width: 720px) {
    #sf-home-videos-section .sf-home-videos-more {
        margin-top: 18px !important;
    }
}
