@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Poppins&family=Cormorant+Garamond&family=Sora&family=Nunito&family=Nunito+Sans&family=Montserrat&family=Montserrat+Alternates&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f6fa;
}

/* header menu theme start */
header {
  background-color: #f5f6fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  font-family: 'Montserrat Alternates', sans-serif;
  color: #2F3C7E;
}

.logo img {
  height: 30px;
  margin-right: 10px;
}

.nav-links {
  display: none;
}

.nav-links ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links ul li {
  position: relative;
}

.nav-links ul li:hover .dropdown {
  display: block;
}

.nav-links a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}


.dropdown {
  display: none;
  position: absolute;
  top: 1.8rem;
  left: 0;
  background: #f5f6fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 160px;
  z-index: 1000;
}

.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: #333;
}

.dropdown a:hover {
  background: #f5f6fa;
}

.auth-buttons {
  display: none;
  align-items: center;
  gap: 1rem;
}

.auth-buttons a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.cta {
  background-color: #3b82f6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 24px;
  background: #333;
  border-radius: 2px;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: #f5f6fa;
  border-top: 1px solid #eee;
}

/* Styling for all menu items */
.menu-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid #e9e9e9;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444;
  text-decoration: none;
}

.menu-item:nth-child(6),
.menu-item:nth-child(7) {
  color: #444;
  text-decoration: none;
}

.menu-item a {
  color: inherit;
  text-decoration: none;
}

.menu-item>a {
  color: #444;
}

.submenu {
  display: none;
  color: #2E2E2E;
  flex-direction: column;
  background: #f5f6fa;
  padding-left: 1rem;
  margin: 0.5rem 0 0.8rem;
  border-radius: 6px;

}

.submenu a {
  padding: 0.6rem 0;
  color: #2E2E2E;
  text-decoration: none;
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.mobile-auth a {
  text-align: center;
  text-decoration: none;
}

/* RESPONSIVE BREAKPOINT */
@media(min-width: 992px) {

  .hamburger,
  .mobile-menu {
    display: none;
  }

  .nav-links {
    display: block;
  }

  .auth-buttons {
    display: flex;
  }
}

/* header menu theme end */


/* --------------Banner theme start---------- */

.news-banner {
  display: flex;
  max-width: 1800px;
  margin: 0px auto;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex-wrap: wrap;
}

.banner-left {
  flex: 2;
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  color: white;
}

.banner-overlay h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.banner-overlay .meta {
  font-size: 13px;
  opacity: 0.9;
}

.banner-right {
  flex: 1;
  background: #000;
  display: flex;
  flex-direction: column;
}

.banner-tab {
  padding: 20px;
  color: white;
  cursor: pointer;
  border-bottom: 1px solid #444;
  transition: background 0.3s;
}

.banner-tab.active {
  background: #c40000;
}

.banner-tab small {
  display: block;
  font-size: 11px;
  color: #ccc;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.banner-tab:hover {
  background: #222;
}

@media (max-width: 768px) {
  .news-banner {
    flex-direction: column;
  }

  .banner-left,
  .banner-right {
    flex: unset;
    width: 100%;
  }

  .banner-tab {
    padding: 15px;
  }
}

/* --------------Banner theme end---------- */

/* --- marquee Theme start ---- */

.thought-bar-container {
  padding: 20px 15px;
}

.thought-bar {
  background-color: #F3F4F6;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  padding: 16px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.thought-top-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thought-main-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

.thought-label {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  white-space: nowrap;
}

.thought-marquee {
  flex: 1;
  overflow: hidden;
}

.thought-marquee marquee {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
  white-space: nowrap;
}

.thought-datetime {
  font-size: 13px;
  color: #6B7280;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .thought-top-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .thought-datetime {
    margin-left: 20px;
    text-align: right;
  }
}

/* marquee Theme start end  */

/* trend post start */

.trend-post-section {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 40px 20px;
  background-color: #f5f6fa;
  text-align: center;
}


.trend-post-title {
  font-size: 28px;
  font-weight: 600;
  color: #2f3542;
  margin-bottom: 30px;
}

.trend-post-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  justify-content: center;
}

.trend-post-card {
  background-color: white;
  display: flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  /* subtle light border */
  width: 320px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  /* subtle shadow */
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}

.trend-post-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.trend-post-image {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 16px;
}

.trend-post-content {
  text-align: left;
}

.trend-post-category {
  font-size: 12px;
  color: #6c5ce7;
  margin-bottom: 4px;
}

.trend-post-heading {
  font-size: 16px;
  font-weight: 600;
  color: #2f3542;
  line-height: 1.3;
}

.trend-post-dots {
  text-align: center;
  margin-top: 25px;
}

.trend-post-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: #ccc;
  border-radius: 50%;
}

.trend-post-dot.active {
  background-color: #6c5ce7;
}

/* trend post end */


/* Shorts Card Styling */
.shorts-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.shorts-card img {
  width: 100%;
  display: block;
}

.shorts-content {
  padding: 16px;
}

.shorts-category {
  color: #e74c3c;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.shorts-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.shorts-desc {
  font-size: 14px;
  color: #555;
}

.shorts-footer {
  text-align: center;
  padding: 12px;
  font-weight: bold;
  color: #e74c3c;
  cursor: pointer;
  font-size: 13px;
}

/* 📱 Mobile responsive layout */
@media (max-width: 768px) {
  .main-layout {
    flex-direction: column;
  }

  .main-content,
  .shorts-sidebar {
    width: 100%;
  }
}

.shorts-cartoon {
  text-align: center;
  border: 1px dashed #999;
  padding: 16px;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 20px;
}

.shorts-cartoon h3 {
  font-size: 14px;
  font-weight: bold;
  color: #b30000;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.shorts-cartoon img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.sponsored-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sponsored-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #b30000;
  font-size: 13px;
  text-transform: uppercase;
}

.sponsored-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sponsored-label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #b30000;
  font-size: 13px;
  text-transform: uppercase;
}

/* blog list end  */


/* footer start  */
.footer {
  background-color: #f9fafb;
  color: #333;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-about {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-logo img {
  height: 40px;
}

.footer-logo .brand-name {
  font-size: 18px;
  font-weight: bold;
  color: #111827;
  font-family: 'Montserrat Alternates', sans-serif;
}

.footer-about p {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  /* Allows wrapping */
  gap: 12px;
  /* Adds spacing between icons */
  margin-top: 15px;
  /* Adds space from text above */
}

.footer-social a {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  color: #1d4ed8;
  border: 1px solid #1d4ed8;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.footer-social a:hover {
  background: #1d4ed8;
  color: #fff;
}

.footer-lang select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex: 2 1 600px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links div {
  min-width: 180px;
  flex: 1 1 180px;
}

.footer-links h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #1d4ed8;
}

.footer-apps img {
  height: 40px;
  margin: 10px 10px 0 0;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 14px;
  color: #4b5563;
  text-align: center;
  line-height: 1.6;
}

.footer-bottom strong {
  color: #1e3a8a;
}

/* Responsive Design */
/* Tablet: two-column layout */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-about {
    flex: 1 1 45%;
    max-width: 48%;
  }

  .footer-links {
    flex: 1 1 45%;
    max-width: 48%;
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-links div {
    flex: 1 1 45%;
    min-width: 45%;
  }

  .footer-apps img {
    display: inline-block;
    margin: 10px 10px 0 0;
  }

  .footer-bottom {
    text-align: center;
    margin-top: 30px;
  }
}


/* footer end */

/* Gallery Start  */
.edgeToEdgeSwiper {
  width: 100%;
  height: 250px;
  margin-top: 25px;
}

.edgeToEdgeSwiper .swiper-wrapper {
  display: flex;
}

.edgeToEdgeSwiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
  height: 250px;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light shade overlay on hover */
.img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(5, 5, 5, 0.3);
  /* Light shade */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.img-wrapper:hover::before {
  opacity: 1;
}


.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.camera-icon {
  color: white;
  font-size: 22px;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
}

/* gallery end  */

/* book lanch  */

.launch-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  margin-top: 25px;
}

.launch-image {
  flex: 1 1 300px;
  text-align: center;
  padding: 20px;
}

.launch-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;

}

.launch-content {
  flex: 1 1 300px;
  padding: 20px;
  max-width: 600px;
}

.launch-content h4 {
  color: #dc5a28;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.launch-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.launch-content p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.countdown {
  font-size: 1.5rem;
  font-weight: bold;
  color: #dc5a28;
  margin-bottom: 20px;
}

.download-btn {
  background-color: #dc5a28;
  color: #fff;
  padding: 12px 24px;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background-color: #b8491f;
}

@media (max-width: 768px) {
  .launch-section {
    flex-direction: column;
    text-align: center;
  }

  .launch-content h1 {
    font-size: 2rem;
  }

  .countdown {
    font-size: 1.2rem;
  }
}

/* book lanch end */

/* youtube video start */



.video-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  justify-content: center;
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #111827;
  color: #f5f6fa;
}

.main-video {
  flex: 2;
  max-width: 800px;
  min-width: 300px;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.main-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-sidebar {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.video-sidebar h2 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #1c3a50;
  display: inline-block;
  padding-bottom: 5px;
}

.video-item {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.video-item:hover {
  opacity: 0.8;
}

.video-item img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}

.video-item .title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #4e4e60;
}

@media (max-width: 768px) {
  .video-section {
    flex-direction: column;
    padding: 20px;
  }

  .main-video {
    width: 100%;
  }

  .video-sidebar {
    width: 100%;
  }
}

/* youtube video end  */


/* back to up */

#backToTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-size: 24px;
  background-color: #1E3A8A;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#backToTopBtn:hover {
  background-color: #0056b3;
}

/* back to up */


.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}



/* about me start */

.about-social a i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-social a:hover i {
  transform: scale(1.2);
  color: #1e3a8a;
}

.signature {
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  color: #4a4a4a;
}

/* about me end */


/* blog content start */

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* contact me */

.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.floating-label {
  position: relative;
}

.floating-label input,
.floating-label textarea {
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 1rem 0.75rem 0.25rem;
  width: 100%;
  outline: none;
  background-color: transparent;
}

.floating-label label {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  color: #666;
  pointer-events: none;
  transition: all 0.2s ease;
}

.floating-label input:focus+label,
.floating-label input:not(:placeholder-shown)+label,
.floating-label textarea:focus+label,
.floating-label textarea:not(:placeholder-shown)+label {
  top: 0.25rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: #1E3A8A;
}

.rotate-180 {
  transform: rotate(180deg);
}

#tilt-profile {
  transition: transform 0.1s ease;
  will-change: transform;
  transform-style: preserve-3d;
  perspective: 300px;
  cursor: pointer;
}