/* ============================================================
   Totell Theme - Main Stylesheet
   ============================================================
   Table of Contents:
   1. CSS Variables & Reset
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Hero Section
   6. Buttons
   7. Sections & Cards
   8. Venture Cards
   9. Event Cards
   10. Team Cards
   11. Testimonials
   12. Media Coverage
   13. Footer
   14. Blog & Single Post
   15. Sidebar & Widgets
   16. Pagination
   17. Forms & Contact
   18. Animations
   19. Accessibility
   20. Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables & Reset
   ------------------------------------------------------------ */
:root {
	--totell-primary: #FF6B00;
	--totell-primary-dark: #E05E00;
	--totell-primary-light: #FF8C38;
	--totell-secondary: #1A1A1A;
	--totell-secondary-light: #2D2D2D;
	--totell-gray-100: #F5F5F5;
	--totell-gray-200: #E8E8E8;
	--totell-gray-300: #9CA3AF;
	--totell-gray-400: #6B7280;
	--totell-white: #FFFFFF;
	--totell-black: #000000;

	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	--font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	--transition-base: 0.3s ease;
	--transition-slow: 0.5s ease;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
	--shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 9999px;

	--container-max: 1200px;
	--container-wide: 1400px;
	--header-height: 80px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-primary);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--totell-secondary);
	background-color: var(--totell-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* ------------------------------------------------------------
   2. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 1rem;
	color: var(--totell-secondary);
}

h1 { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
	margin-top: 0;
	margin-bottom: 1.25rem;
	color: var(--totell-gray-400);
	line-height: 1.7;
}

a {
	color: var(--totell-primary);
	text-decoration: none;
	transition: color var(--transition-base);
}

a:hover,
a:focus {
	color: var(--totell-primary-dark);
	text-decoration: underline;
}

a:focus-visible {
	outline: 2px solid var(--totell-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* ------------------------------------------------------------
   3. Layout & Grid
   ------------------------------------------------------------ */
.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.container-wide {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-heading {
	text-align: center;
	margin-bottom: 3rem;
}

.section-subtitle {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--totell-primary);
	margin-bottom: 0.75rem;
	position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
	content: '';
	display: inline-block;
	width: 30px;
	height: 2px;
	background: var(--totell-primary);
	vertical-align: middle;
	margin: 0 10px;
}

.section-title {
	margin-bottom: 0;
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.grid-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ------------------------------------------------------------
   4. Header & Navigation
   ------------------------------------------------------------ */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	transition: background var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled {
	background: var(--totell-white);
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.site-branding {
	flex-shrink: 0;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	max-height: 50px;
	width: auto;
}

.site-title-link {
	text-decoration: none !important;
}

.site-title {
	font-family: var(--font-heading);
	font-size: 1.75rem;
	font-weight: 900;
	color: var(--totell-white);
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: color var(--transition-base);
}

.scrolled .site-title {
	color: var(--totell-secondary);
}

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

.primary-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem;
}

.primary-menu .menu-item {
	position: relative;
}

.primary-menu .menu-item a {
	display: block;
	padding: 0.5rem 1rem;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-decoration: none;
	transition: color var(--transition-base);
	border-radius: var(--radius-sm);
}

.scrolled .primary-menu .menu-item a {
	color: var(--totell-secondary);
}

.primary-menu .menu-item a:hover,
.primary-menu .menu-item.current-menu-item a {
	color: var(--totell-primary);
}

.primary-menu .menu-item a:hover {
	background: rgba(255, 107, 0, 0.08);
}

/* Submenus */
.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--totell-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all var(--transition-base);
	z-index: 100;
	padding: 0.5rem 0;
	list-style: none;
}

.primary-menu .menu-item:hover > .sub-menu,
.primary-menu .menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu .menu-item a {
	color: var(--totell-secondary) !important;
	padding: 0.5rem 1.25rem;
	font-size: 0.8125rem;
}

.primary-menu .sub-menu .menu-item a:hover {
	color: var(--totell-primary) !important;
	background: var(--totell-gray-100);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	position: relative;
	z-index: 1001;
}

.menu-toggle-icon {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 24px;
}

.menu-toggle-icon .bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--totell-white);
	border-radius: 2px;
	transition: all var(--transition-base);
}

.scrolled .menu-toggle-icon .bar {
	background: var(--totell-secondary);
}

.menu-toggle.active .menu-toggle-icon .bar:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle-icon .bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active .menu-toggle-icon .bar:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.scrolled .menu-toggle.active .menu-toggle-icon .bar {
	background: var(--totell-secondary);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 998;
	opacity: 0;
	transition: opacity var(--transition-base);
}

.mobile-nav-overlay.active {
	opacity: 1;
}

/* ------------------------------------------------------------
   5. Hero Section
   ------------------------------------------------------------ */
.hero-section {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--totell-secondary);
}

.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg,
		rgba(26, 26, 26, 0.9) 0%,
		rgba(26, 26, 26, 0.7) 50%,
		rgba(255, 107, 0, 0.3) 100%
	);
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
	padding: 2rem 1.5rem;
}

.hero-badge {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--totell-primary);
	background: rgba(255, 107, 0, 0.15);
	border: 1px solid rgba(255, 107, 0, 0.3);
	padding: 0.4rem 1.2rem;
	border-radius: var(--radius-full);
	margin-bottom: 1.5rem;
}

.hero-title {
	font-size: clamp(2.5rem, 8vw, 5rem);
	font-weight: 900;
	color: var(--totell-white);
	line-height: 1.05;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

.hero-title .highlight {
	color: var(--totell-primary);
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.25rem);
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.7;
	margin-bottom: 2.5rem;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.85rem 2rem;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all var(--transition-base);
	text-decoration: none !important;
	line-height: 1.2;
}

.btn-primary {
	background: var(--totell-primary);
	color: var(--totell-white);
	border-color: var(--totell-primary);
}

.btn-primary:hover {
	background: var(--totell-primary-dark);
	border-color: var(--totell-primary-dark);
	color: var(--totell-white);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35);
}

.btn-outline {
	background: transparent;
	color: var(--totell-white);
	border-color: var(--totell-white);
}

.btn-outline:hover {
	background: var(--totell-white);
	color: var(--totell-secondary);
	transform: translateY(-2px);
}

.btn-outline-dark {
	background: transparent;
	color: var(--totell-secondary);
	border-color: var(--totell-secondary);
}

.btn-outline-dark:hover {
	background: var(--totell-secondary);
	color: var(--totell-white);
	transform: translateY(-2px);
}

/* ------------------------------------------------------------
   7. Sections & Cards
   ------------------------------------------------------------ */
.section-white {
	background: var(--totell-white);
}

.section-light {
	background: var(--totell-gray-100);
}

.section-dark {
	background: var(--totell-secondary);
	color: var(--totell-white);
}

.section-gradient {
	background: linear-gradient(135deg, var(--totell-primary) 0%, var(--totell-primary-dark) 100%);
	color: var(--totell-white);
}

/* Base Card */
.card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

/* ------------------------------------------------------------
   8. Venture Cards
   ------------------------------------------------------------ */
.ventures-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.venture-card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--totell-gray-200);
	display: flex;
	flex-direction: column;
}

.venture-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
	border-color: var(--totell-primary-light);
}

.venture-card__image {
	height: 200px;
	overflow: hidden;
	background: var(--totell-gray-100);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

.venture-card__image img {
	width: auto;
	height: auto;
	max-width: 120px;
	max-height: 120px;
	object-fit: contain;
	transition: transform var(--transition-slow);
}

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

.venture-card__body {
	padding: 1.75rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.venture-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.venture-card__title a {
	color: var(--totell-secondary);
	text-decoration: none;
}

.venture-card__title a:hover {
	color: var(--totell-primary);
}

.venture-card__tagline {
	font-size: 0.875rem;
	color: var(--totell-primary);
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.venture-card__excerpt {
	font-size: 0.9375rem;
	color: var(--totell-gray-400);
	margin-bottom: 1.25rem;
	flex: 1;
}

.venture-card__link {
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--totell-primary);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.venture-card__link:hover {
	color: var(--totell-primary-dark);
	gap: 0.75rem;
}

/* ------------------------------------------------------------
   9. Event Cards
   ------------------------------------------------------------ */
.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 2rem;
}

.event-card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--totell-gray-200);
}

.event-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
}

.event-card__image {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.event-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

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

.event-card__date-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: var(--totell-primary);
	color: var(--totell-white);
	border-radius: var(--radius-sm);
	padding: 0.5rem 0.75rem;
	text-align: center;
	min-width: 55px;
}

.event-date-day {
	display: block;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
}

.event-date-month {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.event-card__body {
	padding: 1.5rem;
}

.event-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.event-card__title a {
	color: var(--totell-secondary);
	text-decoration: none;
}

.event-card__title a:hover {
	color: var(--totell-primary);
}

.event-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.8125rem;
	color: var(--totell-gray-400);
}

.event-card__date,
.event-card__location {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.event-card__excerpt {
	font-size: 0.9375rem;
	color: var(--totell-gray-400);
}

/* ------------------------------------------------------------
   10. Team Cards
   ------------------------------------------------------------ */
.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 2rem;
}

.team-card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--totell-gray-200);
}

.team-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
}

.team-card__image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	margin: 2rem auto 1rem;
	background: var(--totell-gray-100);
	border: 4px solid var(--totell-gray-200);
	transition: border-color var(--transition-base);
}

.team-card:hover .team-card__image {
	border-color: var(--totell-primary);
}

.team-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.team-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--totell-gray-200);
}

.team-card__placeholder span {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--totell-gray-400);
}

.team-card__body {
	padding: 0 1.5rem 2rem;
}

.team-card__name {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}

.team-card__position {
	font-size: 0.875rem;
	color: var(--totell-primary);
	font-weight: 500;
	margin-bottom: 0.75rem;
}

.team-card__bio {
	font-size: 0.875rem;
	color: var(--totell-gray-400);
	margin-bottom: 1rem;
}

.team-card__social {
	display: inline-flex;
	color: var(--totell-gray-400);
	transition: color var(--transition-base);
}

.team-card__social:hover {
	color: var(--totell-primary);
}

/* ------------------------------------------------------------
   11. Testimonials
   ------------------------------------------------------------ */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	padding: 2rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--totell-gray-200);
	border-left: 4px solid var(--totell-primary);
	margin: 0;
}

.testimonial-card__content p {
	font-style: italic;
	font-size: 1rem;
	color: var(--totell-secondary);
	margin-bottom: 1rem;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.testimonial-card__avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
}

.testimonial-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-card__name {
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	font-style: normal;
	color: var(--totell-secondary);
}

/* ------------------------------------------------------------
   12. Media Coverage
   ------------------------------------------------------------ */
.media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 2rem;
}

.media-item {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	box-shadow: var(--shadow-sm);
	border: 1px solid var(--totell-gray-200);
	transition: all var(--transition-base);
}

.media-item:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-3px);
}

.media-item__logo {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--totell-gray-100);
}

.media-item__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
}

.media-item__body {
	flex: 1;
}

.media-item__title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.media-item__excerpt {
	font-size: 0.875rem;
	color: var(--totell-gray-400);
	margin-bottom: 0.5rem;
}

.media-item__link {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--totell-primary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.media-item__link:hover {
	gap: 0.5rem;
}

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */
.site-footer {
	background: var(--totell-secondary);
	color: rgba(255, 255, 255, 0.85);
}

.footer-widgets-area {
	padding: 4rem 0 3rem;
}

.footer-container {
	max-width: var(--container-wide);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
	gap: 3rem;
}

.footer-brand {
	margin-bottom: 1rem;
}

.footer-site-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--totell-white);
	text-transform: uppercase;
	letter-spacing: 2px;
}

.footer-description {
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.6);
	margin-top: 1rem;
	line-height: 1.6;
}

.footer-widget-title {
	font-family: var(--font-heading);
	font-size: 1rem;
	font-weight: 700;
	color: var(--totell-white);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1.25rem;
	position: relative;
	padding-bottom: 0.75rem;
}

.footer-widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--totell-primary);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu li {
	margin-bottom: 0.5rem;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 0.9375rem;
	transition: color var(--transition-base), padding-left var(--transition-base);
	display: inline-block;
}

.footer-menu a:hover {
	color: var(--totell-primary);
	padding-left: 4px;
}

.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-contact li {
	margin-bottom: 0.75rem;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.65);
}

.contact-label {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	display: block;
	margin-bottom: 0.15rem;
}

.footer-contact a {
	color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
	color: var(--totell-primary);
}

.footer-contact address {
	font-style: normal;
	display: inline;
}

.social-links {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.7);
	transition: all var(--transition-base);
}

.social-link:hover {
	background: var(--totell-primary);
	color: var(--totell-white);
	transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.5rem 0;
}

.footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-copyright,
.footer-credit {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

.footer-copyright a,
.footer-credit a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-copyright a:hover,
.footer-credit a:hover {
	color: var(--totell-primary);
}

/* ------------------------------------------------------------
   14. Blog & Single Post
   ------------------------------------------------------------ */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
	gap: 2rem;
}

.post-card {
	background: var(--totell-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition-base);
	border: 1px solid var(--totell-gray-200);
}

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

.post-card__image {
	height: 220px;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-slow);
}

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

.post-card__body {
	padding: 1.5rem;
}

.post-card__meta {
	font-size: 0.8125rem;
	color: var(--totell-gray-400);
	margin-bottom: 0.75rem;
	display: flex;
	gap: 1rem;
}

.post-card__title {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.post-card__title a {
	color: var(--totell-secondary);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--totell-primary);
}

.post-card__excerpt {
	font-size: 0.9375rem;
	color: var(--totell-gray-400);
	margin-bottom: 1rem;
}

.post-card__read-more {
	font-family: var(--font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--totell-primary);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.post-card__read-more:hover {
	gap: 0.65rem;
}

/* Single Post */
.single-post-header {
	background: var(--totell-secondary);
	padding: 8rem 0 4rem;
	text-align: center;
}

.single-post-header .entry-title {
	color: var(--totell-white);
	margin-bottom: 1rem;
}

.single-post-header .entry-meta {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9375rem;
}

.single-post-content {
	padding: 4rem 0;
}

.single-post-content .container {
	max-width: 800px;
}

.post-thumbnail {
	margin-bottom: 2rem;
	border-radius: var(--radius-md);
	overflow: hidden;
}

.post-thumbnail img {
	width: 100%;
	height: auto;
}

.entry-content {
	font-size: 1.0625rem;
	line-height: 1.8;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------
   15. Sidebar & Widgets
   ------------------------------------------------------------ */
.widget-area {
	padding: 2rem 0;
}

.widget {
	margin-bottom: 2rem;
	background: var(--totell-white);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	border: 1px solid var(--totell-gray-200);
}

.widget-title {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--totell-primary);
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget ul li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--totell-gray-200);
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: var(--totell-gray-400);
	text-decoration: none;
	font-size: 0.9375rem;
}

.widget ul li a:hover {
	color: var(--totell-primary);
	padding-left: 4px;
}

/* ------------------------------------------------------------
   16. Pagination
   ------------------------------------------------------------ */
.pagination {
	margin: 3rem 0;
}

.pagination-list {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.5rem;
}

.pagination-item .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--totell-white);
	border: 1px solid var(--totell-gray-200);
	color: var(--totell-secondary);
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--transition-base);
}

.pagination-item .page-numbers:hover {
	background: var(--totell-gray-100);
	border-color: var(--totell-primary);
	color: var(--totell-primary);
}

.pagination-item .page-numbers.current {
	background: var(--totell-primary);
	border-color: var(--totell-primary);
	color: var(--totell-white);
}

.pagination-item .page-numbers.prev,
.pagination-item .page-numbers.next {
	font-size: 1.125rem;
}

/* ------------------------------------------------------------
   17. Forms & Contact
   ------------------------------------------------------------ */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
	width: 100%;
	padding: 0.75rem 1rem;
	font-family: var(--font-primary);
	font-size: 1rem;
	color: var(--totell-secondary);
	background: var(--totell-white);
	border: 2px solid var(--totell-gray-200);
	border-radius: var(--radius-sm);
	transition: border-color var(--transition-base);
	-webkit-appearance: none;
	appearance: none;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--totell-primary);
	box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

label {
	font-family: var(--font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--totell-secondary);
	margin-bottom: 0.5rem;
	display: block;
}

/* Contact Page */
.contact-section {
	padding: 6rem 0;
}

.contact-info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.contact-card {
	text-align: center;
	padding: 2rem;
	background: var(--totell-white);
	border-radius: var(--radius-md);
	border: 1px solid var(--totell-gray-200);
	transition: all var(--transition-base);
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--totell-primary-light);
}

.contact-card__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 1rem;
	background: rgba(255, 107, 0, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--totell-primary);
}

.contact-card__title {
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.contact-card__value {
	font-size: 0.9375rem;
	color: var(--totell-gray-400);
}

.contact-card__value a {
	color: var(--totell-gray-400);
}

.contact-card__value a:hover {
	color: var(--totell-primary);
}

/* ------------------------------------------------------------
   18. Animations
   ------------------------------------------------------------ */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(40px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-40px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
	from { opacity: 0; transform: translateX(40px); }
	to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
	animation: fadeIn 0.6s ease forwards;
}

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

/* ------------------------------------------------------------
   19. Accessibility
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.skip-link {
	position: absolute;
	top: -1000px;
	left: 6px;
	z-index: 99999;
	padding: 1em 1.5em;
	background: var(--totell-primary);
	color: var(--totell-white);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
}

.skip-link:focus {
	top: 6px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--totell-primary);
	outline-offset: 2px;
}

/* ------------------------------------------------------------
   20. Responsive - Tablet
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
	.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 782px) {
	:root {
		--header-height: 64px;
	}

	.grid-3, .grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.ventures-grid,
	.events-grid,
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ------------------------------------------------------------
   20. Responsive - Mobile
   ------------------------------------------------------------ */
@media (max-width: 600px) {
	.grid-2, .grid-3, .grid-4 {
		grid-template-columns: 1fr;
	}

	.ventures-grid,
	.events-grid,
	.posts-grid,
	.team-grid,
	.testimonials-grid,
	.media-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.footer-bottom-inner {
		flex-direction: column;
		text-align: center;
	}

	/* Mobile Navigation */
	.menu-toggle {
		display: block;
	}

	.primary-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 360px;
		height: 100%;
		flex-direction: column;
		background: var(--totell-white);
		padding: 5rem 2rem 2rem;
		gap: 0;
		overflow-y: auto;
		transition: right var(--transition-base);
		z-index: 999;
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
	}

	.primary-menu.active {
		right: 0;
	}

	.primary-menu .menu-item a {
		color: var(--totell-secondary) !important;
		padding: 0.75rem 0;
		font-size: 1rem;
		border-bottom: 1px solid var(--totell-gray-200);
		border-radius: 0;
	}

	.primary-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		padding: 0 0 0 1rem;
		background: transparent;
	}

	.mobile-nav-overlay {
		display: block;
		pointer-events: none;
	}

	.mobile-nav-overlay.active {
		pointer-events: auto;
	}

	/* Hero */
	.hero-title {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-actions .btn {
		text-align: center;
		justify-content: center;
	}

	/* Single post */
	.single-post-header {
		padding: 6rem 0 3rem;
	}

	.contact-info-grid {
		grid-template-columns: 1fr;
	}
}
