/* ========================================
   SMK MODERN PROFESSIONAL THEME - FIXED VERSION
   Bug fixes: Loading issues, Script conflicts, Performance
======================================== */

/* CSS Variables - Updated Color Scheme */
:root {
   /* Primary Brand Colors */
   --primary-blue: #1e3a8a;
   --primary-teal: #0B8C75;
   --primary-green: #0C8C46;
   --accent-orange: #EF7E1C;
   --accent-gold: #d97706;
   
   /* Neutral Colors */
   --neutral-dark: #1f2937;
   --neutral-medium: #8B8B8C;
   --neutral-light: #f3f4f6;
   --neutral-lighter: #f9fafb;
   --white: #ffffff;
   
   /* Semantic Colors */
   --success: #0C8C46;
   --warning: #f59e0b;
   --error: #ef4444;
   --info: #3b82f6;
   
   /* Effects */
   --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
   --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
   --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
   --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
   --transition: all 0.3s ease;
   --border-radius: 12px;
   --border-radius-sm: 8px;
   --border-radius-lg: 16px;
}

/* ========================================
   BASE STYLES
======================================== */
* {
   box-sizing: border-box;
}

body {
   font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
   line-height: 1.6;
   color: var(--neutral-dark);
   background: var(--white);
   margin: 0;
   padding: 0;
   font-weight: 400;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
   color: var(--neutral-dark);
   font-weight: 700;
   line-height: 1.3;
   margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
   color: var(--neutral-medium);
   margin-bottom: 1rem;
   font-weight: 400;
}

a {
   color: var(--primary-teal);
   text-decoration: none;
   transition: var(--transition);
}

a:hover {
   color: var(--accent-orange);
   text-decoration: none;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

/* Top Bar */
.top-bar {
   background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
   color: var(--white);
   padding: 1.5rem 0;
   box-shadow: var(--shadow-md);
   position: relative;
   overflow: hidden;
}

.top-bar::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
   pointer-events: none;
}

.top-header {
   display: flex;
   align-items: center;
   position: relative;
   z-index: 2;
}

.top-header img {
   border-radius: var(--border-radius);
   box-shadow: var(--shadow-md);
   border: 3px solid rgba(255,255,255,0.2);
   background: var(--white);
   padding: 4px;
}

.brand {
   color: var(--white) !important;
   font-size: 1.5rem;
   font-weight: 800;
   letter-spacing: 0.5px;
   margin-bottom: 0.5rem;
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.top-header small {
   color: rgba(255,255,255,0.9);
   font-size: 0.95rem;
   font-weight: 500;
   font-style: italic;
}

.top-right {
   margin-bottom: 0;
}

.top-right li {
   font-size: 0.9rem;
   font-weight: 500;
   color: rgba(255,255,255,0.9);
}

.top-right i {
   color: var(--accent-gold);
   margin-right: 0.5rem;
   width: 16px;
   text-align: center;
}

.top-right a {
   color: var(--white);
   font-weight: 600;
   transition: var(--transition);
}

.top-right a:hover {
   color: var(--accent-orange);
   text-decoration: none;
}

/* Menu Bar */
.menu-bar {
   background: var(--white);
   box-shadow: var(--shadow-md);
   border-bottom: 1px solid rgba(11, 140, 117, 0.1);
   position: sticky;
   top: 0;
   z-index: 1000;
}

.navbar-toggler {
   border: 2px solid var(--primary-teal);
   border-radius: var(--border-radius-sm);
   padding: 0.5rem;
   transition: var(--transition);
}

.navbar-toggler:hover {
   background: var(--primary-teal);
   border-color: var(--primary-teal);
}

.navbar-toggler:hover .fa {
   color: var(--white) !important;
}

.navbar-toggler .fa {
   color: var(--primary-teal);
   font-size: 1.2rem;
}

/* SmartMenus Override */
.sm-clean {
   background: var(--white);
}

.sm-clean a {
   color: var(--neutral-dark) !important;
   font-weight: 600;
   padding: 1rem 1.25rem !important;
   border-radius: var(--border-radius-sm);
   margin: 0 0.25rem;
   position: relative;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   font-size: 0.9rem;
   transition: var(--transition);
}

.sm-clean a::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
   opacity: 0;
   border-radius: var(--border-radius-sm);
   transition: var(--transition);
   z-index: -1;
}

.sm-clean a:hover::before,
.sm-clean .current-menu-item > a::before {
   opacity: 1;
}

.sm-clean a:hover,
.sm-clean .current-menu-item > a {
   color: var(--white) !important;
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

.sm-clean ul {
   background: var(--white);
   border: 1px solid rgba(11, 140, 117, 0.1);
   box-shadow: var(--shadow-lg);
   border-radius: var(--border-radius);
}

.sm-clean ul a {
   color: var(--neutral-dark) !important;
   font-weight: 500;
   text-transform: none;
   font-size: 0.95rem;
}

.sm-clean ul a:hover {
   background: var(--primary-teal) !important;
   color: var(--white) !important;
}

/* ========================================
   CAROUSEL
======================================== */
.carousel-caption {
   background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(11, 140, 117, 0.9));
   border-radius: var(--border-radius) var(--border-radius) 0 0;
   border-top: 3px solid var(--accent-gold);
   color: var(--white);
   right: 2rem;
   left: 2rem;
   bottom: 2rem;
   padding: 2rem;
   backdrop-filter: blur(10px);
}

.carousel-caption h2 {
   color: var(--white);
   font-weight: 700;
   margin-bottom: 1rem;
   text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.carousel-caption p {
   font-weight: 400;
   opacity: 0.95;
   font-size: 1.1rem;
}

.carousel-indicators li {
   background-color: rgba(255,255,255,0.5);
   border-radius: 50%;
   width: 12px;
   height: 12px;
   margin: 0 4px;
   transition: var(--transition);
}

.carousel-indicators .active {
   background-color: var(--accent-orange);
   transform: scale(1.2);
}

/* ========================================
   SECTIONS
======================================== */
.section-spacing { padding: 5rem 0; }
.section-spacing-sm { padding: 3rem 0; }

.section-title {
   font-size: clamp(2rem, 4vw, 2.75rem);
   font-weight: 800;
   color: var(--primary-blue);
   text-align: center;
   margin-bottom: 1.5rem;
   position: relative;
   background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
}

.section-title::after {
   content: '';
   width: 80px;
   height: 4px;
   background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
   position: absolute;
   bottom: -12px;
   left: 50%;
   transform: translateX(-50%);
   border-radius: 2px;
}

.section-subtitle {
   font-size: 1.125rem;
   color: var(--neutral-medium);
   text-align: center;
   margin-bottom: 3rem;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
   font-weight: 400;
}

/* Statistics Section */
.statistics-section {
   background: linear-gradient(135deg, var(--neutral-lighter) 0%, var(--white) 100%);
   position: relative;
}

.statistics-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 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='%230B8C75' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
   pointer-events: none;
}

.stat-link {
   text-decoration: none;
   color: inherit;
   display: block;
   height: 100%;
}

.stat-box {
   background: var(--white);
   border-radius: var(--border-radius);
   padding: 2.5rem 2rem;
   text-align: center;
   transition: var(--transition);
   border: 1px solid rgba(11, 140, 117, 0.1);
   box-shadow: var(--shadow-sm);
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   min-height: 200px;
   position: relative;
   overflow: hidden;
}

.stat-box::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 4px;
   background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
   transition: left 0.4s ease;
}

.stat-box:hover::before { 
   left: 0; 
}

.stat-box:hover {
   transform: translateY(-8px);
   border-color: var(--primary-teal);
   box-shadow: var(--shadow-lg);
}

.stat-box i {
   font-size: 3rem;
   margin-bottom: 1.5rem;
   color: var(--primary-teal);
   transition: var(--transition);
}

.stat-box:hover i {
   color: var(--accent-orange);
   transform: scale(1.1);
}

.stat-number {
   font-size: clamp(2.5rem, 6vw, 3.5rem);
   font-weight: 800;
   margin-bottom: 0.5rem;
   color: var(--primary-blue);
   transition: var(--transition);
}

.stat-box:hover .stat-number {
   color: var(--accent-orange);
}

.stat-label {
   font-size: 1rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   color: var(--neutral-medium);
}

/* Expertise Section */
.expertise-section {
   background: var(--neutral-light);
   position: relative;
}

.expertise-link {
   text-decoration: none;
   color: inherit;
   display: block;
   height: 100%;
}

.expertise-card {
   background: var(--white);
   border-radius: var(--border-radius);
   padding: 2.5rem;
   text-align: center;
   box-shadow: var(--shadow-sm);
   transition: var(--transition);
   border: 1px solid rgba(11, 140, 117, 0.1);
   height: 100%;
   display: flex;
   flex-direction: column;
   min-height: 300px;
   position: relative;
   overflow: hidden;
}

.expertise-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 4px;
   background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
   transition: left 0.4s ease;
}

.expertise-card:hover::before { 
   left: 0; 
}

.expertise-card:hover {
   transform: translateY(-12px);
   box-shadow: var(--shadow-xl);
   border-color: var(--primary-teal);
}

.card-icon {
   font-size: 4rem;
   margin-bottom: 1.5rem;
   color: var(--primary-teal);
   transition: var(--transition);
}

.expertise-card:hover .card-icon {
   color: var(--accent-orange);
   transform: scale(1.1);
}

.card-title {
   font-size: 1.25rem;
   font-weight: 700;
   color: var(--primary-blue);
   margin-bottom: 1rem;
   transition: var(--transition);
}

.expertise-card:hover .card-title {
   color: var(--accent-orange);
}

.card-description {
   font-size: 0.95rem;
   color: var(--neutral-medium);
   line-height: 1.6;
   flex-grow: 1;
   display: flex;
   align-items: center;
   text-align: left;
}

/* Partners Section */
.partners-section {
   background: var(--white);
   border-top: 1px solid rgba(11, 140, 117, 0.1);
}

.partners-slider {
   overflow: hidden;
   border-radius: var(--border-radius);
   background: var(--neutral-light);
   box-shadow: var(--shadow-md);
   padding: 3rem 0;
   border: 1px solid rgba(11, 140, 117, 0.1);
   position: relative;
}

.partners-slider::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, transparent 50%);
   pointer-events: none;
}

.partners-track {
   display: flex;
   animation: scroll-partners 50s linear infinite;
   gap: 3rem;
}

.partner-item {
   flex-shrink: 0;
   transition: var(--transition);
   padding: 0 1rem;
}

.partner-item:hover { 
   transform: scale(1.05); 
}

.partner-item img {
   height: 60px;
   width: auto;
   max-width: 140px;
   object-fit: contain;
   filter: grayscale(100%) opacity(0.6);
   transition: var(--transition);
}

.partner-item:hover img {
   filter: grayscale(0%) opacity(1);
}

@keyframes scroll-partners {
   0% { transform: translateX(0); }
   100% { transform: translateX(-50%); }
}

/* Testimonial Section */
.testimonial-section {
   background: var(--neutral-light);
   position: relative;
}

.testimonial-slider {
   border-radius: var(--border-radius);
   background: var(--white);
   padding: 4rem 3rem;
   border: 1px solid rgba(11, 140, 117, 0.1);
   box-shadow: var(--shadow-md);
   position: relative;
   overflow: hidden;
}

.testimonial-track {
   display: flex;
   transition: transform 0.6s ease;
   width: 500%;
}

.testimonial-item {
   width: 20%;
   flex-shrink: 0;
   text-align: center;
   padding: 0 2rem;
   opacity: 0.3;
   transition: opacity 0.4s ease;
}

.testimonial-item.active { 
   opacity: 1; 
}

.testimonial-text {
   font-size: 1.25rem;
   color: var(--neutral-dark);
   line-height: 1.7;
   font-style: italic;
   margin-bottom: 2rem;
   position: relative;
   max-width: 600px;
   margin-left: auto;
   margin-right: auto;
   font-weight: 400;
}

.testimonial-text::before,
.testimonial-text::after {
   font-size: 3rem;
   color: var(--accent-orange);
   font-weight: 700;
   opacity: 0.7;
   font-style: normal;
}

.testimonial-text::before {
   content: '"';
   position: absolute;
   left: -20px;
   top: -10px;
}

.testimonial-text::after {
   content: '"';
   position: absolute;
   right: -20px;
   bottom: -20px;
}

.testimonial-photo {
   width: 100px;
   height: 100px;
   border-radius: 50%;
   border: 4px solid var(--primary-teal);
   margin-bottom: 1.5rem;
   object-fit: cover;
   box-shadow: var(--shadow-md);
}

.testimonial-name {
   font-size: 1.25rem;
   font-weight: 700;
   color: var(--primary-blue);
   margin-bottom: 0.5rem;
}

.testimonial-position {
   font-size: 1rem;
   color: var(--neutral-medium);
   margin-bottom: 0.25rem;
}

.testimonial-company {
   font-size: 0.95rem;
   color: var(--accent-orange);
   font-weight: 600;
}

.testimonial-controls {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 3rem;
   gap: 2rem;
}

.testimonial-nav {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: var(--white);
   border: 2px solid var(--primary-teal);
   color: var(--primary-teal);
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   transition: var(--transition);
   box-shadow: var(--shadow-sm);
}

.testimonial-nav:hover {
   background: var(--primary-teal);
   color: var(--white);
   transform: scale(1.1);
   box-shadow: var(--shadow-md);
}

.testimonial-indicators { 
   display: flex; 
   gap: 12px; 
}

.testimonial-dot {
   width: 14px;
   height: 14px;
   border-radius: 50%;
   background: rgba(11, 140, 117, 0.3);
   cursor: pointer;
   transition: var(--transition);
}

.testimonial-dot.active {
   background: var(--primary-teal);
   transform: scale(1.3);
}

.testimonial-dot:hover {
   background: var(--primary-green);
}

/* ========================================
   CONTENT AREA
======================================== */
.content {
   background: var(--white);
   min-height: 500px;
   padding: 4rem 0;
}

.page-title {
   font-weight: 700;
   color: var(--primary-blue);
   font-size: 1.75rem;
   margin-bottom: 2rem;
   padding-bottom: 1rem;
   position: relative;
}

.page-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 60px;
   height: 4px;
   background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
   border-radius: 2px;
}

/* ========================================
   FOOTER
======================================== */
.primary-footer {
   background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
   color: var(--white);
   padding: 4rem 0 2rem;
   position: relative;
}

.primary-footer::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
   pointer-events: none;
}

.primary-footer .container {
   position: relative;
   z-index: 2;
}

.primary-footer .page-title {
   color: var(--white);
   font-weight: 700;
   margin-bottom: 1.5rem;
   font-size: 1.25rem;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.primary-footer .page-title::after {
   background: var(--accent-gold);
}

.primary-footer p {
   color: rgba(255, 255, 255, 0.9);
   margin-bottom: 1rem;
   font-weight: 400;
   line-height: 1.6;
}

.primary-footer dt {
   color: var(--white);
   font-weight: 600;
   font-size: 1rem;
   margin-bottom: 0.5rem;
}

.primary-footer dd {
   color: rgba(255, 255, 255, 0.85);
   font-size: 0.95rem;
   margin-bottom: 1rem;
   font-weight: 400;
}

.primary-footer dt .fa {
   color: var(--accent-gold);
   margin-right: 0.75rem;
   width: 20px;
   text-align: center;
   font-size: 1.1rem;
}

.primary-footer a {
   color: var(--white);
   text-decoration: none;
   transition: var(--transition);
   font-weight: 500;
}

.primary-footer a:hover {
   color: var(--accent-gold);
   text-decoration: none;
}

.tag-content-block a {
   background: rgba(255, 255, 255, 0.15);
   color: var(--white);
   padding: 0.5rem 1rem;
   border-radius: 25px;
   text-decoration: none;
   font-size: 0.875rem;
   margin: 0.3rem 0.2rem;
   display: inline-block;
   border: 1px solid rgba(255, 255, 255, 0.2);
   transition: var(--transition);
   font-weight: 500;
   backdrop-filter: blur(10px);
}

.tag-content-block a:hover {
   background: var(--accent-orange);
   color: var(--white);
   transform: translateY(-2px);
   box-shadow: 0 4px 12px rgba(239, 126, 28, 0.3);
   border-color: var(--accent-orange);
}

.social-icon {
   width: 45px;
   height: 45px;
   border-radius: 50%;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   margin-right: 0.75rem;
   margin-bottom: 0.5rem;
   transition: var(--transition);
   font-size: 1.1rem;
   border: 2px solid rgba(255, 255, 255, 0.2);
   text-decoration: none;
   position: relative;
   backdrop-filter: blur(10px);
}

.social-icon:hover {
   transform: scale(1.1) translateY(-3px);
   box-shadow: var(--shadow-lg);
   border-color: var(--white);
   text-decoration: none;
}

.facebook { 
   background: #1877f2; 
   color: var(--white) !important; 
}

.twitter { 
   background: #1da1f2; 
   color: var(--white) !important; 
}

.instagram { 
   background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
   color: var(--white) !important; 
}

.youtube { 
   background: #ff0000; 
   color: var(--white) !important; 
}

.facebook:hover,
.twitter:hover,
.instagram:hover,
.youtube:hover {
   color: var(--white) !important;
   text-decoration: none;
}

.secondary-footer {
   background: var(--neutral-dark);
   color: var(--white);
   padding: 1.5rem 0;
   font-weight: 500;
}

.secondary-footer a {
   color: var(--accent-gold);
   text-decoration: none;
   font-weight: 600;
   transition: var(--transition);
}

.secondary-footer a:hover {
   color: var(--white);
   text-decoration: none;
}

/* ========================================
   UI COMPONENTS
======================================== */
.btn-primary, .action-button {
   background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
   color: var(--white);
   border: none;
   transition: var(--transition);
   font-weight: 600;
   padding: 0.75rem 2rem;
   border-radius: var(--border-radius-sm);
   box-shadow: var(--shadow-sm);
   position: relative;
   overflow: hidden;
}

.btn-primary::before, .action-button::before {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
   transition: left 0.4s ease;
   z-index: -1;
}

.btn-primary:hover::before, .action-button:hover::before {
   left: 0;
}

.btn-primary:hover, .action-button:hover {
   color: var(--white);
   transform: translateY(-2px);
   box-shadow: var(--shadow-md);
}

.btn-secondary {
   background: var(--neutral-medium);
   border: none;
   color: var(--white);
   font-weight: 600;
   transition: var(--transition);
}

.btn-secondary:hover {
   background: var(--accent-orange);
   color: var(--white);
   transform: translateY(-2px);
}

.card {
   border: 1px solid rgba(11, 140, 117, 0.1);
   transition: var(--transition);
   border-radius: var(--border-radius);
   box-shadow: var(--shadow-sm);
   background: var(--white);
}

.card:hover {
   transform: translateY(-4px);
   box-shadow: var(--shadow-md);
   border-color: var(--primary-teal);
}

.card-header {
   background: linear-gradient(135deg, rgba(11, 140, 117, 0.05) 0%, rgba(239, 126, 28, 0.05) 100%);
   border-bottom: 1px solid rgba(11, 140, 117, 0.2);
   font-weight: 600;
   color: var(--primary-blue);
   border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card-title {
   color: var(--primary-blue);
   font-weight: 700;
}

.form-control {
   border: 2px solid rgba(11, 140, 117, 0.2);
   border-radius: var(--border-radius-sm);
   transition: var(--transition);
   padding: 0.75rem 1rem;
   font-size: 0.95rem;
}

.form-control:focus {
   border-color: var(--primary-teal);
   box-shadow: 0 0 0 3px rgba(11, 140, 117, 0.15);
   outline: none;
}

.list-group-item {
   border: 1px solid rgba(11, 140, 117, 0.1);
   transition: var(--transition);
   color: var(--neutral-dark);
}

.list-group-item:hover {
   background-color: rgba(11, 140, 117, 0.05);
   border-color: var(--primary-teal);
   color: var(--primary-blue);
}

.list-group-item.active {
   background-color: var(--primary-teal);
   border-color: var(--primary-teal);
   color: var(--white);
}

.sidebar .list-group-item {
   border: 1px solid rgba(11, 140, 117, 0.1);
   color: var(--neutral-dark);
   font-weight: 500;
   background: var(--white);
}

.sidebar .list-group-item:hover {
   background-color: rgba(11, 140, 117, 0.05);
   border-color: var(--primary-teal);
   color: var(--primary-blue);
}

.alert {
   border-radius: var(--border-radius);
   font-weight: 500;
   border: none;
}

.alert-success {
   background: linear-gradient(135deg, rgba(12, 140, 70, 0.1), rgba(12, 140, 70, 0.05));
   color: var(--success);
   border-left: 4px solid var(--success);
}

.alert-warning {
   background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
   color: var(--warning);
   border-left: 4px solid var(--warning);
}

.alert-danger {
   background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
   color: var(--error);
   border-left: 4px solid var(--error);
}

.alert-info {
   background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
   color: var(--info);
   border-left: 4px solid var(--info);
}

.table {
   font-size: 0.95rem;
   background: var(--white);
}

.table th {
   background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
   color: var(--white);
   font-weight: 600;
   border: none;
   padding: 1rem;
}

.table td {
   border-color: rgba(11, 140, 117, 0.1);
   padding: 0.75rem 1rem;
   color: var(--neutral-dark);
}

.table-striped tbody tr:nth-of-type(odd) {
   background-color: rgba(11, 140, 117, 0.03);
}

.table-hover tbody tr:hover {
   background-color: rgba(11, 140, 117, 0.05);
}

.page-link {
   color: var(--primary-teal);
   font-weight: 500;
   border: 1px solid rgba(11, 140, 117, 0.2);
   transition: var(--transition);
}

.page-link:hover {
   color: var(--white);
   background-color: var(--primary-teal);
   border-color: var(--primary-teal);
}

.page-item.active .page-link {
   background-color: var(--primary-teal);
   border-color: var(--primary-teal);
   color: var(--white);
}

.breadcrumb {
   background: rgba(11, 140, 117, 0.05);
   border-radius: var(--border-radius-sm);
   padding: 0.75rem 1rem;
}

.breadcrumb-item.active {
   color: var(--accent-orange);
   font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
   color: var(--neutral-medium);
}

.badge-primary {
   background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
   color: var(--white);
}

.badge-secondary {
   background: var(--neutral-medium);
   color: var(--white);
}

.badge-success {
   background: var(--success);
   color: var(--white);
}

.badge-warning {
   background: var(--warning);
   color: var(--white);
}

.badge-danger {
   background: var(--error);
   color: var(--white);
}

.progress {
   background: rgba(11, 140, 117, 0.1);
   border-radius: 50px;
   height: 8px;
}

.progress-bar {
   background: linear-gradient(90deg, var(--primary-teal), var(--accent-orange));
   border-radius: 50px;
}

/* ========================================
   SEARCH & UTILITIES
======================================== */
#search_form {
   position: fixed;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(11, 140, 117, 0.95));
   backdrop-filter: blur(15px);
   z-index: 99999;
   display: none;
   align-items: center;
   justify-content: center;
   transition: var(--transition);
}

#search_form form {
   max-width: 600px;
   width: 90%;
   text-align: center;
}

#search_form input[type="search"] {
   width: 100%;
   padding: 1.5rem 2rem;
   font-size: 1.25rem;
   border: none;
   border-radius: var(--border-radius);
   margin-bottom: 1.5rem;
   background: var(--white);
   color: var(--neutral-dark);
   box-shadow: var(--shadow-lg);
}

#search_form input[type="search"]:focus {
   outline: none;
   box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

#search_form button {
   background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
   color: var(--white);
   border: none;
   padding: 1rem 3rem;
   border-radius: var(--border-radius);
   cursor: pointer;
   transition: var(--transition);
   font-weight: 600;
   font-size: 1.1rem;
   box-shadow: var(--shadow-md);
}

#search_form button:hover {
   transform: translateY(-2px);
   box-shadow: var(--shadow-lg);
}

#return-to-top {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   width: 56px;
   height: 56px;
   background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
   color: var(--white);
   border-radius: 50%;
   display: none;
   align-items: center;
   justify-content: center;
   text-decoration: none;
   box-shadow: var(--shadow-lg);
   transition: var(--transition);
   z-index: 1000;
   border: 2px solid rgba(255, 255, 255, 0.2);
}

#return-to-top:hover {
   background: linear-gradient(135deg, var(--accent-orange), var(--accent-gold));
   color: var(--white);
   transform: translateY(-4px);
   box-shadow: var(--shadow-xl);
   text-decoration: none;
   border-color: var(--white);
}

#return-to-top i {
   font-size: 1.25rem;
}

.toast {
   background-color: var(--neutral-dark);
   color: var(--white);
   border-radius: var(--border-radius);
   box-shadow: var(--shadow-lg);
}

.toast-success {
   background: linear-gradient(135deg, var(--success), #059669);
   color: var(--white);
}

.toast-error {
   background: linear-gradient(135deg, var(--error), #dc2626);
   color: var(--white);
}

.toast-info {
   background: linear-gradient(135deg, var(--info), #2563eb);
   color: var(--white);
}

.toast-warning {
   background: linear-gradient(135deg, var(--warning), #d97706);
   color: var(--white);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-primary { color: var(--primary-teal) !important; }
.text-secondary { color: var(--neutral-medium) !important; }
.text-accent { color: var(--accent-orange) !important; }
.text-muted { color: var(--neutral-medium) !important; }

.bg-primary { background: var(--primary-teal) !important; }
.bg-secondary { background: var(--neutral-medium) !important; }
.bg-accent { background: var(--accent-orange) !important; }
.bg-light { background: var(--neutral-light) !important; }

.border-primary { border-color: var(--primary-teal) !important; }
.border-accent { border-color: var(--accent-orange) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 575.98px) {
   .top-left {
      text-align: center !important;
   }
   
   .top-right {
      display: none;
   }
   
   .page-title {
      font-size: 1.5rem;
   }
   
   .section-spacing {
      padding: 3rem 0;
   }
   
   .stat-box {
      padding: 1.5rem;
      min-height: 160px;
   }
   
   .expertise-card {
      padding: 1.5rem;
      min-height: 260px;
   }
   
   .testimonial-slider {
      padding: 2rem 1rem;
   }
   
   .testimonial-text {
      font-size: 1rem;
      padding: 0 1rem;
   }
   
   .testimonial-text::before {
      left: -10px;
      font-size: 2rem;
   }
   
   .testimonial-text::after {
      right: -10px;
      font-size: 2rem;
   }
   
   .testimonial-photo {
      width: 80px;
      height: 80px;
   }
   
   .testimonial-controls {
      gap: 1rem;
      margin-top: 2rem;
   }
   
   .testimonial-nav {
      width: 44px;
      height: 44px;
   }
   
   .testimonial-dot {
      width: 12px;
      height: 12px;
   }
   
   .card-icon {
      font-size: 3rem;
   }
   
   .carousel-caption {
      padding: 1.5rem;
      left: 1rem;
      right: 1rem;
      bottom: 1rem;
   }
   
   #return-to-top {
      bottom: 1.5rem;
      right: 1.5rem;
      width: 50px;
      height: 50px;
   }
   
   #return-to-top i {
      font-size: 1.1rem;
   }
   
   #search_form {
      padding: 1rem;
   }
   
   #search_form input[type="search"] {
      padding: 1.25rem 1.5rem;
      font-size: 1.1rem;
   }
   
   #search_form button {
      padding: 0.875rem 2rem;
      font-size: 1rem;
   }
}

@media (min-width: 576px) and (max-width: 767.98px) {
   .top-left {
      text-align: center !important;
   }
   
   .top-right {
      display: none;
   }
   
   .section-spacing {
      padding: 4rem 0;
   }
   
   .testimonial-slider {
      padding: 3rem 2rem;
   }
   
   .testimonial-text {
      font-size: 1.125rem;
   }
}

@media (min-width: 768px) and (max-width: 991.98px) {
   .top-left {
      text-align: center !important;
   }
   
   .top-right {
      display: none;
   }
   
   .testimonial-controls {
      gap: 1.5rem;
   }
}

@media (min-width: 992px) {
   .stat-box:nth-child(even) {
      transform: translateY(10px);
   }
   
   .expertise-card:nth-child(even) {
      transform: translateY(15px);
   }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
   .testimonial-slider {
      padding: 2rem 1.5rem;
   }
   
   .testimonial-photo {
      width: 60px;
      height: 60px;
   }
   
   .testimonial-text {
      font-size: 0.95rem;
      margin-bottom: 1rem;
   }
   
   .testimonial-controls {
      margin-top: 1.5rem;
   }
}

/* ========================================
   ANIMATIONS & EFFECTS
======================================== */
@media (prefers-reduced-motion: no-preference) {
   .stat-box,
   .expertise-card {
      opacity: 0;
      transform: translateY(30px);
      animation: fadeInUp 0.6s ease forwards;
   }
   
   .stat-box:nth-child(1) { animation-delay: 0.1s; }
   .stat-box:nth-child(2) { animation-delay: 0.2s; }
   .stat-box:nth-child(3) { animation-delay: 0.3s; }
   .stat-box:nth-child(4) { animation-delay: 0.4s; }
   
   .expertise-card:nth-child(1) { animation-delay: 0.1s; }
   .expertise-card:nth-child(2) { animation-delay: 0.2s; }
   .expertise-card:nth-child(3) { animation-delay: 0.3s; }
   .expertise-card:nth-child(4) { animation-delay: 0.4s; }
   .expertise-card:nth-child(5) { animation-delay: 0.5s; }
   .expertise-card:nth-child(6) { animation-delay: 0.6s; }
}

@media (prefers-reduced-motion: reduce) {
   .testimonial-track {
      transition: none !important;
   }
   
   .partners-track {
      animation: none !important;
   }
   
   * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }
}

@keyframes fadeInUp {
   to {
      opacity: 1;
      transform: translateY(0);
   }
}

html {
   scroll-behavior: smooth;
}

@media (max-width: 768px) {
   body {
      overflow-x: hidden;
      max-width: 100vw;
   }
   
   .container-fluid,
   .container {
      overflow-x: hidden;
   }
}

::selection {
   background: var(--accent-orange);
   color: var(--white);
}

::-moz-selection {
   background: var(--accent-orange);
   color: var(--white);
}

*:focus {
   outline: 2px solid var(--accent-orange);
   outline-offset: 2px;
}

button:focus,
.btn:focus,
input:focus,
select:focus,
textarea:focus {
   outline: 2px solid var(--accent-orange);
   outline-offset: 2px;
}

.loading {
   display: inline-block;
   width: 20px;
   height: 20px;
   border: 3px solid rgba(255, 255, 255, 0.3);
   border-radius: 50%;
   border-top-color: var(--white);
   animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
   to { transform: rotate(360deg); }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
   .top-bar,
   .menu-bar,
   #search_form,
   #return-to-top,
   .carousel-indicators,
   .testimonial-controls,
   .partners-slider,
   .btn,
   button {
      display: none !important;
   }
   
   body {
      font-size: 12pt;
      line-height: 1.4;
      color: #000;
      background: #fff;
   }
   
   .section-title {
      color: #000;
      page-break-after: avoid;
   }
   
   .stat-box,
   .expertise-card,
   .testimonial-item {
      page-break-inside: avoid;
   }
   
   a[href^="http"]:after {
      content: " (" attr(href) ")";
      font-size: 10pt;
      color: #666;
   }
}