* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e1e5e9;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 10px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 200px;
    height: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0a2363;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d8325c;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-item-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 150px;
    z-index: 1001;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f8f9fa;
    color: #0a2363;
    border-radius: 8px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 40px 0;
}

.back-to-blog {
    margin-bottom: 30px;
}

.back-link {
    color: #d8325c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0a2363;
}

/* Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 50px;
    text-align: center;
}

.post-category {
    display: inline-block;
    background: linear-gradient(135deg, #d8325c, #e74c6f);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a2363;
    line-height: 1.2;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.post-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 35, 99, 0.1);
    margin-bottom: 40px;
}

.post-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.content-intro {
    margin-bottom: 40px;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #0a2363;
    margin-bottom: 20px;
    line-height: 1.6;
}

.content-section {
    margin-bottom: 40px;
}

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

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d8325c, #e74c6f);
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0a2363;
    margin-bottom: 15px;
}

.content-section p {
    margin-bottom: 20px;
}

.content-list {
    margin: 20px 0;
    padding-left: 30px;
}

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

.content-list li::marker {
    color: #d8325c;
    font-weight: bold;
}

.content-conclusion {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    margin: 30px 0 10px;
}

/* Comparison Table */
.comparison-table {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #0a2363, #d8325c);
    color: white;
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px solid #e1e5e9;
    vertical-align: top;
}

.comparison-table tr:nth-child(even) td {
    background-color: #f8f9ff;
}

.comparison-table tr:nth-child(odd) td:first-child {
    background-color: #fff5f7;
    color: #666;
}

.comparison-table tr:nth-child(odd) td:last-child {
    background-color: #f0f8ff;
    color: #0a2363;
    font-weight: 500;
}

/* Post Footer */
.post-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f3f4;
}

.share-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a2363;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.linkedin:hover {
    background: transparent;
    color: #0077b5;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-btn.twitter:hover {
    background: transparent;
    color: #1da1f2;
}

.share-btn.copy {
    background: #666;
    color: white;
    border-color: #666;
}

.share-btn.copy:hover {
    background: transparent;
    color: #666;
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid #f1f3f4;
}

.related-posts h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #0a2363;
    margin-bottom: 40px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-content {
    padding: 25px;
}

.related-category {
    background: rgba(216, 50, 92, 0.1);
    color: #d8325c;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0a2363;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-link {
    color: #d8325c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.related-link:hover {
    color: #0a2363;
}

.related-link.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #d8325c 0%, #e74c6f 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.contact-button {
    display: flex;
    justify-content: flex-end;
}

.btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #d8325c;
    border-color: white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.footer {
  background: #0a2363;
  color: white;
  padding: 60px 20px 20px;
  z-index: 100;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-logo-wrapper {
  background: white;      /* or a lighter shade */
  padding: 8px 12px;
  border-radius: 4px;    /* rounded corners */
  display: inline-block;
  margin-bottom: 10px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
}


.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #d8325c;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 300px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #d8325c;
  color: white;
}

/* Optional: different colors for each social */
.social-icon.facebook:hover { background-color: #3b5998; }
.social-icon.twitter:hover { background-color: #1da1f2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.linkedin:hover { background-color: #0077b5; }

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-section p {
    max-width: 100%;
  }
  .social-icons{
    justify-content: center;
  }
      .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.contact-trigger {
  cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .main-content {
        margin-top: 90px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        gap: 15px;
        justify-content: center;
    }

    .post-image img {
        height: 250px;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }

    .share-buttons {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .contact-text h2 {
        font-size: 2rem;
    }

    .arrow-img {
        width: 80px;
    }

    .contact-button {
        justify-content: center;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-item-dropdown {
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        margin-left: 1rem;
    }

    .dropdown-menu.open {
        display: block;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-image img {
        height: 200px;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
    }

    .contact-text h2 {
        font-size: 1.8rem;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    width: 90%;
        max-height: 90vh;         /* ✅ Limit content height */
    overflow-y: auto; 
    max-width: 800px;
    position: relative;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2363;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a2363;
}
/* Style for select dropdowns */
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.form-group select:focus {
  outline: none;
  border-color: #0a2363;
}

/* Book a Demo Button */
.contact-form .btn {
  background-color: #0a2363;
  color: white;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #061a45;
}