/* Centered Blog Layout Styles */
.centered-blog-container {
  width: 100%;
  padding: 0;
}

.centered-blog-container:not(:first-child) {
  margin: 40px auto 0 auto;
}

/* Blog Details Section */
.blog-details-section-spacing {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  min-height: 100vh;
}

/* Blog Header Card */
.blog-header-card {
  background: white;
  overflow: visible;
  position: relative;
}

.blog-header-card .header-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.blog-header-card .header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-header-card .header-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 0%, rgba(76, 201, 196, 0.1) 100%);
}

.blog-header-card .content-section {
  padding: 0px 0px 40px;
}

.blog-header-card .blog-meta {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-header-card .blog-meta span {
  color: white;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
}

.blog-header-card .blog-meta .date-tag {
  background: linear-gradient(135deg, #000f32 0%, #000f32 100%);
}

.blog-header-card .blog-meta .author-tag {
  background: linear-gradient(135deg, #1565c0 0%, #44a08d 100%);
}

.blog-header-card .blog-meta .category-tag {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
}

.blog-header-card h1 {
  color: #333;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  background: linear-gradient(135deg, #000f32 0%, #1565c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-header-card .description {
  color: #666;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto;
}

/* New Blog Layout Styles */
.blog-main-container {
  width: 100%;
  margin: 50px 0;
  padding: 0 15px;
}

.blog-content-wrapper {
  display: grid;
  grid-template-columns: 75% 25%;
  gap: 40px;
  align-items: start;
}

/* Article Content - Creative Design */
.article-content {
  padding: 0px 20px 40px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.8;
  color: #374151;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.article-content .intro-paragraph {
  background: #f8f9fa;
  border-left: 4px solid #000f32;
  padding: 20px;
  margin: 0px 0px 25px;
  border-radius: 0 8px 8px 0;
}

.article-content-image{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.article-content-image img{
  max-width: 100%;
}

.article-content ul{
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.drop-cap-paragraph {
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.8;
}

.drop-cap {
  float: left;
  font-size: 72px;
  line-height: 60px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  font-weight: 600;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.article-content h2 {
  background: linear-gradient(135deg, #000f32 0%, #1565c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  font-weight: 700;
  margin: 35px 0 25px 0;
  padding: 20px 0 15px 0;
  position: relative;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px;
}

.article-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1565c0 0%, #000f32 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.article-content h2:hover::after {
  width: 120px;
}

.article-content h3 {
  color: #374151;
  font-size: 24px;
  font-weight: 600;
  margin: 35px 0 20px 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  padding-left: 0px;
}

.article-content h4 {
  color: #4b5563;
  font-size: 20px;
  font-weight: 600;
  margin: 25px 0 15px 0;
  font-family: 'Inter', sans-serif;
}

.article-content p {
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.8;
  color: #374151;
  transition: color 0.2s ease;
}

.article-content p:hover {
  color: #1f2937;
}

/* Feature Highlights */
.feature-highlight {
  background: #f8f9fa;
  border-left: 4px solid #000f32;
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

.feature-highlight h3 {
  color: #000f32;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.feature-highlight p {
  margin: 0;
  color: #555;
}

/* Highlight Box */
.highlight-box {
  background: #f8f9fa;
  color: #333;
  padding: 25px 30px;
  margin: 10px 0;
  border-left: 4px solid #000f32;
}

.highlight-box h3 {
  color: #333;
  margin: 0 0 15px 0;
  font-size: 22px;
  padding-left: 0px;
}

.highlight-box p {
  margin: 0;
  font-size: 16px;
}

/* Coming Soon Features */
.coming-soon-features {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-icon {
  font-size: 24px;
  margin-right: 15px;
  width: 40px;
  text-align: center;
}

.feature-text h4 {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

/* Feedback Section */
.feedback-section {
  background: #f8f9fa;
  border-left: 4px solid #000f32;
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.feedback-section p {
  margin: 10px 0;
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Share Section */
.share-section {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.share-section h4 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-align: center;
}

.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-btn.twitter {
  background: #1da1f2;
}

.social-btn.reddit {
  background: #ff4500;
}

.social-btn.linkedin {
  background: #000f32;
}

.social-btn.whatsapp {
  background: #25d366;
}

.social-btn.facebook {
  background: #1877f2;
}

/* Promo Card */
.promo-card {
  background: linear-gradient(135deg, #000f32 0%, #1565c0 100%);
  color: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.promo-header {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.promo-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
}

.promo-header .highlight {
  color: #4fc3f7;
  font-weight: 700;
}

.promo-features {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.promo-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.promo-feature i {
  margin-right: 8px;
  color: #4fc3f7;
}

.rating-section {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rating-letter {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #000f32 0%, #1565c0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.rating-details {
  text-align: left;
}

.rating-label {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 5px;
}

.stars {
  color: #ffd700;
  margin-bottom: 5px;
}

.rating-score {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.cta-button {
  background: white;
  color: #000f32;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  z-index: 2;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 15, 50, 0.3);
  background: #f8f9ff;
}

/* Floating Contact Button */
#floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: linear-gradient(135deg, #000f32 0%, #000f32 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

/* Contact Modal */
#contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

#close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h5 {
  color: #333;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #000f32 0%, #000f32 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-header p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

.contact-modal-form .form-group {
  margin-bottom: 20px;
}

.contact-modal-form input,
.contact-modal-form textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-modal-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-modal-form .submit-group {
  margin-bottom: 0;
}

.contact-modal-form button[type="submit"] {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #000f32 0%, #000f32 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  .share-section,
  .promo-card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .centered-blog-container {
    padding: 0 15px;
  }
  
  .blog-main-container {
    padding: 0 15px;
    margin: 20px auto;
  }
  
  .article-content {
    padding: 30px;
    margin: 20px 10px;
  }
  
  .article-content h2 {
    font-size: 26px;
  }
  
  .article-content .intro-paragraph {
    font-size: 20px;
    padding: 15px 20px;
  }
  
  
  .blog-header-card h1 {
    font-size: 28px !important;
  }
  
  .blog-header-card .description {
    font-size: 16px !important;
  }
  
  .drop-cap {
    font-size: 50px;
    line-height: 40px;
  }
  
  .article-content h2 {
    font-size: 24px;
  }
  
  .social-share {
    gap: 8px;
  }
  
  .social-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .centered-blog-container {
    padding: 0 10px;
  }
  
  .blog-main-container {
    padding: 0 10px;
  }
  
  .article-content {
    padding: 20px;
    margin: 15px 5px;
    border-radius: 16px;
  }
  
  .article-content .intro-paragraph {
    font-size: 18px;
    padding: 12px 15px;
  }
  
  .article-content h2 {
    font-size: 24px;
  }
  
  
  .blog-header-card h1 {
    font-size: 24px !important;
  }
  
  .blog-header-card .content-section {
    padding: 20px !important;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .feature-icon {
    margin: 0 0 10px 0;
  }
  
  .promo-header h3 {
    font-size: 16px;
  }
  
  .cta-button {
    font-size: 14px;
    padding: 12px 20px;
  }
}

.avanue-quote {
  border-left: 4px solid #ccc;
  margin: 20px 0;
  padding-left: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-style: italic;
  color: #333;
  background-color: #f8f9fd;
}


/* Smooth transitions for hover effects */
.social-btn:hover,
.cta-button:hover,
#floating-contact-btn:hover {
  transform: translateY(-2px);
}

.contact-modal-form input:focus,
.contact-modal-form textarea:focus {
  border-color: #000f32;
  outline: none;
}

/* Creative animations for article content */
@keyframes floatBubble {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translate(-60%, -40%) rotate(90deg);
    opacity: 0.1;
  }
  50% {
    transform: translate(-40%, -60%) rotate(180deg);
    opacity: 0.3;
  }
  75% {
    transform: translate(-70%, -30%) rotate(270deg);
    opacity: 0.05;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
    opacity: 0.3;
  }
}

