/*
 Theme Name: Floringe IT Theme
 Author: Rashmi Kanta Dash
 Description: A custom WordPress theme designed for Florinage IT LLP, featuring a modern layout for showcasing IT solutions, blog posts, services, products, and more.
 Version: 1.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f7fa;
    overflow-x: hidden;
}

/* ===== HEADER STRUCTURE ===== */
header {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-right: 40px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* ===== MAIN NAVIGATION ===== */
.main-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: block;
    white-space: nowrap;
    transition: all 0.3s;
}

.main-menu > li > a:hover {
    opacity: 0.9;
}

/* ===== DROPDOWN MENUS (2nd level) ===== */
.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(30, 58, 138, 0.98);
    padding: 10px 0;
    min-width: 200px;
    border-radius: 0 0 5px 5px;
    z-index: 1001;
}

.main-menu li:hover > .sub-menu {
    display: block;
}

/* ===== SUB-SUB MENUS (3rd level) ===== */
.main-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    display: none;
    border-radius: 0 5px 5px 0;
}

.main-menu .sub-menu li:hover > .sub-menu {
    display: block;
}

.main-menu .sub-menu li {
    position: relative;
}

.main-menu .sub-menu li a {
    padding: 12px 20px;
    display: block;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ===== CTA BUTTON ===== */
.header-button {
    background-color: #f28c38;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    margin-left: 30px;
    white-space: nowrap;
    transition: all 0.3s;
}

.header-button:hover {
    background-color: #e07b30;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}
/* Ensure menu visibility */
nav.active .main-menu,
.main-menu.active {
    display: flex !important; /* Override any hiding */
}
/* Active state */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 992px) {
    header {
        padding: 15px 25px;
    }
    .main-menu {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .main-menu {
        display: none;
        position: fixed;
        top: 80px; /* Adjust based on header height */
        left: 0;
        right: 0;
        background: #1e3a8a;
        flex-direction: column;
        padding: 20px 0;
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu > li {
        width: 100%;
        text-align: center;
    }
    
    .main-menu > li > a {
        padding: 15px 20px;
    }
    
    /* Mobile submenus */
    .main-menu .sub-menu {
        position: static;
        display: none;
        width: 100%;
        background: rgba(0,0,0,0.2);
    }
    
    .main-menu li.active > .sub-menu {
        display: block;
    }
    
    .hamburger {
        display: block;
    }
    
    .header-button {
        margin-left: auto;
    }
}
/* Hero Section */
.hero {
    background: url('http://localhost/test_wp/wp-content/uploads/2025/06/nexlify_hero_section.webp') no-repeat center/cover;
    padding: 150px 40px;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1, .hero p, .hero .btn {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px; /* Reduced from 20px */
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px; /* Reduced from 30px */
}

.hero .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #1e3a8a;
}
/* New hero button styles - completely separate from existing .btn */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.hero-btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    display: inline-block;
}

.hero-btn-orange {
    background: #FF6B00;
    color: white;
}

.hero-btn-orange:hover {
    background: #E05E00;
}

.hero-btn-blue {
    background: #3b82f6;
    color: white;
}

.hero-btn-blue:hover {
    background: #1e3a8a;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* X Posts Box */
.x-posts-box {
    position: relative;
    z-index: 1;
    background: white;
    max-width: 600px;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.x-posts-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 20px;
    width: 100%;
}

.x-post {
    flex-shrink: 0;
    font-size: 16px;
    color: #333;
    padding: 5px 0;
    margin-bottom: 0; /* Ensure no extra gap */
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .x-posts-box {
        max-width: 100%;
        margin: 20px 10px;
    }
}

/* General Section Styling */
.section {
    padding: 80px 40px;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px; /* Reduced from 40px */
    color: #1e3a8a;
}

/* Product Gallery Grid Section-Responsive + Zoom + Grid */
.affiliate-products-section {
  margin: 30px auto;
  padding: 20px;
  max-width: 1200px;
  text-align: center;
}

.affiliate-products-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Product Grid */
.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 10px;
}

/* Each Product Card */
.product-gallery a {
  display: inline-block;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border: 1px solid #ccc;
  padding: 4px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
  position: relative;
}

/* Image Zoom on Hover */
.product-gallery a:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-gallery a:hover img {
  transform: scale(2);
  z-index: 10;
}

/* Tablet Responsive */
@media (max-width: 768px) {
  .product-gallery a {
    width: 70px;
    height: 70px;
  }
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .affiliate-products-section {
    padding: 15px;
  }

  .product-gallery {
    gap: 8px;
  }

  .product-gallery a {
    width: 60px;
    height: 60px;
  }
}


/* Products Section */
.products {
    padding: 80px 40px;
    background: #f5f7fa;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 200px; /* Square size */
    height: 200px;
    object-fit: cover; /* Ensures image fills square */
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 22px;
    color: #1e3a8a;
    margin-bottom: 5px; /* Reduced from 10px */
}

.product-item p {
    font-size: 16px;
    color: #666;
    margin-bottom: 0; /* Reduced from default */
}

/* Google Map Section */
.google-map {
    padding: 80px 40px 0; /* No bottom padding to blend with footer */
    text-align: center;
    background: #fff;
}

.google-map h2 {
    margin-bottom: 30px;
}

.google-map iframe {
    max-width: 1200px;
    width: 100%;
    height: 450px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-img {
        width: 150px;
        height: 150px;
    }
    .customer-logo {
        width: 150px;
        height: 75px;
    }
}

/* Services Section - Optimized */
.services {
    padding: 80px 40px;
    background: #eef2ff;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    color: #1e3a8a;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.service-item {
    background: white;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.service-title {
    font-size: 22px;
    color: #1e3a8a;
    margin: 0 0 15px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
}

.service-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-img-container {
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.cta-button {
    display: inline-block;
    background-color: #f28c38;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e07b30;
    transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .service-img-container {
        height: 220px;
    }
    .service-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .service-img-container {
        height: 160px;
    }
}

/* Reviews Section */
.reviews {
    background: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.reviews p {
    font-style: italic;
    color: #555;
    margin-bottom: 0; /* Reduced from default */
}

/* Blog Section */
.blog-section {
    padding: 80px 40px;
    background: #eef2ff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-10px);
}

.blog-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog-item h3 {
    font-size: 18px;
    color: #1e3a8a;
    padding: 15px;
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* Partners Section */
.partners {
    padding: 80px 40px;
    text-align: center;
    background: #eef2ff; /* Light background for contrast */
}

.partner-slider {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping for auto-scrolling */
    overflow-x: hidden; /* Hides scrollbar, JS will handle scrolling */
    gap: 50px; /* Increased gap for better spacing */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.partner-logo {
    width: 200px; /* Increased width for professional look */
    height: 100px; /* Increased height for better visibility */
    object-fit: contain; /* Maintains aspect ratio */
    flex-shrink: 0; /* Prevents shrinking */
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1); /* Zoom on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-logo {
        width: 150px; /* Slightly smaller on mobile */
        height: 75px;
    }
    .partner-slider {
        gap: 30px; /* Reduced gap on mobile */
    }
}

/* Customers Section (moved after hero) */
.customers {
    padding: 80px 40px;
    text-align: center;
    background: #fff;
}

.customer-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.customer-logo {
    width: 200px; /* Increased for prominence */
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.customer-logo:hover {
    transform: scale(1.1);
}

/* Newsletter Section */
.newsletter {
    background: #1e3a8a;
    color: white;
}
.newsletter h2 {
    color: #ffffff; /* Make sure it's visible on blue background */
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.newsletter input[type="email"] {
    padding: 12px;
    width: 300px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.newsletter button {
    padding: 12px 30px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #dbeafe;
    color: #1e3a8a;
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px;
    text-align: center;
}

footer p {
    margin: 5px 0;
}
/* Modern Footer */
.site-footer {
    background-color: #0b0f19;
    color: #e2e8f0;
    padding: 60px 20px 30px;
    font-family: 'Segoe UI', sans-serif;
}

/* Top Section */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 40px;
    margin-bottom: 40px;
    gap: 40px;
}

/* Footer CTA */
.footer-cta {
    max-width: 250px;
    flex: 1;
}

.footer-cta h2 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer-cta p {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #38bdf8;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0ea5e9;
    color: #fff;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 40px;
    flex: 2;
    min-width: 300px;
    justify-content: space-evenly;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left; /* Aligning text to the left */
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #38bdf8;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #38bdf8;
}

/* Contact Info */
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #38bdf8;
}

.footer-contact p {
    font-size: 12px;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #93c5fd;
    text-decoration: underline;
}


/* Footer Links */
.footer-links {
    display: flex;
    gap: 40px;
    flex: 2;
    min-width: 300px;
    justify-content: space-evenly;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #38bdf8;
}

.footer-column a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #38bdf8;
}


/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
}

.footer-left {
    font-size: 12px;
    line-height: 1.6;
}

.footer-social a {
    color: #cbd5e1;
    font-size: 18px;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #38bdf8;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}
/* Category Row */
.footer-categories {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
    text-align: left;
}

.category-column {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-column h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #38bdf8;
}

.category-column a {
    color: #cbd5e1;
    font-size: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-column a:hover {
    color: #38bdf8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Post Header Section */
.post-header {
    padding: 100px 40px 60px;
    background: #1e3a8a;
    color: white;
    text-align: center;
}

.post-header h1 {
    font-size: 42px;
    margin-bottom: 10px; /* Reduced from 15px */
}

.meta {
    font-size: 16px;
    color: #dbeafe;
    margin-bottom: 0; /* Reduced from default */
}

/* Body Section */
.body-section {
    padding: 60px 40px;
    background: #fff;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px; /* Increased from 768px to match other sections */
    margin: 0 auto;
    flex-wrap: nowrap; /* Ensure two-column layout */
}

.post-content {
    flex: 2; /* 66% width */
    min-width: 0; /* Prevent overflow */
	text-align: justify; /* Justify the text */
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}
.post-content h2 {
    font-size: 28px;
    margin-top: 40px;
    color: #1e3a8a;
    font-weight: bold;
}

.post-content h3 {
    font-size: 22px;
    margin-top: 30px;
    color: #374151;
    font-weight: 600;
}
.post-featured-image {
    margin-bottom: 20px;
}

.post-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.sidebar {
    flex: 1; /* 33% width */
    background: #f5f7fa;
    padding: 20px;
    border-radius: 10px;
    min-width: 300px; /* Ensure enough space for content */
    max-width: 350px; /* Prevent sidebar from becoming too wide */
}

.sidebar h3 {
    font-size: 24px;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.popular-post {
    display: flex;
    align-items: flex-start; /* Align to top for wrapped text */
    gap: 15px;
    margin-bottom: 15px;
    width: 100%; /* Ensure it takes full width of sidebar */
}

.popular-post-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.popular-post-title {
    font-size: 14px; /* Smaller font for better fit */
    color: #333;
    text-decoration: none;
    line-height: 1.4; /* Improve readability */
    white-space: normal !important; /* Force wrapping */
    word-break: break-word !important; /* Break long words if needed */
    overflow: hidden; /* Prevent overflow */
    flex: 1; /* Take remaining space */
}

.popular-post-title:hover {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        flex-wrap: wrap; /* Stack on mobile */
    }
    .post-content, .sidebar {
        flex: 1;
        width: 100%; /* Full width on mobile */
        max-width: 100%; /* Reset max-width on mobile */
    }
    .popular-post-title {
        font-size: 16px; /* Slightly larger on mobile */
    }
}

/* Recent Posts Section */
.recent-posts {
    padding: 80px 40px;
    background: #eef2ff;
}

.recent-posts-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.recent-post {
    width: 300px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    text-align: center; /* Center content */
}

.recent-post-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.recent-post h3 {
    font-size: 18px;
    color: #1e3a8a;
    margin-bottom: 5px;
}

.recent-post p a {
    color: #3b82f6;
    text-decoration: none;
}

.recent-post p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recent-post {
        width: 250px;
    }
    .recent-post-img {
        height: 120px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    .hero {
        padding: 100px 20px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .products {
        grid-template-columns: 1fr;
    }
    .newsletter input[type="email"] {
        width: 100%;
    }
    .newsletter form {
        flex-direction: column;
    }
}
/* About Us Section */
.about-content {
    max-width: 900px;
    margin: 40px auto;
    line-height: 1.8;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.about-content p {
    font-size: 17px;
    color: #222;
    margin-bottom: 20px;
    text-align: justify;
}


/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
/* Call to Action Button */
.cta-button { 
    display: inline-block; 
    background: #2DD4BF; 
    color: #1E3A8A; 
    padding: 14px 28px; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: bold; 
    margin-top: 30px; 
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid #2DD4BF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Product Page Styles */
.product-page .product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-page .product-list .product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.product-page .product-item .thumbnail-gallery .product-thumbnail,
.product-page .product-wrapper .thumbnail-gallery .product-thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-page .product-item .thumbnail-gallery .product-thumbnail:hover,
.product-page .product-wrapper .thumbnail-gallery .product-thumbnail:hover {
    transform: scale(1.05);
}

.product-page .product-item .product-main-img,
.product-page .product-wrapper .main-image-container .product-main-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.product-page .product-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.product-page .product-wrapper .product-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.product-page .product-wrapper .main-image-container {
    position: relative;
}

.product-page .product-wrapper .thumbnail-gallery .thumbnail-wrapper .zoom-lens,
.product-page .product-item .thumbnail-gallery .thumbnail-wrapper .zoom-lens {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #ccc;
    pointer-events: none;
    display: none;
}

.product-page .product-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-container,
.product-page .product-item .thumbnail-gallery .thumbnail-wrapper .magnified-container {
    position: absolute;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    z-index: 10;
}

.product-page .product-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-image,
.product-page .product-item .thumbnail-gallery .thumbnail-wrapper .magnified-image {
    position: absolute;
}

/* Similar Products Section */
.similar-products {
    margin-top: 40px;
}

.similar-products h3 {
    color: #1E3A8A;
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-details h2 {
        font-size: 1.6em;
    }
    
    .product-details h3 {
        font-size: 1.2em;
    }

    .product-page .product-list {
        grid-template-columns: 1fr;
    }

    .product-page .product-item .product-main-img,
    .product-page .product-wrapper .main-image-container .product-main-img {
        max-width: 100%;
    }

    .product-page .product-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-container,
    .product-page .product-item .thumbnail-gallery .thumbnail-wrapper .magnified-container {
        display: none !important;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}
/* Service Styles (for consistency) */
.service-header {
    background: #1E3A8A;
    color: #F9FAFB;
    padding: 40px 0;
    text-align: center;
}

.service-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.service-content {
    padding: 40px 0;
}

.service-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-overview h2,
.service-benefits h3,
.service-pricing h3 {
    color: #1E3A8A;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.service-overview p {
    color: #6B7280;
    line-height: 1.6;
}

.service-benefits ul {
    list-style: disc;
    margin-left: 20px;
    color: #333;
}

.service-pricing p {
    color: #2DD4BF;
    font-size: 1.2em;
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.service-item a {
    text-decoration: none;
    color: inherit;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.service-item .thumbnail-gallery .service-thumbnail,
.service-wrapper .thumbnail-gallery .service-thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-item .thumbnail-gallery .service-thumbnail:hover,
.service-wrapper .thumbnail-gallery .service-thumbnail:hover {
    transform: scale(1.05);
}

.service-item .service-main-img,
.service-wrapper .main-image-container .service-main-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.service-wrapper .service-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.service-wrapper .main-image-container {
    position: relative;
}

.service-wrapper .thumbnail-gallery .thumbnail-wrapper .zoom-lens,
.service-item .thumbnail-gallery .thumbnail-wrapper .zoom-lens {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #ccc;
    pointer-events: none;
    display: none;
}

.service-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-container,
.service-item .thumbnail-gallery .thumbnail-wrapper .magnified-container {
    position: absolute;
    width: 400px;
    height: 400px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: none;
    z-index: 10;
}

.service-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-image,
.service-item .thumbnail-gallery .thumbnail-wrapper .magnified-image {
    position: absolute;
}

.service-price {
    color: #2DD4BF;
    font-size: 1.2em;
    margin: 10px 0;
}

/* Similar Services Section */
.similar-services {
    margin-top: 40px;
}

.similar-services h3 {
    color: #1E3A8A;
    font-size: 1.5em;
    margin-bottom: 20px;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: #2DD4BF;
    color: #1E3A8A;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid #2DD4BF;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-header h1 {
        font-size: 2em;
    }

    .service-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-item .service-main-img,
    .service-wrapper .main-image-container .service-main-img {
        max-width: 100%;
    }

    .service-wrapper .thumbnail-gallery .thumbnail-wrapper .magnified-container,
    .service-item .thumbnail-gallery .thumbnail-wrapper .magnified-container {
        display: none !important;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Reviews */
.reviews { margin-top: 40px; }
.reviews h3 { color: #1E3A8A; font-size: 1.5em; margin-bottom: 20px; text-align: center; }
.review-container { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.review-slider { display: flex; transition: transform 0.5s ease-in-out; }
.review-item { min-width: 100%; text-align: center; padding: 20px; box-sizing: border-box; }
.rating { margin-bottom: 15px; display: inline-block; }
.star { font-size: 24px; color: #ccc; margin: 0 2px; }
.star.filled { color: #ffd700; }
.review-text { font-size: 1.1em; color: #6B7280; line-height: 1.6; margin-bottom: 10px; }
.review-author { font-size: 0.9em; color: #2DD4BF; font-style: italic; }
.review-dots { text-align: center; margin-top: 20px; }
.review-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin: 0 5px; cursor: pointer; transition: transform 0.3s; }
.review-dot.active { transform: scale(1.3); }

/* Product List */
.product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; }
.product-item { border: 1px solid #ddd; padding: 15px; border-radius: 8px; text-align: center; }
.product-item a { text-decoration: none; color: inherit; }
.product-item img { max-width: 100%; height: auto; }
.product-price { color: #2DD4BF; font-size: 1.2em; margin: 10px 0; }
@media (max-width: 768px) { .product-list { grid-template-columns: 1fr; } }

/* Responsive Design */
@media (max-width: 768px) {
    .product-header h1 { font-size: 2em; }
    .product-wrapper { flex-direction: column; gap: 20px; }
    .cta-button { width: 100%; text-align: center; }
    .review-container { max-width: 100%; padding: 0 10px; }
}

/* Affiliate Product Grid Styles */
/* Printer Cartridge Grid Styles */
.printer-cartridge-grid {
    padding: 40px 20px;
    background: #f9fafb;
    margin-top: 2rem;
}

.printer-cartridge-grid .grid-title {
    font-size: 1.8rem;
    color: #1e3a8a;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.affiliate-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-image-container {
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin: 0 0 15px;
    line-height: 1.4;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.buy-button {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #1e40af;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .affiliate-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .affiliate-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .affiliate-grid {
        grid-template-columns: 1fr;
    }
}

.ebook-section {
  padding: 60px 20px;
  background: #f8f9fa;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.ebook-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.ebook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styling */
.ebook-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.ebook-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Image */
.ebook-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Text */
.ebook-card h3 {
  font-size: 1.2rem;
  color: #222;
  font-weight: 600;
  margin: 10px 0;
  text-align: left;
  width: 100%;
}

.ebook-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1.5;
}

/* Button */
.download-btn {
  background-color: #007bff;
  color: white;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.download-btn:hover {
  background-color: #0056b3;
}

/* Footer */
.ebook-footer {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #444;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .ebook-title {
    font-size: 2rem;
  }

  .ebook-card h3,
  .ebook-card p {
    text-align: center;
  }

  .download-btn {
    width: 100%;
    display: inline-block;
  }
}

/* Custom Styles for Nexlify Template Download Section */

/* --- Styles for the "Free Template Download" Portfolio Section --- */

/* Main container for the section */
#template-download-section {
    background-color: #FFFFFF; /* Ensure white background for this section */
    padding-top: 5rem; /* Equivalent to py-20 */
    padding-bottom: 5rem; /* Equivalent to py-20 */
    padding-left: 1.5rem; /* Equivalent to px-6 */
    padding-right: 1.5rem; /* Equivalent to px-6 */
    box-sizing: border-box; /* Include padding in element's total width/height */
    overflow: hidden; /* Prevent horizontal scroll from gaps/margins */
}

/* Container for the two columns within the section */
#template-download-section .download-columns-wrapper {
    display: flex;
    flex-direction: column; /* Stack columns on small screens by default */
    align-items: center; /* Center items when stacked */
    gap: 3rem; /* Space between stacked columns (equivalent to gap-12) */
    max-width: 80rem; /* max-w-7xl (1280px) */
    margin-left: auto; /* Center the wrapper */
    margin-right: auto; /* Center the wrapper */
    width: 100%; /* Ensure it takes full width */
}

/* Left column (text content) */
#template-download-section .download-left-column {
    text-align: left;
    width: 100%; /* Full width on small screens */
    box-sizing: border-box;
}

/* Right column (image and button) */
#template-download-section .download-right-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; /* Full width on small screens */
    box-sizing: border-box;
}

/* Styling for the image within the right column */
#template-download-section .download-image {
    width: 100%;
    height: auto;
    display: block; /* Remove extra space below image */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.08); /* section-image-shadow */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 32rem; /* max-w-lg from previous design for max image size */
}

/* Button styles (re-defined explicitly without Tailwind classes) */
#template-download-section .download-button {
    background-color: #FFED00; /* Vibrant yellow */
    color: #000000;            /* Black text */
    padding: 0.75rem 2rem;     /* py-3 px-8 */
    border-radius: 0.375rem;   /* rounded-md */
    font-weight: 600;          /* font-semibold */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* transition-all duration-300 */
    display: inline-block; /* ensures padding and margin work correctly */
    text-align: center;
    text-decoration: none; /* Remove underline for links */
    white-space: nowrap; /* Prevent button text from wrapping */
    border: none; /* Remove default button border */
    cursor: pointer; /* Indicate it's clickable */
}

#template-download-section .download-button:hover {
    background-color: #f7d200; /* Slightly darker yellow on hover */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
}

/* Text styles for the new section (explicit colors) */
#template-download-section h2 {
    color: #000000; /* Black for heading */
    font-size: 2.25rem; /* text-4xl */
    line-height: 2.5rem; /* leading-tight */
    font-weight: 700; /* font-bold */
    margin-bottom: 2rem; /* mb-8 */
}

#template-download-section h2 span {
    color: #FFED00; /* Accent yellow for 'Nexlify!' */
}

#template-download-section p {
    color: #374151; /* Dark grey for paragraph (gray-700) */
    font-size: 1.125rem; /* text-lg */
    line-height: 1.75rem;
    margin-bottom: 2rem; /* mb-8 */
}

#template-download-section ul {
    list-style: none; /* Remove default list bullets */
    padding: 0;
    margin: 0;
    margin-bottom: 3rem; /* mb-12 */
}

#template-download-section ul li {
    display: flex; /* Flex for icon and text alignment */
    align-items: flex-start; /* Align items to the top */
    color: #1F2937; /* Darker grey for list items (gray-800) */
    font-size: 1.125rem; /* text-lg */
    font-weight: 500; /* font-medium */
    margin-bottom: 1rem; /* space-y-4 for list items */
}

#template-download-section ul li:last-child {
    margin-bottom: 0; /* Remove bottom margin from last list item */
}

#template-download-section ul li svg {
    width: 1.5rem; /* w-6 */
    height: 1.5rem; /* h-6 */
    color: #22C55E; /* Green for icons (green-500) */
    margin-right: 0.75rem; /* mr-3 */
    flex-shrink: 0; /* Prevent icon from shrinking */
}

/* Media Queries for Responsiveness */

/* Medium screens (md: 768px and up) */
@media (min-width: 768px) {
    #template-download-section {
        padding-top: 6rem; /* py-24 */
        padding-bottom: 6rem; /* py-24 */
        padding-left: 3rem; /* px-12 */
        padding-right: 3rem; /* px-12 */
    }

    #template-download-section .download-columns-wrapper {
        flex-direction: row; /* Make columns go side-by-side */
        gap: 6rem; /* Increase gap for desktop (gap-24) */
        align-items: flex-start; /* Align content to the top of columns */
        justify-content: space-between; /* Distribute space between columns */
    }

    #template-download-section .download-left-column {
        width: 40%; /* Left column takes 40% of the available width */
        max-width: 40%;
        flex-shrink: 0; /* Prevent shrinking */
        flex-grow: 0; /* Prevent growing */
    }

    #template-download-section .download-right-column {
        width: 55%; /* Right column takes 55% of the available width */
        max-width: 55%;
        flex-shrink: 0; /* Prevent shrinking */
        flex-grow: 0; /* Prevent growing */
    }

    #template-download-section h2 {
        font-size: 3rem; /* text-5xl on md screens */
        line-height: 1; /* leading-tight */
    }
}

/* Large screens (lg: 1024px and up) */
@media (min-width: 1024px) {
    #template-download-section {
        padding-left: 6rem; /* px-24 */
        padding-right: 6rem; /* px-24 */
    }

    #template-download-section h2 {
        font-size: 4rem; /* text-6xl on lg screens */
        line-height: 1; /* leading-tight */
    }
}
/* --- Additional Styles for the Image Carousel within the Portfolio Section --- */

/* --- Additional Styles for the Image Carousel within the Portfolio Section --- */

/* --- Additional Styles for the Image Carousel within the Portfolio Section --- */

/* --- Additional Styles for the Image Carousel within the Portfolio Section --- */

/* Carousel Container (Viewport) */
#template-download-section .image-carousel-container {
    width: 100%;
    overflow: hidden; /* CRITICAL: Hides overflowing content */
    position: relative;
    border-radius: 0.5rem; /* Matches previous design */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.08); /* Matches previous design */
    margin-bottom: 2rem;
    aspect-ratio: 4 / 3; /* For 800x600 images - essential for consistent height */
}

/* Carousel Track (The scrolling element) */
#template-download-section .image-carousel-track {
    display: flex;
    height: 100%; /* Track fills container height */
    /* Set width to be exactly TWICE the width of the unique content */
    /* If you have 4 unique slides, and each is 100% of container width, then 400% for one set. */
    /* We duplicate, so the track needs to be 2 * 400% = 800% of the container's width. */
    width: 800%; /* This is 2 times the width of your 4 unique slides (400% of container width) */
    animation: carouselScroll 60s linear infinite; /* Set a slower speed (e.g., 60s) for better visibility */
    will-change: transform; /* Performance hint */
}

/* Individual Carousel Slide */
#template-download-section .carousel-slide {
    flex-shrink: 0; /* Prevents slides from shrinking */
    /* Each slide must be 1/8th of the total track width (since there are 8 slides in total) */
    /* 1/8th of 800% is 100% of the container's visible width. This makes each slide perfect. */
    width: 12.5%; /* 100% / 8 total slides = 12.5% */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image within the slide */
#template-download-section .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers area, may crop */
    border-radius: inherit;
}

/* Keyframes for the continuous scrolling animation */
@keyframes carouselScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* ✅ scrolls through all 8 slides */
}

/* Optional: Pause animation on hover */
#template-download-section .image-carousel-container:hover .image-carousel-track {
    animation-play-state: paused;
}

/* (The rest of your existing two-column layout CSS, as confirmed, should remain unchanged) */

/* Video Banner Section */
.plugin-banner {
    text-align: center;
    padding: 20px 15px;
    background-color: white;
    margin: 0;
}

.banner-video-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.nexlify-banner-video {
    width: 100%;
    display: block;
}

/* Desktop (original layout) */
@media (min-width: 768px) {
    .banner-video-container {
        max-width: 1200px;
        height: auto; /* Fixed height for desktop */
    }
    
    .nexlify-banner-video {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* Mobile (full banner display) */
@media (max-width: 767px) {
    .banner-video-container {
        height: auto; /* Flexible height */
    }
    
    .nexlify-banner-video {
        height: auto;
        min-height: 150px; /* Minimum visible height */
        object-fit: contain; /* Show entire video */
    }
}

/* Base Styles */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Arial, sans-serif;
            color: #1e293b;
            line-height: 1.6;
        }
        
        section {
            padding: 80px 0;
        }
        
        .container {
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        h2, h3 {
            color: #1e40af;
            margin-top: 0;
        }
        
        /* Author Profile Section */
        .author-intro {
            background-color: #f8fafc;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .profile-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
        }
        
        .profile-card {
            flex: 1 1 400px;
            max-width: 600px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            padding: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .profile-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .profile-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-image: url('http://localhost/test_wp/wp-content/uploads/2025/06/author_profile.jpg');
            background-size: cover;
            background-position: center;
            background-color: #1e40af;
            margin-right: 20px;
        }
        
        .profile-badges {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        .badge {
            background: #e0e7ff;
            color: #1e40af;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .stat-item {
            text-align: center;
        }
        
        .stat-number {
            font-size: 24px;
            font-weight: 700;
            color: #1e40af;
        }
        
        .stat-label {
            font-size: 13px;
            color: #64748b;
        }
        
        /* Training CTA Card */
        .training-card {
            flex: 1 1 400px;
            max-width: 600px;
            background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
            border-radius: 12px;
            padding: 40px 30px;
            color: white;
            box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
        }
        
        .training-feature {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .button-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .primary-btn {
            flex: 1 1 200px;
            background: white;
            color: #1e40af;
            text-align: center;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .secondary-btn {
            flex: 1 1 200px;
            background: transparent;
            border: 2px solid rgba(255,255,255,0.3);
            color: white;
            text-align: center;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .cohort-box {
            background: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }
        
        /* Fiverr Section */
        .fiverr-section {
            background-color: white;
            padding: 60px 0;
        }
        
        .fiverr-container {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 40px;
        }
        
        .fiverr-content {
            flex: 1;
            min-width: 300px;
        }
        
        .fiverr-image {
            flex: 1;
            min-width: 300px;
            text-align: center;
        }
        
        .fiverr-btn {
            background-color: #1dbf73;
            color: white;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
        }
        
        /* Reviews Section */
        .reviews-section {
            padding: 40px 0;
            background-color: #f9fafb;
        }
        
        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .review-card {
            background: white;
            padding: 25px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .review-meta {
            margin-bottom: 15px;
        }
        
        .review-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 10px;
        }
        
        /* Udemy Section */
        .udemy-section {
            background-color: #f8fafc;
            padding: 60px 0;
        }
        
        .udemy-container {
            display: flex;
            flex-wrap: wrap-reverse;
            align-items: center;
            gap: 40px;
        }
        
        .udemy-btn {
            background-color: #a435f0;
            color: white;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: bold;
            text-decoration: none;
            display: inline-block;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            section {
                padding: 60px 0;
            }
            
            .profile-header {
                flex-direction: column;
                text-align: center;
            }
            
            .profile-image {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .profile-badges {
                justify-content: center;
            }
        }