/*
Theme Name: TSDC Group Elementor
Theme URI: https://tsdc-group.com
Author: TSDC Group
Author URI: https://tsdc-group.com
Description: TSDC Group landing page theme — fully compatible with Elementor page builder. Edit every section visually with drag and drop.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsdc-elementor
Tags: business, landing-page, elementor, full-width-template, custom-colors, one-page
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #050e1f;
  --navy2:       #091529;
  --navy3:       #0d1e38;
  --teal:        #00c8d4;
  --teal2:       #00a3b5;
  --blue:        #0077c8;
  --green:       #00d48a;
  --white:       #ffffff;
  --text-light:  #c8daf0;
  --text-muted:  #7a9bbf;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal2); border-radius: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

/* ============================================================
   ELEMENTOR RESETS
   Ensures Elementor sections render correctly on dark background
   ============================================================ */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap {
  background-color: transparent;
}
/* Remove Elementor default white page background */
.elementor-page .elementor {
  background: transparent;
}
/* Make sure Elementor full-width works */
.elementor-section.elementor-section-stretched {
  width: 100% !important;
  max-width: 100% !important;
}
/* Elementor widget text defaults */
.elementor-widget-text-editor,
.elementor-widget-heading .elementor-heading-title {
  color: var(--white);
}
/* Elementor button defaults */
.elementor-widget-button .elementor-button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}
/* Elementor icon defaults */
.elementor-icon svg,
.elementor-icon i {
  color: var(--teal);
}
/* Elementor divider */
.elementor-widget-divider .elementor-divider-separator {
  border-color: var(--border2);
}

/* ============================================================
   UTILITY CLASSES  (usable inside Elementor via CSS Classes field)
   ============================================================ */
.tsdc-container { max-width: 1200px; margin: 0 auto; padding: 0 56px; }

/* Gradient text */
.tsdc-gradient-text {
  background: linear-gradient(90deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label */
.tsdc-section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.tsdc-section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--teal);
  opacity: .6;
}

/* Fade-up animation */
.tsdc-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.tsdc-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.tsdc-btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal2), var(--blue));
  color: var(--white) !important;
  border: none;
  padding: 14px 30px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 24px rgba(0,165,181,0.25);
  text-decoration: none;
}
.tsdc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,165,181,0.38);
  color: var(--white) !important;
}
.tsdc-btn-outline {
  display: inline-block;
  color: var(--text-light) !important;
  font-size: 15px;
  font-weight: 500;
  border: 0.5px solid rgba(255,255,255,0.18);
  padding: 14px 28px;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.tsdc-btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal) !important;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 9999; /* above Elementor */
  height: 70px;
  display: flex;
  align-items: center;
  background: rgba(5,14,31,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border2);
}
#site-header .tsdc-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-branding img {
  height: 42px;
  width: 42px;
  object-fit: contain;
}
.site-branding .brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.3px;
}
.site-branding .brand-name span { color: var(--teal); }

#primary-navigation ul {
  list-style: none;
  display: flex;
  gap: 36px;
}
#primary-navigation ul li a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  font-weight: 400;
}
#primary-navigation ul li a:hover { color: var(--white); }

.nav-cta-btn {
  background: linear-gradient(135deg, var(--teal2), var(--blue));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-cta-btn:hover { opacity: .85; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0.5px solid var(--border2);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tsdc-hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
}
.tsdc-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(0,165,181,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(0,119,200,0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 60% at 80% 10%, rgba(0,212,138,0.07) 0%, transparent 50%),
    var(--navy);
}
.tsdc-hero-mesh {
  position: absolute; inset: 0; z-index: 0; opacity: .04;
  background-image:
    repeating-linear-gradient(90deg,#fff 0,#fff 1px,transparent 1px,transparent 64px),
    repeating-linear-gradient(0deg,#fff 0,#fff 1px,transparent 1px,transparent 64px);
  pointer-events: none;
}
.tsdc-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.tsdc-hero-logo {
  width: 80px; height: 80px;
  object-fit: contain;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 24px rgba(0,200,212,0.45));
  animation: tsdc-float 6s ease-in-out infinite;
}
@keyframes tsdc-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.tsdc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  border: 0.5px solid rgba(0,200,212,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0,200,212,0.05);
}
.tsdc-hero-dot {
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: tsdc-pulse 2s infinite;
}
@keyframes tsdc-pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.tsdc-hero-title {
  font-size: 58px;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 26px;
  letter-spacing: -1.5px;
}
.tsdc-hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 44px;
  max-width: 560px;
}
.tsdc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   STATS BAR
   ============================================================ */
.tsdc-stats-bar {
  display: flex;
  justify-content: center;
  background: var(--navy2);
  border-top: 0.5px solid var(--border2);
  border-bottom: 0.5px solid var(--border2);
}
.tsdc-stat {
  flex: 1;
  max-width: 220px;
  padding: 32px 24px;
  text-align: center;
  border-right: 0.5px solid var(--border);
  transition: background .2s;
}
.tsdc-stat:last-child { border-right: none; }
.tsdc-stat:hover { background: rgba(0,200,212,0.04); }
.tsdc-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.tsdc-stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   CARD STYLES  (reused across sections)
   ============================================================ */
.tsdc-pillar {
  background: var(--navy2);
  border: 0.5px solid var(--border2);
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 16px;
  transition: border-color .3s;
}
.tsdc-pillar:hover { border-color: rgba(0,200,212,0.35); }
.tsdc-pillar h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.tsdc-pillar p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.tsdc-special-card {
  background: var(--navy3);
  border: 0.5px solid var(--border2);
  border-radius: 14px;
  padding: 30px 26px;
  transition: all .25s;
  height: 100%;
}
.tsdc-special-card:hover {
  border-color: rgba(0,200,212,0.32);
  transform: translateY(-3px);
}
.tsdc-special-card .tsdc-card-num {
  font-size: 11px; font-weight: 700;
  color: var(--teal); letter-spacing: 1.5px;
  margin-bottom: 16px; opacity: .7;
}
.tsdc-special-card h3 {
  font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.tsdc-special-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.tsdc-icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0,200,212,0.12), rgba(0,119,200,0.12));
  display: flex; align-items: center; justify-content: center;
}
.tsdc-icon-box svg {
  width: 22px; height: 22px;
  stroke: var(--teal); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.tsdc-service-card {
  background: var(--navy2);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  transition: border-color .2s;
  height: 100%;
}
.tsdc-service-card:hover { border-color: rgba(0,200,212,0.25); }
.tsdc-service-card .tsdc-card-num {
  font-size: 11px; color: var(--teal);
  font-weight: 700; letter-spacing: 1.5px;
  margin-bottom: 14px; opacity: .6;
}
.tsdc-service-card h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.tsdc-service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.tsdc-why-card {
  padding: 28px 24px;
  border-radius: 0 0 12px 12px;
  background: var(--navy3);
  position: relative;
  border: 0.5px solid var(--border);
  border-top: none;
  height: 100%;
}
.tsdc-why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.tsdc-why-card h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.tsdc-why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   SECTION BACKGROUNDS  (apply to Elementor sections via CSS Class)
   ============================================================ */
.tsdc-bg-navy   { background: var(--navy) !important; }
.tsdc-bg-navy2  { background: var(--navy2) !important; }
.tsdc-bg-navy3  { background: var(--navy3) !important; }
.tsdc-bg-cta    { background: linear-gradient(135deg,#062040 0%,#08302a 50%,#062040 100%) !important; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.tsdc-cta-wrap {
  position: relative;
  text-align: center;
  padding: 88px 0;
  overflow: hidden;
  background: linear-gradient(135deg,#062040 0%,#08302a 50%,#062040 100%);
}
.tsdc-cta-wrap::before {
  content: '';
  position: absolute; top:50%; left:50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,200,212,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.tsdc-cta-wrap .tsdc-container { position: relative; z-index: 1; }
.tsdc-cta-wrap h2 { font-size: 40px; margin-bottom: 16px; letter-spacing: -.8px; }
.tsdc-cta-wrap p  { font-size: 16px; color: rgba(255,255,255,0.65); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #030b18;
  padding: 44px 0;
  border-top: 0.5px solid var(--border2);
}
#site-footer .tsdc-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 36px; width: 36px; object-fit: contain; }
.footer-brand-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-brand-text strong { color: var(--white); font-weight: 600; }
.footer-links ul {
  display: flex; gap: 24px; justify-content: center; list-style: none;
}
.footer-links ul li a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-links ul li a:hover { color: var(--teal); }
.footer-copy { font-size: 12px; color: var(--text-muted); text-align: right; line-height: 1.7; }
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--teal); }

/* ============================================================
   ELEMENTOR PAGE TEMPLATE — full bleed, no padding
   ============================================================ */
.elementor-template-canvas #site-header,
.elementor-template-canvas #site-footer {
  display: none; /* hidden on full-canvas pages so Elementor owns layout */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tsdc-container { padding: 0 32px; }
  .tsdc-hero-title { font-size: 44px; }
}
@media (max-width: 768px) {
  .tsdc-container { padding: 0 20px; }
  #primary-navigation, .nav-cta-btn { display: none; }
  .menu-toggle { display: block; }
  #primary-navigation.open {
    display: block;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--navy2);
    border-bottom: 0.5px solid var(--border2);
    padding: 20px; z-index: 9998;
  }
  #primary-navigation.open ul { flex-direction: column; gap: 16px; }
  .tsdc-hero-title { font-size: 34px; }
  .tsdc-stats-bar { flex-wrap: wrap; }
  .tsdc-stat { max-width: 50%; }
  #site-footer .tsdc-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .footer-brand { justify-content: center; }
  .footer-copy { text-align: center; }
}

/* ============================================================
   SCREEN READER
   ============================================================ */
.screen-reader-text {
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%);
  height:1px; margin:-1px; overflow:hidden;
  padding:0; position:absolute; width:1px; word-wrap:normal!important;
}
