/* Custom overrides */

/* ── NAVBAR GRADIENT BACKGROUND ─────────────────────────────────────
   Adds a black gradient behind the logo + nav links so they read
   clearly against any section background (video, images, dark).
   The .ptf-navbar-background element is the theme's intended backdrop;
   we always keep it visible and give it a gradient instead of solid.
   ─────────────────────────────────────────────────────────────────── */
.ptf-navbar--main .ptf-navbar-background {
	height: 100% !important;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.45) 60%,
		rgba(0, 0, 0, 0.0) 100%
	) !important;
	-webkit-box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

/* Solid state (when user scrolls inside a section) — go more opaque */
.ptf-navbar--solid.ptf-navbar--main .ptf-navbar-background {
	background: linear-gradient(
		to bottom,
		rgba(5, 5, 18, 0.96) 0%,
		rgba(5, 5, 18, 0.90) 100%
	) !important;
	-webkit-box-shadow: 0 2px 20px rgba(0, 0, 0, 0.55) !important;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.55) !important;
}

/* ── TOP NAVIGATION: show on desktop/laptop, hide on mobile/tablet ── */

/* Show the centre nav on desktop/laptop (≥ 1024px) */
@media (min-width: 1024px) {
	.ptf-navbar .ptf-navbar-inner--center {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: -ms-flexbox !important;
		display: flex !important;
	}
	/* Hide the hamburger burger on desktop/laptop */
	.ptf-menu-burger {
		display: none !important;
	}
}

/* Hide the centre nav and show the burger on mobile/tablet (< 1024px) */
@media (max-width: 1023px) {
	.ptf-navbar .ptf-navbar-inner--center {
		display: none !important;
	}
	.ptf-menu-burger {
		display: -webkit-box !important;
		display: -webkit-flex !important;
		display: flex !important;
	}
}

/* Make the navbar logo larger and more visible */
.ptf-navbar .ptf-navbar-logo img{
	/* allow the image to scale but cap height/width for layout stability */
	max-height: 4rem; /* ~64px default */
	max-width: 180px; /* limit width so it doesn't overflow */
	height: auto;
	width: auto;
	display: block;
	
	/* Fix for SVG blurriness on mobile/iOS Safari */
	transform: translateZ(0);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	image-rendering: crisp-edges;
	image-rendering: -webkit-optimize-contrast;
}


/* Slightly larger on very wide screens */
@media (min-width: 1200px){
	.ptf-navbar .ptf-navbar-logo img{
		max-height: 5rem; /* ~80px on large screens */
		max-width: 220px;
	}
}

/* Make logo more prominent on tablet */
@media (max-width: 768px){
	.ptf-navbar .ptf-navbar-logo img{
		max-height: 3.5rem; /* ~56px on tablet */
		max-width: 180px;
	}
}

/* Make logo prominent on mobile view */
@media (max-width: 576px){
	.ptf-navbar .ptf-navbar-logo img{
		max-height: 3rem; /* Increased from 2.25rem to 3rem (~48px) */
		max-width: 160px; /* Increased from 120px */
	}
}

/* Extra prominence for very small phones */
@media (max-width: 480px){
	.ptf-navbar .ptf-navbar-logo img{
		max-height: 2.75rem; /* ~44px */
		max-width: 145px;
	}
}


/* Layout improvements: make lists form columns on wider screens and avoid overflow */
.ptf-list{
	margin: 0;
	padding-left: 1.15rem;
}

/* turn long lists into two columns on medium+ screens for compactness */
@media (min-width: 768px){
	.ptf-list{
		column-count: 2;
		column-gap: 2rem;
	}
}

/* Ensure section content doesn't exceed readable width */
.ptf-section__content > .container,
.ptf-section__content .container{
	max-width: 1100px;
}

/* Large monitor container adjustments */
@media (min-width: 1400px) {
	.ptf-section__content > .container,
	.ptf-section__content .container {
		max-width: 1300px;
	}
}

@media (min-width: 1920px) {
	.ptf-section__content > .container,
	.ptf-section__content .container {
		max-width: 1500px;
	}
}

/* Improve spacing on large monitors */
@media (min-width: 1400px) {
	.home-splash .ptf-gap-30 {
		height: 2.5rem;
	}
	
	.home-splash .ptf-gap-0-vh {
		height: 1.5rem;
	}
}

@media (min-width: 1920px) {
	.home-splash .ptf-gap-30 {
		height: 3rem;
	}
	
	.home-splash .ptf-gap-0-vh {
		height: 2rem;
	}
}

/* Prevent marquee images or other large content from causing horizontal scroll */
.ptf-portfolio-marquee img,
.ptf-section__ken-burn-background img{
	max-width: 100%;
	height: auto;
	display: block;
}

/* Small adjustments for the lists inside About column to align spacing */
.ptf-animate-element .ptf-list{
	margin-top: .25rem;
}

/* Override: reduce the large top padding for fullpage slider sections.
   Kept in custom.css so vendor files remain untouched and it's easy to tweak. */
.ptf-fullpage-slider .ptf-section__content{
	padding-top: 10rem !important;
}


.min-vh-100 {
    min-height: 50vh !important;
}

.ptf-post--single{padding-top:10px;}

/* Responsive hero tweaks for the home splash */
.home-splash .ptf-animate-element {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.home-splash .ptf-animate-element h1 {
	/* fluid type: clamps between mobile and desktop sizes */
	font-size: clamp(1.6rem, 5.5vw, 3.2rem);
	line-height: 1.08;
	margin: 0;
	word-break: break-word;
}

/* Large monitor optimizations */
@media (min-width: 1400px) {
	.home-splash .ptf-animate-element h1 {
		font-size: clamp(3.2rem, 4vw, 4.5rem) !important;
		line-height: 1.1;
		margin-left:-160px;
		margin-top:-280px;
		width:460px;
	}
}

/* Extra large monitors (1920px+) */
@media (min-width: 1920px) {
	.home-splash .ptf-animate-element h1 {
		font-size: clamp(4rem, 3.5vw, 5.5rem);
		line-height: 1.12;
	}
	
	.home-splash .ptf-animate-element {
		max-width: 70%;
	}
}

/* Ultra-wide and 4K monitors */
@media (min-width: 2560px) {
	.home-splash .ptf-animate-element h1 {
		font-size: 5.5rem;
		line-height: 1.15;
		margin-left:-700px;
		margin-top:-30px;
		width:900px
	
	}
	
	.home-splash .ptf-animate-element {
		max-width: 60%;
	}
	
	.home-splash .ptf-animate-element .divider {
		margin-top: 1rem;
		width: 80px;
		height: 4px;
	}
}

.home-splash .ptf-animate-element .divider {
	margin-top: .5rem;
}

/* Ensure the hero background scales without horizontal overflow */
.home-splash .jarallax-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* High-DPI display optimizations for extra large monitors */
@media (min-width: 1920px) and (-webkit-min-device-pixel-ratio: 1.5),
       (min-width: 1920px) and (min-resolution: 144dpi) {
	.home-splash {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
}

/* Prevent background image shifting on scroll for large monitors */
@media (min-width: 1400px) {
	.home-splash {
		background-attachment: fixed;
		transform: translate3d(0, 0, 0);
		-webkit-transform: translate3d(0, 0, 0);
	}
}



/* Reduce large top padding on smaller screens and center text for better mobile UX */
@media (max-width: 991px) {
	.ptf-fullpage-slider .ptf-section__content{
		padding-top: 4.5rem !important;
	}
	.min-vh-100{
		min-height: 45vh !important;
	}
	.home-splash .ptf-animate-element{
		align-items: center;
		text-align: center;
		padding-left: 1rem;
		padding-right: 1rem;
		position: relative;
        top: 346px;
	}
	.home-splash .ptf-animate-element h1 {
		font-size: clamp(1.5rem, 7vw, 2.2rem);
		line-height: 1.12;
	}
	.home-splash .ptf-gap-30 { height: 0.8rem; }
	.ptf-gap-15-vh { height: 8vh; }
}

@media (max-width: 480px) {
	.home-splash .ptf-animate-element h1 {
		font-size: 1.5rem;
		line-height: 1.15;
		margin-top:-200px;
		background:#000;
		padding:20px;
	}
	.ptf-fullpage-slider .ptf-section__content{
		padding-top: 4.9rem !important;
	}
	.min-vh-100{
		min-height: 40vh !important;
	}
}

/* Blog Share Section Styles */
.ptf-post-share {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.ptf-post-share h6 {
	margin-bottom: 15px;
	color: #fff;
	font-weight: 600;
}

.ptf-share-buttons {
	display: flex;
	gap: 12px;
}

.ptf-share-linkedin {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #0077b5;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.ptf-share-linkedin:hover {
	background: #005885;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
	color: white;
	text-decoration: none;
}

.ptf-share-linkedin svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Responsive adjustments for share section */
@media (max-width: 768px) {
	.ptf-post-share {
		padding: 16px;
		margin-bottom: 16px;
	}
	
	.ptf-share-linkedin {
		padding: 8px 14px;
		font-size: 13px;
	}
	
	.ptf-share-linkedin svg {
		width: 16px;
		height: 16px;
	}
}

/* Blog Rating System Styles */
.ptf-post-rating {
	background: #000;
	border-radius: 12px;
	padding: 24px;
	margin-top: 30px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.ptf-post-rating h6 {
	margin-bottom: 15px;
	color: #fff;
	font-weight: 600;
}

.ptf-rating-stars {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
}

.ptf-rating-star {
	font-size: 28px;
	color: rgba(255, 255, 255, 0.3);
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.ptf-rating-star:hover,
.ptf-rating-star--active {
	color: #ffc107;
	transform: scale(1.1);
}

.ptf-rating-star:hover {
	filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.4));
}

.ptf-rating-info {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 10px;
}

.ptf-rating-average {
	font-weight: 600;
	color: #fff;
}

.ptf-rating-count {
	color: rgba(255, 255, 255, 0.6);
}

.ptf-rating-message {
	font-size: 14px;
	font-weight: 500;
	min-height: 20px;
	transition: opacity 0.3s ease;
	color: #0acf83;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ptf-post-rating {
		padding: 20px 16px;
		margin-top: 25px;
	}
	
	.ptf-rating-star {
		font-size: 24px;
	}
	
	.ptf-rating-info {
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
}

:root {
	--ptf-color-accent: #f0e293 !important;
}

/* Secondary Button Style */
.ptf-btn--secondary {
	color: var(--ptf-color-accent);
	background-color: transparent;
	border: 2px solid var(--ptf-color-accent);
}

.ptf-btn--secondary:hover {
	color: var(--ptf-color-3);
	background-color: var(--ptf-color-accent);
	border-color: var(--ptf-color-accent);
}

/* Chip Styles */
.chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: rgba(240, 226, 147, 0.1);
	border: 1px solid rgba(240, 226, 147, 0.3);
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	color: #f0e293;
	text-decoration: none;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.chip:hover {
	background: rgba(240, 226, 147, 0.2);
	border-color: rgba(240, 226, 147, 0.5);
	color: #f0e293;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(240, 226, 147, 0.2);
}

.chip-container {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

/* Contact Section Styling */
.ptf-contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.ptf-contact-item a {
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: all 0.3s ease;
	padding: 8px 0;
}

.ptf-contact-item a:hover {
	color: var(--ptf-color-accent) !important;
	transform: translateX(5px);
}

.ptf-contact-item i {
	color: var(--ptf-color-accent);
	transition: all 0.3s ease;
	width: 24px;
	text-align: center;
}

.ptf-contact-item a:hover i {
	transform: scale(1.1);
}

/* Responsive contact icons */
@media (max-width: 768px) {
	.ptf-contact-item i {
		font-size: 1.1em !important;
		width: 20px;
		margin-right: 8px !important;
	}
}

@media (max-width: 576px) {
	.ptf-contact-item i {
		font-size: 1em !important;
		width: 18px;
		margin-right: 6px !important;
	}
}

/* Blog post thumbnail consistency */
.ptf-post--masonry .ptf-post-thumbnail {
	height: 350px; /* Fixed height for all blog thumbnails */
	overflow: hidden;
	background-color: #f8f9fa;
}

.ptf-post--masonry .ptf-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Ensures image covers the entire area while maintaining aspect ratio */
	object-position: center; /* Centers the image within the container */
}

/* Responsive adjustments for blog thumbnails */
@media (max-width: 768px) {
	.ptf-post--masonry .ptf-post-thumbnail {
		height: 200px;
	}
}

@media (max-width: 576px) {
	.ptf-post--masonry .ptf-post-thumbnail {
		height: 180px;
	}
}

/* Premium Hero Title Reveal Animation */
@keyframes heroTextReveal {
	from {
		transform: translateY(115%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.hero-animated-title {
	display: block;
	overflow: hidden;
	position: relative;
	z-index: 2;
	/* Premium subtle dark radial gradient backdrop for ultimate font legibility */
	background: radial-gradient(circle at 10% 50%, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.55) 75%, rgba(15, 15, 15, 0) 100%);
	padding: 24px 36px;
	border-radius: 16px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.04);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
	max-width: 100%;
	
	/* Refined and perfectly scaled font sizing */
	font-size: clamp(1.4rem, 3.2vw, 2.0rem) !important;
	line-height: 1.15;
}

@media (min-width: 1200px) {
	.hero-animated-title {
		padding: 30px 48px;
		max-width: 540px;
		font-size: 2.4rem !important;
	}
}

@media (max-width: 991px) {
	.hero-animated-title {
		padding: 20px 30px;
		background: radial-gradient(circle at center, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.7) 100%);
		text-align: center;
		margin: 0 auto;
		font-size: 1.6rem !important;
	}
}

.hero-line {
	display: block;
	overflow: hidden;
	margin-bottom: 8px;
}

.hero-word-accent {
	display: inline-block;
	color: var(--ptf-color-accent);
	transform: translateY(115%);
	opacity: 0;
	animation: heroTextReveal 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation-delay: 0.1s;
}

.hero-word-light {
	display: inline-block;
	color: #ffffff;
	transform: translateY(115%);
	opacity: 0;
	animation: heroTextReveal 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation-delay: 0.3s;
	margin-left: 14px;
}

.hero-word-name {
	display: inline-block;
	color: #ffffff;
	transform: translateY(115%);
	opacity: 0;
	animation: heroTextReveal 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
	animation-delay: 0.6s;
}

/* Portfolio project title — reduce size and tighten line-height */
.ptf-portfolio-slider .ptf-work-title,
.ptf-portfolio-slider .ptf-work-title a,
.ptf-portfolio-slider .ptf-work-title span {
	font-size: 1.25rem !important;
	line-height: 1.05 !important;
	letter-spacing: 0 !important;
}

/* Highlight active project title in swiper carousel */
.ptf-portfolio-slider .swiper-slide-active .ptf-work-title a,
.ptf-portfolio-slider .swiper-slide-active .ptf-work-title span {
	color: #f0e293 !important;
	text-shadow: 0 0 10px rgba(240, 226, 147, 0.2);
	transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* ── PORTFOLIO CAROUSEL — DOTS + PLAY/PAUSE ───────────────────── */

/* Wrapper that positions the play/pause alongside the swiper */
.ptf-portfolio-carousel-wrap {
	position: relative;
}

/* Extra spacing between project names and the dots/controls row */
.ptf-portfolio-slider {
	padding-bottom: 48px !important;
}

/* ---- Pagination dots ---- */
.ptf-portfolio-slider .swiper-pagination {
	bottom: 14px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 8px;
	/* leave room on the right for the play/pause button */
	padding-right: 48px;
}

.ptf-portfolio-slider .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	opacity: 1;
	-webkit-transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

/* Hover state */
.ptf-portfolio-slider .swiper-pagination-bullet:hover {
	background: rgba(240, 226, 147, 0.7);
	-webkit-transform: scale(1.25);
	transform: scale(1.25);
}

/* Active state */
.ptf-portfolio-slider .swiper-pagination-bullet-active {
	background: #f0e293 !important;
	width: 22px;
	height: 8px;
	border-radius: 4px;
	-webkit-transform: none;
	transform: none;
	-webkit-box-shadow: 0 0 8px rgba(240, 226, 147, 0.55);
	box-shadow: 0 0 8px rgba(240, 226, 147, 0.55);
}

/* ---- Play / Pause button ---- */
.ptf-portfolio-controls {
	position: absolute;
	bottom: 8px;
	right: 0;
	z-index: 10;
}

.ptf-portfolio-playpause {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	background: rgba(0, 0, 0, 0.4);
	color: rgba(255, 255, 255, 0.7);
	cursor: pointer;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	-webkit-transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ptf-portfolio-playpause:hover {
	border-color: #f0e293;
	color: #f0e293;
	background: rgba(240, 226, 147, 0.12);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

/* Playing state: subtle accent tint on the button */
.ptf-portfolio-playpause.is-playing {
	border-color: rgba(240, 226, 147, 0.5);
	color: rgba(240, 226, 147, 0.85);
}

/* Anchor the hero title card to the bottom of the splash screen across all viewports */
.home-splash {
	height: 100vh !important;
	min-height: 100vh !important;
	max-height: 100vh !important;
	/* Do NOT force position:relative — pagepiling needs to set position:absolute on sections */
	overflow: hidden !important;
}

.home-splash-video {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.home-splash .ptf-section__vertical-align {
	height: 100% !important;
	min-height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important; /* Push everything vertically to the bottom */
	align-items: stretch !important; /* Allow child sections to take up full horizontal width */
	padding-bottom: 0 !important;
}

.home-splash .ptf-section__content {
	display: flex !important;
	align-items: flex-end !important; /* Align the container to the absolute bottom */
	padding-top: 0 !important;
	padding-bottom: 50px !important; /* Premium bottom spacing on standard desktop/laptops */
	min-height: auto !important;
	height: auto !important;
}

@media (min-width: 1400px) {
	.home-splash .ptf-section__content {
		padding-bottom: 60px !important; /* Exquisite bottom gap on large monitors */
	}
}

@media (max-width: 991px) {
	.home-splash .ptf-section__vertical-align {
		justify-content: flex-end !important;
		align-items: stretch !important;
		padding-bottom: 0 !important;
	}
	.home-splash .ptf-section__content {
		align-items: flex-end !important;
		justify-content: center !important; /* Centered layout for mobile/tablet presentation */
		padding-bottom: 40px !important; /* Positioned nicely near the bottom on tablets */
	}
}

@media (max-width: 575px) {
	.home-splash .ptf-section__content {
		padding-bottom: 30px !important; /* Sits cleanly near the bottom on smaller mobile devices */
	}
}

/* Polished Blog Post Header Typography & Spacing Overrides */
.ptf-post-title {
	font-size: clamp(1.05rem, 1.8vw, 1.25rem) !important; /* Elegant, premium fluid blog post heading size */
	line-height: 1.4 !important; /* Breathing room to completely resolve overlapping lines */
	font-weight: 600 !important;
	letter-spacing: -0.015em !important;
	margin-top: 12px !important;
	margin-bottom: 0 !important;
}

.ptf-post-title a {
	font-size: inherit !important;
	line-height: inherit !important;
	color: #ffffff !important;
	transition: color 0.3s ease;
}

.ptf-post-title a:hover {
	color: #f0e293 !important; /* Premium soft yellow hover glow */
	text-shadow: 0 0 8px rgba(240, 226, 147, 0.2);
}

@media (max-width: 991px) {
	.ptf-post-title {
		font-size: clamp(1.0rem, 3.5vw, 1.15rem) !important;
		line-height: 1.35 !important;
	}
}

/* Polished footer copyright disclaimer typography */
.ptf-footer__copyright {
	font-size: 11px !important; /* Premium small font size */
	color: rgba(255, 255, 255, 0.35) !important; /* Elegant muted color */
	letter-spacing: 0.8px !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
}

@media (max-width: 575px) {
	.ptf-footer__copyright {
		font-size: 9.5px !important; /* Scaled slightly smaller on phone screens */
		letter-spacing: 0.5px !important;
	}
}

/* ====================================================
   Contact Form — Floating Label Fix
   Creates padding-top space so the label can float
   above the input without overlapping typed text.
   ==================================================== */

#contactForm .ptf-form-group {
	padding-top: 1.5rem;
	margin-bottom: 1.5rem;
}

/* Default: label sits at the top of the input field (inside it, like a placeholder) */
#contactForm .ptf-form-label {
	top: 1.5rem;
	bottom: auto;
	font-size: 1em;
	color: rgba(255, 255, 255, 0.5);
	-webkit-transform: translateY(0.35rem);
	-ms-transform: translateY(0.35rem);
	transform: translateY(0.35rem);
	-webkit-transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, -webkit-transform 0.2s ease;
	transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Floated: label moves into the padding area above the input */
#contactForm .ptf-form-control:focus + .ptf-form-label,
#contactForm .ptf-form-control:not(:placeholder-shown) + .ptf-form-label {
	top: 0 !important;
	font-size: 0.75em !important;
	-webkit-transform: translateY(0) !important;
	-ms-transform: translateY(0) !important;
	transform: translateY(0) !important;
	color: var(--ptf-color-accent) !important;
}

/* Ensure typed text is clearly visible */
#contactForm .ptf-form-control {
	color: #ffffff !important;
}

/* Confirmation / error messages */
#contactForm .message.success {
	padding: 0.75rem 1rem;
	background: rgba(76, 175, 80, 0.15);
	border-left: 3px solid #4caf50;
	color: #81c784 !important;
	border-radius: 4px;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

#contactForm .message.danger {
	padding: 0.75rem 1rem;
	background: rgba(244, 67, 54, 0.15);
	border-left: 3px solid #f44336;
	color: #e57373 !important;
	border-radius: 4px;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

/* LinkedIn link in contact form */
.ptf-contact-linkedin {
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.75) !important;
	text-decoration: none;
	font-size: 0.9em;
	margin-top: 1.25rem;
	-webkit-transition: color 0.2s ease;
	transition: color 0.2s ease;
}

.ptf-contact-linkedin:hover {
	color: var(--ptf-color-accent) !important;
}

/* ================================================================
   COMPREHENSIVE RESPONSIVE FIXES — MOBILE, TABLET & DESKTOP
   Covers: About · Portfolio · Experience · Testimonials · Blog · Contact
   ================================================================ */

/* ── Shared: section padding ─────────────────────────────────── */
@media (max-width: 767px) {
	.ptf-fullpage-slider .ptf-section__content {
		padding-top: 3.5rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}
}

/* ── Shared: global gap overrides on small screens ───────────── */
@media (max-width: 575px) {
	.ptf-gap-70 { height: 1.25rem !important; }
	.ptf-gap-60 { height: 1rem !important; }
	.ptf-gap-50 { height: 0.875rem !important; }
	.ptf-gap-40 { height: 0.75rem !important; }
	.ptf-gap-30 { height: 0.5rem !important; }
	.ptf-gap-25 { height: 0.375rem !important; }
	.ptf-gap-20 { height: 0.25rem !important; }
}

/* ── ABOUT ───────────────────────────────────────────────────── */
@media (max-width: 991px) {
	/* Full-width stacked columns */
	#About .col-lg-5,
	#About .col-lg-6 {
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#About .offset-lg-1 {
		margin-left: 0 !important;
	}
	/* Single-column skill lists on small tablets and phones */
	#About .ptf-list {
		-webkit-column-count: 1 !important;
		-moz-column-count: 1 !important;
		column-count: 1 !important;
	}
	#About .ptf-gap-40 { height: 1.25rem; }
}

@media (min-width: 576px) and (max-width: 991px) {
	/* Re-enable two-column skill lists on larger tablets */
	#About .ptf-list {
		-webkit-column-count: 2 !important;
		-moz-column-count: 2 !important;
		column-count: 2 !important;
	}
}

/* ── PORTFOLIO ───────────────────────────────────────────────── */
@media (max-width: 575px) {
	#Portfolio .ptf-gap-50 { height: 0.75rem; }
	/* Ensure portfolio images don't overflow */
	.ptf-work-thumbnail img {
		width: 100% !important;
		height: auto !important;
	}
}

/* ── EXPERIENCE ──────────────────────────────────────────────── */
@media (max-width: 767px) {
	/* Company logo – smaller on mobile */
	.ptf-timeline-item__image {
		max-width: 70px !important;
		width: auto !important;
		height: auto !important;
		margin-bottom: 0.5rem;
	}
	/* Download resume link – centre it */
	#Experience .col-md-6.text-md-end {
		text-align: center !important;
		margin-top: 0.5rem;
	}
	#Experience .ptf-gap-60 { height: 1rem; }
}

@media (max-width: 575px) {
	.ptf-timeline-item__image {
		max-width: 55px !important;
	}
	/* Reduce inter-item spacing in timeline */
	.ptf-timeline-item + .ptf-timeline-item {
		margin-top: 1.5rem;
	}
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
@media (max-width: 991px) {
	#Testimonials .col-lg-6,
	#Testimonials .col-lg-4 {
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#Testimonials .offset-lg-2 {
		margin-left: 0 !important;
	}
	#Testimonials .ptf-gap-60 { height: 1.25rem; }
	#Testimonials h2 {
		font-size: clamp(1.3rem, 4vw, 1.8rem) !important;
		line-height: 1.25 !important;
	}
	/* Quote image – smaller on mobile */
	#Testimonials img[src*="quote"] {
		max-width: 48px !important;
		height: auto !important;
	}
}

@media (max-width: 575px) {
	.ptf-testimonial-item__content p {
		font-size: 0.85rem !important;
		line-height: 1.55 !important;
	}
}

/* ── BLOG ────────────────────────────────────────────────────── */
@media (max-width: 767px) {
	#Blog .col-md-4 {
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#Blog .ptf-gap-40 { height: 0.5rem; }
	/* Slightly taller thumbnails so images don't look tiny */
	#Blog .ptf-post--masonry .ptf-post-thumbnail {
		height: 220px;
	}
}

/* ── CONTACT ─────────────────────────────────────────────────── */
@media (max-width: 991px) {
	#Contact .col-lg-6 {
		-webkit-flex: 0 0 100%;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	#Contact h1 {
		font-size: clamp(1.8rem, 5vw, 2.6rem) !important;
	}
	#Contact .ptf-gap-60 { height: 1rem; }
	#Contact .ptf-gap-50 { height: 0.875rem; }
	#Contact .ptf-gap-25,
	#Contact .ptf-gap-20 { height: 0.5rem; }
	/* Give the form top breathing room when stacked below contact info */
	#Contact .col-lg-6:last-child {
		margin-top: 1.5rem;
	}
}

/* ── CONTACT FORM (mobile) ───────────────────────────────────── */
@media (max-width: 767px) {
	/* Force single-column on the two-column name+phone row */
	#contactForm .ptf-form-row.two-col {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

/* ── NAVBAR / HEADER tweaks ──────────────────────────────────── */
@media (max-width: 991px) {
	/* Keep the offcanvas trigger tappable */
	.ptf-navbar .ptf-navbar__burger {
		min-width: 44px;
		min-height: 44px;
	}
}

/* ── GENERAL overflow guard ──────────────────────────────────── */
.ptf-section__content .container {
	overflow-x: hidden;
}

@media (max-width: 767px) {
	.ptf-section__content .container {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
}

/* ── GLOBAL RESPONSIVE IMAGES ────────────────────────────────── */
img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

