* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  overflow-x: hidden;
}

/* Tablet and Mobile Styles */
@media (max-width: 1024px) {
  nav {
    padding: 20px 30px;
  }

  .logo {
    font-size: 24px;
  }

  .logo-img {
    height: 40px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: rgba(15, 12, 41, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu {
    display: flex;
    z-index: 10;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 100px 30px 60px;
  }

  .content {
    text-align: center;
  }

  h1 {
    font-size: 48px;
  }

  .subtitle {
    font-size: 18px;
  }

  .cta-group {
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .book-showcase {
    height: 400px;
  }

  .visual-area {
    order: -1;
  }

  .book-3d {
    width: 220px;
    height: 320px;
  }

  .book-cover-text {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 18px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .logo-img {
    height: 50px;
  }

  .logo span {
    display: none;
  }

  .container {
    padding: 100px 20px 40px;
    gap: 40px;
  }

  .badge {
    font-size: 10px;
    padding: 6px 16px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 30px;
    font-size: 15px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
  }

  .stat-item {
    flex: 0 0 calc(50% - 15px);
    text-align: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }

  .book-showcase {
    height: 350px;
  }

  .book-3d {
    width: 180px;
    height: 260px;
  }

  .book-3d:nth-child(2) {
    left: 25%;
    top: 40%;
  }

  .book-3d:nth-child(3) {
    left: 75%;
    top: 60%;
  }

  .book-cover-text {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 90px 15px 30px;
  }

  .badge {
    font-size: 9px;
    padding: 5px 14px;
  }

  h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .highlight::after {
    height: 15px;
    bottom: 5px;
  }

  .subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn {
    padding: 14px 25px;
    font-size: 14px;
  }

  .stats {
    gap: 20px;
    margin-top: 40px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-label {
    font-size: 11px;
  }

  .book-showcase {
    height: 300px;
  }

  .book-3d {
    width: 140px;
    height: 200px;
  }

  .book-cover-text {
    font-size: 16px;
  }

  .book-float {
    width: 40px;
    height: 60px;
  }

  .nav-links {
    width: 250px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 24px;
  }

  .book-showcase {
    height: 250px;
  }

  .book-3d {
    width: 110px;
    height: 160px;
  }

  .stat-item {
    flex: 0 0 100%;
  }
}

/* Landscape mobile optimization */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .container {
    padding: 80px 30px 40px;
  }

  h1 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .subtitle {
    margin-bottom: 25px;
  }

  .stats {
    margin-top: 30px;
    gap: 30px;
  }

  .book-showcase {
    height: 280px;
  }
}

/* Large desktop optimization */
@media (min-width: 1600px) {
  .container {
    max-width: 1600px;
    padding: 0 80px;
  }

  h1 {
    font-size: 84px;
  }

  .subtitle {
    font-size: 22px;
  }

  .book-showcase {
    height: 700px;
  }

  .book-3d {
    width: 320px;
    height: 460px;
  }
}

/* High resolution displays */
@media (min-width: 2000px) {
  .container {
    max-width: 1800px;
  }

  h1 {
    font-size: 96px;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Grid overlay effect */
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* ====== CENTERED HERO SECTION ====== */
.centered-hero {
  position: relative;
  background: linear-gradient(rgba(11, 15, 17, 0.8), rgba(11, 15, 17, 0.8)),
    url("/Assets/Images/blogs.jpg") center/cover no-repeat;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  min-height: 70vh;
  overflow: hidden;
}

.centered-hero .grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(208, 173, 61, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(208, 173, 61, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.centered-hero .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.centered-hero .highlight {
  color: #d0ad3d;
}

/* Container */
.centered-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
}

/* Badge */
.badge {
  background: rgba(169, 169, 169, 0.15);
  border: 1px solid rgba(169, 169, 169, 0.3);
  color: #f5f5dc;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 25px;
}

/* Heading & Subtitle */
h1 {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #a9a9a9;
}

.highlight {
  color: #d0ad3d;
}

.subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 40px;
}

/* Buttons */
.cta-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background: #d0ad3d;
  color: #0b0f11;
  box-shadow: 0 10px 30px rgba(184, 157, 102, 0.4);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(184, 157, 102, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* Stats Section */
.stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #d0ad3d;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .stats {
    gap: 30px;
  }
}

/* ===== Blog Section ===== */
.blog-section {
  background: #0b0f11;
  padding: 80px 40px;
  font-family: "Poppins", sans-serif;
}

.blog-container {
  display: flex;
  gap: 40px;
  max-width: 1600px; /* Increased width from ~1200px or 1300px */
  width: 90%; /* Ensures responsiveness */
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
}

/* ===== Left Sidebar ===== */
.blog-sidebar {
  flex: 3;
  background: #808080;
  color: #fff;
  border-radius: 16px;
  padding: 30px 20px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.blog-sidebar h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar li {
  padding: 12px 10px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-sidebar li:hover {
  background: rgba(255, 255, 255, 0.15);
}

ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
  color: #fff;
}

.blog-sidebar li.active {
  background: #f5f5dc;
  color: #0f172a;
  font-weight: 600;
}

/* ===== Blog Content ===== */
.blog-content {
  flex: 9;
  background: #808080;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.blog-post {
  display: none;
}

.blog-post.active {
  display: block;
}

.blog-post h2 {
  color: #a9a9a9;
  font-size: 2rem;
  margin-bottom: 20px;
}

.blog-post h3 {
  color: #f5f5dc;
  margin-top: 25px;
  margin-bottom: 10px;
}

.blog-post p {
  color: #fff;
  line-height: 1.7;
  margin-bottom: 15px;
}

.blog-post ul {
  margin: 10px 0 20px 20px;
}

.blog-post ul li {
  color: #fff;
  margin-bottom: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .blog-container {
    flex-direction: column;
  }

  .blog-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 600px) {
  .blog-section {
    padding: 60px 20px;
  }

  .blog-post h2 {
    font-size: 1.6rem;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  .footer-company {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-main {
    padding: 60px 20px 30px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 15px;
  }

  .trust-badges {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .visual-area {
    display: none;
  }
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Base hero adjustments for small screens */
@media (max-width: 1200px) {
  .centered-hero h1 {
    font-size: 2.5rem;
  }

  .centered-hero .subtitle {
    font-size: 1rem;
  }

  .cta-group {
    gap: 10px;
  }
}

/* Tablet screens */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container,
  .why-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .platform-icons {
    gap: 20px;
  }
}

/* Small tablets / large mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .about-heading {
    font-size: 2rem;
  }

  .about-description,
  .why-description,
  .section-subtitle {
    font-size: 1rem;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .mv-card {
    padding: 40px 30px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Mobile screens */
@media (max-width: 576px) {
  .nyc-mobile-center {
    text-align: center;
  }
  .centered-hero {
    padding: 30px 15px;
  }

  .about-section {
    padding: 40px 15px;
  }

  .why-choose-section {
    padding: 60px 15px;
    flex-direction: column;
    gap: 30px;
  }

  .mv-card {
    padding: 30px 20px;
  }

  .platform-icons {
    flex-direction: column;
    gap: 20px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .about-heading,
  .why-heading,
  .section-title {
    font-size: 1.8rem;
  }

  .values-section {
    padding: 60px 15px;
  }

  .badge {
    padding: 6px 15px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .about-cta {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .mv-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .value-card {
    padding: 30px 20px;
  }
}

/* Extra small screens (very small phones) */
@media (max-width: 400px) {
  h1 {
    font-size: 1.5rem;
  }

  .about-heading,
  .why-heading,
  .section-title {
    font-size: 1.5rem;
  }

  .subtitle,
  .about-description,
  .why-description,
  .section-subtitle {
    font-size: 0.95rem;
  }

  .cta-group {
    gap: 8px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .mv-card {
    padding: 20px 15px;
  }

  .value-card {
    padding: 20px 15px;
  }
}

.cta-section {
  background: #0b0f11;
  color: #fff;
  padding: 80px 40px;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* ===== Left Content ===== */
.cta-content {
  flex: 1;
  min-width: 300px;
}

.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.cta-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 25px;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-points li {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 10px;
}

/* ===== Form Section ===== */
.cta-form-wrapper {
  flex: 1;
  min-width: 340px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}

.cta-form h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.btn-submit {
  width: 100%;
  background: #d0ad3d;
  color: #0f172a;
  font-weight: 600;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: #b89d66;
  transform: translateY(-2px);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-content {
    margin-bottom: 40px;
  }

  .cta-form-wrapper {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 600px) {
  .cta-section {
    padding: 60px 20px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-form h3 {
    font-size: 1.3rem;
  }
}
