/* RS Windtech Engineers - Inner Pages Shared Stylesheet */
:root {
  --primary: #B2BEB5;
  --primary-dark: #8a9e94;
  --accent: #2e7d32;
  --accent-light: #4caf50;
  --dark: #1a2332;
  --dark-2: #243447;
  --light-bg: #f8f9fa;
  --text: #333;
  --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); ascent-override: 93.62%; descent-override: 31.21%; line-gap-override: 8.92%; size-adjust: 112.16%; }
body { font-family: 'Poppins', 'Poppins Fallback', sans-serif; color: var(--text); line-height: 1.7; }

/* ===== NAVBAR ===== */
.navbar { background: var(--dark); padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.navbar-brand { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.navbar-brand img { height: 45px; }
.navbar-brand span { color: #fff; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.navbar-brand span small { display: block; font-size: 0.65rem; font-weight: 300; color: var(--primary); letter-spacing: 0.5px; }
.navbar-toggler { border-color: var(--primary); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(178,190,181,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-nav .nav-link { color: rgba(255,255,255,0.85) !important; font-size: 0.82rem; font-weight: 500; padding: 1.1rem 0.85rem !important; letter-spacing: 0.3px; transition: color 0.3s; text-transform: uppercase; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary) !important; }
.dropdown-menu { background: var(--dark-2); border: none; border-top: 2px solid var(--primary); border-radius: 0 0 6px 6px; min-width: 200px; }
.dropdown-item { color: rgba(255,255,255,0.8); font-size: 0.8rem; padding: 0.5rem 1rem; transition: all 0.2s; }
.dropdown-item:hover, .dropdown-item.active { background: var(--primary); color: var(--dark); }
.dropdown-submenu { position: relative; }
.dropdown-submenu .dropdown-menu { top: 0; left: 100%; display: none; }
.dropdown-submenu:hover .dropdown-menu,
.dropdown-submenu.show > .dropdown-menu { display: block; }

/* ===== PAGE HERO/BANNER ===== */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #1a3a2a 100%); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 0.15; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 2.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.page-hero .sub { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-top: 8px; max-width: 600px; }
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-hero .breadcrumb-item.active { color: var(--primary); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.accent-bar { width: 60px; height: 4px; background: var(--primary); margin: 15px 0; border-radius: 2px; }

/* ===== SECTIONS ===== */
section { padding: 60px 0; }
.section-alt { background: var(--light-bg); }
.section-title { font-size: 1.7rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.section-title span { color: var(--accent); }
.title-bar { width: 50px; height: 3px; background: var(--primary); border-radius: 2px; margin: 10px 0 25px; }
.lead-text { font-size: 1rem; color: #555; line-height: 1.8; text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; }

/* ===== VMVQ CARDS (image hover cards) ===== */
.vmvq-card { position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); height: 260px; cursor: pointer; background: #f8f9fa; }
.vmvq-img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.vmvq-card:hover .vmvq-img { transform: scale(1.06); }
.vmvq-content { position: absolute; inset: 0; background: rgba(178,190,181,0.93); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.4s ease-in-out; text-align: center; }
.vmvq-card:hover .vmvq-content { opacity: 1; }
.vmvq-title { color: var(--dark); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.vmvq-text { color: var(--dark); font-size: 0.82rem; line-height: 1.5; }

/* ===== FEATURE LIST ===== */
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 7px 0 7px 30px; position: relative; border-bottom: 1px solid #eee; font-size: 0.9rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--accent); }

/* ===== INFO CARD ===== */
.info-card { background: #fff; border-radius: 10px; padding: 28px 24px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); height: 100%; border-left: 4px solid var(--primary); }
.info-card .ic-icon { width: 50px; height: 50px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .ic-icon i { color: var(--accent); font-size: 1.3rem; }
.info-card h5 { font-weight: 600; font-size: 0.95rem; color: var(--dark); margin-bottom: 8px; }
.info-card p { font-size: 0.85rem; color: #666; margin: 0; }

/* ===== CONTRACT CARD ===== */
.contract-card { background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); border-top: 4px solid var(--primary); height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.contract-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.contract-badge { display: inline-block; background: var(--dark); color: var(--primary); font-weight: 700; font-size: 1rem; padding: 6px 14px; border-radius: 6px; margin-bottom: 12px; letter-spacing: 1px; }
.contract-card h5 { font-weight: 600; color: var(--dark); margin-bottom: 8px; font-size: 0.92rem; }
.contract-card p { font-size: 0.83rem; color: #555; margin: 0; line-height: 1.7; }

/* ===== STATS STRIP ===== */
.stats-strip { background: var(--dark); padding: 40px 0; }
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 2.2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-item .lbl { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 5px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== HIGHLIGHT BOX ===== */
.highlight-box { background: linear-gradient(135deg, var(--dark), var(--dark-2)); color: #fff; border-radius: 12px; padding: 35px 30px; }
.highlight-box h4 { color: var(--primary); font-weight: 700; margin-bottom: 15px; }
.highlight-box p { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.8; }

/* ===== TABLE ===== */
.rswt-table th { background: var(--dark); color: var(--primary); font-size: 0.82rem; text-transform: uppercase; }
.rswt-table td { font-size: 0.85rem; vertical-align: middle; }
.rswt-table tbody tr:hover { background: #f0f4f0; }

/* ===== CLIENT BADGE ===== */
.client-badge { display: inline-block; background: var(--light-bg); border: 1px solid #ddd; border-radius: 20px; padding: 5px 14px; font-size: 0.8rem; color: #555; margin: 4px; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--primary); }
.timeline-item { position: relative; margin-bottom: 25px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; background: var(--accent); border-radius: 50%; border: 2px solid var(--primary); }
.timeline-item h6 { font-weight: 600; color: var(--dark); font-size: 0.9rem; }
.timeline-item p { font-size: 0.84rem; color: #666; margin: 0; }

/* ===== GALLERY GRID ===== */
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 1; background: #f8f9fa; }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(26,35,50,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #fff; font-size: 1.8rem; }

/* ===== CONTACT CARD ===== */
.contact-card { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 3px 20px rgba(0,0,0,0.08); }
.contact-card .icon-wrap { width: 55px; height: 55px; background: var(--light-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.contact-card .icon-wrap i { color: var(--accent); font-size: 1.3rem; }
.contact-card h6 { font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.contact-card p { font-size: 0.85rem; color: #666; margin: 0; line-height: 1.8; }

/* ===== TRAINING MODULE CARD ===== */
.module-card { background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 3px 15px rgba(0,0,0,0.07); border-bottom: 3px solid var(--accent); height: 100%; }
.module-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--dark); color: var(--primary); border-radius: 50%; font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
.module-card h6 { font-weight: 600; color: var(--dark); font-size: 0.9rem; margin-bottom: 8px; }
.module-card p { font-size: 0.83rem; color: #666; margin: 0; }

/* ===== CERTIFICATION BADGE ===== */
.cert-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--primary); border-radius: 8px; padding: 10px 16px; margin: 6px; }
.cert-badge i { color: var(--accent); }
.cert-badge span { font-size: 0.82rem; font-weight: 600; color: var(--dark); }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 55px 0 0; }
footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; font-size: 1rem; }
footer h5.brand { font-size: 1.2rem; color: var(--primary); }
footer p { font-size: 0.83rem; line-height: 1.8; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
footer ul li a:hover { color: var(--primary); }
footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; margin-top: 40px; font-size: 0.8rem; text-align: center; color: rgba(255,255,255,0.5); }
footer .social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 50%; color: rgba(255,255,255,0.7); margin-right: 8px; font-size: 0.85rem; transition: all 0.3s; text-decoration: none; }
footer .social-icons a:hover { background: var(--primary); color: var(--dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .page-hero h1 { font-size: 1.8rem; }
  .navbar-collapse { background: var(--dark-2); padding: 10px 15px; }
  .dropdown-menu { background: rgba(255,255,255,0.05); border: none; border-left: 2px solid var(--primary); }
  .dropdown-submenu .dropdown-menu { position: static; display: none; }
}
@media (max-width: 576px) {
  .page-hero { padding: 60px 0 45px; }
  .page-hero h1 { font-size: 1.5rem; }
  section { padding: 45px 0; }
  .section-title { font-size: 1.4rem; }
}
