/*
Theme Name: THE DIGITAL THINKS
Theme URI: https://thedigitalthinks.com
Author: Gaurav Mehta
Author URI: https://www.instagram.com/the.gaurav.mehta/
Description: A premium, modern, immersive 3D creative agency WordPress theme designed for high-growth digital marketing agencies. Features WebGL/Three.js interactive ecosystems, 3D post carousel, 3D vertical 9:16 reels coverflow, pure dark theme design, Custom Post Types, and full WordPress Customizer integration.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: the-digital-thinks
*/

/* ==========================================================================
   1. CSS RESET & VARIABLES
   ========================================================================== */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0D0D0D;
  --bg-surface: #141414;
  --color-green: #00D084;
  --color-green-bright: #19F39A;
  --color-green-glow: rgba(0, 208, 132, 0.35);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.45);
  --border-color: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(0, 208, 132, 0.40);
  --card-bg: rgba(18, 18, 18, 0.75);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #050505;
  color: #FFFFFF;
}

body, .tdt-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #050505;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1.15;
}

.tdt-container {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* WordPress Admin Bar Compatibility */
body.admin-bar .tdt-navbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .tdt-navbar {
    top: 46px;
  }
}

/* ==========================================================================
   2. PRELOADER
   ========================================================================== */
.tdt-preloader {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tdt-preloader-inner {
  text-align: center;
  max-width: 240px;
  width: 100%;
}

.tdt-preloader-logo img {
  height: 38px;
  margin: 0 auto 1.5rem;
}

.tdt-preloader-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.tdt-preloader-fill {
  height: 100%;
  width: 0%;
  background: #00D084;
  box-shadow: 0 0 10px #00D084;
  transition: width 0.1s linear;
}

.tdt-preloader-text {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  color: #00D084;
  font-weight: 700;
}

/* ==========================================================================
   3. STICKY NAVBAR
   ========================================================================== */
.tdt-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.tdt-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.tdt-brand-logo {
  display: flex;
  align-items: center;
}

.tdt-logo-svg, .custom-logo {
  height: 34px;
  width: auto;
  max-width: 220px;
}

.tdt-desktop-nav {
  display: flex;
  align-items: center;
}

.tdt-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.tdt-nav-list li a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.tdt-nav-list li a:hover {
  color: #00D084;
}

.tdt-nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #00D084;
  transition: width 0.3s ease;
}

.tdt-nav-list li a:hover::after {
  width: 100%;
}

.tdt-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tdt-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  background: #00D084;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 208, 132, 0.3);
  transition: all 0.3s ease;
}

.tdt-cta-btn:hover {
  background: #19F39A;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 0 28px rgba(0, 208, 132, 0.5);
  color: #000;
}

.tdt-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tdt-mobile-toggle span {
  width: 18px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================================================
   4. 3D HERO SECTION
   ========================================================================== */
.tdt-hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 20%, rgba(0, 208, 132, 0.08) 0%, transparent 60%), #050505;
}

.tdt-three-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.tdt-hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.tdt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(0, 208, 132, 0.08);
  border: 1px solid rgba(0, 208, 132, 0.25);
  color: #00D084;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.tdt-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00D084;
  box-shadow: 0 0 10px #00D084;
}

.tdt-hero-headline {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.tdt-hero-supporting {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.tdt-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tdt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.tdt-btn-primary {
  background: #00D084;
  color: #000000;
  box-shadow: 0 0 25px rgba(0, 208, 132, 0.35);
}

.tdt-btn-primary:hover {
  background: #19F39A;
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 208, 132, 0.55);
  color: #000000;
}

.tdt-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tdt-btn-secondary:hover {
  border-color: #00D084;
  color: #00D084;
  background: rgba(0, 208, 132, 0.08);
}

.tdt-scroll-indicator {
  margin-top: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

.tdt-scroll-line {
  width: 44px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   5. MARQUEE SECTION
   ========================================================================== */
.tdt-marquee-section {
  padding: 1.25rem 0;
  background: #0A0A0A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  white-space: nowrap;
}

.tdt-marquee-track {
  display: inline-block;
  animation: tdtMarquee 35s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

@keyframes tdtMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   6. SECTIONS & HEADERS
   ========================================================================== */
.tdt-section {
  padding: 6.5rem 0;
  position: relative;
}

.tdt-section-header {
  margin-bottom: 3.5rem;
}

.tdt-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #00D084;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.tdt-section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #FFFFFF;
}

/* ==========================================================================
   7. SERVICES GRID (7 CARDS)
   ========================================================================== */
.tdt-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.tdt-service-card {
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
}

.tdt-service-card:hover {
  border-color: rgba(0, 208, 132, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 208, 132, 0.12);
}

.tdt-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.tdt-service-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  font-weight: 800;
  color: #00D084;
}

.tdt-service-arrow {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s, color 0.3s;
}

.tdt-service-card:hover .tdt-service-arrow {
  color: #00D084;
  transform: translate(3px, -3px);
}

.tdt-service-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.tdt-service-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.tdt-service-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #00D084;
  text-transform: uppercase;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tdt-service-link:hover {
  color: #19F39A;
  gap: 0.6rem;
}

/* ==========================================================================
   8. WHY CHOOSE US
   ========================================================================== */
.tdt-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tdt-why-item {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.tdt-why-item:hover {
  border-color: rgba(0, 208, 132, 0.35);
  background: rgba(20, 20, 20, 0.8);
}

.tdt-why-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.75rem;
  font-weight: 900;
  color: #00D084;
  display: block;
  margin-bottom: 0.75rem;
}

.tdt-why-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #FFFFFF;
}

.tdt-why-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ==========================================================================
   9. 3D CAROUSELS STAGES
   ========================================================================== */
.tdt-carousel-stage, .tdt-reels-stage {
  min-height: 480px;
  position: relative;
  width: 100%;
}

/* ==========================================================================
   10. CASE STUDIES
   ========================================================================== */
.tdt-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.tdt-case-card {
  background: rgba(17, 17, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.tdt-case-card:hover {
  border-color: rgba(0, 208, 132, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.tdt-case-cat {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #00D084;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.tdt-case-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.tdt-case-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ==========================================================================
   11. THE FOUNDER (GAURAV MEHTA)
   ========================================================================== */
.tdt-founder-section {
  position: relative;
  background: radial-gradient(circle at 30% 50%, rgba(0, 208, 132, 0.05) 0%, transparent 60%);
}

.tdt-founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
}

.tdt-founder-media {
  position: relative;
}

.tdt-founder-img-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(0, 208, 132, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 208, 132, 0.15);
  background: #0F0F0F;
}

.tdt-founder-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.tdt-founder-img-wrapper:hover .tdt-founder-photo {
  transform: scale(1.03);
}

.tdt-founder-overlay-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tdt-badge-name {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
}

.tdt-badge-role {
  display: block;
  font-size: 0.75rem;
  color: #00D084;
  font-weight: 600;
}

.tdt-badge-verified {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00D084;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

.tdt-founder-info {
  display: flex;
  flex-direction: column;
}

.tdt-founder-name-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.tdt-founder-sep {
  color: #00D084;
  margin: 0 0.5rem;
}

.tdt-founder-role-text {
  color: #00D084;
  font-size: 0.7em;
  font-weight: 700;
}

.tdt-founder-bio {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.tdt-founder-sub-bio {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.tdt-founder-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   12. INDUSTRIES WE WORK WITH
   ========================================================================== */
.tdt-industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.tdt-industries-grid span {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.tdt-industries-grid span:hover {
  border-color: #00D084;
  color: #00D084;
  background: rgba(0, 208, 132, 0.08);
}

/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */
.tdt-testimonial-box {
  background: rgba(17, 17, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.tdt-testimonial-box p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.tdt-testimonial-author {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00D084;
}

/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */
.tdt-faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tdt-faq-accordion details {
  background: rgba(17, 17, 17, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s;
}

.tdt-faq-accordion details[open] {
  border-color: rgba(0, 208, 132, 0.35);
  background: rgba(22, 22, 22, 0.9);
}

.tdt-faq-accordion summary {
  padding: 1.35rem 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tdt-faq-accordion summary::-webkit-details-marker {
  display: none;
}

.tdt-faq-accordion summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #00D084;
  transition: transform 0.3s;
}

.tdt-faq-accordion details[open] summary::after {
  content: '−';
}

.tdt-faq-accordion p {
  padding: 0 1.75rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

/* ==========================================================================
   15. FINAL CALL TO ACTION
   ========================================================================== */
.tdt-cta-section {
  background: radial-gradient(circle at 50% 50%, rgba(0, 208, 132, 0.12) 0%, transparent 70%), #0A0A0A;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  padding: 8rem 0;
}

.tdt-cta-headline {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 1rem;
}

.tdt-cta-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.tdt-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem;
}

.tdt-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.tdt-footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1.25rem;
}

.tdt-footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.tdt-footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #00D084;
}

.tdt-footer-wa:hover {
  color: #19F39A;
}

.tdt-footer-heading {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00D084;
  margin-bottom: 1.5rem;
}

.tdt-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tdt-footer-links li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.tdt-footer-links li a:hover {
  color: #00D084;
}

.tdt-footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tdt-social-btn {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.tdt-social-btn:hover {
  border-color: #00D084;
  color: #00D084;
  background: rgba(0, 208, 132, 0.06);
}

.tdt-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   17. CONTACT PAGE TEMPLATE (page-contact.php)
   ========================================================================== */
.tdt-contact-page {
  padding: 8rem 0 5rem;
  background: #050505;
}

.tdt-contact-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem;
}

.tdt-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
}

.tdt-contact-form-box {
  background: rgba(17, 17, 17, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.75rem;
  padding: 3rem;
}

.tdt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.tdt-form-group {
  margin-bottom: 1.25rem;
}

.tdt-form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.tdt-form-input, .tdt-form-select, .tdt-form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: rgba(5, 5, 5, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.3s;
}

.tdt-form-input:focus, .tdt-form-select:focus, .tdt-form-textarea:focus {
  outline: none;
  border-color: #00D084;
  box-shadow: 0 0 15px rgba(0, 208, 132, 0.2);
}

.tdt-form-textarea {
  min-height: 130px;
  resize: vertical;
}

.tdt-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tdt-contact-card {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
}

.tdt-contact-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.tdt-contact-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .tdt-desktop-nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    flex-direction: column;
    justify-content: center;
    z-index: 999;
  }

  .tdt-desktop-nav.tdt-mobile-open {
    display: flex;
  }

  .tdt-nav-list {
    flex-direction: column;
    gap: 1.75rem;
    text-align: center;
  }

  .tdt-nav-list li a {
    font-size: 1.25rem;
  }

  .tdt-mobile-toggle {
    display: flex;
  }

  .tdt-founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tdt-founder-photo {
    height: 400px;
  }

  .tdt-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .tdt-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 640px) {
  .tdt-hero-headline {
    font-size: 2.3rem;
  }

  .tdt-hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .tdt-btn {
    width: 100%;
  }

  .tdt-footer-grid {
    grid-template-columns: 1fr;
  }

  .tdt-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .tdt-form-row {
    grid-template-columns: 1fr;
  }
}
