/* ===================================================================
   PROFESSIONAL BLOG DESIGN - Premium Edition
   Modern, elegant, and highly professional
   =================================================================== */

/* -------------------------
   ROOT / COLOR TOKENS - Dark Theme
   ------------------------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #0d0d0d;
  --bg-card: #111111;
  --fg: #f5f5f5;
  --fg-muted: #c5cdd9;
  --muted: #6b7280;
  --glass-weak: rgba(255,255,255,0.03);
  --glass-strong: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.08);
  --card-shadow: rgba(0,0,0,0.4);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  /* Dark Theme - Black & Red Accents */
  --gradient-primary: linear-gradient(135deg, #DB4437 0%, #c23a2e 100%);
  --gradient-secondary: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  --gradient-accent: linear-gradient(135deg, #e85040 0%, #DB4437 100%);
  --gradient-red: linear-gradient(135deg, #DB4437 0%, #c23a2e 100%);
  --gradient-dark: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  
  --accent: #DB4437;
  --accent-2: #c23a2e;
  --accent-red: #DB4437;
  --accent-blue: #4facfe;
  
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 80px;
  --max-width: 1400px;
  --focus-ring: 0 0 0 4px rgba(219, 68, 55, 0.25);
  
  /* Professional Typography */
  --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Import Professional Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* -------------------------
   GLOBAL RESET + BASE
   ------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Animated Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(219, 68, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(79, 172, 254, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(219, 68, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* -------------------------
   ENHANCED NAVBAR
   ------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all var(--transition);
}

.navbar-container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: transform var(--transition);
}

.site-name:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
  letter-spacing: 0.2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(230, 168, 0, 0.3);
}

.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 168, 0, 0.4);
}

/* -------------------------
   ENHANCED HERO SECTION
   ------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
}

/* Animated gradient orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.hero::before {
  background: var(--gradient-primary);
  top: -300px;
  left: -300px;
  animation-delay: 0s;
}

.hero::after {
  background: var(--gradient-accent);
  bottom: -300px;
  right: -300px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(135deg, #c23a2e 0%, #DB4437 50%, #e85040 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--fg);
  font-weight: 500;
  margin-top: 12px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  max-width: 700px;
  font-size: 18px;
  color: var(--fg);
  line-height: 1.8;
  margin-top: 16px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0a0a0a;
  box-shadow: 0 8px 30px rgba(230, 168, 0, 0.35);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(230, 168, 0, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(230, 168, 0, 0.15);
  transform: translateY(-4px);
  border-color: var(--accent);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------
   ABOUT SECTION - Professional justified block
   ------------------------- */
.about {
  padding: 120px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.about-container {
  width: 100%;
}

.about-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.about-content .section-title {
  text-align: left;
  margin-bottom: 28px;
}

/* Text block: clean rectangular shape with justified alignment - bright text to match blog article */
.about-intro,
.about-text-block {
  font-size: 17px;
  line-height: 1.85;
  color: var(--fg);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.about-intro {
  margin: 0;
  padding: 32px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.about-text-block p {
  margin: 0 0 1.25em 0;
  text-align: justify;
  hyphens: auto;
}

.about-text-block p:last-child {
  margin-bottom: 0;
}

.about-intro strong,
.about-contact strong {
  color: var(--fg);
}

/* -------------------------
   ENHANCED BLOG SECTION
   ------------------------- */
.blogs {
  padding: 120px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.blogs-container {
  width: 100%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #c23a2e 0%, #DB4437 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 48px;
  font-weight: 400;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* Professional Blog Card */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.blog-card:hover::before {
  transform: scaleX(1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(230, 168, 0, 0.2);
  border-color: rgba(230, 168, 0, 0.4);
}

.blog-cover {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-cover {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
  line-height: 1.3;
  transition: color var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--accent);
}

.blog-excerpt {
  color: var(--fg);
  line-height: 1.7;
  font-size: 15px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-date::before {
  content: '📅';
  font-size: 14px;
}

.blog-likes {
  color: var(--accent-red, #DB4437);
}

.blog-card-clickable {
  cursor: pointer;
}

.blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-like-btn,
.blog-comment-btn,
.blog-read {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-like-btn {
  background: rgba(255, 215, 0, 0.2);
  color: #DB4437;
  border: 2px solid rgba(255, 215, 0, 0.6);
  cursor: pointer;
}

.blog-like-btn:hover {
  background: rgba(255, 215, 0, 0.35);
  transform: translateY(-1px);
}

.blog-like-btn.liked {
  background: rgba(255, 215, 0, 0.4);
  cursor: default;
}

.blog-comment-btn {
  background: rgba(230, 168, 0, 0.2);
  color: #DB4437;
  border: 2px solid rgba(230, 168, 0, 0.6);
}

.blog-comment-btn:hover {
  background: rgba(230, 168, 0, 0.35);
  transform: translateY(-1px);
}

.blog-actions .blog-read {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.blog-actions .blog-read:hover {
  background: rgba(230, 168, 0, 0.2);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.blog-actions .blog-read::after {
  content: none;
}

.blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  margin-top: 8px;
}

.blog-read::after {
  content: '→';
  transition: transform var(--transition);
}

.blog-read:hover {
  gap: 12px;
  color: var(--accent-2);
}

.blog-read:hover::after {
  transform: translateX(4px);
}

/* Blog Full Content */
.blog-full-content {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.blog-content-inner {
  color: var(--fg);
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 24px;
}

.blog-content-inner h1,
.blog-content-inner h2,
.blog-content-inner h3,
.blog-content-inner h4 {
  font-family: var(--font-heading);
  color: var(--fg);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.blog-content-inner h1 { font-size: 32px; }
.blog-content-inner h2 { font-size: 28px; }
.blog-content-inner h3 { font-size: 24px; }
.blog-content-inner h4 { font-size: 20px; }

.blog-content-inner p {
  margin-bottom: 20px;
}

.blog-content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 32px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.blog-content-inner code {
  background: rgba(230, 168, 0, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 14px;
  border: 1px solid rgba(230, 168, 0, 0.25);
}

.blog-content-inner pre {
  background: #1a1a1a;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.blog-content-inner pre code {
  background: none;
  padding: 0;
  border: none;
  color: var(--fg);
}

.blog-content-inner blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 24px;
  margin: 24px 0;
  color: var(--fg-muted);
  font-style: italic;
}

/* Tables in blog content - visible borders on dark theme */
.blog-content-inner table,
.post-content table,
.site-root .post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
}
.blog-content-inner table td,
.blog-content-inner table th,
.post-content table td,
.post-content table th,
.site-root .post-content table td,
.site-root .post-content table th {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 12px 16px;
  text-align: left;
  color: #f5f5f5;
}
.blog-content-inner table th,
.post-content table th,
.site-root .post-content table th {
  background: rgba(219,68,55,0.15);
  font-weight: 700;
  color: #ffffff;
}
.blog-content-inner table tr:nth-child(even) td,
.post-content table tr:nth-child(even) td,
.site-root .post-content table tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

.blog-content-inner ul,
.blog-content-inner ol {
  margin: 20px 0;
  padding-left: 28px;
}

.blog-content-inner li {
  margin-bottom: 8px;
}

.blog-collapse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: 16px;
  transition: all var(--transition);
}

.blog-collapse::before {
  content: '←';
  transition: transform var(--transition);
}

.blog-collapse:hover {
  color: var(--accent-2);
  gap: 12px;
}

.blog-collapse:hover::before {
  transform: translateX(-4px);
}

/* Loading State */
.loading-blogs {
  text-align: center;
  padding: 80px 20px;
  color: var(--accent);
  font-size: 18px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* -------------------------
   SERVICES SECTION
   ------------------------- */
.services {
  padding: 120px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.services-container {
  width: 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-slow);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(230, 168, 0, 0.2);
  border-color: rgba(230, 168, 0, 0.4);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.service-description {
  color: var(--fg);
  line-height: 1.7;
  font-size: 16px;
  margin: 0 0 24px 0;
  flex: 1;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-price-note {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.service-cta {
  width: 100%;
  justify-content: center;
}

.services-footer {
  text-align: center;
  margin-top: 48px;
}

.services-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.services-link:hover {
  color: var(--accent-2);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.service-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--fg-muted);
  font-size: 15px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.services-page {
  padding-top: calc(var(--nav-height) + 80px);
}

.services-cta-section {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.services-cta-section a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.services-cta-section a:hover {
  text-decoration: underline;
}

/* -------------------------
   ENHANCED EBOOKS SECTION
   ------------------------- */
.ebooks {
  padding: 120px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.ebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.ebook-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ebook-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(230, 168, 0, 0.2);
}

.ebook-header {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ebook-header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.05) 20px,
    rgba(255,255,255,0.05) 40px
  );
  animation: slide 20s linear infinite;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(40px); }
}

.ebook-content {
  padding: 28px;
}

.ebook-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.ebook-description {
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* -------------------------
   ENHANCED CONTACT SECTION
   ------------------------- */
.contact {
  padding: 120px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--fg);
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-group label {
  display: block;
  color: var(--fg);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--fg);
  font-size: 15px;
  font-family: var(--font-primary);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(230, 168, 0, 0.2);
}

.contact-submit {
  background: var(--gradient-primary);
  color: #0a0a0a;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(230, 168, 0, 0.3);
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 168, 0, 0.4);
}

/* -------------------------
   ENHANCED FOOTER
   ------------------------- */
.footer {
  padding: 60px 32px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-2);
  margin-top: 120px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* -------------------------
   RESPONSIVE DESIGN
   ------------------------- */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 20px;
  }
  
  .nav-menu {
    gap: 24px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .ebook-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: var(--nav-height) 20px 60px;
  }
  
  .blogs,
  .services,
  .ebooks,
  .contact {
    padding: 80px 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   SCROLL ANIMATIONS
   ------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .blog-card,
  .service-card,
  .ebook-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  .blog-card:nth-child(1) { animation-delay: 0.1s; }
  .blog-card:nth-child(2) { animation-delay: 0.2s; }
  .blog-card:nth-child(3) { animation-delay: 0.3s; }
  .blog-card:nth-child(4) { animation-delay: 0.4s; }
  .blog-card:nth-child(5) { animation-delay: 0.5s; }
  .blog-card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
