/*
Theme Name: Noteskart Tech Theme
Theme URI: https://noteskart.tech
Author: Noteskart Technology
Author URI: https://noteskart.com
Description: A premium, ultra-fast, responsive light/dark-mode developer documentation and resource hub theme. Designed for SEO optimization and CPT multi-page layouts.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noteskart-tech
*/

/* Core CSS Variables - Light Theme (Default) */
:root {
  --color-bg: #f8fafc; /* Slate White */
  --color-surface: #ffffff; /* Pure White */
  --color-surface-hover: #f1f5f9;
  --color-primary: #10b981; /* Emerald Green */
  --color-primary-rgb: 16, 185, 129;
  --color-secondary: #3b82f6; /* Tech Blue */
  --color-secondary-rgb: 59, 130, 246;
  --color-text-main: #0f172a; /* Slate Dark */
  --color-text-muted: #475569; /* Cool Gray */
  --color-border: #e2e8f0; /* Light Gray */
  --color-border-hover: #cbd5e1;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-speed: 0.3s;
}

/* Dark Theme Variables Override */
body.dark-theme {
  --color-bg: #0d0f12; /* Obsidian Dark */
  --color-surface: #15181e;
  --color-surface-hover: #1c212a;
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  --color-border: #242933;
  --color-border-hover: #374151;
}

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

/* Smooth Transitions for Color Toggles */
body, header, footer, .hub-card, .guide-post-card, .docs-content, .sidebar-widget, .docs-cta-panel, a, h1, h2, h3, h4, p, span, li, button, input {
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #34d399;
}

/* Header & Navigation Styling */
.site-header {
  background-color: rgba(var(--color-surface), 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

body.dark-theme .site-header {
  background-color: rgba(21, 24, 30, 0.85);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo-link {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
}

.site-logo-link span {
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-text-main);
}

.nav-cta {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--color-primary) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background-color: var(--color-primary);
  color: var(--color-bg) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

/* Theme Toggle Switch Button */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.theme-toggle-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: rgba(var(--color-primary-rgb), 0.05);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  flex: 1;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  margin-right: 0.5rem;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-primary) 30%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Multi-Page Grid Hub (Products & Features) */
.hub-section-container {
  margin-bottom: 5rem;
}

.hub-section-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.hub-section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hub-section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.cpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.cpt-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

body.dark-theme .cpt-card {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}

.cpt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.cpt-card.product-card::before {
  background: var(--color-secondary);
}

.cpt-card.feature-card::before {
  background: var(--color-primary);
}

.cpt-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.cpt-card.product-card:hover {
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

.cpt-card.feature-card:hover {
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.1);
}

.cpt-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cpt-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cpt-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.product-card .cpt-card-meta {
  color: var(--color-secondary);
}

.feature-card .cpt-card-meta {
  color: var(--color-primary);
}

.cpt-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.product-card .cpt-card-link {
  color: var(--color-secondary);
}

.feature-card .cpt-card-link {
  color: var(--color-primary);
}

/* Custom CPT Detail Layout Elements */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
}

.tech-tag {
  background-color: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.feature-badge {
  background-color: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

/* General Blog Grid (Latest Guides) */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.guide-post-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.guide-post-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(16, 185, 129, 0.05);
}

.guide-category {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.guide-post-card.cat-noteskart .guide-category {
  color: var(--color-secondary);
}

.guide-post-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.guide-post-card h3 a {
  color: var(--color-text-main);
}

.guide-post-card h3 a:hover {
  color: var(--color-primary);
}

.guide-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.guide-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

/* Documentation Detail Layout with Sidebar */
.docs-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
}

.docs-content {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}

body.dark-theme .docs-content {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}

.docs-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.docs-content .post-meta {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  display: flex;
  gap: 1.5rem;
}

.docs-body {
  font-size: 1.05rem;
  line-height: 1.7;
}

.docs-body p {
  margin-bottom: 1.5rem;
}

.docs-body h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.015em;
}

.docs-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

.docs-body ul, .docs-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.docs-body li {
  margin-bottom: 0.5rem;
}

.docs-body blockquote {
  border-left: 4px solid var(--color-primary);
  background-color: rgba(16, 185, 129, 0.05);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-text-muted);
}

.docs-body code {
  font-family: monospace;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

body.dark-theme .docs-body code {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Call-to-action details panel */
.docs-cta-panel {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(59, 130, 246, 0.06) 100%);
  border: 1px solid var(--color-border);
  text-align: center;
}

.docs-cta-panel h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.docs-cta-panel p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.docs-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.docs-cta-buttons .btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.docs-cta-buttons .btn-primary {
  background-color: var(--color-primary);
  color: #fff;
}

.docs-cta-buttons .btn-primary:hover {
  background-color: #059669;
}

.docs-cta-buttons .btn-secondary {
  background-color: var(--color-secondary);
  color: #fff;
}

.docs-cta-buttons .btn-secondary:hover {
  background-color: #2563eb;
}

/* Sidebar Navigation */
.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sidebar-widget h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget ul li {
  margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.sidebar-widget ul li a:hover {
  color: var(--color-primary);
}

/* Footer Styling */
.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-about h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-about h3 span {
  color: var(--color-primary);
}

.footer-about p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--color-text-main);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.6rem;
}

.footer-links ul li a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.footer-socials a:hover {
  color: var(--color-text-main);
}

/* Animations */
@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .docs-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .header-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .docs-content {
    padding: 1.5rem;
  }
}

/* Footer Social Icons Layout and Hover States */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-speed) ease;
}

.social-icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-icon.linkedin:hover {
  background-color: #0077b5;
  color: #fff;
}

.social-icon.youtube:hover {
  background-color: #ff0000;
  color: #fff;
}

.social-icon.facebook:hover {
  background-color: #1877f2;
  color: #fff;
}

.social-icon.twitter:hover {
  background-color: #0f1419;
  color: #fff;
}

body.dark-theme .social-icon.twitter:hover {
  background-color: #ffffff;
  color: #0f1419;
}

.social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.social-icon.github:hover {
  background-color: #24292f;
  color: #fff;
}

body.dark-theme .social-icon.github:hover {
  background-color: #f0f6fc;
  color: #24292f;
}

.social-icon.telegram:hover {
  background-color: #24a1de;
  color: #fff;
}

.social-icon.whatsapp:hover {
  background-color: #25d366;
  color: #fff;
}

/* Footer Contact & Bottom Links Style Enhancements */
.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.contact-info-list li a {
  color: var(--color-text-muted);
  transition: color var(--transition-speed) ease;
}

.contact-info-list li a:hover {
  color: var(--color-primary);
}

.contact-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.25rem;
  color: var(--color-primary);
}

.offices-row {
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition-speed) ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* Contact Us Page Style System */
.contact-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.banner-container {
  max-width: 800px;
  margin: 0 auto;
}

.banner-badge {
  display: inline-block;
  background-color: rgba(var(--color-primary-rgb), 0.1);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.contact-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-banner p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Glassmorphism Form Card */
.contact-form-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02), 0 4px 6px -2px rgba(0, 0, 0, 0.01);
}

body.dark-theme .contact-form-card {
  background-color: rgba(21, 24, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.nk-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.nk-form input[type="text"],
.nk-form input[type="email"],
.nk-form input[type="tel"],
.nk-form select,
.nk-form textarea {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--color-text-main);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.nk-form input:focus,
.nk-form select:focus,
.nk-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.15);
}

.nk-form textarea {
  min-height: 120px;
  resize: vertical;
}

.nk-btn-primary {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  box-shadow: 0 4px 6px -1px rgba(var(--color-primary-rgb), 0.2);
}

.nk-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(var(--color-primary-rgb), 0.4);
}

.nk-btn-primary:active {
  transform: translateY(0);
}

.nk-btn-primary svg {
  transition: transform var(--transition-speed) ease;
}

.nk-btn-primary:hover svg {
  transform: translate(2px, -2px);
}

/* Office Cards Layout */
.offices-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.office-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.office-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.04);
}

body.dark-theme .office-card:hover {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.office-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.office-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.office-flag {
  font-size: 1.5rem;
}

.office-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.office-address {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.office-contact {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  transition: color var(--transition-speed) ease;
}

.contact-link:hover {
  color: var(--color-primary);
}

.contact-link svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Map Section System */
.map-section {
  padding: 0 1.5rem 4rem;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-placeholder {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  height: 350px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.02);
}

body.dark-theme .map-placeholder {
  background-color: rgba(21, 24, 30, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nk-globe-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.map-pulse {
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  transform-origin: center;
}

@keyframes pulse-ring {
  0% { transform: scale(0.5); opacity: 0.8; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

.map-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 380px;
  background-color: rgba(var(--color-surface), 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
}

body.dark-theme .map-overlay {
  background-color: rgba(21, 24, 30, 0.8);
}

.map-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.map-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Social Media Iframe Pages Styles */
.social-iframe-wrapper {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.social-iframe-header {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
}

body.dark-theme .social-iframe-header {
  background-color: rgba(21, 24, 30, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.social-header-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.social-logo-icon svg {
  width: 32px;
  height: 32px;
}

.social-header-desc {
  margin: 0;
}

.social-header-actions {
  flex-shrink: 0;
}

.social-frame-container {
  position: relative;
  width: 100%;
}

.social-fallback-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px dashed var(--color-border);
  background-color: var(--color-surface);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

body.dark-theme .social-fallback-wrapper {
  background-color: rgba(21, 24, 30, 0.5);
}

.social-unsupported-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: blur(5px);
  opacity: 0.15;
  pointer-events: none;
}

.social-fallback-card {
  position: relative;
  text-align: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  z-index: 5;
}

body.dark-theme .social-fallback-card {
  background-color: #15181e;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.fallback-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}

.fallback-card-logo svg {
  width: 48px;
  height: 48px;
}

.social-fallback-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.social-fallback-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* GitHub API Integration Dashboard Layout */
.social-github-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.github-repos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .social-github-dashboard {
    grid-template-columns: 1fr;
  }
}

/* Telegram Scraped Feed CSS Overrides */
.social-telegram-scraped-container {
  max-width: 700px;
  margin: 0 auto;
}

body.dark-theme .tgme_widget_message_bubble {
  background-color: var(--color-surface) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text-main) !important;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2) !important;
}

body.dark-theme .tgme_widget_message_text {
  color: var(--color-text-main) !important;
}

body.dark-theme .tgme_widget_message_author {
  color: var(--color-primary) !important;
}

body.dark-theme .tgme_widget_message_date {
  color: var(--color-text-muted) !important;
}

body.dark-theme .tgme_widget_message_bubble_tail svg {
  fill: var(--color-surface) !important;
}

body.dark-theme .tgme_widget_message_owner_name {
  color: var(--color-secondary) !important;
}





