/*
Theme Name: HTSM Academy
Theme URI: https://htsmacademy.com/
Author: HTSM Technologies
Author URI: https://htsm.in/
Description: Complete custom WordPress theme for HTSM Academy - Industry's Best IoT, SAP, Web Design, PHP, .NET, and Android Training Institute in Kolkata.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: htsmacademy
Tags: education, training, responsive-layout, custom-menu, featured-images, theme-options
*/

/* Custom Theme Overrides & Global Enhancements */
:root {
  --htsm-primary: #ff6501;
  --htsm-primary-hover: #ff9317;
  --htsm-dark-blue: #111558;
  --htsm-accent-blue: #1a358f;
}

html {
  font-size: 14.5px !important;
}

body {
  font-family: 'Plus Jakarta Sans', 'Urbanist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, .h1 { font-size: 2.2rem; }
h2, .h2 { font-size: 1.8rem; }
h3, .h3 { font-size: 1.35rem; }
h4, .h4 { font-size: 1.08rem; }
h5, .h5 { font-size: 0.98rem; }
h6, .h6 { font-size: 0.88rem; }

/* Ensure WordPress Admin Bar does not break fixed navigation */
.admin-bar .navbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .navbar {
    top: 46px;
  }
}

/* WordPress Core Alignment Classes */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

/* Generic Page / Blog Content Styling */
.entry-content {
  line-height: 1.65;
  font-size: 0.94rem;
  color: #343f52;
}
.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5, 
.entry-content h6 {
  color: #111558;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.entry-content a {
  color: var(--htsm-primary);
  text-decoration: underline;
}
.entry-content a:hover {
  color: var(--htsm-primary-hover);
}

/* Responsive Floating Elements */
.whatsappBx {
  position: fixed;
  bottom: 50px;
  left: 20px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsappBx:hover {
  transform: scale(1.1);
}
.whatsappBx img {
  width: 32px;
  height: 32px;
}

.btnEnroll {
  display: none !important;
}

/* ==========================================================================
   HOMEPAGE MODERN REDESIGN STYLES
   ========================================================================== */

/* Modern Hero Section */
.hero-redesign {
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(255, 101, 1, 0.22) 0%, transparent 45%), 
              radial-gradient(circle at 10% 80%, rgba(26, 53, 143, 0.4) 0%, transparent 50%), 
              linear-gradient(135deg, #070a2b 0%, #0d1547 50%, #111558 100%);
  padding: 120px 0 90px;
  color: #ffffff;
  overflow: hidden;
}
.hero-redesign::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 101, 1, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  color: #ff9317;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ff6501;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff6501;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}
.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-title .text-gradient-orange {
  background: linear-gradient(120deg, #ff6501 0%, #ffaa33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #c9d2ec;
  margin-bottom: 26px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.btn-hero-primary {
  background: linear-gradient(135deg, #ff6501 0%, #ff8c00 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 50px;
  font-size: 14px;
  box-shadow: 0 8px 25px rgba(255, 101, 1, 0.45);
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
}
.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 101, 1, 0.6);
  color: #ffffff !important;
}
.btn-hero-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 11px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Hero Stats Counter Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}
.hero-stat-item h4 span {
  color: #ff9317;
}
.hero-stat-item p {
  font-size: 11.5px;
  color: #a4b3d6;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual Box & Floating Badges */
.hero-visual-wrapper {
  position: relative;
  text-align: center;
}
.hero-visual-wrapper img.main-banner-img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.floating-glass-card {
  position: absolute;
  background: rgba(17, 21, 88, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  animation: floatUpDown 4s ease-in-out infinite;
  z-index: 2;
}
.floating-badge-1 {
  top: 12%;
  left: -20px;
}
.floating-badge-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}
@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.floating-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff6501, #ff9317);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.floating-text h6 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
}
.floating-text span {
  font-size: 11px;
  color: #ffaa33;
}

/* Hiring Partners Logo Bar */
.partners-ticker-sec {
  background: #f8fafc;
  padding: 35px 0;
  border-bottom: 1px solid #e2e8f0;
}
.partners-ticker-sec .section-tag {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.partners-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px 45px;
}
.partner-logo-pill {
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8ecf2;
  font-weight: 700;
  color: #1e293b;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.partner-logo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  border-color: #ff6501;
  color: #ff6501;
}

/* Core Advantages Bento Cards */
.bento-features-sec {
  padding: 90px 0 70px;
  background: #ffffff;
}
.section-subtitle-pill {
  display: inline-block;
  background: #fff3eb;
  color: #ff6501;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.bento-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 32px 28px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(17, 21, 88, 0.05);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, #ff6501, #ff9317);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(17, 21, 88, 0.12);
  border-color: #ffd8bf;
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #fff4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #ff6501;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}
.bento-card:hover .bento-icon-wrap {
  background: linear-gradient(135deg, #ff6501, #ff9317);
  color: #ffffff;
  transform: scale(1.08);
}
.bento-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #111558;
  margin-bottom: 8px;
}
.bento-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 0;
}

/* Modern Course Cards Enhancement */
.courses-modern-sec {
  background: #f8fafc;
  padding: 90px 0;
}
.course-card-modern {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e9eef5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-card-modern:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(17, 21, 88, 0.12);
  border-color: #ffcfb0;
}
.course-img-holder {
  position: relative;
  overflow: hidden;
  height: 210px;
}
.course-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card-modern:hover .course-img-holder img {
  transform: scale(1.06);
}
.course-price-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(17, 21, 88, 0.9);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.course-badge-level {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #ff6501, #ff9317);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.course-body-modern {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-title-modern {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111558;
  margin-bottom: 10px;
  line-height: 1.35;
}
.course-title-modern a {
  color: #111558;
  text-decoration: none;
  transition: color 0.2s ease;
}
.course-title-modern a:hover {
  color: #ff6501;
}
.course-meta-tags {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin: 8px 0 16px;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 12px;
  color: #64748b;
}
.course-meta-tags span i {
  color: #ff6501;
  margin-right: 5px;
}
.course-cta-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 4-Step Road to Placement Timeline */
.timeline-roadmap-sec {
  padding: 80px 0;
  background: #ffffff;
}
.roadmap-step-box {
  text-align: center;
  position: relative;
  padding: 20px 16px;
}
.roadmap-num {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #111558, #1a358f);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(17, 21, 88, 0.2);
  transition: all 0.3s ease;
}
.roadmap-step-box:hover .roadmap-num {
  background: linear-gradient(135deg, #ff6501, #ff9317);
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 101, 1, 0.4);
}
.roadmap-step-box h5 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111558;
  margin-bottom: 8px;
}
.roadmap-step-box p {
  font-size: 12.8px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Direct Lead Capture Form Box */
.lead-capture-sec {
  padding: 85px 0;
  background: linear-gradient(135deg, #090c34 0%, #111558 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.lead-form-card {
  background: #ffffff;
  color: #1e293b;
  padding: 35px 32px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.lead-form-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: #111558;
  margin-bottom: 8px;
}
.lead-form-card .form-control, 
.lead-form-card .form-select {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 16px;
}
.lead-form-card .form-control:focus, 
.lead-form-card .form-select:focus {
  border-color: #ff6501;
  box-shadow: 0 0 0 3px rgba(255, 101, 1, 0.15);
}

/* FAQ Accordion Section */
.faq-sec {
  padding: 85px 0;
  background: #f8fafc;
}
.accordion-custom .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.accordion-custom .accordion-button {
  font-weight: 700;
  color: #111558;
  font-size: 17px;
  padding: 18px 22px;
  background: #ffffff;
}
.accordion-custom .accordion-button:not(.collapsed) {
  color: #ff6501;
  background: #fff8f3;
  box-shadow: none;
}
.accordion-custom .accordion-button:focus {
  box-shadow: none;
}
.accordion-custom .accordion-body {
  padding: 20px 22px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  background: #ffffff;
}

/* Modernized Ultra CTA */
.cta-ultra-sec {
  background: linear-gradient(135deg, #ff6501 0%, #ff8c00 100%);
  padding: 70px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.cta-ultra-sec h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.cta-ultra-sec p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .hero-redesign {
    padding: 90px 0 60px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .floating-badge-1 {
    left: 0;
    top: 0;
  }
  .floating-badge-2 {
    right: 0;
    bottom: 0;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn-hero-primary, .btn-hero-glass {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Modern Header / Navbar Refinements */
.navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding: 14px 0 !important;
}
.navbar-nav .nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #1e293b !important;
  letter-spacing: 0.3px !important;
  transition: all 0.2s ease !important;
  padding: 8px 14px !important;
}
.navbar-nav .nav-link:hover {
  color: #ff6501 !important;
}
.custom-btn-outline {
  border: 1.5px solid #ff6501 !important;
  color: #ff6501 !important;
  border-radius: 50px !important;
  padding: 8px 22px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}
.custom-btn-outline:hover {
  background: #ff6501 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255, 101, 1, 0.35) !important;
}

/* Global Typography Refinements for Whole Website */
.navbar-nav .nav-link {
  font-size: 13.5px !important;
  padding: 6px 12px !important;
}
.custom-btn-outline {
  font-size: 12.5px !important;
  padding: 7px 18px !important;
}
.section-tag {
  font-size: 11.5px !important;
  letter-spacing: 1px !important;
}
.section-title {
  font-size: 1.85rem !important;
  line-height: 1.25 !important;
}
.section-desc {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
}
.footer-sec p, .footer-sec .footer-about p {
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.footer-sec .widgetBx ul li, .footer-sec .widgetBx ul li a {
  font-size: 13px !important;
}
.footer-sec .widgetBx .widget-titleBx {
  font-size: 15px !important;
  margin-bottom: 20px !important;
}
.footer-sec .brandList ul li, .footer-sec .brandList ul li a {
  font-size: 12px !important;
}
.footer-sec .copyright p {
  font-size: 12px !important;
}

/* ==========================================================================
   HTSM ACADEMY - CORPORATE LEGAL & POLICY PAGES STYLING
   ========================================================================== */
.legal-doc-container {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #334155 !important;
  line-height: 1.8 !important;
  font-size: 15px !important;
}
.legal-header-meta {
  background: #f8fafc !important;
  border-left: 4px solid #ff6501 !important;
  padding: 16px 20px !important;
  border-radius: 0 8px 8px 0 !important;
  margin-bottom: 30px !important;
  font-size: 14px !important;
  color: #64748b !important;
}
.legal-section {
  margin-bottom: 35px !important;
}
.legal-section h2 {
  font-family: 'Outfit', sans-serif !important;
  color: #111558 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-bottom: 8px !important;
}
.legal-section h3 {
  font-family: 'Outfit', sans-serif !important;
  color: #1e293b !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  margin-top: 18px !important;
  margin-bottom: 8px !important;
}
.legal-section p {
  margin-bottom: 14px !important;
  color: #475569 !important;
}
.legal-section ul {
  padding-left: 20px !important;
  margin-bottom: 16px !important;
}
.legal-section ul li {
  margin-bottom: 8px !important;
  color: #475569 !important;
}
.legal-highlight-box {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  border-radius: 8px !important;
  padding: 18px 22px !important;
  margin: 20px 0 !important;
  color: #9a3412 !important;
}
.legal-highlight-box strong {
  color: #c2410c !important;
}
.legal-contact-card {
  background: #f1f5f9 !important;
  border-radius: 10px !important;
  padding: 24px !important;
  margin-top: 30px !important;
  border: 1px solid #cbd5e1 !important;
}
.legal-contact-card h4 {
  font-family: 'Outfit', sans-serif !important;
  color: #111558 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}
.legal-contact-card p {
  margin-bottom: 6px !important;
  font-size: 14px !important;
}
.legal-contact-card a {
  color: #ff6501 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.legal-contact-card a:hover {
  text-decoration: underline !important;
}


