:root {
    --ridda-primary-color: #F14D5D;
    --ridda-primary-rgb: 241, 77, 93;
}

.text-white .subtitle.color-primary {
    color: var(--ridda-primary-color) !important;
}

.theme-btn.bgc-primary,
.theme-btn:hover,
.service-limeline-item .detail-btn:hover,
.scroll-top:hover,
.slick-dots li.slick-active,
.slick-arrow:hover {
    background: var(--ridda-primary-color);
}

.section-title h2 span {
    background: var(--ridda-primary-color);
}

/* 
   HEADER FIX: 
   Transparent with dark gradient at top, 
   Solid white with dark text on scroll.
*/

/* Initial State */
.main-header.ridda-custom-header {
    position: absolute;
    width: 100%;
    z-index: 9999;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%) !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.4s ease;
}

.main-header.ridda-custom-header .header-upper,
.main-header.ridda-custom-header .header-inner,
.main-header.ridda-custom-header .main-menu .navbar-collapse {
    background: transparent !important;
    box-shadow: none !important;
}

/* Initial Link Color (White) */
.main-header.ridda-custom-header .main-menu .navbar-collapse>ul>li>a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.main-header.ridda-custom-header .navbar-toggle .icon-bar {
    background: #ffffff !important;
}

/* Sticky State (.fixed-header) - User Requested Black */
.main-header.ridda-custom-header.fixed-header {
    position: fixed !important;
    /* background: #000000 !important; Moved to header-upper because main-header has 0 height */
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1) !important;
    top: 0;
    animation: slideInDown 0.4s ease;
}

.main-header.ridda-custom-header.fixed-header .header-upper {
    background: #000000 !important;
}

.main-header.ridda-custom-header.fixed-header .main-menu .navbar-collapse>ul>li>a {
    color: #ffffff !important;
    text-shadow: none !important;
}

.main-header.ridda-custom-header.fixed-header .navbar-toggle .icon-bar {
    background: #ffffff !important;
}

.main-header.ridda-custom-header.fixed-header .logo img {
    filter: brightness(0) invert(1);
}

/* Logo & Menu Helper */
.logo-outer,
.logo {
    background: transparent !important;
}

/* Logo color management */
.main-header.ridda-custom-header .logo img {
    filter: brightness(0) invert(1);
    /* White logo for transparent header */
    transition: filter 0.3s ease;
}

.main-header.ridda-custom-header.fixed-header .logo img {
    filter: brightness(0) invert(1);
    /* White logo for black header */
}

/* Phone number and button colors */
.main-header.ridda-custom-header .header-number a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.main-header.ridda-custom-header.fixed-header .header-number a {
    color: #ffffff !important;
    text-shadow: none;
}

/* 
   SINGLE PAGE CALCULATOR STYLES 
*/
.sp-calc-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: -80px;
}

.sp-calc-steps {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.sp-calc-step {
    flex: 1;
    padding: 20px;
    text-align: center;
    color: #999;
    font-weight: 600;
    position: relative;
    cursor: default;
}

.sp-calc-step.active {
    color: var(--ridda-primary-color);
    background: #fff;
}

.sp-calc-step.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--ridda-primary-color);
}

.sp-calc-body {
    padding: 40px;
    min-height: 400px;
}

.sp-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.sp-cat-item {
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sp-cat-item:hover,
.sp-cat-item.selected {
    border-color: var(--ridda-primary-color);
    transform: translateY(-5px);
    background: #fff8f8;
}

.sp-cat-item i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--ridda-primary-color);
}

.sp-cat-item h5 {
    font-size: 16px;
    margin: 0;
}

.sp-pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sp-pricing-card {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.sp-pricing-card.selected {
    border-color: var(--ridda-primary-color);
    background: #fff8f8;
}

.sp-calc-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

#calc-summary-panel {
    position: sticky;
    top: 110px;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}