/*
Theme Name: Colleges Directory – Ernakulam
Theme URI: https://example.com/
Author: Hashsecure Team
Description: Local directory theme for colleges in Ernakulam, Kerala with AI-powered content generation.
Version: 2.0
License: GPL v2 or later
Text Domain: collages_schools_ernakulam
Tags: directory, bootstrap, responsive, ai-content, seo-optimized
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 15px;
}

/* Enhanced Site Header */
.site-header {
    position: relative;
    z-index: 1030;
}

/* Top Bar - Hidden as requested */
.top-bar {
    display: none !important;
}

/* Enhanced Navigation */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background: white !important;
}

.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-1px);
}

.logo-icon {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%) !important;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
}

.logo-text .fw-bold {
    background: linear-gradient(135deg, #007cba, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Navigation Links */
.navbar-nav .nav-link {
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    margin: 0 0.125rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333 !important;
    text-decoration: none;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 124, 186, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.1), rgba(0, 124, 186, 0.05));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.2);
    color: #007cba !important;
}

.hover-primary:hover {
    color: #007cba !important;
    background: rgba(0, 124, 186, 0.05) !important;
}

/* Enhanced Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    animation: fadeInDown 0.3s ease-out;
    background: white;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.25rem;
    color: #333 !important;
    text-decoration: none;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.1), rgba(0, 124, 186, 0.05));
    color: #007cba !important;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    opacity: 0.7;
}

/* Enhanced Search Modal */
.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-body {
    padding: 2rem;
}

.modal-body .input-group {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    overflow: hidden;
}

.modal-body .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: white;
}

.modal-body .btn {
    border: none;
    padding: 0 2.5rem;
    font-weight: 600;
    background: #ffc107;
    color: #000;
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.4);
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
}

.btn-outline-primary {
    border: 2px solid #007cba;
    color: #007cba;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #007cba 0%, #0056b3 100%);
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.3);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Enhancements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white !important;
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
        color: #333 !important;
        background: transparent !important;
    }
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.site-logo img {
    max-height: 50px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: #007bff;
}

/* Enhanced Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.9), rgba(102, 126, 234, 0.8));
    z-index: -1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .display-3 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.search-box {
    max-width: 500px;
    margin-bottom: 2rem;
}

.search-box .input-group {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 50px;
    overflow: hidden;
}

.search-box .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px 0 0 50px;
}

.search-box .form-control:focus {
    box-shadow: none;
    border-color: #ffc107;
}

.search-box .btn {
    border: none;
    padding: 0 2rem;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
}

.hero-image-container {
    position: relative;
    text-align: center;
}

.hero-main-image {
    position: relative;
    z-index: 1;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.floating-card {
    position: absolute;
    z-index: 2;
    border-radius: 15px;
    animation: float 6s ease-in-out infinite;
    width: 140px;
    height: 80px;
}

.card-1 {
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 5%;
    animation-delay: 2s;
}

.card-3 {
    top: 60%;
    right: 8%;
    animation-delay: 4s;
}

.floating-card .card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.min-vh-75 {
    min-height: 75vh;
}

/* Institution Category Cards */
.institution-category-card {
    position: relative;
    overflow: hidden;
}

.institution-category-card .card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.institution-category-card:hover .card {
    border-color: var(--bs-primary);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    position: relative;
    display: inline-block;
}

.category-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.schools-card .card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    border-left: 5px solid #28a745;
}

.colleges-card .card {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-left: 5px solid #007bff;
}

.universities-card .card {
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 100%);
    border-left: 5px solid #17a2b8;
}

.stats-preview {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.stat-preview-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Navigation Styles */
.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #004085 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-toggler {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 2px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.hover-lift {
    transition: all 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Dropdown Menu Enhancements */
.dropdown-menu {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 8px;
}

.dropdown-item {
    color: #333;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    transform: translateX(5px);
}

/* Search Modal Enhancements */
.modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

.bg-gradient-primary .modal-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.bg-gradient-primary .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    border-color: #ffc107;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 123, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        margin-top: 10px;
        padding: 20px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

    .navbar-nav .nav-item {
        margin-bottom: 8px;
    }

    .navbar-nav .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
}

/* Logo Animation */
@keyframes logoGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.navbar-brand:hover img {
    animation: logoGlow 0.6s ease-in-out;
}

/* FAQ Section Styles */
.accordion-button {
    background: #fff !important;
    border: none;
    box-shadow: none;
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    color: #333 !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #007bff !important;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1rem 2rem 2rem;
    background: #fff;
    border-top: 1px solid #e9ecef;
    line-height: 1.6;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .institution-category-card .card-body {
        padding: 2rem !important;
    }

    .category-icon i {
        font-size: 3rem !important;
    }

    .stats-preview {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .accordion-button {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .accordion-body {
        padding: 1rem 1.5rem !important;
    }
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 60px 0 40px 0;
    align-items: start;
}

.card-grid .card {
    height: auto;
    min-height: 400px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    margin-top: auto;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card h3, .card h4 {
    margin-bottom: 10px;
}

.card p {
    margin-bottom: 10px;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Business Selector */
.business-selector {
    background-color: #fff;
    padding: 40px 0;
    text-align: center;
}

.business-selector h3 {
    margin-bottom: 20px;
}

.business-selector select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 300px;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

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

    .main-navigation ul {
        margin-top: 15px;
    }

    .main-navigation li {
        margin-left: 0;
        margin-right: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .business-selector select {
        min-width: 250px;
    }
}

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* Sidebar */
.sidebar {
    margin-top: 40px;
}

.widget {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    font-size: 1.1rem;
}

/* Post Single Styles */
.post-single {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.post-header h1 {
    color: #333;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.post-thumbnail {
    margin: 25px 0;
    text-align: center;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-content {
    line-height: 1.8;
    color: #444;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    margin: 30px 0 15px 0;
    color: #333;
}

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

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 30px;
}

.post-tags {
    font-size: 0.9rem;
}

.tag-label {
    font-weight: 600;
    color: #333;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 5px;
}

/* Author Bio */
.author-bio {
    display: flex;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.author-avatar {
    margin-right: 20px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-info h3 {
    margin-bottom: 10px;
    color: #333;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
}

.related-posts h3 {
    margin-bottom: 25px;
    text-align: center;
    color: #333;
}

/* Comments */
.comments-area {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author img {
    border-radius: 50%;
    margin-right: 15px;
}

.comment-author .fn {
    font-weight: 600;
    color: #333;
}

.comment-meta {
    font-size: 0.8rem;
    color: #666;
}

.comment-content {
    margin-left: 55px;
}

/* AEO-Specific Styles */
.aeo-questions {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.aeo-questions .question-preview strong {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aeo-questions ul li {
    margin-bottom: 5px;
}

.aeo-questions ul li a:hover {
    text-decoration: underline !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* Listing Single Page Styles */
.listing-single {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.listing-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    padding: 40px 30px;
    position: relative;
}

.listing-title-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.listing-category {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.category-label {
    opacity: 0.9;
}

.category-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

.category-link:hover {
    opacity: 0.8;
}

.back-navigation {
    margin-top: 20px;
}

.listing-main-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px 30px;
}

.listing-image-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.listing-featured-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.listing-quick-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.quick-rating h4,
.quick-address h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-rating {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-actions .btn {
    text-align: center;
    padding: 12px 20px;
}

.listing-details-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-card h3::before {
    content: '';
    width: 20px;
    height: 20px;
    background: #007bff;
    mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') no-repeat center;
    mask-size: contain;
}

.listing-description,
.listing-body {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.listing-description h3,
.listing-body h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.listing-description .description {
    line-height: 1.7;
    color: #555;
}

.listing-body {
    margin-top: 20px;
}

/* Star Rating */
.star-rating {
    color: #ffc107;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Bootstrap Customizations */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
}

.display-4 {
    font-size: 3rem;
    font-weight: 300;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
}

.alert {
    border-radius: 15px;
    border: none;
    position: relative;
    overflow: hidden;
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-success), var(--bs-info));
}

.alert-icon {
    display: inline-block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.alert-primary::before { background: linear-gradient(90deg, #007bff, #0056b3); }
.alert-success::before { background: linear-gradient(90deg, #28a745, #1e7e34); }
.alert-info::before { background: linear-gradient(90deg, #17a2b8, #117a8b); }
.alert-warning::before { background: linear-gradient(90deg, #ffc107, #e0a800); }
.alert-danger::before { background: linear-gradient(90deg, #dc3545, #bd2130); }

.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Footer Bootstrap Overrides */
.footer-section ul {
    padding-left: 0;
    margin-bottom: 0;
}

.footer-section li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.8rem;
    }

    .hero-section .row {
        text-align: center;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }

    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

/* Topic Tags */
.topic-tag {
    display: inline-block;
    background: #e9ecef;
    padding: 4px 10px;
    margin: 3px 3px 3px 0;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #495057;
}

/* Icon Styles */
.icon-clock::before { content: "🕐"; }
.icon-phone::before { content: "📞"; }
.icon-star::before { content: "⭐"; }
.icon-tags::before { content: "🏷️"; }

/* Enhanced Facility Attributes */
.attributes-section {
    margin-bottom: 30px;
}

.attributes-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.facility-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.available-item {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    border-color: #d4edda;
}

.available-item:hover {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.unavailable-item {
    background: linear-gradient(135deg, #fff8f8 0%, #f5e8e8 100%);
    border-color: #f5c6cb;
}

.unavailable-item:hover {
    background: linear-gradient(135deg, #f5e8e8 0%, #f5c6cb 100%);
}

.facility-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.facility-icon-available {
    color: #28a745;
    font-size: 1.1rem;
}

.facility-icon-unavailable {
    color: #dc3545;
    font-size: 1.1rem;
}

.facility-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
}

.no-facilities {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

/* Enhanced Responsive Design */
@media (max-width: 576px) {
    .facility-grid {
        grid-template-columns: 1fr;
    }

    .facility-item {
        padding: 10px 12px;
    }

    .facility-icon-wrapper {
        width: 35px;
        height: 35px;
    }

    .facility-text {
        font-size: 0.85rem;
    }
}

/* Responsive Design for Listing */
@media (max-width: 1024px) {
    .listing-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .listing-title-section h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .listing-header {
        padding: 30px 20px;
    }

    .listing-title-section h1 {
        font-size: 1.8rem;
    }

    .listing-main-content {
        padding: 30px 20px;
    }

    .listing-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .quick-actions .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 5px;
}

/* FAQ Section */
.listing-faqs {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.listing-faqs h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
}

.faqs-container {
    max-width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
    color: #007cba;
}

.faq-number {
    font-weight: 600;
    color: #007cba;
    margin-right: 10px;
    min-width: 20px;
}

.faq-toggle {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007cba;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    padding: 20px;
    color: #6c757d;
    line-height: 1.6;
}

/* Content Section Styling */
.listing-content-section {
    margin: 30px 0;
}

.listing-description {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.listing-description.no-description {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.listing-description h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.listing-description.no-description h3 {
    color: #856404;
    border-bottom-color: #856404;
}

.listing-description .description {
    color: #495057;
    line-height: 1.7;
    font-size: 1.05rem;
}

.listing-description.no-description .description {
    color: #856404;
}

.listing-description .description p {
    margin-bottom: 15px;
}

.listing-description .description p:last-child {
    margin-bottom: 0;
}

.listing-description .description em {
    font-style: italic;
}
