/* Kerala Business List - Premium Design with Logo Colors */
/* Vibrant Yellow/Gold Theme - Professional & Attractive */

:root {
    /* Logo-Inspired Colors - Kerala Green Theme */
    --primary-yellow: #10b982;
    /* Mountain Meadow */
    --primary-gold: #059669;
    /* Secondary Green */
    --dark-yellow: #047857;
    /* Dark Green */

    /* Complementary Dark Colors */
    --dark-bg: #1a1a1a;
    /* Rich Black */
    --dark-gray: #2d2d2d;
    /* Dark Gray */
    --medium-gray: #404040;
    /* Medium Gray */

    /* Accent Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;

    /* Text Colors */
    --text-dark: #1a1a1a;
    --text-gray: #6c757d;
    --text-light: #adb5bd;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-yellow: 0 4px 20px rgba(16, 185, 130, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Animation */
    --duration: 0.3s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-business {
    color: var(--primary-gold);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--primary-yellow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-gold) 100%);
    color: var(--dark-bg);
    box-shadow: var(--shadow-yellow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 130, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 130, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-title-highlight {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Bar */
.hero-search {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    max-width: 850px;
    margin: 0 auto var(--spacing-xl);
    box-shadow: var(--shadow-xl);
}

.search-input,
.search-select {
    border: none;
    outline: none;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
}

.search-input {
    flex: 2;
    background: var(--off-white);
}

.search-select {
    flex: 1;
    background: var(--off-white);
    cursor: pointer;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-gold) 100%);
    color: var(--dark-bg);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-yellow);
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

/* Section */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.625rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Colorful Gradient Backgrounds for Each Category */
.category-card:nth-child(1) .category-icon {
    background: linear-gradient(135deg, #FF6B9D 0%, #C06C84 100%);
    /* Pink/Rose */
}

.category-card:nth-child(2) .category-icon {
    background: linear-gradient(135deg, #4FACFE 0%, #00F2FE 100%);
    /* Bright Blue */
}

.category-card:nth-child(3) .category-icon {
    background: linear-gradient(135deg, #FA8BFF 0%, #2BD2FF 100%);
    /* Pink to Cyan */
}

.category-card:nth-child(4) .category-icon {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    /* Purple */
}

.category-card:nth-child(5) .category-icon {
    background: linear-gradient(135deg, #F093FB 0%, #F5576C 100%);
    /* Pink to Coral */
}

.category-card:nth-child(6) .category-icon {
    background: linear-gradient(135deg, #FF9A56 0%, #FF6A88 100%);
    /* Orange to Pink */
}

.category-card:nth-child(7) .category-icon {
    background: linear-gradient(135deg, #A8EDEA 0%, #FED6E3 100%);
    /* Teal to Pink */
}

.category-card:nth-child(8) .category-icon {
    background: linear-gradient(135deg, #30CFD0 0%, #330867 100%);
    /* Teal to Purple */
}

.category-card:nth-child(9) .category-icon {
    background: linear-gradient(135deg, #FFECD2 0%, #FCB69F 100%);
    /* Peach */
}

.category-card:nth-child(10) .category-icon {
    background: linear-gradient(135deg, #A1C4FD 0%, #C2E9FB 100%);
    /* Light Blue */
}

.category-card:hover .category-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
    line-height: 1.3;
}

.category-card:hover .category-name {
    color: #333;
}

/* Feature Grid */
/* Feature Grid - Compact Premium */
/* Feature Grid - Single Line Aligned */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    /* Premium Blue */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.feature-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Business Grid */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.business-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    color: var(--text-dark);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.business-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.business-content {
    padding: var(--spacing-md);
}

.business-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-yellow);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.business-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.business-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-md);
}

.star {
    color: var(--primary-yellow);
}

.business-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.btn-icon {
    flex: 1;
    padding: 0.625rem;
    font-size: 0.875rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    transition: all var(--duration) var(--ease);
}

.pricing-card.popular {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-yellow);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-gold) 100%);
    color: var(--dark-bg);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.pricing-price span {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-gold) 100%);
    color: var(--dark-bg);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.btn-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-logo-business {
    color: var(--primary-yellow);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-cta {
        flex-direction: column;
    }

    .nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Comprehensive Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        padding: 0.875rem 0.5rem;
    }

    .category-icon {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
    }

    .category-name {
        font-size: 0.75rem;
    }
}

/* Animated Background Graphics */
@keyframes float-shape-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.15;
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
        opacity: 0.2;
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
        opacity: 0.1;
    }
}

.hero::before {
    animation: float-shape-1 20s ease-in-out infinite;
}


/* Search Bar Updates - Wider, Green Outline, Smaller Placeholder */
.hero-search {
    max-width: 870px !important;
    padding: 0.625rem !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.hero-search:focus-within {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1), var(--shadow-xl) !important;
}

.search-input,
.search-select {
    height: 48px !important;
    padding: 0.875rem 1.125rem !important;
}

.search-input::placeholder {
    font-size: 0.875rem !important;
    color: #9ca3af !important;
}

.search-select {
    font-size: 0.875rem !important;
}

.search-btn {
    height: 48px !important;
    padding: 0.875rem 2.25rem !important;
    font-size: 0.95rem !important;
}


/* Category Card Yellow Outline */
.category-card {
    border: 1.5px solid #FFC107 !important;
}


/* New Category Gradients */
.category-card:nth-child(11) .category-icon {
    background: linear-gradient(135deg, #FD6585 0%, #0D25B9 100%);
}

.category-card:nth-child(12) .category-icon {
    background: linear-gradient(135deg, #FFD89B 0%, #19547B 100%);
}