/* VPS & Company - Global Premium Theme Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #213b65;
  --secondary-color: #c9983a;
  --primary-hover: #152642;
  --secondary-hover: #aa7f2f;
  --dark-color: #0f172a;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --border-color: #e2e8f0;
  --white: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --box-shadow-md: 0 10px 20px rgba(15, 23, 42, 0.05);
  --box-shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Base Styles */
body {
  font-family: var(--font-body);
  color: var(--dark-color);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5em;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--secondary-hover);
}

/* Utility Layouts */
.section-padding {
  padding: 80px 0;
}

.bg-light-gray {
  background-color: var(--light-color);
}

.text-justify {
  text-align: justify;
}

/* Buttons */
.btn-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-custom-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

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

.btn-custom-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 2px solid var(--secondary-color);
}

.btn-custom-secondary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
  color: var(--secondary-color);
}

.navbar {
  background-color: var(--white);
  padding: 15px 0;
  box-shadow: var(--box-shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-color) !important;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: 4px;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--secondary-color) !important;
  background-color: rgba(201, 152, 58, 0.05);
}

/* Mega Menu Custom Styling */
.dropdown-mega {
  position: static;
}

.dropdown-mega .dropdown-menu {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  padding: 30px;
  border: none;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--box-shadow-lg);
  border-top: 4px solid var(--secondary-color);
}

.mega-menu-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.mega-menu-link {
  display: block;
  padding: 6px 0;
  color: var(--dark-color);
  font-size: 0.88rem;
  font-weight: 500;
}

.mega-menu-link:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

/* Home Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(33, 59, 101, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%);
  color: var(--white);
  padding: 120px 0 140px 0;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(201, 152, 58, 0.12) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
  max-width: 600px;
}

/* Service Cards */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(201, 152, 58, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(33, 59, 101, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Stat Counters */
.counter-box {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--box-shadow-md);
  border-bottom: 4px solid var(--secondary-color);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.counter-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-color);
  text-transform: uppercase;
}

/* Testimonial & Trust Banner */
.trust-banner {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
}

/* Inner Page Banner */
.inner-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #172c4d 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  text-align: left;
}

.inner-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
}

.breadcrumb {
  margin-top: 15px;
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item, .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: var(--secondary-color);
}

/* Layout Details */
.sidebar-box {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.sidebar-title {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  margin-bottom: 12px;
}

.sidebar-links a {
  display: block;
  padding: 8px 12px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.sidebar-links a:hover, .sidebar-links .active a {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Contact Drawer Card */
.contact-drawer {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--box-shadow-md);
  padding: 30px;
  border-top: 4px solid var(--secondary-color);
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(201, 152, 58, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text h5 {
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  color: var(--gray-color);
}

.contact-info-text p {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: var(--primary-color);
}

/* Form Controls */
.form-control {
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(201, 152, 58, 0.15);
}

/* Blog Cards */
.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow-sm);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
}

.blog-img {
  height: 220px;
  background-color: var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

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

.blog-category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--gray-color);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Footer Section */
.footer {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 0.9rem;
  padding-top: 80px;
  border-top: 4px solid var(--secondary-color);
}

.footer h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  display: inline-block;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.footer-social-icon:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
  margin-top: 60px;
  font-size: 0.85rem;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: var(--white);
  transform: scale(1.1);
}

/* HTML dynamic content overrides */
.dynamic-content h1, .dynamic-content h2, .dynamic-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
}

.dynamic-content p {
  margin-bottom: 1.2em;
  text-align: justify;
}

.dynamic-content ul, .dynamic-content ol {
  margin-bottom: 1.5em;
  padding-left: 20px;
}

.dynamic-content li {
  margin-bottom: 6px;
}

.dynamic-content table {
  width: 100% !important;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.dynamic-content th, .dynamic-content td {
  padding: 12px;
  border: 1px solid var(--border-color);
}

.dynamic-content th {
  background-color: rgba(33, 59, 101, 0.04);
  color: var(--primary-color);
  font-weight: 600;
}

/* Custom border helper */
.border-light-gray {
  border-color: var(--border-color) !important;
}

/* Nested Migrated Layout Flattening for Desktop Responsiveness */
.dynamic-content .container {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.dynamic-content .col-lg-8,
.dynamic-content .col-md-8 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Hide original scraped WordPress sidebar elements to prevent duplicates and layout clipping */
.dynamic-content .col-lg-4,
.dynamic-content .course-sidebar {
  display: none !important;
}
