/*
 * Main Styles for SMK Terpadu Irsyadut Thulab
 * Custom CSS - Replacing style.css
 * Modern Dark Theme Design
 */

/* ========================================
   CSS VARIABLES
======================================== */
:root {
	--primary-color: #00f2a7;
	--secondary-color: #0a0e27;
	--accent-color: #ff6b6b;
	--text-color: #e4e4e7;
	--bg-color: #0a0e27;
	--card-bg: #1a1f3a;
	--navbar-bg: rgba(10, 14, 39, 0.95);
	--shadow: rgba(0, 242, 167, 0.1);
	--gradient-primary: linear-gradient(135deg, #00f2a7 0%, #00d4ff 100%);
	--gradient-hero: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(26, 31, 58, 0.9) 100%);
}

/* ========================================
   GLOBAL STYLES
======================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	max-width: 100vw;
	width: 100%;
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	max-width: 100vw;
	width: 100%;
	position: relative;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Sora', sans-serif;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95) !important;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.5rem;
}

h3 {
	font-size: 2rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	color: rgba(255, 255, 255, 0.85) !important;
	margin-bottom: 1rem;
}

a {
	color: var(--primary-color);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: #00d4ff;
}

small {
	color: rgba(255, 255, 255, 0.7) !important;
}

.text-dark {
	color: rgba(255, 255, 255, 0.95) !important;
}

.text-secondary {
	color: rgba(255, 255, 255, 0.7) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.container {
	max-width: 1200px !important;
	padding-left: 40px !important;
	padding-right: 40px !important;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.container-fluid {
	max-width: 100%;
	padding-left: 40px;
	padding-right: 40px;
}

section {
	padding: 80px 0;
	max-width: 100%;
	width: 100%;
	position: relative;
}

section .container,
section .container-fluid {
	max-width: 100%;
}

.row {
	max-width: 100%;
}

/* ========================================
   SECTION HEADER
======================================== */
.section-header {
	margin-bottom: 60px;
}

.section-header h3 {
	font-size: 2.5rem;
	font-weight: 800;
	position: relative;
	padding-bottom: 20px;
	display: inline-block;
}

.section-header h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background: var(--gradient-primary);
	border-radius: 2px;
}

.section-header p {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.7);
	max-width: 800px;
	margin: 0 auto;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 25px;
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.btn-primary {
	background: var(--gradient-primary);
	color: var(--bg-color);
	box-shadow: 0 8px 25px rgba(0, 242, 167, 0.3);
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 242, 167, 0.5);
	color: var(--bg-color);
}

.btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.15);
	color: white;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
}

.btn-outline:hover {
	background: rgba(0, 242, 167, 0.1);
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-3px);
}

.btn-success {
	background: linear-gradient(135deg, #00d084 0%, #00a67e 100%);
	color: white;
}

.btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 208, 132, 0.4);
}

/* ========================================
   CARDS
======================================== */
.card {
	background: var(--card-bg);
	border: 1px solid rgba(0, 242, 167, 0.1);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px var(--shadow);
	color: var(--text-color);
}

.card:hover {
	transform: translateY(-10px);
	box-shadow: 0 12px 25px var(--shadow);
	border-color: rgba(0, 242, 167, 0.3);
}

.card-header {
	background: var(--gradient-primary);
	color: var(--bg-color);
	padding: 18px 25px;
	font-size: 17px;
	font-weight: 600;
	border: none;
}

.card-body {
	padding: 25px;
	color: rgba(255, 255, 255, 0.9);
}

.card-footer {
	padding: 18px 25px;
	background: rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(0, 242, 167, 0.1);
	color: rgba(255, 255, 255, 0.9);
}

.card-img-top {
	height: 220px;
	object-fit: cover;
	transition: transform 0.5s ease;
	width: 100%;
}

.card:hover .card-img-top {
	transform: scale(1.1);
}

/* ========================================
   IMAGES
======================================== */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

.img-fluid {
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

figure.image {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 20px 0;
}

figure.image img {
	box-shadow: 0 8px 16px var(--shadow);
	border-radius: 8px;
}

/* ========================================
   HERO SECTION
======================================== */
#hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 80px;
	padding-bottom: 80px;
	background: var(--bg-color);
	overflow: hidden;
}

/* Animated Gradient Background */
.hero-bg-animated {
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg,
			rgba(0, 242, 167, 0.05) 0%,
			rgba(0, 212, 255, 0.05) 25%,
			rgba(138, 43, 226, 0.05) 50%,
			rgba(0, 212, 255, 0.05) 75%,
			rgba(0, 242, 167, 0.05) 100%);
	background-size: 400% 400%;
	animation: gradientShift 15s ease infinite;
	z-index: 0;
}

@keyframes gradientShift {

	0%,
	100% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}
}

/* Floating Particles */
.particles-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.particle {
	position: absolute;
	width: 4px;
	height: 4px;
	background: var(--primary-color);
	border-radius: 50%;
	opacity: 0.6;
	animation: float 20s infinite;
	box-shadow: 0 0 10px rgba(0, 242, 167, 0.5);
}

.particle:nth-child(1) {
	left: 10%;
	top: 20%;
	animation-duration: 15s;
	animation-delay: 0s;
}

.particle:nth-child(2) {
	left: 20%;
	top: 80%;
	animation-duration: 18s;
	animation-delay: 2s;
}

.particle:nth-child(3) {
	left: 30%;
	top: 40%;
	animation-duration: 22s;
	animation-delay: 4s;
}

.particle:nth-child(4) {
	left: 40%;
	top: 70%;
	animation-duration: 19s;
	animation-delay: 1s;
}

.particle:nth-child(5) {
	left: 50%;
	top: 30%;
	animation-duration: 21s;
	animation-delay: 3s;
}

.particle:nth-child(6) {
	left: 60%;
	top: 60%;
	animation-duration: 17s;
	animation-delay: 5s;
}

.particle:nth-child(7) {
	left: 70%;
	top: 25%;
	animation-duration: 20s;
	animation-delay: 2s;
}

.particle:nth-child(8) {
	left: 80%;
	top: 75%;
	animation-duration: 16s;
	animation-delay: 4s;
}

.particle:nth-child(9) {
	left: 90%;
	top: 50%;
	animation-duration: 23s;
	animation-delay: 1s;
}

.particle:nth-child(10) {
	left: 15%;
	top: 60%;
	animation-duration: 18s;
	animation-delay: 3s;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0) translateX(0) scale(1);
		opacity: 0.6;
	}

	25% {
		transform: translateY(-30px) translateX(20px) scale(1.2);
		opacity: 0.8;
	}

	50% {
		transform: translateY(-60px) translateX(-20px) scale(0.8);
		opacity: 0.4;
	}

	75% {
		transform: translateY(-30px) translateX(20px) scale(1.1);
		opacity: 0.7;
	}
}

/* Floating Shapes with Parallax */
.floating-shapes {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.shape {
	position: absolute;
	opacity: 0.05;
	animation: shapeFloat 25s ease-in-out infinite;
}

.shape-circle {
	width: 100px;
	height: 100px;
	background: var(--primary-color);
	border-radius: 50%;
	top: 15%;
	left: 10%;
	animation-duration: 20s;
}

.shape-square {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--primary-color), rgba(0, 212, 255, 0.8));
	transform: rotate(45deg);
	top: 60%;
	right: 15%;
	animation-duration: 25s;
	animation-delay: 2s;
}

.shape-triangle {
	width: 0;
	height: 0;
	border-left: 60px solid transparent;
	border-right: 60px solid transparent;
	border-bottom: 100px solid var(--primary-color);
	top: 70%;
	left: 20%;
	animation-duration: 30s;
	animation-delay: 4s;
}

.shape-hexagon {
	width: 90px;
	height: 50px;
	background: rgba(0, 212, 255, 0.8);
	position: relative;
	top: 25%;
	right: 20%;
	animation-duration: 22s;
	animation-delay: 1s;
}

.shape-hexagon::before,
.shape-hexagon::after {
	content: "";
	position: absolute;
	width: 0;
	border-left: 45px solid transparent;
	border-right: 45px solid transparent;
	left: 0;
}

.shape-hexagon::before {
	bottom: 100%;
	border-bottom: 25px solid rgba(0, 212, 255, 0.8);
}

.shape-hexagon::after {
	top: 100%;
	border-top: 25px solid rgba(0, 212, 255, 0.8);
}

@keyframes shapeFloat {

	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}

	25% {
		transform: translateY(-40px) rotate(90deg);
	}

	50% {
		transform: translateY(-80px) rotate(180deg);
	}

	75% {
		transform: translateY(-40px) rotate(270deg);
	}
}

#hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		radial-gradient(circle at 20% 50%, rgba(0, 242, 167, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
	z-index: 0;
}

#hero .container {
	position: relative;
	z-index: 10;
}

#hero .intro-info h2 {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

#hero .intro-info h2 #animasi {
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

#hero .intro-info h4 {
	font-size: 1.5rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 1.5rem;
}

#hero .intro-info p {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.8;
	margin-bottom: 2rem;
}

.btn-hero-primary {
	background: var(--gradient-primary);
	border: none;
	color: var(--bg-color);
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 50px;
	box-shadow: 0 8px 25px rgba(0, 242, 167, 0.3);
	transition: all 0.3s ease;
	font-size: 16px;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
}

.btn-hero-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 242, 167, 0.5);
	color: var(--bg-color);
}

.btn-hero-primary:active {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 242, 167, 0.4);
}

.btn-hero-outline {
	background: transparent;
	border: 2px solid var(--primary-color);
	color: var(--primary-color);
	font-weight: 600;
	padding: 14px 32px;
	border-radius: 50px;
	transition: all 0.3s ease;
	font-size: 16px;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
}

.btn-hero-outline:hover {
	background: rgba(0, 242, 167, 0.1);
	border-color: var(--primary-color);
	color: var(--primary-color);
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(0, 242, 167, 0.4);
}

.btn-hero-outline:active {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 242, 167, 0.3);
}

.hero-image-wrapper {
	position: relative;
	padding: 20px;
}

.hero-main-image {
	position: relative;
	z-index: 2;
	border-radius: 20px;
	/* box-shadow removed for cleaner look */
	image-rendering: -webkit-optimize-contrast;
	/* Edge 79+ */
	image-rendering: -moz-crisp-edges;
	/* Firefox */
	image-rendering: crisp-edges;
	/* Standard */
}

.hero-shape-1,
.hero-shape-2 {
	position: absolute;
	border-radius: 50%;
	z-index: 0;
	display: none;
	/* Hide glow shapes */
}

.hero-shape-1 {
	top: 0;
	right: 0;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(0, 242, 167, 0.15) 0%, transparent 70%);
	animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
	bottom: 0;
	left: 0;
	width: 150px;
	height: 150px;
	background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
	animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-20px);
	}
}

/* ========================================
   ABOUT SECTION - Moved to about-custom.css
======================================== */
/* About/Sambutan Kepala Sekolah styles have been moved to about-custom.css for better organization */

/* ========================================
   SERVICES SECTION
======================================== */
#services {
	background: rgba(26, 31, 58, 0.3);
}

.service-box,
.box {
	background: var(--card-bg);
	padding: 40px 30px;
	border-radius: 15px;
	text-align: center;
	transition: all 0.4s ease;
	border: 1px solid rgba(0, 242, 167, 0.1);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.service-box::before,
.box::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 242, 167, 0.1), transparent);
	transition: left 0.5s ease;
}

.service-box:hover::before,
.box:hover::before {
	left: 100%;
}

.service-box:hover,
.box:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 242, 167, 0.25) !important;
	border-color: rgba(0, 242, 167, 0.3) !important;
}

.service-box .icon,
.box .icon {
	font-size: 48px;
	color: var(--primary-color);
	margin-bottom: 20px;
	transition: all 0.3s ease;
	display: inline-block;
}

.service-box:hover .icon,
.box:hover .icon {
	transform: scale(1.1) rotate(5deg);
}

.service-box h4,
.box h4 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: white;
}

.service-box p,
.box p {
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
}

/* ========================================
   PORTFOLIO/GALLERY SECTION
======================================== */
#portfolio {
	background: var(--bg-color);
}

#portfolio-flters {
	list-style: none;
	padding: 0;
	margin: 0 0 40px 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

#portfolio-flters li {
	padding: 10px 25px;
	border-radius: 20px;
	border: 2px solid rgba(0, 242, 167, 0.2);
	background: transparent;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	transition: all 0.3s ease;
	font-weight: 600;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
	background: var(--gradient-primary);
	color: var(--bg-color);
	border-color: var(--primary-color);
}

.portfolio-wrap {
	position: relative;
	overflow: hidden;
	border-radius: 15px;
	box-shadow: 0 4px 15px var(--shadow);
	transition: all 0.4s ease;
}

.portfolio-wrap:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 242, 167, 0.25) !important;
}

.portfolio-wrap img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.portfolio-wrap:hover img {
	transform: scale(1.15);
}

.portfolio-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
	padding: 30px 20px 20px;
	transform: translateY(100%);
	transition: transform 0.4s ease;
}

.portfolio-wrap:hover .portfolio-info {
	transform: translateY(0);
}

.portfolio-info h4 {
	color: white;
	font-size: 1.25rem;
	margin-bottom: 5px;
}

.portfolio-info p {
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* ========================================
   TEAM SECTION
======================================== */
#team {
	background: rgba(26, 31, 58, 0.3);
}

.member {
	background: var(--card-bg);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.4s ease;
	border: 1px solid rgba(0, 242, 167, 0.1);
	text-align: center;
}

.member:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 242, 167, 0.25) !important;
	border-color: rgba(0, 242, 167, 0.3) !important;
}

.member .pic {
	overflow: hidden;
}

.member img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.member:hover img {
	transform: scale(1.1);
}

.member .member-info {
	padding: 25px 20px;
}

.member h4 {
	font-size: 1.25rem;
	margin-bottom: 5px;
	color: white;
}

.member span {
	color: var(--primary-color);
	font-size: 14px;
	display: block;
	margin-bottom: 15px;
}

.member p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
	margin: 0;
}

.member .social {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 15px;
}

.member .social a {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 2px solid rgba(0, 242, 167, 0.3);
	color: var(--primary-color);
	transition: all 0.3s ease;
}

.member .social a:hover {
	background: var(--primary-color) !important;
	color: var(--bg-color) !important;
	border-color: var(--primary-color) !important;
	transform: translateY(-3px);
}

/* ========================================
   BLOG/ARTIKEL SECTION
======================================== */
.blog-card {
	background: var(--card-bg);
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.4s ease;
	border: 1px solid rgba(0, 242, 167, 0.1);
	height: 100%;
}

.blog-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 242, 167, 0.25);
	border-color: rgba(0, 242, 167, 0.3);
}

.blog-img-wrapper {
	position: relative;
	overflow: hidden;
	max-width: 100%;
}

.blog-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-img {
	transform: scale(1.1);
}

/* ========================================
   CLIENT LOGOS
======================================== */
.client-logo-wrapper {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.client-logo-wrapper img {
	filter: grayscale(100%);
	opacity: 0.6;
	transition: all 0.3s ease;
	max-height: 80px;
	width: auto;
}

.client-logo-wrapper:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.1);
}

/* ========================================
   OWL CAROUSEL
======================================== */
.owl-carousel {
	max-width: 100% !important;
}

/* .owl-stage-outer overflow handled by owl carousel library */

.owl-nav button {
	background: rgba(0, 242, 167, 0.1) !important;
	color: var(--primary-color) !important;
	width: 40px;
	height: 40px;
	border-radius: 50% !important;
	font-size: 20px !important;
	transition: all 0.3s ease;
}

.owl-nav button:hover {
	background: var(--primary-color) !important;
	color: var(--bg-color) !important;
}

.owl-dots .owl-dot span {
	background: rgba(0, 242, 167, 0.3) !important;
}

.owl-dots .owl-dot.active span {
	background: var(--primary-color) !important;
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--gradient-primary);
	color: var(--bg-color);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	z-index: 996;
	box-shadow: 0 4px 15px rgba(0, 242, 167, 0.3);
	transition: all 0.3s ease;
	cursor: pointer;
}

.back-to-top:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 242, 167, 0.5);
}

/* ========================================
   ALERTS
======================================== */
.alert {
	border-radius: 12px;
	border: none;
	padding: 15px 20px;
}

.alert-success {
	background: rgba(0, 242, 167, 0.15);
	color: var(--primary-color);
	border: 1px solid rgba(0, 242, 167, 0.3);
}

.alert-danger {
	background: rgba(255, 107, 107, 0.15);
	color: #ff6b6b;
	border: 1px solid rgba(255, 107, 107, 0.3);
}

.alert-info {
	background: rgba(0, 212, 255, 0.15);
	color: #00d4ff;
	border: 1px solid rgba(0, 212, 255, 0.3);
}

/* ========================================
   AOS ANIMATIONS
======================================== */
/* AOS animations work without overflow restrictions */

/* ========================================
   SCROLLBAR - DISABLED (Using browser default)
======================================== */

/* ========================================
   FOOTER - Moved to footer-custom.css
======================================== */
/* Footer styles have been moved to footer-custom.css for better organization */

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 991px) {
	.container {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.container-fluid {
		padding-left: 20px;
		padding-right: 20px;
	}

	section {
		padding: 60px 0;
	}

	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	h3 {
		font-size: 1.75rem;
	}

	#hero {
		padding-top: 80px;
	}

	#hero .intro-info h2 {
		font-size: 2.5rem;
	}

	#hero .intro-info h4 {
		font-size: 1.25rem;
	}

	.section-header h3 {
		font-size: 2rem;
	}

	/* Tablet Hero adjustments */
	#hero .intro-info p {
		font-size: 1rem;
	}

	#hero .d-flex {
		gap: 1rem !important;
	}

	.btn-hero-primary,
	.btn-hero-outline {
		padding: 13px 28px;
	}
}

@media (max-width: 768px) {
	.container {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	section {
		padding: 50px 0;
	}

	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	h3 {
		font-size: 1.5rem;
	}

	/* Hero Section Mobile Optimization */
	#hero {
		padding-top: 100px;
		padding-bottom: 40px;
		min-height: unset;
	}

	#hero .row {
		min-height: unset !important;
	}

	#hero .intro-info {
		text-align: center;
		padding: 0 10px;
	}

	#hero .intro-info h2 {
		font-size: 1.75rem;
		line-height: 1.3;
		margin-bottom: 1rem !important;
	}

	#hero .intro-info h4 {
		font-size: 1rem;
		margin-bottom: 1rem !important;
		line-height: 1.5;
	}

	#hero .intro-info p {
		font-size: 0.95rem;
		line-height: 1.6;
		margin-bottom: 1.5rem !important;
	}

	/* Mobile buttons */
	#hero .d-flex {
		flex-direction: column !important;
		gap: 0.75rem !important;
		align-items: center;
	}

	.btn-hero-primary,
	.btn-hero-outline {
		width: 100%;
		max-width: 280px;
		padding: 12px 24px;
		font-size: 15px;
		justify-content: center;
	}

	/* Hero Image Mobile */
	#hero .intro-img {
		margin-bottom: 2rem !important;
		padding: 0 20px;
	}

	#hero .hero-image-wrapper {
		padding: 10px;
		max-width: 100%;
	}

	#hero .hero-main-image {
		border-radius: 15px;
	}

	/* Hide decorative shapes on hero image for cleaner mobile look */
	#hero .hero-shape-1,
	#hero .hero-shape-2 {
		display: none;
	}

	/* Hide some particles and shapes on mobile for better performance */
	.particle:nth-child(n+6),
	.shape-hexagon,
	.shape-triangle {
		display: none;
	}

	/* Reduce shape sizes on mobile */
	.shape-circle {
		width: 50px;
		height: 50px;
		opacity: 0.03;
	}

	.shape-square {
		width: 40px;
		height: 40px;
		opacity: 0.03;
	}

	/* Reduce particle opacity on mobile */
	.particle {
		opacity: 0.3;
		width: 3px;
		height: 3px;
	}

	/* Reduce animated background intensity */
	.hero-bg-animated {
		opacity: 0.5;
	}

	.btn {
		padding: 10px 24px;
		font-size: 14px;
	}

	.card-img-top,
	.blog-img {
		height: 200px;
	}

	.portfolio-wrap img {
		height: 250px;
	}

	.member img {
		height: 250px;
	}
}

@media (max-width: 576px) {
	.container {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.container-fluid {
		padding-left: 15px;
		padding-right: 15px;
	}

	section {
		padding: 40px 0;
	}

	/* Small Mobile Hero Optimization */
	#hero {
		padding-top: 90px;
		padding-bottom: 30px;
	}

	#hero .intro-info h2 {
		font-size: 1.5rem;
		margin-bottom: 0.75rem !important;
	}

	#hero .intro-info h4 {
		font-size: 0.9rem;
		margin-bottom: 0.75rem !important;
	}

	#hero .intro-info p {
		font-size: 0.875rem;
		line-height: 1.5;
		margin-bottom: 1.25rem !important;
	}

	.btn-hero-primary,
	.btn-hero-outline {
		padding: 10px 20px;
		font-size: 14px;
	}

	#hero .intro-img {
		margin-bottom: 1.5rem !important;
		padding: 0 10px;
	}

	.section-header h3 {
		font-size: 1.5rem;
	}

	.service-box,
	.box {
		padding: 30px 20px;
	}

	.service-box .icon,
	.box .icon {
		font-size: 36px;
	}

	#portfolio-flters li {
		padding: 8px 16px;
		font-size: 14px;
	}

	.back-to-top {
		width: 45px;
		height: 45px;
		bottom: 20px;
		right: 20px;
	}
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

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

.text-justify {
	text-align: justify;
}

.d-none {
	display: none;
}

.d-block {
	display: block;
}

.d-flex {
	display: flex;
}

.d-inline-block {
	display: inline-block;
}

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

.justify-content-between {
	justify-content: space-between;
}

.align-items-center {
	align-items: center;
}

.flex-column {
	flex-direction: column;
}

.mb-0 {
	margin-bottom: 0 !important;
}

.mb-1 {
	margin-bottom: 0.25rem !important;
}

.mb-2 {
	margin-bottom: 0.5rem !important;
}

.mb-3 {
	margin-bottom: 1rem !important;
}

.mb-4 {
	margin-bottom: 1.5rem !important;
}

.mb-5 {
	margin-bottom: 3rem !important;
}

.mt-0 {
	margin-top: 0 !important;
}

.mt-1 {
	margin-top: 0.25rem !important;
}

.mt-2 {
	margin-top: 0.5rem !important;
}

.mt-3 {
	margin-top: 1rem !important;
}

.mt-4 {
	margin-top: 1.5rem !important;
}

.mt-5 {
	margin-top: 3rem !important;
}

.p-0 {
	padding: 0 !important;
}

.p-1 {
	padding: 0.25rem !important;
}

.p-2 {
	padding: 0.5rem !important;
}

.p-3 {
	padding: 1rem !important;
}

.p-4 {
	padding: 1.5rem !important;
}

.p-5 {
	padding: 3rem !important;
}

.position-relative {
	position: relative;
}

.position-absolute {
	position: absolute;
}

.position-fixed {
	position: fixed;
}

.w-100 {
	width: 100%;
}

.h-100 {
	height: 100%;
}

.rounded {
	border-radius: 8px;
}

.rounded-circle {
	border-radius: 50%;
}

.shadow {
	box-shadow: 0 4px 15px var(--shadow);
}

.shadow-lg {
	box-shadow: 0 15px 40px rgba(0, 242, 167, 0.25);
}
