@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-foreground: #ffffff;
  --cylinder-radius: 200px;
  --cylinder-height: 160px;
}

/* Common Styles */
body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: small;
}
.header-container {
  max-width: 1920px !important;
  width: 90.33% !important;
  margin: auto !important;
}

.container {
  max-width: 1920px !important;
  width: 83.33% !important;
  margin: auto !important;
}

#navbar {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
}

.navbar-glass {
  background-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.carousel-slide {
  transition: transform 0.5s ease-in-out;
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  min-width: 200px;
  z-index: 1;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: white;
  overflow: hidden;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f3f4f6;
}

.footer-link {
  transition: all 0.3s ease;
  position: relative;
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #40b4e5;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  color: #40b4e5;
}

.subscribe-btn {
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  transform: translateX(3px);
}

.footer-input {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.footer-input:focus {
  border-color: #40b4e5;
  box-shadow: 0 0 0 2px rgba(64, 180, 229, 0.2);
}

/* Home Page Specific Styles */
.bg-glass {
  background-color: rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.overlay-shape {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, rgba(64, 180, 229, 0.7) 0%, rgba(113, 65, 177, 0.7) 100%);
}

.video-popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-popup.active {
  opacity: 1;
  visibility: visible;
}

.play-button {
  transition: transform 0.3s ease;
}

.video-thumbnail:hover .play-button {
  transform: scale(1.1);
}

.blog-card {
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  transform: translateY(0);
}

.blog-card:hover {
  border-left-color: #40b4e5;
  transform: translateY(-5px);
}

.blog-card .blog-image {
  overflow: hidden;
}

.blog-card .blog-image img {
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-card .read-more {
  position: relative;
}

.blog-card .read-more::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #40b4e5;
  transition: width 0.3s ease;
}

.blog-card:hover .read-more::after {
  width: 100%;
}

.blog-card .blog-category {
  transition: background-color 0.3s ease;
}

.blog-card:hover .blog-category {
  background-color: #7141b1;
}

.perspective-1200 {
  perspective: 1200px;
}

.preserve-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
}

.wheel-container {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cylinder-wrapper {
  position: relative;
  transform-style: preserve-3d;
  width: calc(var(--cylinder-radius) * 2);
  height: var(--cylinder-height);
}

.cylinder {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.section {
  position: absolute;
  height: var(--cylinder-height);
  transform-style: preserve-3d;
  cursor: pointer;
  overflow: hidden;
  backface-visibility: hidden;
  transform-origin: center center;
  left: 50%;
  top: 35%;
  margin-left: calc(var(--section-width) / -2);
}

.section-content {
  position: absolute;
  width: 100%;
  height: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 1.125rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  backface-visibility: hidden;
}

.section-content:hover {
  transform: scale(1.08);
  transition: all 0.2s ease;
}

.section-content.selected {
  color: #46b1e0;
}

.section-content.selected:hover {
  background-color: var(--primary);
}

#leftHoverArea,
#rightHoverArea {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#leftHoverArea:hover,
#rightHoverArea:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Blog Page Specific Styles */
.blog-container {
  animation: fadeIn 0.8s ease-in-out;
}

.blog-hero {
  position: relative;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-hero:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.blog-hero img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.blog-hero:hover img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6c757d;
}

.blog-category {
  display: inline-block;
  background-color: #3498db;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
  margin-right: 15px;
  transition: background-color 0.3s ease;
}

.blog-category:hover {
  background-color: #2980b9;
}

.blog-date {
  position: relative;
  padding-left: 15px;
}

.blog-content {
  background-color: white;
  border-radius: 12px;
  animation: slideUp 0.6s ease-out;
}

.blog-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #222;
  transition: color 0.3s ease;
  font-weight: 600;
}

.blog-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: #333;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.blog-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.blog-content h2:hover::after {
  width: 100%;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  font-weight: 600;
  color: #444;
}

.blog-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.blog-content a {
  color: #3498db;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.blog-content a:hover {
  color: #2980b9;
  border-bottom-color: #2980b9;
}

.blog-container strong {
  font-weight: 600;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 20px 20px;
}

.blog-content li {
  margin-bottom: 10px;
  position: relative;
}

.blog-content ul li {
  list-style-type: none;
  padding-left: 20px;
}

.blog-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #3498db;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.blog-content ul li:hover::before {
  transform: scale(1.5);
  background-color: #2980b9;
}

.blog-content blockquote {
  border-left: 4px solid #3498db;
  padding: 15px 20px;
  margin: 30px 0;
  background-color: #f8f9fa;
  font-style: italic;
  color: #555;
  transition: border-left-width 0.3s ease, transform 0.3s ease;
}

.blog-content blockquote:hover {
  border-left-width: 8px;
  transform: translateX(5px);
}

.blog-content pre {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin: 20px 0;
  border-left: 3px solid #3498db;
  transition: border-left-width 0.3s ease;
}

.blog-content pre:hover {
  border-left-width: 6px;
}

.blog-content code {
  font-family: "Courier New", Courier, monospace;
  color: #e74c3c;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.blog-content th,
.blog-content td {
  padding: 12px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.blog-content th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.blog-content tr:hover {
  background-color: #f8f9fa;
}

.divider {
  margin: 2px 0;
  border-bottom: 0.5px solid #dddddd58;
}

.custom-shadow {
  box-shadow: 0px 3px 40px 0px rgba(76, 77, 82, 0.06);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-in-out;
}

.slide-up {
  animation: slideUp 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.progress-container {
  width: 100%;
  height: 4px;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
}

.progress-bar {
  height: 4px;
  background: #3b82f6;
  width: 0%;
}

.zoom-container {
  overflow: hidden;
}

.zoom-effect {
  transition: transform 0.5s ease;
}

.zoom-container:hover .zoom-effect {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .blog-container {
    padding: 20px 0px;
  }
  .blog-content h1 {
    font-size: 2rem;
  }
  .blog-content h2 {
    font-size: 1.5rem;
  }
  .blog-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .blog-content h1 {
    font-size: 1.8rem;
  }
}
