/* Custom Logo Font - ONLY ONCE AT THE TOP */
@font-face {
	font-family: 'DrumagStudioNF';
	src: url('fonts/DrumagStudioNF.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Grudge BRK';
	src: url('fonts/grudge.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'monog___';
	src: url('fonts/monog___.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}



/* CSS Variables - ONLY ONCE */
:root {
	--primary-navy: #0a1a3a;
	--primary-navy-light: #1a2d5a;
	--accent-blue: #2563eb;
	--accent-blue-light: #3b82f6;
	--white: #ffffff;
	--off-white: #f5f7fa;
	--light-gray: #e2e8f0;
	--gray: #94a3b8;
	--dark-gray: #475569;
	--black: #1e293b;
	--whatsapp-green: #0a9e08;
	--whatsapp-green-dark: #128C7E;
	--footer-bg: #2d3748;
	--footer-text: #cbd5e0;

	--font-heading: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
	--font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
	--font-logo: 'monog___', 'DrumagStudioNF', sans-serif;

	--shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.1);
	--shadow-lg: 0 10px 30px rgba(0,0,0,0.15);

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
	--radius-xl: 30px;
	--radius-full: 9999px;
}

/* ============ LOGO STYLES ============ */
.logo-text {
	font-family: var(--font-logo);
	font-size: 1.6rem;
	font-weight: normal; /* IMPORTANT: Change from 800 to normal */
	color: var(--primary-navy);
	white-space: nowrap;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background-color: var(--off-white);
	color: var(--black);
	line-height: 1.6;
	font-family: var(--font-body);
	overflow-x: hidden;
}

/* ======== UPDATED HEADER SECTION - REPLACE FROM HERE ======== */
/* HEADER CONTAINER */
.header-container {
	background-color: var(--off-white);
	border-bottom: 1px solid var(--light-gray);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow-sm);
	padding: 0.8rem 5%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 70px;
}

/* LOGO SECTION - LEFT SIDE */
.logo-section {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-img {
	height: 28px;
	width: 28px;
	border-radius: var(--radius-sm);
/* 	background: var(--accent-blue); */
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	flex-shrink: 0;
}

/*.logo-text {
	font-family: var(--font-logo);
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--primary-navy);
	white-space: nowrap;
}*/

/* DESKTOP NAVIGATION - MIDDLE */
.desktop-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex: 1;
	justify-content: center;
	margin: 0 2rem;
}

.nav-link {
	text-decoration: none;
	color: var(--dark-gray);
	font-weight: 500;
	font-size: 1rem;
	transition: color 0.3s ease;
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}

.nav-link:hover {
	color: var(--primary-navy);
	background: rgba(0, 0, 0, 0.05);
}

.einv-link {
	color: var(--accent-blue);
	font-weight: 600;
}

/* HEADER RIGHT SECTION */
.header-right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-shrink: 0;
}

/* Download Icon */
.top-download-icon {
	font-size: 1.5rem;
	color: var(--accent-blue);
	padding: 0.5rem;
	text-decoration: none;
	transition: all 0.3s ease;
	background: rgba(37, 99, 235, 0.1);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
}

.top-download-icon:hover {
	background: var(--accent-blue);
	color: white;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

/* Currency Selector */
.currency-selector {
	position: relative;
}

.currency-btn {
	background: var(--white);
	border: 1px solid var(--light-gray);
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--dark-gray);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 6px;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.currency-btn:hover {
	border-color: var(--accent-blue);
	color: var(--accent-blue);
}

.currency-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--white);
	border: 1px solid var(--light-gray);
	border-radius: var(--radius-md);
	padding: 8px 0;
	min-width: 140px;
	box-shadow: var(--shadow-md);
	display: none;
	z-index: 10;
}

.currency-dropdown.show {
	display: block;
}

.currency-option {
	padding: 8px 12px;
	cursor: pointer;
	transition: background 0.2s;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.currency-option:hover {
	background: var(--off-white);
}

.currency-flag {
	width: 18px;
	height: 12px;
	border-radius: 2px;
}

/* Mobile Menu Toggle - Hidden on desktop */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--primary-navy);
	cursor: pointer;
	padding: 0.5rem;
	border-radius: var(--radius-sm);
	transition: all 0.3s ease;
	width: 45px;
	height: 45px;
	background: rgba(37, 99, 235, 0.1);
	color: var(--accent-blue);
}

.mobile-menu-toggle:hover {
	background: var(--accent-blue);
	color: white;
}

.mobile-menu-toggle.active .fa-bars {
	display: none;
}

.mobile-menu-toggle.active .fa-times {
	display: inline-block;
}

.mobile-menu-toggle .fa-times {
	display: none;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	padding: 2rem 5%;
	z-index: 999;
	overflow-y: auto;
}

.mobile-nav-overlay.active {
	display: block;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.mobile-nav-link {
	font-size: 1.3rem;
	padding: 1rem 1.5rem;
	text-align: left;
	width: 100%;
	border-bottom: 1px solid var(--light-gray);
	display: block;
	color: var(--dark-gray) !important;
	text-decoration: none;
	transition: all 0.3s ease;
	background: white;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.mobile-nav-link:hover {
	background: var(--off-white);
	color: var(--primary-navy) !important;
	transform: translateX(5px);
}

.mobile-currency-selector {
	width: 100%;
	margin-top: 1rem;
}

.mobile-currency-btn {
	width: 100%;
	justify-content: center;
	padding: 1rem 1.5rem;
	font-size: 1.1rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--light-gray);
	background: white;
	color: var(--dark-gray);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	box-shadow: var(--shadow-sm);
}

.mobile-currency-btn:hover {
	border-color: var(--accent-blue);
	color: var(--accent-blue);
}

.mobile-currency-dropdown {
	width: 100%;
	border: 1px solid var(--light-gray);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	position: static;
	margin-top: 0.5rem;
}
/* ======== END OF UPDATED HEADER SECTION - TO HERE ======== */

/* WhatsApp Button - ALWAYS VISIBLE */
.whatsapp-fixed {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.whatsapp-btn-main {
	background: linear-gradient(to right, var(--whatsapp-green) 50%, var(--white) 50%);
	border: 2px solid var(--whatsapp-green);
	border-radius: var(--radius-full);
	padding: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	white-space: nowrap;
	animation: pulse 2s infinite;
}

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

.whatsapp-btn-main:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 25px rgba(0,0,0,0.3);
	animation: none;
}

.whatsapp-icon-container {
	background: var(--white);
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.whatsapp-icon {
	color: var(--whatsapp-green);
	font-size: 1.5rem;
}

.whatsapp-text {
	background: var(--whatsapp-green);
	color: white;
	padding: 12px 18px;
	font-weight: 600;
	font-size: 0.95rem;
	display: block;
}

/* WhatsApp tooltip for mobile */
.whatsapp-tooltip {
	position: absolute;
	top: -45px;
	right: 0;
	background: var(--whatsapp-green);
	color: white;
	padding: 8px 12px;
	border-radius: var(--radius-sm);
	font-size: 0.85rem;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: var(--shadow-md);
	display: none;
	animation: fadeIn 0.3s ease;
}

.whatsapp-btn-main:hover .whatsapp-tooltip {
	display: block;
}

/* Carousel with sliding animation - 2s delay */
.carousel-container {
	position: relative;
	height: 500px;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	margin-bottom: 30px;
	margin-top: 0; /* No gap between header and carousel */
}

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

.carousel-slide {
	min-width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 5%;
}

.slide-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	gap: 3rem;
}

.slide-text {
	flex: 1;
	color: white;
	max-width: 500px;
}

.slide-text h1 {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 1rem;
}

.slide-text p {
	font-size: 1.1rem;
	opacity: 0.9;
	margin-bottom: 1.5rem;
	font-weight: 300;
}

.slide-image {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	position: relative;
}

/* FIXED: Better image handling with fallback */
.slide-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
	border-radius: var(--radius-md);
	display: block !important;
	opacity: 1;
}

.image-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	border-radius: var(--radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 1.5rem;
	flex-direction: column;
	gap: 1rem;
	padding: 2rem;
	text-align: center;
}

.image-fallback i {
	font-size: 3rem;
	opacity: 0.7;
}

/* Carousel Controls */
.carousel-indicators {
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 5;
}

.indicator {
	width: 10px;
	height: 10px;
	border-radius: var(--radius-full);
	background: rgba(255,255,255,0.3);
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease;
}

.indicator.active {
	background: white;
	transform: scale(1.3);
}

.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.15);
	border: none;
	color: white;
	width: 45px;
	height: 45px;
	border-radius: var(--radius-full);
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(5px);
	z-index: 5;
}

.carousel-nav:hover {
	background: rgba(255,255,255,0.25);
}

.carousel-prev {
	left: 20px;
}

.carousel-next {
	right: 20px;
}

/* Button Styles */
.btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--accent-blue);
	color: white;
	border: none;
	border-radius: var(--radius-md);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	text-align: center;
}

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

/* Company Intro */
.company-intro {
	padding: 3rem 5%;
	background: var(--white);
	text-align: center;
	border-radius: var(--radius-lg);
	margin: 0 5% 2rem;
	box-shadow: var(--shadow-md);
	position: relative;
	z-index: 2;
}

.intro-container {
	max-width: 800px;
	margin: 0 auto;
}

.intro-container h2 {
	font-family: var(--font-heading);
	font-size: 2rem;
	color: var(--primary-navy);
	margin-bottom: 1rem;
	font-weight: 700;
}

.intro-container p {
	font-size: 1.1rem;
	color: var(--dark-gray);
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.chip-technology {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--off-white);
	padding: 12px 20px;
	border-radius: var(--radius-md);
	border-left: 4px solid var(--accent-blue);
	margin-top: 1rem;
}

.chip-technology i {
	color: var(--accent-blue);
	font-size: 1.3rem;
}

.chip-technology span {
	font-weight: 600;
	color: var(--primary-navy);
}

/* Features Card */
.features-card {
	background: var(--primary-navy);
	color: white;
	padding: 3rem 5%;
	margin: 2rem 5%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.feature-item {
	background: rgba(255,255,255,0.05);
	padding: 1.5rem;
	border-radius: var(--radius-md);
	text-align: center;
	transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
	transform: translateY(-5px);
	background: rgba(255,255,255,0.1);
}

.feature-icon {
	font-size: 2.5rem;
	color: var(--accent-blue-light);
	margin-bottom: 1rem;
}

.feature-item h3 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.feature-item p {
	color: rgba(255,255,255,0.8);
	font-size: 0.95rem;
}

/* Products Section */
.products-section {
	padding: 3rem 5%;
	background-color: #f0f4f8;
	border-radius: var(--radius-lg);
	margin: 2rem 5%;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section-title {
	text-align: center;
	font-family: var(--font-heading);
	font-size: 2rem;
	color: var(--primary-navy);
	margin-bottom: 2rem;
	font-weight: 700;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.product-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid var(--light-gray);
}

.product-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-blue);
}

.card-header {
	background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
	padding: 1.5rem;
	color: white;
	text-align: center;
}

.card-header h3 {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.card-price {
	font-size: 1.8rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.card-price span {
	font-size: 0.9rem;
	font-weight: 400;
	opacity: 0.9;
}

.card-image {
	padding: 1.5rem;
	text-align: center;
	background: var(--off-white);
	min-height: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

/* Product images */
.product-img {
	max-width: 100%;
	max-height: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius-sm);
	display: block !important;
}

.product-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(30, 58, 138, 0.05) 100%);
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-navy);
	font-size: 1.2rem;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem;
	text-align: center;
}

.product-fallback i {
	font-size: 2.5rem;
	opacity: 0.7;
}

.feature-divider {
	border-top: 1px solid rgba(0,0,0,0.1);
	margin: 1.5rem 0;
	width: 100%;
}

.card-content {
	padding: 1.5rem;
}

.product-features {
	list-style: none;
	margin-bottom: 1.5rem;
}

.product-features li {
	margin-bottom: 0.8rem;
	padding-left: 1.5rem;
	position: relative;
	color: var(--dark-gray);
	font-size: 0.95rem;
}

.product-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	background: var(--accent-blue);
	color: white;
	border-radius: var(--radius-full);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	font-weight: bold;
}

.card-footer {
	padding: 0 1.5rem 1.5rem;
}

/* App Download Section */
.app-download-section {
	padding: 4rem 5%;
	background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
	color: white;
	border-radius: var(--radius-lg);
	margin: 2rem 5%;
	text-align: center;
}

.app-download-container {
	max-width: 800px;
	margin: 0 auto;
}

.app-download-container h2 {
	font-family: var(--font-heading);
	font-size: 2rem;
	margin-bottom: 1rem;
	font-weight: 700;
}

.app-download-container p {
	font-size: 1.1rem;
	opacity: 0.9;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.android-requirements {
	background: rgba(255,255,255,0.1);
	padding: 1rem;
	border-radius: var(--radius-md);
	margin-bottom: 2rem;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.android-requirements i {
	color: #3DDC84;
	font-size: 1.5rem;
}

.download-btn-large {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--accent-blue);
	color: white;
	padding: 1rem 2rem;
	border-radius: var(--radius-md);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.2rem;
	transition: all 0.3s ease;
	box-shadow: var(--shadow-md);
}

.download-btn-large:hover {
	background: var(--accent-blue-light);
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
}

.download-btn-large i {
	font-size: 2rem;
}

/* Footer with Rounded Upper Corners */
.footer {
	background: var(--footer-bg);
	color: var(--footer-text);
	padding: 2rem 5% 0.8rem;
	margin-top: 3rem;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto 1.5rem;
}

.footer-column h3 {
	font-family: var(--font-heading);
	font-size: 1.2rem;
	margin-bottom: 1.2rem;
	color: white;
	font-weight: 600;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: var(--footer-text);
	text-decoration: none;
	transition: color 0.3s;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
}

.footer-links a:hover {
	color: white;
}

.footer-links i {
	width: 18px;
}

.copyright {
	text-align: center;
	padding-top: 1rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: var(--footer-text);
	font-size: 0.85rem;
	max-width: 1200px;
	margin: 0 auto;
	line-height: 1.2;
}



/* ======== RESPONSIVE DESIGN ======== */
@media (max-width: 1024px) {
	.desktop-nav {
		gap: 1.5rem;
		margin: 0 1.5rem;
	}

	.nav-link {
		padding: 6px 10px;
		font-size: 0.9rem;
	}

	.carousel-container {
		height: 450px;
	}

	.slide-text h1 {
		font-size: 2rem;
	}

	.whatsapp-text {
		display: block;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 0.6rem 5%;
		min-height: 60px;
	}

	/* Hide desktop navigation and currency selector on mobile */
	.desktop-nav, .currency-selector {
		display: none;
	}

	/* Show mobile menu toggle */
	.mobile-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Adjust sizes for mobile */
	.logo-text {
		font-size: 1.4rem;
	}

	.logo-img {
		height: 28px;
		width: 28px;
		font-size: 1.3rem;
	}

	.top-download-icon {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	/* Adjust mobile overlay position */
	.mobile-nav-overlay {
		top: 60px;
	}

	.carousel-container {
		height: 550px;
		margin-bottom: 20px;
	}

	.slide-content {
		flex-direction: column;
		text-align: center;
		gap: 2rem;
		padding: 1rem;
	}

	.slide-text {
		max-width: 100%;
		order: 2;
	}

	.slide-text h1 {
		font-size: 1.8rem;
	}

	.slide-text p {
		font-size: 1rem;
		line-height: 1.5;
	}

	.slide-image {
		order: 1;
		height: 220px;
		width: 100%;
	}

	.slide-img {
		max-height: 200px;
		width: auto;
		display: block !important;
	}

	.carousel-nav {
		display: none;
	}

	.company-intro {
		margin: 0 3% 1.5rem;
		padding: 2.5rem 5%;
	}

	.features-card, .app-download-section, .products-section {
		margin: 1.5rem 3%;
		padding: 2rem 5%;
	}

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

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

	/* FIXED: Product images on mobile */
	.card-image {
		min-height: 220px;
		padding: 1rem;
	}

	.product-img {
		max-height: 180px;
		width: auto;
		display: block !important;
	}

	.footer {
		padding: 1.5rem 5% 0.6rem;
		border-radius: 15px 15px 0 0;
	}

	.copyright {
		padding-top: 0.8rem;
	}

	/* WhatsApp button adjustments for mobile */
	.whatsapp-btn-main {
		transform: scale(0.9);
	}

	.whatsapp-text {
		display: none;
	}

	.whatsapp-btn-main:hover .whatsapp-text {
		display: block;
		position: absolute;
		top: -45px;
		right: 0;
		background: var(--whatsapp-green);
		padding: 8px 12px;
		border-radius: var(--radius-sm);
		white-space: nowrap;
		font-size: 0.85rem;
		box-shadow: var(--shadow-md);
	}


}

@media (max-width: 480px) {
	.logo-text {
		font-size: 1.3rem;
	}

	.mobile-menu-toggle {
		width: 40px;
		height: 40px;
		font-size: 1.3rem;
		padding: 0.4rem;
	}

	.top-download-icon {
		width: 36px;
		height: 36px;
		font-size: 1.1rem;
	}

	.mobile-nav-link {
		font-size: 1.1rem;
		padding: 0.8rem 1.2rem;
	}

	/* FIXED: Carousel for very small screens */
	.carousel-container {
		height: 600px;
	}

	.slide-text h1 {
		font-size: 1.6rem;
	}

	.slide-text p {
		font-size: 0.95rem;
	}

	.slide-image {
		height: 200px;
	}

	.slide-img {
		max-height: 180px;
		display: block !important;
	}

	.company-intro {
		margin: 0 2% 1.5rem;
		padding: 2rem 5%;
	}

	.intro-container h2 {
		font-size: 1.7rem;
	}

	.section-title {
		font-size: 1.7rem;
	}

	.app-download-container h2 {
		font-size: 1.7rem;
	}

	.download-btn-large {
		padding: 0.8rem 1.5rem;
		font-size: 1.1rem;
	}

	/* FIXED: Product images for very small screens */
	.card-image {
		min-height: 200px;
	}

	.product-img {
		max-height: 160px;
		display: block !important;
	}

	.footer {
		padding: 1rem 5% 0.5rem;
		border-radius: 12px 12px 0 0;
	}

	.copyright {
		padding-top: 0.6rem;
		font-size: 0.8rem;
	}

	/* WhatsApp button adjustments for very small screens */
	.whatsapp-fixed {
		bottom: 15px;
		right: 15px;
	}

	.whatsapp-btn-main {
		transform: scale(0.85);
	}

	.whatsapp-icon-container {
		padding: 10px 12px;
	}


}

/* Animation for download link click */
@keyframes highlightDownload {
	0% { background-color: transparent; }
	50% { background-color: rgba(37, 99, 235, 0.1); }
	100% { background-color: transparent; }
}

.download-highlight {
	animation: highlightDownload 1.5s ease;
}

/* Ensure images load properly on mobile */
img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Image loading states */
.img-loading {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.img-loaded {
	opacity: 1;
}

/* Force image display on all devices */
.slide-img, .product-img {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Fix for mobile image loading */
@media (max-width: 768px) {
	.image-fallback, .product-fallback {
		display: none !important;
	}

	.slide-img, .product-img {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
	}

	/* Fallback if image fails to load */
	.slide-image:has(.slide-img[src=""]) .image-fallback,
	.card-image:has(.product-img[src=""]) .product-fallback {
		display: flex !important;
	}
}

/* ============ OPTIMIZED TERMS MODAL ============ */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 10000;
	align-items: center;
	justify-content: center;
	padding: 15px;
	animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
	display: flex;
}

.terms-modal {
	background: white;
	border-radius: var(--radius-lg);
	width: 95%;
	max-width: 800px;
	max-height: 75vh; /* LIMIT TO 75% HEIGHT */
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-lg);
	animation: slideUp 0.3s ease;
	overflow: hidden;
}

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

/* Compact Header */
.modal-header {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--light-gray);
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--primary-navy);
	color: white;
	flex-shrink: 0;
}

.modal-header h3 {
	font-family: var(--font-heading);
	font-size: 1.3rem;
	font-weight: 600;
	margin: 0;
}

.close-modal {
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0.25rem 0.5rem;
	border-radius: var(--radius-sm);
	transition: background 0.3s;
	line-height: 1;
	min-width: 40px;
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close-modal:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* Main Content Area */
.modal-content {
	padding: 0;
	overflow: hidden;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* Terms Text Container */
.terms-text-container {
	flex: 1;
	overflow-y: auto;
	padding: 1.5rem;
	background: var(--off-white);
	border: none;
	margin: 0;
}

.terms-text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--dark-gray);
	max-width: 700px;
	margin: 0 auto;
}

.terms-text h4 {
	color: var(--primary-navy);
	margin: 1.5rem 0 0.75rem;
	font-size: 1.1rem;
	font-weight: 600;
}

.terms-text p {
	margin-bottom: 1rem;
}

.terms-text ul {
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.terms-text li {
	margin-bottom: 0.5rem;
	padding-left: 0.5rem;
}

/* Compact Agree Section */
.agree-container {
	background: var(--white);
	padding: 0.8rem 1.5rem 0.6rem;
	border-top: 1px solid var(--light-gray);
	flex-shrink: 0;
}

.agree-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
}

.agree-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
	margin-top: 2px;
}

.agree-checkbox label {
	font-size: 0.9rem;
	color: var(--dark-gray);
	cursor: pointer;
	font-weight: 500;
	line-height: 1.4;
	flex: 1;
}

/* Download Button */
.modal-footer {
	padding: 0.6rem 1.5rem;
	display: flex;
	justify-content: center;
	background: var(--white);
	border-top: 1px solid var(--light-gray);
	flex-shrink: 0;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.modal-btn.download {
	background: var(--accent-blue);
	color: white;
	padding: 0.6rem 2.5rem;
	border-radius: var(--radius-md);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	font-size: 0.95rem;
	width: auto;
	min-width: 180px;
	max-width: 250px;
	text-align: center;
	display: inline-block;
}

.modal-btn.download:hover:not(:disabled) {
	background: var(--primary-navy);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.modal-btn.download:disabled {
	background: var(--gray);
	cursor: not-allowed;
	opacity: 0.6;
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 768px) {
	.terms-modal {
		width: 96%;
		max-height: 75vh; /* 75% ON MOBILE */
		margin: 0;
	}

	.modal-header {
		padding: 0.7rem 1rem;
	}

	.modal-header h3 {
		font-size: 1.1rem;
	}

	.close-modal {
		min-width: 32px;
		min-height: 32px;
		font-size: 1.2rem;
	}

	.terms-text-container {
		padding: 0.8rem;
		flex: 1;
	}

	.terms-text {
		font-size: 0.85rem;
		line-height: 1.5;
	}

	.terms-text h4 {
		font-size: 0.95rem;
		margin: 1rem 0 0.4rem;
	}

	.agree-container {
		padding: 0.5rem 1rem 0.4rem;
	}

	.agree-checkbox {
		gap: 8px;
		align-items: center;
	}

	.agree-checkbox input[type="checkbox"] {
		width: 16px;
		height: 16px;
		margin-top: 0;
	}

	.agree-checkbox label {
		font-size: 0.8rem;
		line-height: 1.3;
	}

	.modal-footer {
		padding: 0.4rem 1rem;
	}

	.modal-btn.download {
		padding: 0.5rem 1.2rem;
		font-size: 0.9rem;
		min-width: 150px;
		margin: 0;
	}
}

@media (max-width: 480px) {
	.terms-modal {
		max-height: 70vh; /* EVEN SMALLER ON TINY PHONES */
		border-radius: 10px;
	}

	.terms-text-container {
		padding: 0.6rem;
	}

	.terms-text {
		font-size: 0.8rem;
		line-height: 1.4;
	}

	.agree-container {
		padding: 0.4rem 0.75rem 0.3rem;
	}

	.modal-footer {
		padding: 0.3rem 0.75rem;
	}

	.modal-btn.download {
		min-width: 140px;
		padding: 0.4rem 1rem;
		font-size: 0.85rem;
	}
}

