/*
 * TaxNet Accounting - Professional Corporate Design
 * Classic, Trustworthy, Elegant Aesthetic
 * Color Scheme: Deep Blue #001F3F, Gold #A98547, Accent Blue #001F3F
 */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
	/* Brand Colors - Professional Corporate */
	--primary-color: #001F3F;
	--secondary-color: #A98547;
	--accent-color: #001F3F;
	--dark-blue: #001F3F;

	/* Neutral Colors */
	--dark-color: #1a1a1a;
	--text-dark: #2c2c2c;
	--text-gray: #5a5a5a;
	--text-light: #757575;
	--border-color: #d4d4d4;
	--bg-light: #f5f7fa;
	--bg-lighter: #fafbfc;
	--white: #ffffff;

	/* Typography */
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-secondary: 'Merriweather', Georgia, serif;
	--font-heading: 'Poppins', sans-serif;

	/* Spacing */
	--section-padding: 100px;
	--section-padding-mobile: 60px;

	/* Border Radius */
	--border-radius-sm: 2px;
	--border-radius-md: 4px;
	--border-radius-lg: 6px;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.08);
	--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

	/* Transitions */
	--transition: all 0.3s ease;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-gray);
	background-color: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: var(--primary-color);
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}

h1 {
	font-size: 2.75rem;
}

h2 {
	font-size: 2.25rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.375rem;
}

h5 {
	font-size: 1.125rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-bottom: 1rem;
	color: var(--text-gray);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-color);
}

img {
	max-width: 100%;
	height: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
	font-family: var(--font-primary);
	font-size: 1rem;
	font-weight: 600;
	padding: 0.875rem 2.5rem;
	border-radius: var(--border-radius-md);
	transition: var(--transition);
	border: none;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	letter-spacing: 0.3px;
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
	border: 2px solid var(--primary-color);
}

.btn-primary:hover {
	background-color: var(--dark-blue);
	border-color: var(--dark-blue);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 31, 63, 0.3);
}

.btn-secondary {
	background-color: #A98547;
	color: var(--white);
	border: 2px solid #A98547;
	box-shadow: 0 4px 12px rgba(169, 133, 71, 0.3);
}

.btn-secondary:hover {
	background-color: #8a6d3a;
	border-color: #8a6d3a;
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(169, 133, 71, 0.35);
}

.btn-outline {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-outline:hover {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-outline-white {
	background-color: transparent;
	color: var(--white);
	border: 2px solid var(--white);
}

.btn-outline-white:hover {
	background-color: var(--white);
	color: var(--primary-color);
}

/* ========================================
   CARDS
   ======================================== */
.card {
	background: var(--white);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-lg);
	overflow: hidden;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--secondary-color);
}

.card-body {
	padding: 2rem;
}

.card-title {
	font-size: 1.375rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-weight: 600;
}

/* Service Cards */
.service-card {
	background: var(--white);
	border: 1px solid var(--border-color);
	border-left: 4px solid var(--primary-color);
	border-radius: var(--border-radius-md);
	padding: 2.5rem 2rem;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.service-card::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(0, 31, 63, 0.03), rgba(169, 133, 71, 0.03));
	border-radius: 50%;
	transition: var(--transition);
	z-index: 0;
}

.service-card:hover::before {
	top: -20%;
	right: -20%;
	background: linear-gradient(135deg, rgba(0, 31, 63, 0.05), rgba(169, 133, 71, 0.08));
}

.service-card>* {
	position: relative;
	z-index: 1;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-left-color: var(--secondary-color);
	border-left-width: 5px;
	background: linear-gradient(to bottom right, var(--white), rgba(250, 251, 252, 1));
}

.service-card .icon {
	width: 70px;
	height: 70px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	color: var(--white);
	border-radius: var(--border-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin-bottom: 1.5rem;
	transition: var(--transition);
	box-shadow: 0 4px 12px rgba(0, 31, 63, 0.2);
}

.service-card:hover .icon {
	background: linear-gradient(135deg, #A98547, #d4b87c);
	transform: scale(1.1) rotate(5deg);
	box-shadow: 0 6px 20px rgba(169, 133, 71, 0.35);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
	padding: var(--section-padding) 0;
	position: relative;
}

.section-title {
	margin-bottom: 3.5rem;
	text-align: center;
}

.section-subtitle {
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--secondary-color);
	font-weight: 600;
	margin-bottom: 0.75rem;
	display: block;
}

.section-title h2 {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

/* Background Variations */
.bg-light {
	background-color: var(--bg-light);
}

.bg-lighter {
	background-color: var(--bg-lighter);
	position: relative;
}

.bg-lighter::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../../images/icons/waves-shape.png');
	background-size: cover;
	background-position: center;
	opacity: 0.02;
	pointer-events: none;
}

.bg-primary {
	background-color: var(--primary-color);
	color: var(--white);
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary p {
	color: var(--white);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
	background-color: var(--white);
	border-bottom: 1px solid var(--border-color);
	padding: 1rem 0;
	transition: var(--transition);
}

.navbar.sticky-top {
	box-shadow: var(--shadow-md);
}

.navbar-brand img {
	max-height: 55px;
	transition: var(--transition);
}

.navbar-nav .nav-link {
	color: var(--text-dark);
	font-weight: 500;
	font-size: 0.9375rem;
	padding: 0.5rem 1rem;
	transition: var(--transition);
}

.navbar-nav .nav-link:hover {
	color: var(--primary-color);
}

.navbar-nav .nav-link.active {
	color: var(--primary-color);
	font-weight: 600;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
	position: relative;
	overflow: hidden;
	padding: 0;
}

.hero-section h1 {
	color: var(--white);
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section .lead {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.hero-section .badge {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   STATS/COUNTER
   ======================================== */
.stats-section {
	background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
	color: var(--white);
	padding: 60px 0;
}

.stat-item {
	text-align: center;
	padding: 1.5rem;
}

.stat-item i {
	color: var(--secondary-color);
}

.stat-item h2 {
	color: var(--white);
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.stat-item p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	margin: 0;
}

/* ========================================
   FORMS
   ======================================== */
.form-control {
	background-color: var(--bg-lighter);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-sm);
	padding: 0.75rem 1rem;
	font-size: 1rem;
	transition: var(--transition);
	color: var(--text-dark);
}

.form-control:focus {
	background-color: var(--white);
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
	outline: none;
}

.form-label {
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
	background: linear-gradient(to bottom, var(--dark-blue), #000814);
	color: rgba(255, 255, 255, 0.8);
	padding: 60px 0 0;
}

.footer h5 {
	color: var(--white);
	font-size: 1.125rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links li {
	margin-bottom: 0.75rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.9375rem;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--secondary-color);
	padding-left: 5px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.5rem 0;
	margin-top: 3rem;
}

/* Social Icons */
.social-icon {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--border-radius-sm);
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--white);
	text-decoration: none;
	transition: var(--transition);
	margin-right: 0.5rem;
}

.social-icon:hover {
	background-color: #A98547;
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(169, 133, 71, 0.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1199.98px) {
	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}

	.section {
		padding: 80px 0;
	}
}

@media (max-width: 991.98px) {
	h1 {
		font-size: 2.25rem;
	}

	h2 {
		font-size: 1.875rem;
	}

	.section {
		padding: var(--section-padding-mobile) 0;
	}

	.hero-section h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 767.98px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.75rem;
	}

	.hero-section {
		min-height: 500px !important;
		padding: 60px 0 !important;
	}

	.hero-section h1 {
		font-size: 2rem !important;
	}

	.hero-section .lead {
		font-size: 1.1rem !important;
	}

	.btn {
		font-size: 0.9375rem;
		padding: 0.625rem 1.5rem;
	}
}

@media (max-width: 575.98px) {
	h1 {
		font-size: 1.875rem;
	}

	h2 {
		font-size: 1.625rem;
	}

	.hero-section {
		min-height: 450px !important;
	}

	.hero-section h1 {
		font-size: 1.75rem !important;
	}

	.hero-section .badge {
		font-size: 0.875rem !important;
		padding: 0.5rem 1rem !important;
	}

	.btn {
		font-size: 0.9375rem;
		padding: 0.625rem 1.5rem;
	}
}

/* ========================================
   UTILITIES
   ======================================== */
.text-primary {
	color: var(--primary-color) !important;
}

.text-secondary {
	color: var(--secondary-color) !important;
}

.text-accent {
	color: var(--accent-color) !important;
}

.bg-gradient-primary {
	background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
}

.border-secondary {
	border-color: var(--secondary-color) !important;
}

.shadow-sm {
	box-shadow: var(--shadow-sm);
}

.shadow-md {
	box-shadow: var(--shadow-md);
}

.shadow-lg {
	box-shadow: var(--shadow-lg);
}

/* Divider Line */
.divider {
	height: 4px;
	width: 80px;
	background: var(--secondary-color);
	margin: 1.5rem auto;
}

/* Accent Border */
.accent-border-left {
	border-left: 5px solid #A98547;
	padding-left: 1.5rem;
	background: linear-gradient(to right, rgba(169, 133, 71, 0.08) 0%, rgba(169, 133, 71, 0) 100%);
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Backdrop Filter Support */
@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
	.backdrop-blur {
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
	}
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
	outline: 2px solid var(--accent-color);
	outline-offset: 3px;
}

.skip-to-content {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--primary-color);
	color: var(--white);
	padding: 1rem 2rem;
	z-index: 9999;
	transition: top 0.3s ease;
}

.skip-to-content:focus {
	top: 0;
}

/* ========================================
   LIST GROUP CUSTOMIZATION
   ======================================== */
.list-group-item {
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
}

.list-group-item:hover {
	background-color: #fafbfc !important;
	border-left-color: #A98547 !important;
	padding-left: 1.5rem !important;
}

.list-group-item:hover i {
	transform: translateX(3px);
}

.list-group-item.active {
	font-weight: 600;
	color: #001F3F !important;
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@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;
	}
}