/*
Theme Name: Selma Öğretmen - Handcrafted Educational Portal
Theme URI: https://selmaogretmen.com
Author: Antigravity Custom Studio
Description: High-end handcrafted educational platform for Selma Öğretmen with left-shifted transparent horizontal logo, soft rose & dusty pink feminine color palette, FontAwesome 6 vector icons, and floating WhatsApp button.
Version: 5.6.0
Text Domain: selma-ogretmen-theme
*/

:root {
	--primary: #db2777;            /* Elegant Rose Pink */
	--primary-hover: #be185d;      /* Deep Rose */
	--primary-light: #fce7f3;      /* Soft Pastel Blush Pink */
	--primary-subtle: #fdf2f8;     /* Ultra Soft Pink Tint */
	--accent-purple: #9333ea;      /* Soft Violet Accent */
	
	--dark: #2a1b3d;               /* Warm Elegant Deep Plum (Replaces cold navy) */
	--dark-card: #3b2554;          /* Deep Violet-Plum Card */
	
	--gray-50: #fff5f7;            /* Soft Cream Pink Background */
	--gray-100: #fce7f3;           /* Soft Pastel Pink Tint */
	--gray-200: #f4d0e3;           /* Dusty Rose Border */
	--gray-300: #e8b8d5;           /* Soft Border */
	--gray-400: #9d8ba6;           /* Soft Muted Text */
	--gray-600: #5b4868;           /* Muted Warm Text */
	--gray-700: #3b2a47;           /* Warm Text */
	
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 18px;
	--radius-xl: 26px;
	--shadow-sm: 0 2px 6px rgba(42, 27, 61, 0.04);
	--shadow-md: 0 6px 16px -2px rgba(42, 27, 61, 0.08);
	--shadow-lg: 0 18px 36px -8px rgba(42, 27, 61, 0.12);
}

/* Reset & Fonts */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background-color: #ffffff;
	color: var(--gray-700);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Space Grotesk', sans-serif;
	color: var(--dark);
	letter-spacing: -0.02em;
	line-height: 1.25;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   Top Notice Bar (Pixel Perfect & Zero Wrap)
   ========================================================================== */
.top-notice-bar {
	background-color: var(--dark);
	color: #d8b4fe;
	font-size: 13px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

.top-social-contact-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
	white-space: nowrap;
	flex-shrink: 0;
}

.top-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #f3e8ff;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	font-size: 13px;
}

.top-link:hover {
	color: #ffffff;
}

.top-link.phone-link i {
	color: #f472b6;
}

.top-link.whatsapp-link {
	color: #4ade80 !important;
	font-weight: 700;
}

.top-link.whatsapp-link:hover {
	color: #86efac !important;
}

.top-link.email-link {
	color: #e9d5ff;
}

.top-social-divider {
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, 0.15);
	margin: 0 4px;
}

.top-social-icons {
	display: flex;
	align-items: center;
	gap: 8px;
}

.social-icon-btn {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #f3e8ff;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-btn.instagram:hover {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(220, 39, 67, 0.3);
}

.social-icon-btn.telegram:hover {
	background: #0088cc;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}

.social-icon-btn.youtube:hover {
	background: #ff0000;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

@media (max-width: 991px) {
	.top-notice-content {
		justify-content: center;
	}
}

/* ==========================================================================
   Header Navigation & Brand Logo
   ========================================================================== */
.site-header {
	background: #ffffff;
	border-bottom: 1px solid var(--gray-200);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: var(--shadow-sm);
}

.site-header .navbar,
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 90px;
}

.brand-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	overflow: visible;
	flex-shrink: 0;
}

.custom-site-logo,
.brand-logo-img {
	height: 64px;
	max-height: 64px;
	max-width: 280px;
	width: auto;
	object-fit: contain;
	display: block;
	transition: transform 0.25s ease;
}

.brand-wrapper:hover .brand-logo-img {
	transform: scale(1.04);
}

.brand-mark {
	width: 52px;
	height: 52px;
	background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
	color: #ffffff;
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 26px;
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(219, 39, 119, 0.3);
}

.brand-name {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.1;
}

.brand-name span {
	color: var(--primary);
}

.brand-tagline {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--gray-400);
	text-transform: uppercase;
	margin-top: 2px;
}

/* Main Navigation Menu */
.main-navigation {
	display: flex;
	align-items: center;
}

.nav-menu,
.main-navigation > ul {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nav-menu li,
.main-navigation li {
	position: relative;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.nav-menu a,
.main-navigation a {
	font-size: 15px;
	font-weight: 700;
	color: #334155;
	text-decoration: none;
	padding: 8px 12px;
	white-space: nowrap !important;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.main-navigation a:hover,
.main-navigation .current-menu-item > a {
	color: var(--primary);
}

/* Multi-Level Cascading Dropdown Submenus */
.nav-menu .sub-menu,
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
	padding: 6px 0;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	display: block;
	list-style: none !important;
	z-index: 150;
}

/* Level 2 & Deeper Submenu Flyout (Opens to Right) */
.nav-menu .sub-menu .sub-menu,
.main-navigation .sub-menu .sub-menu {
	top: -6px;
	left: 100%;
	margin-left: 2px;
	transform: translateX(8px);
}

.nav-menu li,
.main-navigation li {
	position: relative;
}

.nav-menu li:hover > .sub-menu,
.main-navigation li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(0, 0);
}

.nav-menu .sub-menu li,
.main-navigation .sub-menu li {
	position: relative;
	list-style: none !important;
	margin: 0;
}

.nav-menu .sub-menu li a,
.main-navigation .sub-menu li a {
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-decoration: none;
	transition: all 0.18s ease;
	border-radius: 6px;
	margin: 0 4px;
}

.nav-menu .sub-menu li a:hover,
.main-navigation .sub-menu li a:hover {
	background: #fce7f3;
	color: #be185d;
}

/* Header Action Group & Buttons */
.header-action-group {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.header-action-btn {
	padding: 10px 20px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
}

.header-action-btn.btn-whatsapp {
	background: #22c55e;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.header-action-btn.btn-whatsapp:hover {
	background: #16a34a;
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.mobile-toggle-btn,
.mobile-nav-toggle {
	display: none;
	background: #ffffff;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	font-size: 18px;
	cursor: pointer;
	color: var(--dark);
}

/* ==========================================================================
   Mobile Navigation Drawer (Executive High-End Design)
   ========================================================================== */
.mobile-drawer-menu {
	display: none;
	background: #ffffff;
	border-bottom: 2px solid #f1f5f9;
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
	position: relative;
	z-index: 99;
}

.mobile-drawer-menu .container {
	padding-top: 16px;
	padding-bottom: 24px;
}

.mobile-nav-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mobile-nav-list > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 4px 0 !important;
	border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-list > li:last-child {
	border-bottom: none;
}

.mobile-nav-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 8px;
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.2s ease;
}

.mobile-nav-list a:hover {
	background: #f8fafc;
	color: #db2777;
}

.mobile-nav-list .nav-icon {
	font-size: 16px;
	color: #db2777;
	width: 20px;
	text-align: center;
}

.mobile-menu-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.mobile-menu-row .parent-link {
	flex: 1;
}

.mobile-sub-toggle {
	background: #f1f5f9;
	border: none;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	color: #475569;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.mobile-sub-toggle:hover {
	background: #fce7f3;
	color: #db2777;
}

/* Accordion Submenu (Fallback & WP Nav Menu Output) */
.mobile-sub-list,
.mobile-nav-list .sub-menu {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	list-style: none !important;
	margin: 8px 0 12px 0 !important;
	padding: 8px 12px !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	display: block;
}

.mobile-sub-list li,
.mobile-nav-list .sub-menu li {
	list-style: none !important;
	margin: 0 !important;
	padding: 2px 0 !important;
	border: none !important;
}

.mobile-sub-list a,
.mobile-nav-list .sub-menu li a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 8px 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	border-radius: 8px !important;
	text-decoration: none !important;
}

.mobile-sub-list a:hover,
.mobile-nav-list .sub-menu li a:hover {
	background: #fce7f3 !important;
	color: #be185d !important;
}

.mobile-sub-list .arrow-icon {
	font-size: 11px;
	color: #94a3b8;
}

/* Mobile CTA Button */
.mobile-drawer-cta {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px dashed #e2e8f0;
}

.mobile-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
	color: #ffffff;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 20px;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25);
	transition: all 0.2s ease;
}

.mobile-cta-btn:hover {
	transform: translateY(-1px);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(34, 197, 94, 0.35);
}

/* ==========================================================================
   Hero Section (Soft Feminine Gradient)
   ========================================================================== */
.hero-section {
	background: linear-gradient(135deg, #2a1b3d 0%, #581c4f 50%, #831843 100%);
	color: #ffffff;
	padding: 88px 0 104px 0;
	position: relative;
	overflow: hidden;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 550px;
	height: 550px;
	background: radial-gradient(circle, rgba(244, 114, 182, 0.25) 0%, rgba(42, 27, 61, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hero-content {
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.hero-title {
	font-size: 46px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 20px;
	letter-spacing: -0.03em;
	line-height: 1.18;
}

.hero-title span {
	background: linear-gradient(90deg, #f472b6, #fb7185);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-subtitle {
	font-size: 17px;
	color: #fbcfe8;
	margin-bottom: 36px;
	line-height: 1.6;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero Search Bar */
.search-box-wrapper {
	max-width: 680px;
	margin: 0 auto;
}

.search-form-hero {
	display: flex;
	background: #ffffff;
	padding: 6px;
	border-radius: var(--radius-xl);
	box-shadow: 0 20px 45px -10px rgba(42, 27, 61, 0.4);
}

.search-input {
	flex: 1;
	border: none;
	padding: 16px 24px;
	font-size: 16px;
	border-radius: var(--radius-xl);
	outline: none;
	font-family: inherit;
	color: var(--dark);
}

.search-btn {
	background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
	color: #ffffff;
	border: none;
	padding: 0 32px;
	border-radius: var(--radius-lg);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(219, 39, 119, 0.3);
}

.search-btn:hover {
	background: linear-gradient(135deg, #be185d 0%, #9d174d 100%);
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.hero-title { font-size: 32px; }
	.search-form-hero { flex-direction: column; }
	.search-btn { padding: 14px; justify-content: center; width: 100%; margin-top: 6px; }
}

/* ==========================================================================
   Grade Selection Grid
   ========================================================================== */
.grade-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
}

.grade-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px;
	background: #ffffff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: var(--shadow-sm);
	position: relative;
}

.grade-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px -6px rgba(219, 39, 119, 0.12);
	border-color: var(--primary);
}

.grade-icon-box {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: #fce7f3;
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	transition: all 0.25s ease;
	flex-shrink: 0;
}

.grade-card:hover .grade-icon-box {
	background: var(--primary);
	color: #ffffff;
	transform: scale(1.05);
}

.grade-card-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--dark);
	margin-bottom: 2px;
}

.grade-card-sub {
	font-size: 12px;
	color: var(--gray-400);
	font-weight: 600;
}

.grade-card-arrow {
	margin-left: auto;
	color: var(--gray-300);
	font-size: 14px;
	transition: transform 0.2s ease, color 0.2s ease;
}

.grade-card:hover .grade-card-arrow {
	color: var(--primary);
	transform: translateX(4px);
}

/* ==========================================================================
   Document Cards & Grid
   ========================================================================== */
.documents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 24px;
}

.doc-card {
	background: #ffffff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: all 0.25s ease;
	box-shadow: var(--shadow-sm);
}

.doc-card:hover {
	border-color: var(--gray-300);
	box-shadow: 0 16px 32px -8px rgba(42, 27, 61, 0.1);
	transform: translateY(-3px);
}

.doc-card-top {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 12px;
}

.pdf-icon-badge {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: #ffe4e6;
	color: #e11d48;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.doc-badge-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 6px;
}

.chip {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 9px;
	border-radius: var(--radius-sm);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.chip-grade {
	background: #f1f5f9;
	color: var(--gray-700);
}

.chip-type {
	background: #fce7f3;
	color: #be185d;
}

.chip-new {
	background: #ffe4e6;
	color: #e11d48;
}

.doc-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.35;
}

.doc-title a:hover {
	color: var(--primary);
}

.doc-unit-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--gray-600);
	background: var(--gray-50);
	border: 1px border-dash var(--gray-200);
	padding: 6px 12px;
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.doc-desc {
	font-size: 14px;
	color: var(--gray-600);
	margin-bottom: 20px;
	line-height: 1.5;
}

.doc-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid var(--gray-100);
}

.doc-meta-stats {
	font-size: 12px;
	color: var(--gray-400);
	font-weight: 600;
	display: flex;
	gap: 12px;
}

.btn-download-action {
	background: var(--dark);
	color: #ffffff;
	padding: 10px 18px;
	border-radius: var(--radius-md);
	font-weight: 700;
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.btn-download-action:hover {
	background: var(--primary);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35);
}

/* ==========================================================================
   Filter Panel
   ========================================================================== */
.archive-banner {
	background: var(--dark);
	color: #ffffff;
	padding: 56px 0;
	margin-bottom: 40px;
}

.archive-banner h1 {
	color: #ffffff;
	font-size: 32px;
	font-weight: 800;
}

.archive-banner p {
	color: #d8b4fe;
	font-size: 16px;
	margin-top: 6px;
}

.filter-panel {
	background: #ffffff;
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin-bottom: 36px;
	box-shadow: var(--shadow-sm);
}

.filter-row-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	align-items: end;
}

.text-input, .select-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-md);
	font-size: 14px;
	font-family: inherit;
	outline: none;
}

.text-input:focus, .select-input:focus {
	border-color: var(--primary);
}

.tag-btn {
	padding: 6px 14px;
	border-radius: var(--radius-md);
	border: 1px solid var(--gray-200);
	background: #ffffff;
	font-size: 13px;
	font-weight: 600;
	color: var(--gray-700);
	cursor: pointer;
	transition: all 0.2s ease;
}

.tag-btn:hover, .tag-btn.active {
	background: var(--dark);
	color: #ffffff;
	border-color: var(--dark);
}

/* ==========================================================================
   Floating Hover WhatsApp Button
   ========================================================================== */
.floating-whatsapp-btn {
	position: fixed;
	bottom: 28px;
	right: 28px;
	width: 60px;
	height: 60px;
	background-color: #25d366;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
	z-index: 9999;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	animation: whatsapp-pulse 2.5s infinite;
}

.floating-whatsapp-btn:hover {
	transform: scale(1.12);
	background-color: #20ba5a;
	box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
	color: #ffffff;
}

.whatsapp-tooltip {
	position: absolute;
	right: 72px;
	background: var(--dark);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	padding: 8px 14px;
	border-radius: var(--radius-md);
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	transform: translateX(10px);
	transition: all 0.25s ease;
	box-shadow: 0 8px 20px rgba(42, 27, 61, 0.2);
	pointer-events: none;
}

.whatsapp-tooltip::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -6px;
	transform: translateY(-50%);
	border-width: 6px 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent transparent var(--dark);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
}

@keyframes whatsapp-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
	}
	70% {
		box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--dark);
	color: #d8b4fe;
	padding: 72px 0 32px 0;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-columns {
	display: grid;
	grid-template-columns: 1.5fr repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 48px;
}

.site-footer .brand-logo-img,
.site-footer .footer-logo-img {
	height: 72px;
	width: auto;
	max-width: 300px;
	object-fit: contain;
	display: block;
	transform: scale(1.28);
	transform-origin: left center;
	margin-left: 0;
	margin-bottom: 12px;
}

.footer-col h4 {
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 12px;
}

.footer-col a {
	color: #f3e8ff;
	font-size: 14px;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.footer-col a:hover {
	color: #ffffff;
}

.footer-bottom-bar {
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-size: 13px;
	color: #9d8ba6;
}

/* ==========================================================================
   Comprehensive Mobile Responsiveness & Touch Optimization
   ========================================================================== */
html, body {
	overflow-x: hidden !important;
	width: 100%;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

/* Tablet & Mobile Nav Breakpoint (<= 991px) */
@media (max-width: 991px) {
	.top-notice-bar {
		display: none !important;
	}

	.site-header .navbar,
	.header-inner {
		height: 72px !important;
		padding: 0 12px;
	}

	.brand-logo-img,
	.custom-site-logo {
		height: 48px !important;
		max-height: 48px !important;
		max-width: 200px !important;
		transform: none !important;
		margin: 0 !important;
	}

	.main-navigation {
		display: none !important;
	}

	.mobile-toggle-btn,
	.mobile-nav-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		font-size: 18px;
		border-radius: 10px;
		border: 1px solid var(--gray-300);
		background: #ffffff;
		color: #1e293b;
		cursor: pointer;
	}

	.header-action-group {
		gap: 10px;
	}

	.header-action-btn.btn-whatsapp {
		padding: 8px 12px;
		font-size: 13px;
		border-radius: 8px;
	}

	.header-action-btn.btn-whatsapp span {
		display: none;
	}
}

/* Mobile Devices Breakpoint (<= 768px) */
@media (max-width: 768px) {
	.top-notice-bar {
		display: none !important;
	}

	/* Hero Section Mobile */
	.hero-section {
		padding: 32px 16px 44px 16px !important;
		text-align: center;
	}

	.hero-section h1 {
		font-size: 24px !important;
		line-height: 1.35 !important;
	}

	.hero-section p {
		font-size: 14px !important;
		margin-bottom: 20px !important;
	}

	.hero-search-box {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		border: none !important;
	}

	.hero-search-box .search-input {
		background: #ffffff !important;
		border-radius: 12px !important;
		padding: 14px 16px !important;
		font-size: 14px !important;
		width: 100% !important;
		box-sizing: border-box !important;
		border: 1px solid var(--gray-300) !important;
		box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
	}

	.hero-search-box .search-btn {
		width: 100% !important;
		justify-content: center !important;
		border-radius: 12px !important;
		padding: 14px !important;
		font-size: 15px !important;
		margin: 0 !important;
		box-sizing: border-box !important;
	}

	/* Grade Cards Mobile Grid */
	.grade-cards-grid {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 10px !important;
	}

	.grade-card {
		padding: 16px 10px !important;
		border-radius: 12px !important;
		text-align: center !important;
	}

	.grade-card h3 {
		font-size: 15px !important;
	}

	.grade-card span {
		font-size: 11px !important;
	}

	/* Document Cards Mobile Grid */
	.dokuman-grid,
	#documents-archive-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 16px !important;
	}

	.dokuman-card {
		padding: 16px !important;
		border-radius: 14px !important;
	}

	.dokuman-card h3 {
		font-size: 16px !important;
		line-height: 1.4 !important;
	}

	.dokuman-card-footer {
		flex-direction: column !alignment: stretch;
		gap: 12px !important;
	}

	.btn-download-action {
		width: 100% !important;
		justify-content: center !important;
		padding: 12px !important;
		font-size: 14px !important;
		box-sizing: border-box !important;
	}

	/* Filter Panel Mobile */
	.filter-panel {
		padding: 16px !important;
		border-radius: 14px !important;
	}

	.filter-row-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.tag-pills-container {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 6px !important;
	}

	.tag-btn {
		padding: 6px 10px !important;
		font-size: 12px !important;
	}

	/* Pages & Footer Mobile */
	.about-hero-grid,
	.contact-page-grid {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 24px !important;
	}

	.footer-columns {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 28px !important;
		text-align: left !important;
	}

	.site-footer .brand-logo-img,
	.site-footer .footer-logo-img {
		height: 48px !important;
		max-width: 220px !important;
		transform: none !important;
		margin: 0 0 12px 0 !important;
	}

	.floating-whatsapp-btn {
		bottom: 18px !important;
		right: 18px !important;
		width: 52px !important;
		height: 52px !important;
		font-size: 26px !important;
	}

	.whatsapp-tooltip {
		display: none !important;
	}
}

/* Small Screens Breakpoint (<= 480px) */
@media (max-width: 480px) {
	.grade-cards-grid {
		grid-template-columns: 1fr !important;
	}

	.hero-section h1 {
		font-size: 22px !important;
	}
}

