﻿/* ----------------------------------------------------------------
	Rawat Al Makan &mdash; TallyPrime Partner Theme
	Custom Brand Overrides for Canvas Template
-----------------------------------------------------------------*/

/* ---- Brand Color: Tally Orange --------------------------------- */
:root {
	--cnvs-themecolor:        #f7941d;
	--cnvs-themecolor-rgb:    247, 148, 29;
	--cnvs-secondary-color:   #0f2b5b;
	--tally-orange:           #f7941d;
	--tally-orange-dark:      #e07d0e;
	--tally-navy:             #0f2b5b;
	--tally-navy-light:       #0c3a7a;

	--cnvs-body-font:         'Inter', 'Source Sans Pro', sans-serif;
	--cnvs-primary-font:      'Inter', 'Roboto', sans-serif;

	/* Header height (default Canvas is 100px) */
	--cnvs-header-height:        70px;
	--cnvs-header-height-shrink: 56px;
	--cnvs-sticky-header-height: 60px;
}

/* ---- Base typography ------------------------------------------- */
body {
	font-family: 'Inter', sans-serif;
	-webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
	font-family: 'Inter', sans-serif;
}

/* ---- Top bar --------------------------------------------------- */
#top-bar + #header { top: 0; }
#top-bar {
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ---- Header ---------------------------------------------------- */
#header {
	border-bottom: 1px solid rgba(0,0,0,0.08);
	box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
#header .menu-link:hover div,
#header .menu-link:focus div { color: #f7941d; }

/* Header scroll shadow */
.sticky-header.sticky-active #header-wrap {
	box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* ---- Navigation sub-menu polish -------------------------------- */
.sub-menu-container {
	border-top: 3px solid #f7941d !important;
	box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
	border-radius: 0 0 8px 8px !important;
}

/* ---- Counter --------------------------------------------------- */
.counter { color: #f7941d; }

/* ---- Feature box ----------------------------------------------- */
.fbox-icon i { transition: color 0.2s; }
.feature-box.fbox-plain .fbox-icon {
	margin-bottom: 12px;
}

/* ---- Iconlist -------------------------------------------------- */
.iconlist li i { color: #f7941d; }

/* ---- Steps ----------------------------------------------------- */
.steps .step-num {
	background: #f7941d;
	color: #fff;
	border: 2px solid #f7941d;
	font-weight: 700;
}

/* ---- Toggle ---------------------------------------------------- */
.toggle .toggle-icon i { color: #f7941d; }
.toggle .toggle-header { border-radius: 6px; }

/* ---- Cards ----------------------------------------------------- */
.card {
	border-radius: 12px !important;
	border: 1px solid rgba(0,0,0,0.06) !important;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
	box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
	transform: translateY(-3px);
}
.card[style*="border-top"] {
	border-top-color: #f7941d !important;
}

/* ---- Buttons --------------------------------------------------- */
.bg-color             { background-color: #f7941d !important; }
.btn.bg-color         { background-color: #f7941d !important; border-color: #f7941d; color: #fff; }
.btn.bg-color:hover   { background-color: #e07d0e !important; border-color: #e07d0e; }
a.color, .color       { color: #f7941d !important; }

.btn {
	border-radius: 8px;
	font-weight: 600;
	letter-spacing: 0;
}
.btn-lg { border-radius: 10px; }

/* ---- CTA gradient strip ---------------------------------------- */
.section.bg-color {
	background: linear-gradient(135deg, #f7941d 0%, #e38118 100%) !important;
}

/* ---- Heading block --------------------------------------------- */
.heading-block::after { background: #f7941d; }
.heading-block h2 { letter-spacing: -0.5px; }

/* ---- Hero section ---------------------------------------------- */
.tally-hero {
	background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 50%, #0f3d8a 100%);
	position: relative;
	overflow: hidden;
}
.tally-hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -10%;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(247,148,29,0.12) 0%, transparent 70%);
	pointer-events: none;
}
.tally-hero::after {
	content: '';
	position: absolute;
	bottom: -20%;
	left: -5%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(15,59,138,0.3) 0%, transparent 70%);
	pointer-events: none;
}

/* ---- Stats bar ------------------------------------------------- */
.tally-stats-bar {
	border-top: 4px solid #f7941d;
}
.stat-item {
	padding: 28px 20px;
	text-align: center;
	border-right: 1px solid rgba(0,0,0,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
	font-size: 2.4rem;
	font-weight: 800;
	color: #f7941d;
	line-height: 1;
	display: block;
}
.stat-label {
	font-size: 0.82rem;
	color: #6c757d;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 4px;
	display: block;
}

/* ---- Page header banner (inner pages) -------------------------- */
.page-header-section {
	background: linear-gradient(135deg, #0a1628 0%, #0f2b5b 60%, #0f3d8a 100%);
	padding: 130px 0 60px;
	position: relative;
	overflow: hidden;
}
.page-header-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-section .breadcrumb {
	background: none;
	padding: 0;
	margin: 0;
	justify-content: flex-start;
}
.page-header-section .breadcrumb-item,
.page-header-section .breadcrumb-item a {
	color: rgba(255,255,255,0.6);
	font-size: 0.85rem;
}
.page-header-section .breadcrumb-item.active { color: #f7941d; }
.page-header-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---- Service/feature cards ------------------------------------- */
.service-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px 28px;
	height: 100%;
	border: 1px solid rgba(0,0,0,0.06);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}
.service-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: #f7941d;
	transform: scaleX(0);
	transition: transform 0.3s ease;
}
.service-card:hover {
	box-shadow: 0 12px 40px rgba(247,148,29,0.15);
	transform: translateY(-4px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .service-icon {
	width: 56px; height: 56px;
	background: rgba(247,148,29,0.1);
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 20px;
	transition: background 0.3s ease;
}
.service-card:hover .service-icon { background: #f7941d; }
.service-card:hover .service-icon i { color: #fff !important; }
.service-card h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #1a1a2e;
}
.service-card p { font-size: 0.9rem; color: #6c757d; margin: 0; }

/* ---- Trust/logo bar -------------------------------------------- */
.trust-bar {
	background: #f8f9fc;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
.trust-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid rgba(247,148,29,0.2);
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.trust-badge i { color: #f7941d; font-size: 1.4rem; }
.trust-badge span { font-weight: 600; font-size: 0.9rem; color: #333; }

/* ---- Contact cards -------------------------------------------- */
.contact-info-card {
	background: #fff;
	border-radius: 12px;
	padding: 32px;
	border: 1px solid rgba(0,0,0,0.06);
	height: 100%;
	transition: box-shadow 0.3s;
}
.contact-info-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.contact-info-card .ci-icon {
	width: 48px; height: 48px;
	background: rgba(247,148,29,0.1);
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px;
}
.contact-info-card .ci-icon i { color: #f7941d; font-size: 1.3rem; }

/* ---- Footer ---------------------------------------------------- */
#footer { border-top: 3px solid #f7941d !important; }
#footer .widget_links ul li a:hover { color: #f7941d; }
#footer .widget h4 {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
}

/* ---- Form controls -------------------------------------------- */
.form-control:focus, .form-select:focus {
	border-color: #f7941d;
	box-shadow: 0 0 0 3px rgba(247,148,29,0.15);
}

/* ---- Misc ------------------------------------------------------ */
.heading-block::after { background: #f7941d; }
h3, h5 { text-transform: initial !important; }
h1, h2, h3, h4 { letter-spacing: -0.3px; }

/* ---- Sections dividers ----------------------------------------- */
.section-bg-light { background: #f8f9fc !important; }

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 768px) {
	.stat-item { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); }
	.stat-item:last-child { border-bottom: none; }
	.stat-number { font-size: 1.9rem; }
}
@media (max-width: 480px) {
	#top-bar { display: none !important; }
}
