/* Only new styles needed for autocomplete dropdown */
.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0rem 0rem 1rem 1rem;
    border-top: none;
    margin: 0px 16px 0px 16px;
    /* max-height: 200px;
    overflow-y: auto;
    z-index: 1000; */
}

.autocomplete-item {
    padding: 8px 12px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background: #f5f5f5;
}


        .form-containers {
            max-width: 90%;
            margin: 0 auto;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

       

        .form-bodys {
            padding: 14px 30px 14px;
        }

        .input-groups {
            position: relative;
            display: flex;
            align-items: stretch;
        }

        .text-inputs {
            flex: 1;
            padding: 14px 220px 14px 16px;
            border: 1px solid #000;
            border-radius: 15px;
            font-size: 14px;
            color: #495057;
            background: #fff;
            transition: all 0.2s ease;
            outline: none;
        }

        .text-inputs:focus {
            border-color: #000;
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
        }

        .text-inputs::placeholder {
            color: #000;
        }

        .submit-btns {
            position: absolute;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
            background: #ff5722;
            color: white;
            border: none;
            padding: 15px 58px;
            border-radius: 15px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .submit-btns:hover {
            background: #e64a19;
            transform: translateY(-50%) scale(1.02);
        }

        .submit-btns:active {
            transform: translateY(-50%) scale(0.98);
        }

        @media (max-width: 600px) {
            .form-containers {
                margin: 0 10px;
            }
            
            .form-headers,
            .form-bodys {
                padding: 15px 20px;
            }
            
            .input-groups {
                flex-direction: column;
            }
            
            .submit-btns {
                width: 100%;
            }
        }
 .banner-section {
            position: relative;
            height: 200px;
            background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)), 
                        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><rect fill="%23444" width="1200" height="200"/><path fill="%23666" d="M0,100 Q300,150 600,100 T1200,100 L1200,200 L0,200 Z"/></svg>');
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: white;
            overflow: hidden;
        }

        /* Alternative background with book image simulation */
        .banner-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, #8B4513 0%, #D2B48C 30%, #F5DEB3 60%, #8B4513 100%);
            opacity: 0.3;
            z-index: -1;
        }

        .banner-section::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
            z-index: 0;
        }

        .banner-content {
            position: relative;
            z-index: 1;
            padding: 20px 40px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        /* Breadcrumbs */
        .breadcrumbs {
            display: flex;
            align-items: center;
            font-size: 14px;
            margin-bottom: auto;
        }

        .breadcrumb-item {
            display: flex;
            align-items: center;
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .breadcrumb-item:hover {
            color: white;
        }

        .breadcrumb-separator {
            margin: 0 12px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 12px;
        }

        .home-icon {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            fill: currentColor;
        }

        /* Main title and share section */
        .title-section {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            flex-wrap: nowrap;
            justify-content: space-evenly;
        }

        .main-title {
            font-size: 3.5rem;
            font-weight: 300;
            letter-spacing: -1px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .share-button {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .share-button:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-1px);
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .banner-content {
                padding: 15px 20px;
            }

            .main-title {
                font-size: 2.5rem;
            }

            .breadcrumbs {
                font-size: 12px;
            }

            .title-section {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .share-button {
                align-self: flex-end;
            }
        }

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

            .breadcrumbs {
                flex-wrap: wrap;
            }

            .breadcrumb-separator {
                margin: 0 8px;
            }
        }
 .content-container {
            display: flex;
            max-width: 100%;
            margin: 0 auto;
            gap: 40px;
                padding: 40px 75px 0 0px;
        }

        /* Questions Sidebar */
        .questions-sidebar {
            flex: 0 0 350px;
        }

        .sidebar-header {
            font-size: 18px;
            font-weight: 600;
            color: #666;
            margin-bottom: 20px;
            margin-left: 29px;
        }

        .questions-list {
            list-style: none;
            padding-left: 0px;
        }

        .question-item {
            margin-bottom: 2px;
        }

        .question-link {
            display: block;
            padding: 12px 30px;
            color: #666;
            text-decoration: none;
            border-radius: 1px;
            transition: all 0.2s ease;
        }

        .question-link:hover {
            background-color: #f5f5f5;
            color: #333;
        }

        .question-link.active {
            background-color: #ffccbc;
            color: #d84315;
            font-weight: 500;
        }

        /* Main Content */
        .main-content {
            flex: 1;
        }

        .content-text {
            font-size: 16px;
            line-height: 1.7;
            color: #3c4043;
            margin-bottom: 30px;
        }

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

        .section-titlesection {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 12px;
        }

        .section-icon {
            width: 16px;
            height: 16px;
            flex-shrink: 0;
        }

        .trinity-icon {
            color: #9c27b0;
        }

        .creator-icon {
            color: #2196f3;
        }

        .love-icon {
            color: #f44336;
        }

        .section-points {
            list-style: none;
            margin-left: 24px;
        }

        .section-points li {
            margin-bottom: 8px;
            position: relative;
        }

        .section-points li::before {
            content: '•';
            color: #666;
            position: absolute;
            left: -15px;
            font-weight: bold;
        }

        .bible-quote {
            margin-top: 4px;
            margin-left: 20px;
            font-style: italic;
            color: #666;
            font-size: 15px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .content-container {
                flex-direction: column;
                gap: 30px;
                padding: 20px 15px;
            }

            .questions-sidebar {
                flex: none;
                order: 2;
            }

            .main-content {
                order: 1;
            }
        }

        @media (max-width: 480px) {
            .content-container {
                padding: 15px 10px;
            }

            .content-text {
                font-size: 15px;
            }

            .section-titlesection {
                font-size: 15px;
            }

            .bible-quote {
                font-size: 14px;
                margin-left: 15px;
            }

            .section-points {
                margin-left: 20px;
            }
        }
 .related-articles-section {
            max-width: 90%;
            margin: 0 auto;
        }

        .section-header {
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 30px;
            padding-bottom: 10px;
            border-bottom: 1px solid #000000;
        }

        .carousel-container {
            position: relative;
            overflow: hidden;
            touch-action: pan-y; /* Allow vertical scrolling but handle horizontal */
            user-select: none;
        }

        .carousel-wrapper {
            display: flex;
            transition: transform 0.5s ease, opacity 0.3s ease;
            will-change: transform;
        }

        .article-card {
            flex: 0 0 33.333%;
            padding: 0 15px;
            min-width: 0;
        }

        .card-content {
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .card-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }

        .card-image {
            width: 100%;
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .card-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
        }

        .cross-image {
            background: linear-gradient(45deg, #ff7043, #ffab40);
        }

        .jesus-image {
            background: linear-gradient(45deg, #ffa726, #ffcc02);
        }

        .faith-image {
            background: linear-gradient(45deg, #ffab91, #ffccbc);
        }

        .cross-overlay,
        .jesus-overlay,
        .faith-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 2;
        }

        .cross-overlay::before {
            content: '✝';
            font-size: 60px;
            color: rgba(0,0,0,0.7);
            text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
        }

        .jesus-overlay::before {
            content: '☩';
            font-size: 60px;
            color: rgba(0,0,0,0.7);
            text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
        }

        .faith-overlay::before {
            content: '🙏';
            font-size: 50px;
            filter: grayscale(50%);
        }

        .card-body {
            padding: 20px;
        }

        .card-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 10px;
            line-height: 1.3;
        }

        .card-description {
            font-size: 14px;
            color: #666;
            line-height: 1.5;
        }

        /* Carousel Navigation */
        .carousel-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 30px;
        }

        .nav-button {
            background: #f5f5f5;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 20px;
            color: #666;
        }

        .nav-button:hover {
            background: #e0e0e0;
            color: #333;
            transform: scale(1.1);
        }

        .nav-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .carousel-indicators {
            display: flex;
            gap: 8px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .indicator.active {
            background: #ff7043;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .article-card {
                flex: 0 0 100%;
            }

            .section-header {
                font-size: 20px;
                margin-bottom: 20px;
            }

            .card-image {
                height: 180px;
            }

            .card-title {
                font-size: 16px;
            }

            .card-description {
                font-size: 13px;
            }
        }

        @media (min-width: 769px) and (max-width: 1024px) {
            .article-card {
                flex: 0 0 50%;
            }
        }