/* Modern Professional Styles - Theme System */
:root {
	--primary-color: #2563eb;
	--secondary-color: #64748b;
	--accent-color: #f59e0b;
	--success-color: #10b981;
	--danger-color: #ef4444;
	--dark-color: #1e293b;
	--light-color: #f8fafc;
	--border-color: #e2e8f0;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
	
	/* Theme Colors */
	--bg-primary: #ffffff;
	--bg-secondary: #f8fafc;
	--text-primary: #1e293b;
	--text-secondary: #64748b;
	--header-bg: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
	--footer-bg: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
	--card-bg: #ffffff;
	--theme-border: rgba(0, 0, 0, 0.1);
	--input-bg: #ffffff;
	--section-bg: #f8fafc;
}

/* Dark Theme */
[data-theme="dark"] {
	--bg-primary: #0f172a;
	--bg-secondary: #1e293b;
	--text-primary: #f1f5f9;
	--text-secondary: #cbd5e1;
	--header-bg: linear-gradient(135deg, #0f172a, #1e293b, #334155);
	--footer-bg: linear-gradient(135deg, #0f172a, #1e293b, #334155);
	--card-bg: #1e293b;
	--theme-border: rgba(255, 255, 255, 0.1);
	--input-bg: #334155;
	--section-bg: #1e293b;
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--bg-primary);
	overflow: hidden;
	height: 100vh;
	transition: background-color 0.3s ease, color 0.3s ease;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

/* Simple modal body scroll prevention */
body.simple-modal-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
}

/* Pull to refresh styles */
.pull-to-refresh {
	position: absolute;
	top: -60px;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 1000;
}

.pull-to-refresh.visible {
	opacity: 1;
	top: 20px;
}

.pull-to-refresh i {
	font-size: 1.2rem;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* Header Styles - Theme Aware */
header {
	background: var(--header-bg);
	color: white;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background 0.3s ease;
}

header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

header .topbar {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 12px;
	padding: 6px 0;
}

header .topbar .btn {
	border-radius: 15px;
	font-weight: 500;
	transition: all 0.3s ease;
	font-size: 11px;
	padding: 0.25rem 0.5rem;
}

header .topbar .btn-success {
	background: var(--success-color);
	border: none;
}

header .topbar .btn-success:hover {
	background: #059669;
	transform: translateY(-1px);
}

header .topbar .btn-outline-primary {
	border: 1px solid rgba(255,255,255,0.3);
	color: white;
	background: transparent;
}

header .topbar .btn-outline-primary:hover {
	background: rgba(255,255,255,0.1);
	color: white;
}

/* Mobile toggler in header */
header .navbar-toggler {
	border: 1px solid rgba(255,255,255,0.3);
	padding: 0.2rem 0.4rem;
}

header .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

header .brand {
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary-color);
}

header .brand-text {
	color: var(--primary-color);
}

header .brand img {
	max-height: 50px;
	transition: transform 0.3s ease;
}

header .brand img:hover {
	transform: scale(1.05);
}

.navbar-brand img {
	max-height: 55px; /* Increased from 40px */
	transition: transform 0.3s ease;
}

.navbar-brand img:hover {
	transform: scale(1.05);
}

.navbar {
	padding: 0; /* Removed all padding for minimal height */
	background: var(--bg-secondary) !important;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--theme-border);
	position: fixed;
	top: 40px; /* Adjust based on topbar height */
	left: 0;
	right: 0;
	z-index: 999;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	min-height: auto; /* Remove Bootstrap default min-height */
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .container {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.navbar-brand {
	font-weight: 600; /* Reduced from 700 */
	font-size: 1.5rem; /* Reduced from 1.75rem */
	color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
	font-weight: 400; /* Reduced from 500 */
	color: var(--text-primary) !important;
	padding: 0.4rem 1rem !important; /* Slightly reduced vertical padding */
	border-radius: 6px;
	transition: all 0.3s ease;
	margin: 0 0.25rem;
	font-size: 0.95rem; /* Slightly smaller */
}

.navbar-nav .nav-link:hover {
	background: var(--primary-color);
	color: white !important;
	transform: translateY(-1px);
}

/* Modern Custom Slider */
.custom-slider {
	width: 100%;
	height: 400px;
	margin: 1rem 0 2rem 0;
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slider-container {
	width: 100%;
	height: 100%;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}

.slide {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	transform: scale(1.1);
}

.slide.active {
	opacity: 1;
	transform: scale(1);
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.8s ease;
}

.slide:hover img {
	transform: scale(1.05);
}

/* Modern Slide Caption */
.slide-caption {
	position: absolute;
	bottom: 30px;
	left: 30px;
	right: 30px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	padding: 1.5rem;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.slide-caption h5 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, #fff, #f0f0f0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Modern Navigation Buttons */
.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.slider-btn.prev {
	left: 25px;
}

.slider-btn.next {
	right: 25px;
}

/* Modern Dots Navigation */
.slider-dots {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	padding: 8px 16px;
	border-radius: 25px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
}

.dot::before {
	content: '';
	position: absolute;
	top: -4px;
	left: -4px;
	right: -4px;
	bottom: -4px;
	border-radius: 50%;
	background: transparent;
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.dot.active {
	background: white;
	transform: scale(1.2);
}

.dot.active::before {
	border-color: rgba(255, 255, 255, 0.5);
}

.dot:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: scale(1.1);
}

/* Slider Loading Animation */
.custom-slider::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	animation: slideLoading 2s infinite;
	z-index: 1;
}

@keyframes slideLoading {
	0% { left: -100%; }
	100% { left: 100%; }
}

.hero-slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
	display: block;
	border-radius: 12px;
}

.hero-slider:hover img {
	transform: scale(1.02);
}

/* Responsive slider heights */
@media (max-width: 768px) {
	.hero-slider {
		height: 350px;
	}
}

@media (max-width: 576px) {
	.hero-slider {
		height: 250px;
	}
}

.carousel-caption {
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	border-radius: 0 0 12px 12px;
	padding: 2rem;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
}

.carousel-caption h5 {
	font-size: 2rem;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Carousel container adjustments */
.carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 100%;
}

.carousel-item {
	position: relative;
	display: none;
	width: 100%;
	height: 100%;
}

.carousel-item.active {
	display: block;
}

/* Content Sections - Theme Aware */
.section-title {
	font-size: 2rem; /* Reduced from 2.5rem */
	font-weight: 600; /* Reduced from 700 */
	color: var(--text-primary);
	margin-bottom: 1rem;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 2px;
}

.section-subtitle {
	font-size: 1.1rem; /* Reduced from 1.2rem */
	color: var(--text-secondary);
	margin-bottom: 2.5rem; /* Reduced spacing */
	font-weight: 400; /* Lighter weight */
}

/* Cards - Theme Aware */
.card {
	border: none;
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: all 0.3s ease;
	overflow: hidden;
	background-color: var(--card-bg);
	color: var(--text-primary);
	border: 1px solid var(--theme-border);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.member-card {
	height: 100%;
	transition: all 0.3s ease;
}

.member-card:hover {
	transform: translateY(-8px);
}

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

.member-card:hover img {
	transform: scale(1.05);
}

.member-card .card-body {
	padding: 1.5rem;
}

.member-card .card-title {
	font-weight: 500; /* Reduced from 600 */
	color: var(--text-primary);
	margin-bottom: 0.5rem;
	font-size: 1.1rem; /* Slightly smaller */
}

.member-card .card-text {
	color: var(--text-secondary);
	font-size: 0.9rem;
}

/* Founder Section - Theme Aware */
.founder-section {
	background: var(--section-bg);
	border-radius: 16px;
	padding: 3rem;
	margin: 3rem 0;
	box-shadow: var(--shadow);
	border: 1px solid var(--theme-border);
	transition: background-color 0.3s ease, border-color 0.3s ease;
	color: var(--text-primary);
}

.founder-section h4 {
	color: var(--text-primary) !important;
	font-weight: 500; /* Reduced from 600 */
	font-size: 1.3rem; /* Slightly smaller */
}

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

.founder-section .text-muted {
	color: var(--text-secondary) !important;
}

/* Fix for text-muted class globally in dark mode */
.text-muted {
	color: var(--text-secondary) !important;
}

/* Fix for text-center sections */
.text-center p {
	color: var(--text-primary) !important;
}

/* Ensure all headings are theme-aware */
h1, h2, h3, h4, h5, h6 {
	color: var(--text-primary) !important;
}

/* Ensure all paragraphs are theme-aware */
p {
	color: var(--text-primary);
}

/* Desktop-specific typography refinements */
@media (min-width: 1200px) {
	.section-title {
		font-size: 1.9rem; /* Even smaller on large screens */
		font-weight: 500; /* Even lighter */
	}
	
	.navbar-brand {
		font-size: 1.4rem; /* Refined for desktop */
		font-weight: 500; /* Lighter */
	}
	
	.navbar-nav .nav-link {
		font-size: 0.9rem; /* Smaller on desktop */
		font-weight: 300; /* Very light */
	}
	
	.footer-title {
		font-size: 1rem; /* Smaller footer titles */
		font-weight: 500; /* Lighter */
	}
}

.founder-section img {
	border-radius: 12px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease;
}

.founder-section img:hover {
	transform: scale(1.02);
}

/* Contact Form - Compact Eye-Catching Design */
.contact-form {
	background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
	border-radius: 20px;
	padding: 2.5rem 2rem; /* Reduced padding for compact look */
	box-shadow: 
		0 20px 40px rgba(0, 0, 0, 0.1),
		0 0 0 1px var(--theme-border),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	border: 2px solid transparent;
	background-clip: padding-box;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.contact-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--success-color));
	border-radius: 20px 20px 0 0;
}

.contact-form:hover {
	transform: translateY(-5px);
	box-shadow: 
		0 30px 60px rgba(0, 0, 0, 0.15),
		0 0 0 1px var(--primary-color),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced Form Controls */
.contact-form .form-control {
	border: 2px solid var(--theme-border);
	border-radius: 12px;
	padding: 1rem 1.25rem;
	transition: all 0.3s ease;
	font-size: 1rem;
	background: linear-gradient(135deg, var(--card-bg), var(--bg-primary));
	color: var(--text-primary);
	position: relative;
	backdrop-filter: blur(10px);
}

.contact-form .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 
		0 0 0 4px rgba(37, 99, 235, 0.15),
		0 8px 25px rgba(37, 99, 235, 0.1);
	background: var(--card-bg);
	color: var(--text-primary);
	transform: translateY(-2px);
}

.contact-form .form-control:hover {
	border-color: var(--primary-color);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
	color: var(--text-secondary);
	opacity: 0.7;
}

textarea.form-control {
	background-color: var(--card-bg);
	color: var(--text-primary);
}

/* Inline 2-Column Form Structure */
.contact-form .form-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 1.25rem;
	gap: 1.5rem;
}

.contact-form .label-col {
	flex: 0 0 140px; /* Fixed width for labels */
	display: flex;
	align-items: center;
	min-height: 3.5rem; /* Match input height */
}

.contact-form .input-col {
	flex: 1; /* Take remaining space */
}

.contact-form .inline-label {
	font-weight: 600;
	color: var(--text-primary);
	font-size: 0.95rem;
	margin: 0;
	position: relative;
	padding-left: 0.75rem;
	display: flex;
	align-items: center;
	height: 100%;
}

.contact-form .inline-label::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 4px;
	background: var(--primary-color);
	border-radius: 50%;
}

/* Clean Input Styling - Inline Form */
.contact-form .form-control {
	border: 2px solid var(--theme-border);
	border-radius: 12px;
	padding: 0.875rem 1.25rem;
	transition: all 0.3s ease;
	font-size: 0.95rem;
	background: linear-gradient(135deg, var(--card-bg), var(--bg-primary));
	color: var(--text-primary);
	backdrop-filter: blur(10px);
	width: 100%;
	min-height: 3.5rem; /* Consistent height */
}

.contact-form .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 
		0 0 0 4px rgba(37, 99, 235, 0.15),
		0 8px 25px rgba(37, 99, 235, 0.1);
	background: var(--card-bg);
	color: var(--text-primary);
	transform: translateY(-2px);
	outline: none;
}

.contact-form .form-control:hover {
	border-color: var(--primary-color);
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

.contact-form .form-control::placeholder {
	color: var(--text-secondary);
	opacity: 0.7;
	font-style: italic;
}

.btn {
	border-radius: 8px;
	font-weight: 500; /* Reduced from 600 */
	padding: 0.75rem 2rem;
	font-size: 0.95rem; /* Slightly smaller */
	transition: all 0.3s ease;
	border: none;
}

/* Enhanced Contact Form Buttons */
.contact-form .btn-primary {
	background: linear-gradient(135deg, var(--primary-color), #1d4ed8, var(--accent-color));
	background-size: 200% 200%;
	animation: gradientShift 3s ease infinite;
	box-shadow: 
		0 8px 25px rgba(37, 99, 235, 0.3),
		0 0 0 1px rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 1rem 2.5rem;
	font-weight: 600;
	font-size: 1rem;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.contact-form .btn-primary::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.contact-form .btn-primary:hover {
	background: linear-gradient(135deg, #1d4ed8, var(--primary-color), var(--success-color));
	transform: translateY(-3px) scale(1.02);
	box-shadow: 
		0 15px 35px rgba(37, 99, 235, 0.4),
		0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-form .btn-primary:hover::before {
	left: 100%;
}

.contact-form .btn-secondary {
	background: linear-gradient(135deg, var(--secondary-color), #64748b);
	border-radius: 12px;
	padding: 1rem 2.5rem;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(100, 116, 139, 0.2);
}

.contact-form .btn-secondary:hover {
	background: linear-gradient(135deg, #64748b, var(--secondary-color));
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

/* Smaller Contact Form Buttons */
.contact-form .btn-sm {
	padding: 0.4rem 1rem; /* Smaller padding */
	font-size: 0.8rem; /* Smaller font */
	font-weight: 400; /* Lighter weight */
	border-radius: 8px;
	min-width: 70px; /* Minimum width for consistency */
}

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

/* Enhanced Contact Form Title - Compact */
.contact-form-title {
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--success-color));
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-size: 200% 200%;
	animation: gradientShift 4s ease infinite;
	font-weight: 700;
	font-size: 1.4rem; /* Slightly smaller for compact look */
	text-align: center;
	margin-bottom: 1.5rem; /* Reduced margin */
	position: relative;
}

.contact-form-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
	border-radius: 2px;
}

/* Contact Form Row Spacing - Clean Structure */
.contact-form .row {
	margin-bottom: 0; /* Let individual fields control spacing */
}

/* Enhanced Contact Info Card */
.contact-info-card {
	background: linear-gradient(135deg, var(--card-bg), var(--bg-secondary));
	border-radius: 20px;
	padding: 0;
	box-shadow: 
		0 20px 40px rgba(0, 0, 0, 0.1),
		0 0 0 1px var(--theme-border),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	border: 2px solid transparent;
	background-clip: padding-box;
	position: relative;
	overflow: hidden;
	transition: all 0.4s ease;
}

.contact-info-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--info-color), var(--success-color), var(--primary-color));
	border-radius: 20px 20px 0 0;
}

.contact-info-card:hover {
	transform: translateY(-5px);
	box-shadow: 
		0 30px 60px rgba(0, 0, 0, 0.15),
		0 0 0 1px var(--primary-color),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-info-card .card-body {
	padding: 2.5rem 2rem;
}

.contact-info-title {
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	font-size: 1.2rem;
}

.contact-info-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.contact-info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	border: 1px solid var(--theme-border);
	transition: all 0.3s ease;
}

.contact-info-item:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: translateX(5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-item i {
	font-size: 1.2rem;
	margin-top: 0.2rem;
	min-width: 20px;
}

.contact-info-item div {
	flex: 1;
}

.contact-info-item strong {
	display: block;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.25rem;
	font-size: 0.9rem;
}

.contact-info-item a,
.contact-info-item span {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.3s ease;
}

.contact-info-item a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* ===== GALLERY SLIDER SECTION ===== */
.gallery-slider-section {
	padding: 2rem 0; /* Reduced from 4rem to 2rem */
	background: var(--section-bg);
	position: relative;
	overflow: hidden;
}

.gallery-slider-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(26, 26, 46, 0.02) 0%, 
		rgba(22, 33, 62, 0.03) 50%, 
		rgba(15, 52, 96, 0.02) 100%);
	pointer-events: none;
}

.gallery-slider-container {
	position: relative;
	max-width: 100%;
	margin: 1rem 0; /* Reduced from 2rem to 1rem */
	overflow: hidden;
}

.gallery-slider {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 20px;
	box-shadow: 
		0 25px 50px rgba(0, 0, 0, 0.15),
		0 0 0 1px rgba(255, 255, 255, 0.1);
}

.gallery-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.gallery-slide {
	min-width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	width: 100%;
	height: 100%;
	padding: 8px;
}

.gallery-image-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.gallery-image-wrapper:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
	border-radius: 12px;
}

.gallery-slide:hover img {
	transform: scale(1.05);
}

.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		45deg,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0.3) 50%,
		rgba(0, 0, 0, 0.6) 100%
	);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all 0.4s ease;
	backdrop-filter: blur(2px);
}

.gallery-slide:hover .gallery-overlay {
	opacity: 1;
}

.gallery-content {
	text-align: center;
	color: white;
	padding: 0.5rem;
	transform: translateY(10px);
	transition: transform 0.4s ease;
}

.gallery-image-wrapper:hover .gallery-content {
	transform: translateY(0);
}

.gallery-title {
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.gallery-btn {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.6rem;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: white;
	text-decoration: none;
	border-radius: 15px;
	font-weight: 500;
	font-size: 0.7rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

/* Gallery Navigation */
.gallery-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	padding: 0 1rem;
	pointer-events: none;
}

.gallery-nav-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.9);
	color: var(--text-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	pointer-events: all;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
	background: var(--primary-color);
	color: white;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:active {
	transform: scale(0.95);
}

/* Gallery Indicators */
.gallery-indicators {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1rem; /* Reduced from 2rem to 1rem */
}

.gallery-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.gallery-indicator::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--primary-color);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-indicator.active,
.gallery-indicator:hover {
	background: rgba(255, 255, 255, 0.8);
}

.gallery-indicator.active::before,
.gallery-indicator:hover::before {
	opacity: 1;
}

	/* Tablet responsiveness for inline form */
@media (max-width: 768px) and (min-width: 577px) {
	.contact-form {
		padding: 1.5rem 1.25rem; /* Better tablet padding */
		margin: 0.75rem 0;
	}
	
	.contact-form .label-col {
		flex: 0 0 110px; /* Smaller label width on tablet */
	}
	
	.contact-form .form-row {
		gap: 0.75rem; /* Reduced gap on tablet */
		margin-bottom: 0.875rem;
	}
	
	.contact-form .inline-label {
		font-size: 0.875rem; /* Slightly smaller font */
	}
	
	.contact-form .form-control {
		padding: 0.7rem 1rem; /* Better tablet padding */
		font-size: 0.9rem;
		min-height: 3rem;
	}
	
	.contact-form textarea.form-control {
		min-height: 90px; /* Better tablet height */
	}
	
	.contact-form .btn-sm {
		padding: 0.45rem 0.9rem; /* Better tablet button size */
		font-size: 0.8rem;
		min-width: 65px;
	}
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: var(--secondary-color);
}

.btn-success {
	background: var(--success-color);
}

.btn-danger {
	background: var(--danger-color);
}

/* Modern Footer Design - Theme Aware Full Width */
.footer {
	background: var(--footer-bg);
	color: #e2e8f0 !important;
	margin-top: 2rem; /* Reduced from 4rem to 2rem */
	width: 100vw; /* Full viewport width */
	position: relative;
	left: 50%;
	margin-left: -50vw; /* Center the full-width element */
	overflow: hidden;
	transition: background 0.3s ease;
}

/* Ensure all footer text is visible */
.footer * {
	color: inherit;
}

.footer h5, .footer h6 {
	color: white !important;
}

.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-main {
	padding: 4rem 0 2rem;
}

.footer-section {
	height: 100%;
}

.footer-title {
	color: white !important;
	font-weight: 600; /* Reduced from 700 */
	font-size: 1.1rem; /* Reduced from 1.2rem */
	margin-bottom: 1.5rem;
	position: relative;
	display: flex;
	align-items: center;
}

.footer-title i {
	color: var(--primary-color);
}

/* Contact Section - Enhanced */
.footer-contact {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border-left: 4px solid var(--primary-color);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.contact-item:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(5px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-item i {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	font-size: 1.1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	flex-shrink: 0;
}

.contact-item a,
.contact-item span {
	color: #e2e8f0 !important;
	text-decoration: none;
	transition: color 0.3s ease;
	font-weight: 500;
}

.contact-item a:hover {
	color: var(--primary-color) !important;
}

/* Quick Links Section - Enhanced */
.footer-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

.footer-links a {
	color: #e2e8f0 !important;
	text-decoration: none;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-weight: 500;
	backdrop-filter: blur(10px);
}

.footer-links a i {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	font-size: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	flex-shrink: 0;
}

.footer-links a:hover {
	color: white !important;
	background: rgba(255, 255, 255, 0.1);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	border-color: var(--primary-color);
}

.footer-links a:hover i {
	background: var(--primary-color);
	color: white;
}

/* Social Links */
/* Social Links - Enhanced */
.social-links {
	display: flex;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.social-link {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #e2e8f0 !important;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 1.3rem;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.social-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.social-link:hover::before {
	left: 100%;
}

.social-link:hover {
	background: var(--primary-color);
	color: white !important;
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
	border-color: var(--primary-color);
}

/* Newsletter */
.newsletter {
	background: rgba(255, 255, 255, 0.05);
	padding: 1.5rem;
	border-radius: 12px;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-title {
	color: white !important;
	font-weight: 500; /* Reduced from 600 */
	margin-bottom: 0.5rem;
	font-size: 0.95rem; /* Slightly smaller */
}

.newsletter-text {
	color: #cbd5e1 !important;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.newsletter-form .form-control {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: white;
	border-radius: 8px 0 0 8px;
}

.newsletter-form .form-control::placeholder {
	color: #94a3b8;
}

.newsletter-form .form-control:focus {
	background: rgba(255, 255, 255, 0.15);
	border-color: var(--primary-color);
	color: white;
	box-shadow: none;
}

.newsletter-form .btn {
	border-radius: 0 8px 8px 0;
	padding: 0.6rem 1rem;
}

/* Footer Bottom - Full Width */
.footer-bottom {
	background: rgba(0, 0, 0, 0.3);
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	width: 100%; /* Inherits full width from parent */
}

/* Theme Toggle Styles */
.theme-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 25px;
	padding: 0.5rem 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.9rem;
	color: white;
}

.theme-toggle:hover {
	background: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
}

.theme-toggle-switch {
	position: relative;
	width: 50px;
	height: 24px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	transition: all 0.3s ease;
}

.theme-toggle-switch::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 50%;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle-switch::before {
	transform: translateX(26px);
	background: #fbbf24;
}

.theme-toggle-icon {
	font-size: 1rem;
	transition: all 0.3s ease;
}

.theme-toggle-text {
	font-weight: 500;
	min-width: 60px;
	text-align: center;
}

.footer-copyright,
.footer-disclaimer {
	margin: 0;
	color: #94a3b8;
	font-size: 0.9rem;
}

.footer-copyright {
	font-weight: 500;
}

/* Main Content Area - Theme Aware */
.main-content {
	position: fixed;
	top: 110px; /* Increased from 95px to prevent slider merge */
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: auto;
	overflow-x: hidden; /* Prevent horizontal scroll */
	padding: 1rem 2rem 0 2rem; /* Reduced top padding since we increased top position */
	background: var(--bg-primary);
	color: var(--text-primary);
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Fix for pages without slider - add top spacing */
.page-content {
	padding-top: 0; /* No extra padding on desktop - it's fine */
}

/* Mobile spacing adjustments only */
@media (max-width: 768px) {
	.page-content {
		padding-top: 1.5rem; /* Add spacing on tablet */
	}
}

@media (max-width: 576px) {
	.page-content {
		padding-top: 2rem; /* More spacing on mobile to prevent navbar merge */
	}
}

/* Text justification for all content */
.main-content p,
.section-subtitle,
.card-text,
.footer p {
	text-align: justify;
	text-justify: inter-word;
}

/* Keep titles centered */
.section-title,
.card-title,
.footer h5 {
	text-align: center;
}

/* Gallery Page Styles */
.gallery-card {
	transition: all 0.3s ease;
	overflow: hidden;
}

.gallery-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
	transition: transform 0.3s ease;
	height: 200px;
	object-fit: cover;
}

.gallery-card:hover .gallery-image {
	transform: scale(1.05);
}

/* Simple Gallery Modal Styles */
.simple-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	padding: 1rem;
}

.simple-modal-overlay.show {
	opacity: 1;
	visibility: visible;
}

.simple-modal-container {
	background: white;
	border-radius: 15px;
	max-width: 90%;
	max-height: 90%;
	width: 100%;
	max-width: 800px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: transform 0.3s ease;
	display: flex;
	flex-direction: column;
}

.simple-modal-overlay.show .simple-modal-container {
	transform: scale(1);
}

.simple-modal-header {
	background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
	color: white;
	padding: 1rem 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.simple-modal-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	padding-right: 2rem;
}

.simple-modal-close {
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
}

.simple-modal-close:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%) scale(1.1);
}

.simple-modal-body {
	padding: 1.5rem;
	text-align: center;
	flex: 1;
	overflow: auto;
}

.simple-modal-image {
	max-width: 100%;
	max-height: 60vh;
	object-fit: contain;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
}

.simple-modal-caption {
	margin-top: 1rem;
	color: #666;
	font-size: 0.95rem;
}

.simple-modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid #eee;
	text-align: center;
}

/* Desktop Styles */
@media (min-width: 992px) {
	.simple-modal-container {
		max-width: 900px;
	}
	
	.simple-modal-header {
		padding: 1.25rem 1.75rem;
	}
	
	.simple-modal-body {
		padding: 2rem;
	}
	
	.simple-modal-image {
		max-height: 70vh;
	}
	
	.simple-modal-close {
		width: 42px;
		height: 42px;
		font-size: 1.3rem;
		right: 20px;
	}
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
	.simple-modal-container {
		max-width: 1000px;
	}
	
	.simple-modal-image {
		max-height: 75vh;
	}
}

/* Mobile Simple Modal Styles */
@media (max-width: 576px) {
	.simple-modal-overlay {
		padding: 0.5rem;
	}
	
	.simple-modal-container {
		max-width: 95%;
		max-height: 95%;
	}
	
	.simple-modal-header {
		padding: 1rem;
	}
	
	.simple-modal-title {
		font-size: 1.1rem;
		padding-right: 3rem;
	}
	
	.simple-modal-close {
		width: 44px;
		height: 44px;
		font-size: 1.4rem;
		right: 10px;
		/* Touch-friendly */
		min-width: 44px;
		min-height: 44px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.simple-modal-body {
		padding: 1rem;
	}
	
	.simple-modal-image {
		max-height: 50vh;
	}
	
	.simple-modal-footer {
		padding: 1rem;
	}
	
	.simple-modal-footer .btn {
		min-height: 44px;
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
}

/* Alternative close button styling */
.modal-actions {
	border-top: 1px solid var(--border-color);
	padding-top: 1rem;
	margin-top: 1.5rem;
}

.modal-actions .btn {
	min-width: 100px;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.modal-actions .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-body {
	padding: 2rem;
}

#modalImage {
	max-height: 70vh;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
}

#modalCaption {
	font-size: 1rem;
	font-style: italic;
}

/* Utility Classes */
.mt-40 { margin-top: 3rem; }
.mb-40 { margin-bottom: 3rem; }
.py-60 { padding: 4rem 0; }

.text-gradient {
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 992px) {
	.main-content {
		padding: 1.5rem 1.5rem 0 1.5rem;
	}
	
	.section-title {
		font-size: 2rem; /* Reduced from 2.2rem */
		font-weight: 500; /* Lighter weight */
	}
	
	.navbar-brand {
		font-size: 1.4rem; /* Reduced from 1.5rem */
		font-weight: 500; /* Lighter weight */
	}
	
	.navbar-brand img {
		max-height: 45px;
	}
}

/* Tablets */
@media (max-width: 768px) {
	/* Header adjustments */
	header .topbar {
		padding: 0.4rem 0;
		font-size: 10px;
	}
	
	header .topbar .btn {
		font-size: 10px;
		padding: 0.2rem 0.4rem;
	}
	
	.main-content {
		top: 85px; /* Increased from 70px for better spacing */
		padding: 0.5rem 0.5rem 0 0.5rem; /* Reduced top padding */
	}
	
	/* Navbar adjustments */
	.navbar .container {
		padding-top: 0.3rem;
		padding-bottom: 0.3rem;
		justify-content: center !important;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	
	.navbar-brand {
		font-size: 1.4rem;
		max-width: 90%;
		text-align: center;
	}
	
	.navbar-brand .brand-text {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.navbar-brand img {
		max-height: 40px;
	}
	
	.navbar-nav .nav-link {
		padding: 0.3rem 0.8rem !important;
		font-size: 0.85rem; /* Reduced from 0.9rem */
		font-weight: 400; /* Lighter weight */
		text-align: center;
	}
	
	/* Content adjustments */
	.section-title {
		font-size: 1.8rem; /* Reduced from 2rem */
		font-weight: 500; /* Lighter weight */
		text-align: center;
	}
	
	.section-subtitle {
		font-size: 1rem; /* Reduced from 1.1rem */
		font-weight: 400; /* Lighter weight */
		text-align: justify;
	}
	
	/* Modern slider tablet */
	.custom-slider {
		height: 250px;
		border-radius: 12px;
		box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	}
	
	.slider-container {
		border-radius: 12px;
	}
	
	.slider-btn {
		width: 45px;
		height: 45px;
		font-size: 1rem;
	}
	
	.slider-btn.prev {
		left: 20px;
	}
	
	.slider-btn.next {
		right: 20px;
	}
	
	.slide-caption {
		padding: 1rem;
		bottom: 20px;
		left: 20px;
		right: 20px;
		border-radius: 12px;
	}
	
	.slide-caption h5 {
		font-size: 1.2rem;
	}
	
	.slider-dots {
		bottom: 20px;
		padding: 6px 12px;
	}
	
	.carousel-caption {
		padding: 1rem;
	}
	
	.carousel-caption h5 {
		font-size: 1.3rem;
	}
	
	/* Cards and sections */
	.card {
		margin-bottom: 1.5rem;
	}
	
	.founder-section, .contact-form {
		padding: 1.5rem;
		margin: 1rem 0;
	}
	
	.member-card {
		margin-bottom: 1.5rem;
	}
	
	/* Enhanced Tablet Footer */
	.footer-main {
		padding: 3rem 0 1.5rem;
		text-align: center;
	}
	
	.footer-section {
		margin-bottom: 2.5rem;
		background: rgba(255, 255, 255, 0.02);
		border-radius: 16px;
		padding: 1.75rem;
		border: 1px solid rgba(255, 255, 255, 0.08);
		backdrop-filter: blur(8px);
	}
	
	.footer-title {
		font-size: 1.1rem;
		font-weight: 600;
		justify-content: center;
		background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		margin-bottom: 1.5rem;
	}
	
	.footer-title i {
		color: var(--primary-color);
		-webkit-text-fill-color: var(--primary-color);
	}
	
	/* Tablet Contact Items */
	.contact-item {
		padding: 0.875rem 1.25rem;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.06);
		margin-bottom: 0.75rem;
	}
	
	.contact-item i {
		width: 26px;
		height: 26px;
		font-size: 1.15rem;
	}
	
	/* Tablet Footer Links */
	.footer-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
	
	.footer-links a {
		padding: 0.875rem 1.25rem;
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.06);
		font-size: 0.9rem;
	}
	
	.footer-links a i {
		width: 22px;
		height: 22px;
		font-size: 1.05rem;
	}
	
	.social-links {
		justify-content: center;
		margin-bottom: 1.5rem;
	}
	
	.newsletter {
		text-align: left;
	}
	
	/* Gallery Slider for Tablet */
	.gallery-slider {
		height: 300px;
	}
	
	.gallery-grid {
		gap: 6px;
		padding: 6px;
	}
	
	.gallery-image-wrapper {
		border-radius: 10px;
	}
	
	.gallery-slide img {
		border-radius: 10px;
	}
	
	.gallery-content {
		padding: 0.4rem;
	}
	
	.gallery-title {
		font-size: 0.7rem;
		margin-bottom: 0.4rem;
	}
	
	.gallery-btn {
		padding: 0.25rem 0.5rem;
		font-size: 0.65rem;
		border-radius: 12px;
	}

	/* Utility classes */
	.mt-40 { margin-top: 2rem; }
	.mb-40 { margin-bottom: 2rem; }
	.py-60 { padding: 3rem 0; }
}

/* Mobile phones */
@media (max-width: 576px) {
	/* Header for mobile */
	header .topbar {
		padding: 0.3rem 0;
		font-size: 9px;
	}
	
	header .topbar .btn {
		font-size: 9px;
		padding: 0.15rem 0.3rem;
		margin: 0 0.1rem;
	}
	
	.main-content {
		top: 80px; /* Increased from 65px for better spacing */
		padding: 0.25rem 0.25rem 0 0.25rem; /* Reduced top padding */
	}
	
	/* Navbar for mobile */
	.navbar .container {
		padding-top: 0.25rem;
		padding-bottom: 0.25rem;
		justify-content: center !important;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
	
	.navbar-brand {
		font-size: 1.2rem;
		max-width: 85%;
		text-align: center;
	}
	
	.navbar-brand .brand-text {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.navbar-brand img {
		max-height: 35px;
	}
	
	.navbar-toggler {
		padding: 0.2rem 0.4rem;
		font-size: 0.8rem;
	}
	
	.navbar-nav .nav-link {
		padding: 0.4rem 0.5rem !important;
		font-size: 0.85rem; /* Reduced from 0.9rem */
		font-weight: 400; /* Lighter weight */
		text-align: center;
	}
	
	/* Content for mobile */
	.container {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
	
	.section-title {
		font-size: 1.5rem; /* Reduced from 1.6rem */
		font-weight: 500; /* Lighter weight */
		margin-bottom: 0.8rem;
	}
	
	.section-subtitle {
		font-size: 0.95rem; /* Reduced from 1rem */
		font-weight: 400; /* Lighter weight */
		margin-bottom: 1.5rem; /* Reduced margin */
	}
	
	/* Compact sections on mobile */
	.row {
		margin-bottom: 1rem;
	}
	
	/* Modern slider mobile */
	.custom-slider {
		width: 95%;
		height: 200px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1rem;
		margin-bottom: 2rem;
		border-radius: 10px;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	}
	
	.slider-container {
		border-radius: 10px;
	}
	
	.slider-btn {
		width: 40px;
		height: 40px;
		font-size: 0.9rem;
	}
	
	.slider-btn.prev {
		left: 15px;
	}
	
	.slider-btn.next {
		right: 15px;
	}
	
	.slide-caption {
		padding: 0.8rem;
		bottom: 15px;
		left: 15px;
		right: 15px;
		border-radius: 10px;
	}
	
	.slide-caption h5 {
		font-size: 1rem;
	}
	
	.slider-dots {
		bottom: 15px;
		padding: 5px 10px;
		gap: 8px;
	}
	
	.dot {
		width: 6px;
		height: 6px;
	}
	
	.carousel-caption {
		padding: 0.8rem;
	}
	
	.carousel-caption h5 {
		font-size: 1.1rem;
	}
	
	/* Mobile Forms and inputs */
	.contact-form {
		padding: 1rem 0.75rem !important; /* More compact mobile padding */
		margin: 0.5rem 0 !important;
		border-radius: 15px !important; /* Smaller border radius on mobile */
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important; /* Simpler shadow on mobile */
	}
	
	.contact-form:hover {
		transform: none !important; /* Remove hover transform on mobile */
		box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important; /* Subtle hover effect */
	}
	
	.contact-form-title {
		font-size: 1.1rem !important; /* Smaller on mobile */
		margin-bottom: 0.75rem !important;
		text-align: center !important;
	}
	
	/* Mobile inline form adjustments - FORCE VERTICAL LAYOUT */
	.contact-form .form-row {
		flex-direction: column !important; /* Stack vertically on mobile */
		margin-bottom: 0.75rem !important; /* Reduced spacing */
		gap: 0.25rem !important; /* Smaller gap */
		align-items: flex-start !important;
	}
	
	.contact-form .label-col {
		flex: none !important;
		min-height: auto !important;
		margin-bottom: 0.25rem !important;
		width: 100% !important;
	}
	
	.contact-form .input-col {
		width: 100% !important;
		flex: none !important;
	}
	
	.contact-form .inline-label {
		font-size: 0.85rem !important; /* Smaller font */
		min-height: auto !important;
		padding-left: 0.5rem !important;
		font-weight: 500 !important;
		display: block !important;
		margin-bottom: 0.25rem !important;
		color: var(--text-primary) !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	
	/* Ensure labels are always visible on mobile */
	.contact-form .label-col .inline-label {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		font-size: 0.85rem !important;
		color: var(--text-primary) !important;
		margin-bottom: 0.25rem !important;
	}
	
	.contact-form .inline-label::before {
		width: 3px !important;
		height: 3px !important;
	}
	
	.contact-form .form-control {
		padding: 0.6rem 0.8rem !important; /* Reduced padding */
		font-size: 0.85rem !important; /* Smaller font */
		min-height: 2.75rem !important; /* Smaller height */
		border-radius: 10px !important; /* Smaller border radius */
		width: 100% !important;
	}
	
	.contact-form textarea.form-control {
		min-height: 80px !important; /* Smaller textarea */
		resize: vertical !important;
	}
	
	/* Mobile form focus improvements */
	.contact-form .form-control:focus {
		transform: none !important; /* Remove transform on mobile to prevent layout issues */
		box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important; /* Simpler shadow */
	}
	
	.contact-form .form-control:hover {
		transform: none !important; /* Remove hover transform on mobile */
	}
	
	/* Debug styles for mobile - ensure everything is visible */
	.contact-form * {
		box-sizing: border-box !important;
	}
	
	/* Force mobile layout debugging */
	@media (max-width: 576px) {
		.contact-form .form-row {
			border: 1px solid rgba(255, 0, 0, 0.1) !important; /* Temporary debug border */
			display: flex !important;
			flex-direction: column !important;
		}
		
		.contact-form .label-col {
			border: 1px solid rgba(0, 255, 0, 0.1) !important; /* Temporary debug border */
			display: block !important;
		}
		
		.contact-form .input-col {
			border: 1px solid rgba(0, 0, 255, 0.1) !important; /* Temporary debug border */
			display: block !important;
		}
	}
	
	/* Mobile contact info card */
	.contact-info-card .card-body {
		padding: 1.5rem 1rem;
	}
	
	.contact-info-title {
		font-size: 1.1rem;
		margin-bottom: 1rem;
		text-align: center;
	}
	
	.contact-info-item {
		padding: 0.8rem;
		gap: 0.8rem;
	}
	
	.contact-info-item i {
		font-size: 1rem;
	}
	
	.contact-info-item strong {
		font-size: 0.85rem;
	}
	
	.contact-info-item a,
	.contact-info-item span {
		font-size: 0.85rem;
	}
	
	/* Mobile contact form buttons */
	.contact-form .btn-sm {
		padding: 0.5rem 1rem !important; /* Better padding for mobile */
		font-size: 0.8rem !important; /* Readable font size */
		min-width: 70px !important; /* Better minimum width */
		border-radius: 8px !important; /* Smaller border radius */
		font-weight: 500 !important;
	}
	
	/* Mobile button container */
	.contact-form .form-row:last-child {
		margin-top: 1rem !important; /* Extra spacing before buttons */
		margin-bottom: 0 !important;
		flex-direction: column !important;
	}
	
	.contact-form .form-row:last-child .label-col {
		display: none !important; /* Hide empty label column for buttons */
	}
	
	.contact-form .form-row:last-child .input-col {
		display: flex !important;
		justify-content: center !important; /* Center buttons on mobile */
		gap: 0.75rem !important; /* Better spacing between buttons */
		width: 100% !important;
	}
	
	.contact-form .form-row:last-child .d-flex {
		width: 100% !important;
		justify-content: center !important; /* Override inline styles */
		gap: 0.75rem !important;
	}
	
	/* Mobile Gallery Slider */
	.gallery-slider-section {
		padding: 2rem 0;
	}
	
	.gallery-slider {
		height: 250px;
		border-radius: 15px;
	}
	
	.gallery-grid {
		gap: 4px;
		padding: 4px;
	}
	
	.gallery-image-wrapper {
		border-radius: 8px;
	}
	
	.gallery-slide img {
		border-radius: 8px;
	}
	
	.gallery-content {
		padding: 0.3rem;
	}
	
	.gallery-title {
		font-size: 0.6rem;
		margin-bottom: 0.3rem;
	}
	
	.gallery-btn {
		padding: 0.2rem 0.4rem;
		font-size: 0.6rem;
		border-radius: 10px;
	}
	
	.gallery-nav-btn {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
	
	.gallery-nav {
		padding: 0 0.5rem;
	}
	
	.gallery-indicator {
		width: 10px;
		height: 10px;
	}
	
	.gallery-indicator::before {
		width: 4px;
		height: 4px;
	}
	
	.form-control {
		font-size: 0.85rem; /* Reduced from 0.9rem */
		padding: 0.6rem 0.8rem;
	}
	
	.btn {
		padding: 0.6rem 1.5rem;
		font-size: 0.85rem; /* Reduced from 0.9rem */
		font-weight: 500; /* Lighter weight */
	}
	
	/* Cards for mobile */
	.card {
		margin-bottom: 1rem;
	}
	
	.card-body {
		padding: 1rem;
	}
	
	.founder-section {
		padding: 1rem;
		text-align: center;
	}
	
	.member-card {
		margin-bottom: 1rem;
	}
	
	/* Footer for mobile */
	.footer-main {
		padding: 2.5rem 0 1rem;
	}
	
	.footer-section {
		margin-bottom: 2rem;
	}
	
	.footer-title {
		font-size: 0.95rem; /* Reduced from 1rem */
		font-weight: 500; /* Lighter weight */
		margin-bottom: 1rem;
	}
	
	/* Enhanced Mobile Contact Items */
	.contact-item {
		justify-content: flex-start;
		text-align: left;
		padding: 1rem;
		margin-bottom: 0.5rem;
		border-radius: 15px;
		background: rgba(255, 255, 255, 0.08);
		border-left: 4px solid var(--primary-color);
	}
	
	.contact-item:hover {
		transform: translateX(8px);
		background: rgba(255, 255, 255, 0.12);
	}
	
	.contact-item i {
		width: 28px;
		height: 28px;
		font-size: 1.2rem;
		background: var(--primary-color);
		color: white;
	}
	
	/* Enhanced Mobile Footer Links */
	.footer-links {
		display: flex;
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.footer-links a {
		justify-content: flex-start;
		padding: 1rem;
		border-radius: 12px;
		background: rgba(255, 255, 255, 0.08);
		border: 1px solid rgba(255, 255, 255, 0.15);
		font-size: 0.95rem;
	}
	
	.footer-links a:hover {
		background: rgba(255, 255, 255, 0.15);
		transform: translateX(5px);
	}
	
	.footer-links a i {
		width: 24px;
		height: 24px;
		font-size: 1.1rem;
		background: var(--primary-color);
		color: white;
	}
	
	/* Enhanced Mobile Social Links */
	.social-links {
		justify-content: center;
		gap: 1.2rem;
		margin-bottom: 2rem;
	}
	
	.social-link {
		width: 48px;
		height: 48px;
		border-radius: 16px;
		font-size: 1.4rem;
		background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
		border: 1px solid rgba(255, 255, 255, 0.25);
		backdrop-filter: blur(15px);
	}
	
	.social-link:hover {
		transform: translateY(-6px) scale(1.1);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	}
	
	/* Enhanced Mobile Footer Sections */
	.footer-section {
		background: rgba(255, 255, 255, 0.03);
		border-radius: 20px;
		padding: 1.5rem;
		border: 1px solid rgba(255, 255, 255, 0.1);
		backdrop-filter: blur(10px);
		margin-bottom: 1.5rem;
	}
	
	.footer-title {
		background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		font-size: 1.1rem;
		font-weight: 600;
		margin-bottom: 1.25rem;
		text-align: center;
	}
	
	.footer-title i {
		color: var(--primary-color);
		-webkit-text-fill-color: var(--primary-color);
		margin-right: 0.5rem;
	}
	
	.newsletter {
		padding: 1rem;
		margin: 0 1rem;
	}
	
	.footer-bottom {
		padding: 1rem 0;
		text-align: center;
	}
	
	.footer-copyright,
	.footer-disclaimer {
		font-size: 0.8rem;
		margin-bottom: 0.5rem;
	}
	
	/* Mobile Modal Styles */
	.modal-dialog {
		margin: 0.5rem !important;
		max-width: calc(100% - 1rem) !important;
	}
	
	.modal-header {
		padding: 1rem 1.25rem;
		position: relative;
	}
	
	.modal-title {
		padding-right: 50px; /* Make room for close button */
		font-size: 1.1rem;
		font-weight: 600;
	}
	
	/* Mobile Custom Close Button */
	.custom-close-btn {
		width: 44px !important;
		height: 44px !important;
		font-size: 1.4rem !important;
		background: rgba(255, 255, 255, 0.15) !important;
		border: 2px solid rgba(255, 255, 255, 0.3) !important;
		top: 10px !important;
		right: 10px !important;
		min-width: 44px;
		min-height: 44px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.custom-close-btn:hover,
	.custom-close-btn:active,
	.custom-close-btn:focus {
		background: rgba(255, 255, 255, 0.25) !important;
		border-color: rgba(255, 255, 255, 0.4) !important;
		color: white !important;
	}
	
	.modal-body {
		padding: 1rem 1.25rem;
	}
	
	#modalImage {
		max-height: 60vh;
	}
	
	.modal-actions {
		margin-top: 1rem;
		padding-top: 1rem;
	}
	
	.modal-actions .btn {
		min-height: 44px;
		padding: 0.75rem 1.5rem;
		font-size: 1rem;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
	
	.modal-actions .btn {
		width: 100%;
		padding: 0.75rem;
		font-size: 0.9rem;
		touch-action: manipulation;
	}

	/* Utility classes for mobile */
	.mt-40 { margin-top: 1rem; } /* Reduced margins */
	.mb-40 { margin-bottom: 1rem; }
	.py-60 { padding: 1.5rem 0; } /* Reduced padding */
}

/* Extra small devices */
@media (max-width: 375px) {
	.main-content {
		padding: 0.3rem 0.1rem 0 0.1rem; /* Ultra minimal padding */
	}
	
	.container {
		padding-left: 0.25rem;
		padding-right: 0.25rem;
	}
	
	.section-title {
		font-size: 1.3rem; /* Reduced from 1.4rem */
		font-weight: 500; /* Lighter weight */
	}
	
	/* Extra small gallery adjustments */
	.gallery-slider {
		height: 200px;
	}
	
	.gallery-grid {
		gap: 2px;
		padding: 2px;
	}
	
	.gallery-image-wrapper {
		border-radius: 6px;
	}
	
	.gallery-slide img {
		border-radius: 6px;
	}
	
	.gallery-content {
		padding: 0.2rem;
	}
	
	.gallery-title {
		font-size: 0.5rem;
		margin-bottom: 0.2rem;
	}
	
	.gallery-btn {
		padding: 0.15rem 0.3rem;
		font-size: 0.5rem;
		border-radius: 8px;
	}
	
	/* Modern slider extra small */
	.custom-slider {
		width: 90%;
		height: 180px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1rem;
		margin-bottom: 2rem;
		border-radius: 8px;
		box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
	}
	
	.slider-container {
		border-radius: 8px;
	}
	
	.slider-btn {
		width: 35px;
		height: 35px;
		font-size: 0.8rem;
	}
	
	.slider-btn.prev {
		left: 10px;
	}
	
	.slider-btn.next {
		right: 10px;
	}
	
	.slide-caption {
		padding: 0.6rem;
		bottom: 10px;
		left: 10px;
		right: 10px;
		border-radius: 8px;
	}
	
	.slide-caption h5 {
		font-size: 0.9rem;
	}
	
	.slider-dots {
		bottom: 10px;
		padding: 4px 8px;
		gap: 6px;
	}
	
	.navbar .container {
		justify-content: center !important;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
	
	.navbar-brand {
		font-size: 1rem;
		max-width: 80%;
		text-align: center;
	}
	
	.navbar-brand .brand-text {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	
	.navbar-brand img {
		max-height: 30px;
	}
	
	.contact-form, .founder-section {
		padding: 0.6rem 0.5rem; /* Ultra compact padding */
	}
	
	/* Extra small mobile form improvements */
	.contact-form-title {
		font-size: 1rem; /* Even smaller title */
		margin-bottom: 0.5rem;
	}
	
	.contact-form .form-row {
		margin-bottom: 0.5rem; /* Tighter spacing */
	}
	
	.contact-form .inline-label {
		font-size: 0.8rem; /* Smaller labels */
	}
	
	.contact-form .form-control {
		padding: 0.5rem 0.7rem; /* More compact inputs */
		font-size: 0.8rem; /* Smaller text */
		min-height: 2.5rem; /* Smaller height */
	}
	
	.contact-form textarea.form-control {
		min-height: 70px; /* Smaller textarea */
	}
	
	.contact-form .btn-sm {
		padding: 0.4rem 0.8rem; /* Smaller buttons */
		font-size: 0.75rem;
		min-width: 60px;
	}
}



