/* ============================================================
   BlogHub — Modern Blog Homepage Stylesheet
   ============================================================ */

/* --- CSS Variables & Theme Configuration --- */
:root {
  /* Light Theme Colors (Default) */
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f0f3fa;
  --border: #e2e7f0;
  --text: #0b1220;
  --text2: white;
  --muted: #5a6478;
  --accent: #2f6bff;
  --accent-hover: #1f57e0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --logo: black;

  /* --bg-overlay: rgba(255, 255, 255, 0.93); */
  --bg-overlay2: rgba(6, 6, 6, 0.94);
}

/* Dark Theme (Triggered by adding 'dark' class to body) */
body.dark {
  --bg: #0b1220;
  --surface: #111a2e;
  --surface-2: #16223b;
  --border: #1f2c48;
  --text: #e6ecf7;
  --text2: black;
  --muted: #9aa7bd;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  --logo: #ffffff;

  --bg-overlay: rgba(6, 6, 6, 0.94);
  /* --bg-overlay2: rgba(255, 255, 255, 0.93); */
}

/* --- Base & Reset Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

html, 
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Layout Container --- */
.container {
  max-width: none;
  margin: 0 auto;
  padding: 0 ;
}

/* --- Navigation & Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);

}
.mobile-explore-btn {
  display: none;
}

/* डेस्कटॉप वाला बटन */
.desktop-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.desktop-explore-btn:hover {
  background: var(--accent-hover);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;

  max-width: none !important;
  width: 95%;
}



/* logo DevBysartaj
.logo2 {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.logo-dev {
  font-family: "Poppins", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.5px;
}

.logo-sartaj {
  font-family: "Allura", cursive;
  font-size: 2.35rem;
  font-weight: 400;
  margin-left: 4px;

  background: linear-gradient(
    135deg,
    #fff6b0 0%,
    #ffd000 45%,
    #ff9d00 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  text-shadow: 0 0 18px rgba(255, 193, 7, 0.18);
} */





.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

/* --- Buttons --- */

.mobile-menu-btn {
  display: none;
}

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
}

/* logo and text */
.hero-features {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.feature-item:hover {
  transform: translateY(-1px);
}
.feature-icon {
  color: var(--accent);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
}
.feature-item span {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}





/* --- Hero Section --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 30px;
  background: var(--surface);
  border-radius: 20px;
  margin-top: 32px;
  align-items: center;
  box-shadow: var(--shadow);

  max-width: none;
  width: 90%;
}

.eyebrow {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0px;
  font-weight: 600;
  margin-bottom: 20px;
}


.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-text span {
  color: var(--accent);
}

.accent {
  color: var(--accent);
}

/* Typing effect cursor styling */
.typed-cursor {
  opacity: 1;
  font-weight: 400;
  color: var(--accent); /* Cursor bi accent color me rahega */
  -webkit-animation: blink 0.7s infinite;
  -moz-animation: blink 0.7s infinite;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

.lead {
  color: var(--muted);
  font-size: 16px;
  margin-top: 20px;
  max-width: 480px;
  line-height: 1.6;

}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

/* --- Featured Card (Hero Right Side) --- */

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px; /* Border ki thickness */
  
  /* Top-Left (Accent) se Bottom-Right (Secondary/Accent) */
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%, var(--accent) 100%);
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img {
  height: 500px;
  width: 100%;
  object-fit: cover;
}

.hero-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #ffffff;
}

.tag {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.hero-card-body h3 {
  font-size: 22px;
  line-height: 1.3;
}

.hero-card-body .meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* --- Trending Section & Grid --- */

.trending-container{
  width: 90%;
  margin: 0 auto;
  margin-top: 40px;
}

/* Section Header Container */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Heading Styling */
.section-head h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
}

/* View All Top Link */
.section-head .view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.section-head .view-all:hover {
  color: var(--accent-hover);
  gap: 10px; /* Hover par arrow aage khisokega */
}

/* Dark Mode Support */
body.dark .section-head h2 {
  color: #f9fafb;
}

body.dark .section-head .view-all {
  color: #818cf8;
}

body.dark .section-head .view-all:hover {
  color: #a5b4fc;
}




/* ==========================================
   Hero Section Styling (CodeWithHarry Style)
   ========================================== */

/* 1. Main Background and Layout Setup */
.hero-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-main); /* Root variable */
  overflow: hidden;
  background-color: var(--bg-main); /* Root variable */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/Image/01.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  
  /* Opacity: Light mode में थोड़ा कम ताकि इमेज हावी न हो */
  opacity: var(--bg-img-opacity, 0.15); 
  z-index: 1;
}

/* Content Container */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;

  top: -25px;

}

/* 2. Top Pill Badge */
.hero-badge {
  background: rgba(255, 255, 255, 0.246);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
}

/* 3. Main Heading & Subtitle */
.hero-title {
  font-size: 5.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--primary-color); /* ब्रांड नेम का कलर root से */
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 25px;
}
.hero-subtitle span{
  color: var(--accent);
}

/* Typing Cursor Effect */
.cursor {
  color: var(--primary-color);
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 4. Glassmorphism Description Card */
.hero-description-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  padding: 24px 30px;
  border-radius: 12px;
  max-width: 720px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.hero-description-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.hero-description-card strong {
  color: var(--text-main);
}

/* 5. Action Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 45px;
}

.btn {
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-solid {
  background-color: var(--text);
  color: var(--surface);
  border: 1px solid var(--text-main);
}

.btn-solid:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text);
}

.btn-outline:hover {
  background-color: var(--card-bg);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* 6. Stats Section */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 4px 0;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.4rem; }
  .hero-description-card { padding: 18px 20px; }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 25px; }
  .stat-item h3 { font-size: 1.7rem; }
}















/* Grid Container - 1 Row me 4 Cards */
#articleGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Columns */
  gap: 28px; /* Cards ke beech ka gap */
  margin-top: 1.5rem;
}

/* Card Link Wrapper */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;

}
/* Card Styling */
.card {
  background-color: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.13);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(72, 72, 72, 0.4);
  height: 100%;
}

.card-link:hover .card {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: all 0.2s ease-in-out;
}
.card:hover .card image {
  transform: scale(-5px);
}

.card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body .tag {
  align-self: flex-start;
  /* Hex color direct dene se transparent nahi hoga */
  background-color: var(--accent) !important; 
  color: #ffffff !important;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-body h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

/* Paragraph Description Style */
.card-body .description {
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  /* Paragraph max 2 lines tak dikhe aur baki text truncate ho jaye */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body .meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: auto;
  margin-bottom: 0.75rem;
}

/* Read More Button (Light Mode Default) */
.card-body .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  
  /* Light Mode: Light Black Background & White Text */
  background-color: var(--text) !important; 
  color: #ffffff ;
  
  padding: 14px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Dark Mode Override: White Background & Black Text */
body.dark .card-body .read-more {
  background-color: var(--bg);
  color: var(--surface) !important;
}

/* Hover Effect (दोनों मोड्स के लिए) */
.card-body .read-more:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.card-body .read-more:hover i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

/* Responsive Grid for Tablets and Mobile */
@media (max-width: 1024px) {
  #articleGrid {
    grid-template-columns: repeat(2, 1fr); /* Tablet par 2 cards */
  }
}

@media (max-width: 600px) {
  #articleGrid {
    grid-template-columns: 1fr; /* Mobile par 1 card */
  }
}

/* Dark Mode Styles */
body.dark .card {
  background-color: #1f2937;
}

body.dark .card-body h4 {
  color: #f3f4f6;
}

body.dark .card-body .description {
  color: #d1d5db;
}

body.dark .card-body .meta {
  color: #9ca3af;
}

body.dark .card-body .tag {
  background-color: #374151;
  color: #818cf8;
}

body.dark .card-body .read-more {
  color: #818cf8;
}


/* View All Button Container */
/* Container Styling */
.view-more-container {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

/* Button Styling (Light & Dark Mode dono me automatic sahi kaam karega) */
.btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--accent);
  color: #ffffff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}


/* Hover Effect */
.btn-view-more:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-view-more:hover i {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}








/* ==========================================
   Topics / Core Focus Area Section
   ========================================== */

.topics-section {
  padding: 80px 20px;
  background-color: var(--bg-main);
  transition: background-color 0.3s ease;
}

.topics-container {
  max-width: none;
  margin: 0 auto;

  width: 85%;
}

/* 1. Header Styling */
.topics-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.topics-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg, rgba(37, 99, 235, 0.1));
  color: var(--primary-color, #2563eb);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.topics-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.topics-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.topics-header strong {
  color: var(--text-main);
}

/* 2. Grid Layout */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* 3. Card Styling */
.topic-card {
  background: var(--bg);
  border: 0.1px solid var(--muted);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s ease;
  backdrop-filter: blur(10px);
}

/* .topic-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-color, #2563eb);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
} */

/* 4. Image Container & Hover Zoom */
.topic-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: rgba(0, 0, 0, 0.2);
}

.topic-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* .topic-card:hover .topic-img-box img {
  transform: scale(1.08); 
} */

/* 5. Card Info & Text Content */
.topic-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-color, #2563eb);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.topic-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.topic-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   Responsive Design for Mobile
   ========================================== */
@media (max-width: 768px) {
  .topics-section {
    padding: 50px 16px;
  }

  .topics-header h2 {
    font-size: 1.75rem;
  }

  .topics-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .topic-img-box {
    height: 180px;
  }
}






/* ==========================================
   Responsive Design for Mobile & Tablet
   ========================================== */
@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tech-stack-section h2 {
    font-size: 1.4rem;
  }
}





/* ==========================================
   CTA Banner Section (Light & Dark Ready)
   ========================================== */
/* ==========================================
   CTA Banner Section (Pure Theme Adaptive)
   ========================================== */

.cta-banner {
  position: relative;
  padding: 60px 20px; /* बैनर को एक बेहतरीन बड़ी विड्थ देने के लिए */
  
  /* ⬇️ डिफ़ॉल्ट लाइट मोड: इमेज के पीछे 88% सफेद/हल्का ओपोसिटी मास्क ताकि पीछे के अक्षर छिप जाएं */
  background-image: 
    linear-gradient(rgba(244, 246, 251, 0.937), rgba(244, 246, 251, 0.92)),
    url("/Image/Screenshot\ from\ 2026-07-25\ 15-31-29.png"); 
    
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
  border-top: 1px solid var(--border); 
  border-bottom: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  transition: background-image 0.3s ease, border-color 0.3s ease;
}
body.dark .cta-banner {
  background-image: 
    linear-gradient(#111a2eed, #111a2eed),
    url("/Image/Screenshot\ from\ 2026-07-25\ 15-31-29.png");
}
.cta-container {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0 auto;
  width: 85%;
}

/* Heading */
.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main); 
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  transition: color 0.3s ease;
}

/* Subtext */
.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-muted); 
  margin-bottom: 32px;
  line-height: 1.6;
  transition: color 0.3s ease;
}


/* nav button portfolio */
.nav-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--primary-color, #2563eb);
  color: #ffffff !important;
  font-size: 1.05rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}
.nav-btn:hover {
  background: rgb(0, 0, 165);
}

.nav-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}
.nav-btn:hover i {
  transform: translateX(3px) translateY(-3px);
}


/* Big CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background-color: var(--text);
  color:var(--text2);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.3px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  
}

.cta-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.cta-btn:hover i {
  transform: translateX(3px) translateY(-3px);
}

/* Responsive Mobile Rules */
@media (max-width: 768px) {
  .cta-banner {
    padding: 50px 16px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}







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

/* Grid Layout (2x2 Column Alignment) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 Columns in a row */
  gap: 2rem;
  width: 90%;
  margin: 0 auto;

}

/* Header Text */
.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

/* List Items */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Link Style */
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--accent);
  text-decoration: underline !important;
}

/* Social Icons Custom Colors */
.social-links .fa-linkedin { color: #0a66c2; }
.social-links .fa-youtube { color: #ff0000; }
.social-links .fa-github { color: var(--text); }
.social-links .fa-x-twitter { color: var(--text); }
.social-links .fa-facebook { color: #1877f2; }

/* Bottom Footer Text */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom .made-with {
  font-weight: 500;
  color: var(--text);
}

/* --- Responsive Media Queries --- */




/* ==========================================
   Top Slim Preloader Bar Styles
   ========================================== */
.top-loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.4px; /* एकदम स्लिम और प्रीमियम लुक के लिए */
  width: 0%; /* शुरुआत में यह 0% रहेगा */
  background: var(--accent-hover); /* आपके थीम का मुख्य नीला रंग */
  /* box-shadow: 0 0 10px var(--accent), 0 0 5px var(--accent);  */
  z-index: 100000; /* पूरी वेबसाइट, हेडर और मोडाल्स के ऊपर रखने के लिए सबसे बड़ी वैल्यू */
  transition: width 0.4s ease, opacity 0.3s ease; /* बढ़ने और गायब होने का स्मूथ ट्रांजिशन */
  opacity: 1;
}

