/*
Theme Name: Business Directory Pro
Theme URI: https://macrosystems.services
Author: Macro Systems
Author URI: https://macrosystems.services
Description: A professional business directory theme for WordPress with mobile-friendly design and premium features.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/g2387dapl-2.0.html
Text Domain: business-directory-pro
Tags: business, directory, classifieds, responsive, mobile-friendly, custom-post-type
*/


/* ✔ Blue color - change parallax image to blue*/

:root {
    --primary-color: #2397da;/*#007BFF*/
    --secondary-color: #086092; /*#2387da*/
    --accent-color: #e74c3c;
    --text-color: #2c3d50;
    --light-bg: #f8f9fa;    
--overlay:linear-gradient(135deg,   rgba(44, 62, 80, 0.8) 0%, 
                                        rgba(52, 152, 219, 0.6) 50%, 
                                        rgba(41, 128, 185, 0.8) 100%);
    z-index: 1;
    --transition: all 0.3s ease;
    --menu-color: #086092;/* set secondary-color*/
    --footerbg:#ffffff;
    --footer-column:#2397da;/*set the primary color*/
    --footertext:#001c27;
    --footerbtxt:#777373;
}


/* ✔ Golden color - change parallax image to yellow url *

:root {
    --primary-color: #3d3d3d; 
    --secondary-color: #ffbb00;
    --accent-color: #e74c3c;
    --text-color: #334155;
    --light-bg: #f8f9fa;    
    --overlay:linear-gradient(135deg,   rgba(80, 73, 44, 0.8) 0%, 
                                        rgba(219, 188, 52, 0.6) 50%,    
                                        rgba(185, 151, 41, 0.8) 100%);
    --transition: all 0.3s ease;
    --menu-color: #ffbb00;/* set secondary-color*
    --footerbg:#3d3d3d;
    --footer-column:#ffbb00;/*set the secondary color*
    --footertext:white;
    --footerbtxt:#777373;    
}
  */
/* ✔ green and teal color - change parallax image to green url *

:root {
    --primary-color: #0d9488 ;
    --secondary-color:  #0D2735;
    --accent-color: #e74c3c;
    --text-color: #334155;
    --light-bg: #f8f9fa;    
    --overlay:linear-gradient(135deg,   rgba(38, 66, 62, 0.8) 0%, 
                                        rgba(52, 219, 211, 0.6) 50%,    
                                        rgba(41, 185, 185, 0.8) 100%);
    --transition: all 0.3s ease;
    --menu-color: #0d9488;/* set primary-color*
    --footerbg:#0D2735;
    --footer-column:#0d9488 ;/*set the primary color*
    --footertext:white;
    --footerbtxt:#777373;    
}
*/




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    
    font-family:'Inter',system-ui,Arial,sans-serif;
     margin:0;    
    -webkit-font-smoothing:antialiased;
    line-height: 1.6;
    color: var(--text-color);
    /*padding-top: 80px;*/
}


/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(38, 46, 53, 0.1);
    padding: 1.2rem 0;
    z-index: 1000;
    
    transition: var(--transition);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: var(--footerbg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-menu a.scrolled2,
.logo a.scrolled3{
    color: var(--menu-color);
}

/* Desktop Menu Styles */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    transition: color 0.3s ease;
    display: block;
}

.nav-menu li a:hover {
    
     color: var(--secondary-color);
   
}
/* Hamburger Button - Hidden on desktop */
.hamburger {
    display: none;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 4px;
    position: absolute;
    transition: transform 0.3s ease;
}

.hamburger-inner::before {
    content: "";
    top: -10px;
    left: 0;    /* this shapes the hamburger */
}

.hamburger-inner::after {
   content: "";
    bottom: -10px;
    left: 0; /* this shapes the hamburger */
}

/* Hamburger Active State */
.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    /* Show hamburger and hide desktop menu on mobile */
    .hamburger {
        display: block;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        background-color:var(--menu-color);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.active {
        display: inline;
        background-color: var(--footerbg);
        height:fit-content;
        width: 100%;
        padding: 20px;
        justify-self: center;
        

    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eeeeee88;
        
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        padding: 3px 5px;
        width: 50%;
        color: var(--menu-color); 
        justify-self: center;
        
    }
    .nav-menu li a:hover{       
        color: white; 
        display: block;  
        background-color: var(--menu-color);     
        
        transition:all 0.5s ease;
        width: 100%;
    }

    .navbar.scrolled {
    background: var(--footerbg);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    }
    .nav-menu a.scrolled2,.logo a.scrolled3{
        color: var(--menu-color);
    }
    
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 50vh;
    margin-top:0px;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 10px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay)
}


.page-header{
    padding: 4rem 0; 
    color: white;    
    text-align: center;
    overflow:visible;
    margin-bottom: 25px;

    
}

.page-header img{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:41vh;
    object-fit:fill; 
    z-index: -100;

}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 41vh;
    background: var(--overlay)
}

@media (max-width:768px) {
    .page-header{
        padding: 0.1rem 0;
        
    }
    .page-header-overlay,.page-header img{
        height:29vh;
        margin-bottom:40px;
    }
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Content */
.hero-content {
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-line {
    display: block;
}

.text-line.highlight {
    color: var(--primary-color);
    -webkit-text-stroke: 1px rgba(208, 234, 255, 0.801);            
    position: relative;
    display: inline-block;
    
}

/*
.text-line.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(6, 31, 54, 0.3);
    z-index: -1;
    border-radius: 4px;
    border: 1px solid white;
}*/

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary,.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.425);
    box-shadow: 0 5px 15px rgba(6, 45, 71, 0.479);
}

.btn-primary:hover,.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}
/*
.btn-secondary {
    background: var(--primary-color);
    color: white;
    
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}*/

/* Slider Navigation */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.hero-dot:hover {
    background: white;
    transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 3;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    margin-bottom: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Text Animations */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-text.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Animation Types */
[data-animation="fadeInUp"].animated {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animation="fadeInDown"].animated {
    animation: fadeInDown 0.8s ease forwards;
}

[data-animation="zoomIn"].animated {
    animation: zoomIn 0.8s ease forwards;
}

[data-animation="slideInLeft"].animated {
    animation: slideInLeft 0.8s ease forwards;
}

[data-animation="slideInRight"].animated {
    animation: slideInRight 0.8s ease forwards;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 500px;
        margin-top: -75px;
    }
    
    .hero-nav {
        padding: 0 1rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 50px;
        height: 50px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-nav {
        display: none;
    }
}

/*parallax*/

.bd-parallax {
  background-image: url("assets/img/parallaxblue.png"); /*url("assets/img/parallaxyellow.png");*/
  background-attachment: fixed;
  background-position: center;
  background-repeat:repeat-y;
  background-size: cover;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.bd-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.23); /* dark overlay */
}

.bd-parallax-content {
  position: relative;
  z-index: 1;
}

/* new Paradox Container */
/* Reliable CSS Parallax */
.paradox-container {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    transform-style: preserve-3d;
    height: 35vh;   
}

.paradox-content {
    position: relative;
    color: white;
    margin-top: 5px;
    padding: 15px 55px;
    align-content: center;
    /*newly added*/
    z-index: 2;
    transform: translateZ(0);
    
}

.paradox-content h2{
    position: relative;
    justify-self: center;   
    
}

.paradox-container::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    
    height: 120%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255,255,255,0.05) 0%, transparent 50%);
    transform: translateZ(-1px) scale(2);
    animation: parallaxFloat 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes parallaxFloat {
    0%, 100% {
        transform: translateZ(-1px) scale(2) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateZ(-1px) scale(2) translateY(-20px) rotate(90deg);
    }
    50% {
        transform: translateZ(-1px) scale(2) translateY(0) rotate(180deg);
    }
    75% {
        transform: translateZ(-1px) scale(2) translateY(20px) rotate(270deg);
    }
}


/*page hero*/

.page-hero {
  background: transparent;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 30px;
  
}
.page-hero h2 { font-size: 2.5rem; margin-bottom: 10px;color:var(--text-color); }
.page-hero p { font-size: 1.2rem; color: var(--primary-color);}

.page-hero:hover{
    transform:  scale(1.01);
    border:0.5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
}



/* Categories Section */
.categories-section {
    padding: 4rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card {
    height: 300px;
    background: white;
    border-radius: 10px;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.category-image {
   
    overflow: hidden;
    position: relative;
    
}

.category-img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);

    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.category-info {
    padding: 1.5rem 1rem;
}

.category-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.category-info .count {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-card .count {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Category Grid */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-card {
        height:200px;
        width:fit-content;
    }
    .category-img {
    width: 35%;
    height: 35%;
        
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}


.view-all-btn {
    display: block;
    text-align: center;
    padding: 0.5rem 0.7rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    max-width: 200px;
    margin: 0 auto;
}

.view-all-btn:hover {
    background:var(--secondary-color) ;
    transform: translateY(-2px);
}

/* Search Bar */

.search-container {
    width: 100%;
    margin: 15px auto;
    padding: 0 1rem;
    height: auto;
}

.search-form {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    background: white;
    border-radius: 5px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0,0,0,0.5);
}

.search-form select,
.search-form input {
    border: none;
    padding: 1.2rem 1rem;
    font-size: 1rem;
    outline: none;
}

.search-form select {
    width: 30%;
    min-width: 90px;
    background: white;
    border-right: 1px solid #eee;
}

.search-form input {
    flex: 1;
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    white-space: nowrap;
}

.search-form button:hover {
    background: var(--secondary-color);
}


/* Mobile responsive styling */
@media (max-width: 768px) {
    .search-container {
        margin: 10px auto;
        padding: 0 1rem;
        height: auto;
    }

    .search-form {
        flex-direction: row;
        width: 100%;
        box-shadow: 0 20px 30px rgba(0,0,0,0.3);
        display: block;

    }

    .search-form select,
    .search-form input,
    .search-form button {
        width: 30%;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border-radius: 5px;
        margin-bottom: 11px;
    }
    .search-form input,
    input::placeholder{
    font-size:0.69rem;
    }
    
    .search-form select {
        min-width: unset;
        border-right: none;
        font-size:0.63rem;
    }

    .search-form button {
        margin-top: 13px;
        margin-bottom: 0;
        height: 4.5vh;
    }
}

/* Optional: Small phones */
@media (max-width: 480px) {
    .search-form {
        padding: 0;
    }
}




/*-------FAQ Section-----------*/
/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-toggle i {
    color: white;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-answer p {
    margin: 0;
    padding: 0 2rem 1.5rem 2rem;
    color: #666;
    line-height: 1.6;
}

/* Active State */
.faq-item.active {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.faq-item.active .faq-question {
    background: var(--secondary-color);
}

.faq-item.active .faq-question h3 {
    color: white;
}

.faq-item.active .faq-toggle {
    background: white;
    transform: rotate(0deg);
}

.faq-item.active .faq-toggle i {
    color: var(--secondary-color);
}

/* Hover Effects */
.faq-item:hover .faq-question {
    background: #f8f9fa;
}

.faq-item.active:hover .faq-question {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}


/*front page business slider */
.business-slider {
    padding: 4rem 0;
    background: var(--light-bg);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Desktop - 4 columns */
@media (min-width: 1200px) {
    .ads-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet - 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile - 2 columns */
@media (min-width: 480px) and (max-width: 767px) {
    .ads-grid {
        
        grid-template-columns: repeat(2, 1fr);
        margin-left: -15px;
    }
   
}

/* Small Mobile - 1 column */
@media (max-width: 479px) {
    .ads-grid {
        grid-template-columns: 1fr;
        
    }
}

/*
.ads-grid,
.premium-ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start; /* Important: align items to start *
}
*/



/* Premium Slider */

.premium-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.premium-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-item {
    flex: 0 0 25%; /* 4 items per view - 25% each */
    min-width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover:not([style*="opacity: 0.5"]) {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .slider-item {
        flex: 0 0 33.333%; /* 3 items */
    }
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 50%; /* 2 items */
        padding: 0 0px;
        margin-right:7px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .slider-item {
        flex: 0 0 100%; /* 1 item */
    }
}

/*
/* old Premium Ads Slider Styles 
.premium-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.premium-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    
}



.slider-item {
    width: 250px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.slider-item:hover {
    transform: translateY(-5px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-nav:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Hide navigation if only one slide *
.premium-slider-container.single-slide .slider-nav,
.premium-slider-container.single-slide .slider-dots {
    display: none;
}

*/

/* Business Cards */
.premium-badge {
    position: absolute;    
    margin-top: 11px;
    margin-left: 201px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 10;
}

@media (min-width: 480px) and (max-width: 767px) {
 
.premium-badge {
    margin-top: 15px;
    margin-left: 161px;
}
}

@media (max-width: 480px){
    .premium-badge {
    margin-top: 15px;
    margin-left: 181px;
}
}


/*.business-card.premium {
    border: 2px solid #f39c12;
}*/

.business-card {
    /*background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: var(--transition);*/
      
    width:100%;
}


.premium-ads-grid,
.business-listings,
.masonry-layout{
    /* Reset everything */
    all: unset;
    
    /* Force 4 columns */
    display: grid !important;
    grid-template-columns: repeat(4, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}



.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}


.business-image {
    height: 200px;
    overflow: hidden;
}

.premium > .business-image{
    border: 3px solid #f39c12;
}


.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.business-card:hover .business-image img {
    transform: scale(1.1);
}

.business-content {
    padding: 1.5rem;
    position: relative;
}

.business-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.business-logo {
    width: 50px;
    height: 50px;
    margin-left:-15px;
    margin-top: -35px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--light-bg);
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-title {
    flex: 1;
}

.business-title h2 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.business-title h2 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.business-title h2 a:hover {
    color: var(--secondary-color);
}

.business-category {
    color: #666;
    font-size: 0.9rem;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--secondary-color);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.toggle-btn:hover {
    background: var(--light-bg);
}

.toggle-btn.rotated {
    transform: rotate(359deg);
}

.business-details {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0; /*previous value margin-top: 1rem;*/
    padding-top: 0;  
     
}

.business-details.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;    
    background: white;
    z-index: 100;
    
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.detail-item i {
    width: 20px;
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.website-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.website-link:hover {
    background: #2980b9;
}



/* old business .values-grid*/

/* Business Cards *

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    margin-top: 30px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 10;
}

.business-card.premium {
    border: 2px solid #f39c12;
}


.ads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.business-card {
    position: relative;    
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}


.business-image {
    height: 200px;
    overflow: hidden;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.business-card:hover .business-image img {
    transform: scale(1.1);
}

.business-content {
    padding: 1.5rem;
    position: relative;
}

.business-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.business-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--light-bg);
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-title {
    flex: 1;
}

.business-title h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.business-title h2 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.business-title h2 a:hover {
    color: var(--secondary-color);
}

.business-category {
    color: #666;
    font-size: 0.9rem;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--secondary-color);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
}

.toggle-btn:hover {
    background: var(--light-bg);
}

.toggle-btn.rotated {
    transform: rotate(359deg);
}

.business-details {
    max-height: 0;
    overflow: hidden;
    border-top: 1px solid #eee;
    opacity: 0;
    transition: all 0.4s ease;
    margin-top: 0; 
    padding-top: 0;  
     
}

.business-details.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;    
    background: white;
    z-index: 100;
    
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.detail-item i {
    width: 20px;
    margin-right: 0.8rem;
    color: var(--secondary-color);
}

.website-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.website-link:hover {
    background: #2980b9;
}
*/
.cta-btn{
    background: white; 
    color: var(--primary-color); 
    padding: 1rem 2rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease;
    
     
}

.cta-btn:hover{
    transform: translateY(-5px);
    transition: all 0.2s ease;
    background-color: transparent;
    color:white;
    box-shadow: 0 14px 20px rgba(0,0,0,0.5);
    border: 1px solid white;
}
/* Footer */
.footer {
    background: var(--footerbg);
    color: var(--footertext);
    padding: 4rem 0 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer ul a{
    color:red;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--footer-column);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--footertext);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--footer-column);
}

.footer-column ul li i{
    color: var(--footer-column);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    margin-top: 2rem;
    border-top: 1px solid #34495e17;
    color: var(--footerbtxt);
}





/* Responsive Design */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ads-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--secondary-color);
}
    
    .search-form {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-form select {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 50px;
    right: 13px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    padding: 10px 15px;
    display: none; /* Hidden by default */
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    display: block;
        
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}



