/* ==========================================================================
   RedFox Web UI Main Stylesheet & Carousel Slider Enhancements
   ========================================================================== */

/* Layout Container */
.rf-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base Buttons */
.rf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: capitalize;
}

.rf-btn-primary {
    background-color: var(--primary-red);
    color: #ffffff;
    border: 2px solid var(--primary-red);
    box-shadow: 0 8px 20px rgba(27, 29, 67, 0.3);
}

.rf-btn-primary:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(27, 29, 67, 0.4);
}

.rf-btn-outline {
    background-color: var(--primary-red);
    color: #ffffff;
    border: 2px solid var(--primary-red);
    box-shadow: 0 8px 20px rgba(27, 29, 67, 0.3);
}

.rf-btn-outline:hover {
    background-color: var(--primary-red-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Logo Dual-Tone Heading Classes */
.rf-title-teal, .rf-logo-teal {
    color: var(--logo-teal, #004767) !important;
    font-weight: 800;
}

.rf-title-green, .rf-logo-green {
    color: var(--logo-green, #008643) !important;
    font-weight: 800;
}

/* ==========================================================================
   HEADER NAVIGATION BAR (STRICT LEFT LOGO ALIGNMENT)
   ========================================================================== */
.rf-site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.rf-header-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Strict Left Logo Positioning */
.rf-brand-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    padding: 0 !important;
}

.rf-brand-logo .custom-logo-link,
.rf-brand-logo .rf-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rf-brand-logo img,
.custom-logo-link img,
.custom-logo {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    object-fit: contain;
}

.rf-brand-logo .rf-logo-text {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #2c2e35;
    letter-spacing: -1px;
    margin: 0;
    text-align: left;
}

.rf-brand-logo .rf-logo-red {
    color: var(--logo-green, #008643);
}

.rf-header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.rf-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rf-header-phone:hover {
    color: #e52e2e;
}

.rf-phone-circle-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #475569;
    transition: all 0.3s ease;
}

.rf-header-phone:hover .rf-phone-circle-icon {
    border-color: #e52e2e;
    color: #e52e2e;
}

.rf-header-cta-btn {
    font-size: 15px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rf-header-cta-btn:hover {
    color: #e52e2e;
}

.rf-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: opacity 0.3s ease !important;
}

.rf-menu-toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0.8 !important;
    transform: none !important;
    box-shadow: none !important;
}

.rf-menu-label {
    font-family: var(--font-heading);
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #e52e2e !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.rf-hamburger {
    display: flex !important;
    flex-direction: column !important;
    gap: 3.5px !important;
    width: 20px !important;
}

.rf-hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2.5px !important;
    background: #e52e2e !important;
    background-color: #e52e2e !important;
    border-radius: 3px !important;
    transition: var(--transition) !important;
}

/* ==========================================================================
   DEEP ERP SIDEBAR DRAWER STYLING (MATCHING SMART CAMPUS+ LOGO BRAND COLORS)
   ========================================================================== */
.rf-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    z-index: 199999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.rf-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.rf-nav-overlay {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 340px;
    height: 100vh;
    background: linear-gradient(165deg, #1B1D43 0%, #004767 55%, #006030 100%);
    color: #ffffff;
    z-index: 200000;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.55);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    overflow: hidden;
}

.rf-nav-overlay.open {
    right: 0;
}

.rf-nav-overlay-content {
    padding: 24px 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* 1. Top Logo Header */
.rf-drawer-top-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rf-brand-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rf-brand-logo-badge {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.45);
}

.rf-brand-name-wrap strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.rf-nav-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rf-nav-close:hover {
    background: #FF5722;
    color: #ffffff;
    transform: rotate(90deg);
}

/* 2. User Profile Box */
.rf-drawer-user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 14px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.rf-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #008643 0%, #004767 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(0, 134, 67, 0.3);
}

.rf-user-details {
    display: flex;
    flex-direction: column;
}

.rf-user-details strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.rf-user-details span {
    font-size: 12px;
    color: #A7F3D0;
    font-weight: 500;
}

/* 3. Section Category Header Label */
.rf-menu-group-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    color: #FF9800;
    margin: 18px 0 8px 8px;
    text-transform: uppercase;
}

/* Scrollable Container */
.rf-overlay-nav {
    flex: 1 1 auto;
    overflow-y: auto !important;
    padding-right: 4px;
    margin-bottom: 15px;
}

.rf-overlay-nav::-webkit-scrollbar {
    width: 4px;
}

.rf-overlay-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* 4. Menu Items list */
.rf-overlay-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rf-overlay-menu-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 12px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.rf-overlay-menu-list li.active > a,
.rf-overlay-menu-list li > a:hover {
    background: linear-gradient(135deg, #008643 0%, #006030 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 134, 67, 0.4);
}

.nav-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-item-left i {
    font-size: 18px;
    width: 22px;
    text-align: center;
    color: #6EE7B7;
}

.rf-overlay-menu-list li.active .nav-item-left i,
.rf-overlay-menu-list li > a:hover .nav-item-left i {
    color: #ffffff;
}

.mobile-sub-toggle {
    cursor: pointer;
}

.mobile-sub-toggle * {
    pointer-events: none;
}

/* Accordion Arrow */
.mobile-arrow {
    font-size: 12px;
    color: #6EE7B7;
    transition: transform 0.3s ease;
}

.mobile-has-sub.active > a .mobile-arrow {
    transform: rotate(180deg);
    color: #ffffff;
}

/* Sub-menu Items */
.mobile-sub-menu {
    list-style: none;
    padding: 6px 0 6px 42px;
    margin: 2px 0 0 0;
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-has-sub.active .mobile-sub-menu {
    display: flex;
}

.mobile-sub-menu li a {
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1;
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-sub-menu li a:hover {
    color: #FF9800;
    transform: translateX(4px);
}

/* CTA Item button styling inside sidebar */
.rf-overlay-menu-list li.cta-item > a {
    background: linear-gradient(135deg, #FF5722 0%, #E65100 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4) !important;
}

.rf-overlay-menu-list li.cta-item > a:hover {
    background: linear-gradient(135deg, #E65100 0%, #BF360C 100%) !important;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.55) !important;
}

.rf-overlay-menu-list li.cta-item .nav-item-left i {
    color: #ffffff !important;
}

.badge-count.red {
    background: #FF5722;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: 8px;
}

/* 5. Bottom Footer */
.rf-drawer-bottom-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 10px;
}

.rf-copyright-text {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 600;
}

.rf-drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s ease;
}

.rf-drawer-close-btn:hover {
    background: #1d4ed8;
}

.rf-overlay-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Accordion Item Parent Header */
.mobile-has-sub > a,
.nav-single-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-item-left i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.mobile-has-sub.active > a .mobile-arrow {
    transform: rotate(180deg);
    color: #FF5722;
}

.mobile-has-sub > a:hover,
.nav-single-item > a:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding-left: 18px;
}

.cta-item > a {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 87, 34, 0.15));
    border-color: rgba(255, 152, 0, 0.3);
}

.cta-item > a:hover {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.25), rgba(255, 87, 34, 0.25));
}

/* Accordion Collapsible Sub-menu */
.mobile-sub-menu {
    list-style: none;
    padding: 4px 0 4px 28px;
    margin: 4px 0 0 0;
    display: none;
    flex-direction: column;
    gap: 4px;
}

.mobile-has-sub.active .mobile-sub-menu {
    display: flex;
}

.mobile-sub-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-sub-menu li a i {
    font-size: 10px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.mobile-sub-menu li a:hover {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    padding-left: 16px;
}

.mobile-sub-menu li a:hover i {
    color: #22c55e;
    transform: translateX(3px);
}

/* Sidebar Footer */
.rf-nav-drawer-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.drawer-contact-line i {
    color: #FF5722;
    font-size: 13px;
    width: 16px;
}

.drawer-contact-line strong {
    color: #f1f5f9;
}

.drawer-contact-line:hover {
    color: #ffffff;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.rf-hero-section {
    padding: 150px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.rf-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.rf-hero-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 0.2px;
}

.rf-hero-title {
    font-family: var(--font-heading);
    font-size: 46px;
    font-weight: 300;
    color: #2c2e35;
    line-height: 1.25;
    margin-bottom: 35px;
}

.rf-hero-btns {
    display: flex;
    gap: 20px;
}

/* 3D Laptop Visual */
.rf-hero-visual {
    position: relative;
}

.rf-laptop-mockup-wrapper {
    perspective: 1000px;
    width: 100%;
}

.rf-laptop-frame {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.08);
    overflow: hidden;
    transform: rotateY(-12deg) rotateX(8deg);
    transition: var(--transition);
}

.rf-laptop-frame:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.rf-dashboard-header {
    background: #191b1f;
    color: #ffffff;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.rf-db-logo {
    font-weight: 800;
}

.rf-db-logo .rf-red {
    color: var(--logo-green, #008643);
}

.rf-db-balance {
    color: #38ef7d;
    font-weight: 700;
}

.rf-dashboard-body {
    padding: 25px;
    background: #f4f6f9;
}

.rf-db-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.rf-bar {
    flex: 1;
    background: linear-gradient(180deg, #00d2ff 0%, #3a7bd5 100%);
    border-radius: 4px 4px 0 0;
}

.rf-db-stats {
    display: flex;
    gap: 15px;
}

.rf-stat-box {
    flex: 1;
    background: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.rf-laptop-keyboard {
    height: 180px;
    background: linear-gradient(180deg, #e9ecef 0%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.rf-cap-graphic {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: #191b1f;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Mouse Scroll Indicator */
.rf-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.rf-mouse-icon {
    width: 22px;
    height: 35px;
    border: 2px solid #888888;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.rf-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--logo-green, #008643);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

.rf-scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #888888;
    font-size: 10px;
    margin-top: 4px;
}

/* ==========================================================================
   RECENT CASE STUDIES (CAROUSEL SLIDER)
   ========================================================================== */
.rf-case-studies-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.rf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    position: relative;
}

.rf-main-heading {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 300;
    color: #555555;
    text-transform: uppercase;
}

.rf-bold-underline {
    font-weight: 800;
    color: var(--logo-green, #008643);
}

.rf-red-line {
    width: 60px;
    height: 4px;
    background-color: var(--logo-green, #008643);
    margin-top: 8px;
}

.rf-slider-nav-btns {
    display: flex;
    gap: 8px;
}

.rf-nav-prev, .rf-nav-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary-red);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.rf-nav-prev:hover, .rf-nav-next:hover {
    background-color: var(--primary-red-hover);
    transform: scale(1.05);
}

.rf-case-studies-slider-container {
    position: relative;
    min-height: 380px;
}

.rf-cs-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.rf-cs-slide.active {
    display: block;
    opacity: 1;
}

.rf-cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rf-cs-title {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 300;
    line-height: 1.25;
    color: #333333;
    margin-bottom: 25px;
}

.rf-text-bold { font-weight: 700; color: #111111; }
.rf-text-red { font-weight: 700; color: var(--logo-green, #008643); }

.rf-cs-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.rf-btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(27, 29, 67, 0.3);
}

.rf-btn-continue:hover {
    background-color: var(--primary-red-hover);
}

.rf-slider-dots {
    display: flex;
    gap: 10px;
    margin-top: 40px;
}

.rf-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--logo-green, #008643);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.rf-slider-dots .dot.active {
    background-color: var(--logo-green, #008643);
    transform: scale(1.2);
}

/* Case Study Laptop Mockup */
.rf-laptop-showcase {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
}

.rf-real-estate-mockup {
    height: 250px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=600&q=80') center/cover;
    border-radius: 6px;
    padding: 20px;
    color: #ffffff;
}

.rf-growth-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}

.rf-gb-label { font-size: 10px; color: #888888; text-transform: uppercase; }
.rf-gb-num { font-size: 26px; font-weight: 800; color: var(--logo-green, #008643); }

/* ==========================================================================
   DELIVERING DIGITAL SOLUTIONS (DARK NAVY SECTION)
   ========================================================================== */
.rf-solutions-section {
    background: linear-gradient(145deg, #0b0e26 0%, #121738 50%, #090c21 100%);
    color: #ffffff;
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

.rf-solutions-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 134, 67, 0.18) 0%, rgba(0, 134, 67, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.rf-solutions-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Background Overlay Wave */
.rf-solutions-bg-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.rf-solutions-bg-wave svg {
    width: 100%;
    height: 100%;
}

.rf-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 134, 67, 0.16);
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: #00e676;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.rf-solutions-header {
    text-align: right;
    margin-bottom: 55px;
    position: relative;
    z-index: 2;
}

.rf-solutions-header h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.rf-solutions-header p {
    font-size: 15px;
    color: #94a3b8;
    max-width: 650px;
    margin-left: auto;
}

.rf-solutions-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rf-timeline-nav {
    position: relative;
    z-index: 3;
}

.rf-timeline-line {
    position: absolute;
    left: 21px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.rf-timeline-line-progress {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #00e676 0%, #008643 100%);
    transition: height 0.4s ease;
}

.rf-timeline-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rf-timeline-item {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #94a3b8;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.rf-timeline-item .step-num {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    font-family: monospace;
    transition: color 0.3s ease;
}

.rf-timeline-item .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #1e293b;
    border: 2px solid #64748b;
    z-index: 2;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rf-timeline-item .label {
    flex: 1;
}

.rf-timeline-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.rf-timeline-item:hover .dot {
    border-color: #00e676;
    background-color: #00e676;
}

.rf-timeline-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(0, 134, 67, 0.25) 0%, rgba(0, 134, 67, 0.08) 100%);
    border: 1px solid rgba(0, 230, 118, 0.4);
    box-shadow: 0 10px 30px rgba(0, 134, 67, 0.2);
    transform: translateX(6px);
}

.rf-timeline-item.active .step-num {
    color: #00e676;
}

.rf-timeline-item.active .dot {
    background-color: #00e676;
    border-color: #ffffff;
    box-shadow: 0 0 12px #00e676;
}

/* Watermark & Content Card Wrapper */
.rf-service-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 42px 45px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.rf-watermark-title {
    position: absolute;
    bottom: -20px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
    z-index: 1;
    line-height: 1;
    letter-spacing: 4px;
}

.rf-service-panel {
    position: relative;
    z-index: 2;
}

.rf-service-heading {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.25;
}

.rf-service-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 8px;
    line-height: 1.65;
}

.rf-service-subtext {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 32px;
    font-weight: 500;
}

.rf-subservices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 38px;
}

.sub-item {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 13px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sub-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 134, 67, 0.22);
    border: 1px solid rgba(0, 230, 118, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e676;
    font-size: 14px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.sub-item:hover {
    background: rgba(0, 134, 67, 0.14);
    border-color: rgba(0, 230, 118, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 134, 67, 0.18);
}

.sub-item:hover .sub-icon-box {
    transform: scale(1.1) rotate(4deg);
    background: rgba(0, 134, 67, 0.4);
    color: #ffffff;
}

.rf-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #008643 0%, #00b359 100%);
    color: #ffffff;
    padding: 15px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 10px 28px rgba(0, 134, 67, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.rf-btn-white:hover {
    background: linear-gradient(135deg, #00994d 0%, #00cc66 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 134, 67, 0.5);
    color: #ffffff;
}

.rf-btn-white i {
    transition: transform 0.3s ease;
}

.rf-btn-white:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .rf-solutions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rf-timeline-line {
        display: none;
    }
    .rf-timeline-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .rf-timeline-item {
        white-space: nowrap;
    }
    .rf-subservices-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RECOGNIZED & CERTIFIED BY
   ========================================================================== */
/* ==========================================================================
   RECOGNIZED & CERTIFIED BY (PIXEL-PERFECT MATCHING SCREENSHOT)
   ========================================================================== */
.rf-certifications-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.rf-cert-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.rf-cert-left-badge {
    background: #1b1d43;
    color: #ffffff;
    padding: 30px 45px 30px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    min-width: 250px;
    flex-shrink: 0;
}

.rf-cert-rec {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

.rf-cert-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.rf-cert-logos-bar {
    flex: 1;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 25px;
    gap: 20px;
    flex-wrap: wrap;
}

.rf-partner-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #334155;
    transition: transform 0.3s ease;
}

.rf-partner-logo:hover {
    transform: translateY(-2px);
}

.rf-partner-img-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.rf-pl-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.35;
}

.rf-pl-text strong {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.rf-pl-text span {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================================
   WHY SMART CAMPUS PLUS SECTION (MATCHING SCREENSHOT)
   ========================================================================== */
.rf-why-choose-section {
    padding: 90px 0 70px;
    background: #ffffff;
}

.rf-why-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-top-color 0.35s ease;
}

.rf-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.09) !important;
}

@media (max-width: 991px) {
    .rf-why-header-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center;
    }
    .rf-why-header-grid p {
        text-align: center !important;
    }
}

/* ==========================================================================
   PORTFOLIO SHOWCASE (CAROUSEL SLIDER)
   ========================================================================== */
.rf-portfolio-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.rf-sub-heading {
    font-size: 15px;
    color: var(--text-muted);
}

.rf-portfolio-slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.rf-portfolio-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 15px;
}

.rf-portfolio-grid::-webkit-scrollbar {
    height: 6px;
}
.rf-portfolio-grid::-webkit-scrollbar-thumb {
    background: var(--logo-green, #008643);
    border-radius: 3px;
}

.rf-portfolio-card {
    min-width: 280px;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.rf-portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.rf-port-img-wrap {
    width: 100%;
    height: 100%;
    padding: 25px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.purple-theme { background: linear-gradient(rgba(27,29,67,0.8), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=400&q=80') center/cover; }
.gold-theme { background: linear-gradient(rgba(0,71,103,0.8), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=400&q=80') center/cover; }
.pilates-theme { background: linear-gradient(rgba(0,134,67,0.7), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=400&q=80') center/cover; }
.beer-theme { background: linear-gradient(rgba(27,29,67,0.8), rgba(0,0,0,0.9)), url('https://images.unsplash.com/photo-1535958636474-b021ee887b13?auto=format&fit=crop&w=400&q=80') center/cover; }

.rf-port-overlay h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.rf-port-overlay p { font-size: 12px; opacity: 0.9; }

.rf-btn-sm-gold {
    background: #ffd700;
    color: #000;
    font-weight: 700;
    border: none;
    padding: 8px 16px;
    margin-top: 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* ==========================================================================
   CLIENT TRUST & STACKED APPS
   ========================================================================== */
/* ==========================================================================
   CLIENT TRUST & STACKED APPS (PIXEL PERFECT MATCHING USER DESIGNS)
   ========================================================================== */
.rf-trust-section {
    padding: 70px 0 90px;
    background: #ffffff;
    overflow: hidden;
}

.rf-trust-style-switcher {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 30px;
    gap: 4px;
    border: 1px solid #e2e8f0;
}

.trust-style-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-style-btn.active,
.trust-style-btn:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.rf-trust-grid {
    display: grid;
    grid-template-columns: 290px 1fr 310px;
    gap: 35px;
    align-items: center;
    min-height: 280px;
}

/* --- STYLE 1: DARK WEDGE (Image 1) --- */
.rf-trust-left-wedge.style-dark {
    background: #1b1d43;
    color: #ffffff;
    padding: 24px 18px;
    border-radius: 12px;
    transform: skewX(-12deg);
    box-shadow: 0 15px 35px rgba(27, 29, 67, 0.25);
    transition: all 0.4s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.rf-trust-left-wedge.style-dark .wedge-content-dark {
    transform: skewX(12deg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.rf-wedge-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
}

.rf-wedge-text strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
}

.rf-wedge-text span {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 13px;
}

.rf-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.rf-circle-btn:hover {
    background: rgba(255,255,255,0.35);
    transform: scale(1.08);
}

/* --- STYLE 2: RED TEARDROP (Image 2) --- */
.rf-trust-left-wedge.style-red {
    background: linear-gradient(135deg, #e52e2e 0%, #cc1111 100%);
    color: #ffffff;
    padding: 45px 30px;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    clip-path: none;
    transform: none;
    box-shadow: 0 15px 35px rgba(229, 46, 46, 0.25);
    transition: all 0.4s ease;
    min-height: 240px;
    display: flex;
    align-items: center;
    position: relative;
}

.wedge-content-red {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    gap: 25px;
}

.rf-wedge-text-red {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin: 15px 0;
}

.rf-circle-btn-red {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.rf-circle-btn-red:hover {
    background: rgba(255,255,255,0.25);
    border-color: #ffffff;
}

/* --- CENTER LOGOS TRACK --- */
.rf-trust-logos-wrapper {
    min-width: 0;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
    width: 100%;
}

.rf-trust-logos-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 35px !important;
    align-items: center;
    width: max-content;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rf-client-logo-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    min-width: 250px;
}

.rf-client-logo-item:hover {
    transform: translateY(-4px) scale(1.05);
}

.rf-client-logo-item:hover .num-slash {
    color: #e52e2e;
    font-weight: 700;
}

.rf-client-logo-item:hover .brand strong {
    color: #008643;
}

.rf-client-logo-item .num-slash {
    font-size: 30px;
    font-weight: 300;
    color: #cbd5e1;
    font-style: italic;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.rf-client-logo-item .brand strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: 0.3px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.rf-client-logo-item .brand span,
.rf-client-logo-item .brand small {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Stacked App Hover Motion */
.rf-stacked-apps {
    perspective: 1000px;
}

.rf-stacked-apps:hover .app-front {
    transform: translateY(-8px) rotate(-1.5deg);
    box-shadow: 0 28px 55px rgba(0,0,0,0.15);
}

.rf-stacked-apps:hover .app-mid {
    transform: translateY(-4px) rotate(5deg);
}

.rf-stacked-apps:hover .app-back {
    transform: translateY(-1px) rotate(9deg);
}

/* Status Dot Pulse */
.dot-green {
    animation: greenPulse 2.5s infinite ease-in-out;
}

@keyframes greenPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    }
}

/* --- RIGHT STACKED APPS MOCKUP --- */
.rf-stacked-apps {
    position: relative;
    height: 270px;
    width: 280px;
    margin-left: auto;
}

.rf-app-card {
    position: absolute;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.4s ease;
}

.app-back {
    right: 0px;
    top: 15px;
    width: 250px;
    height: 240px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transform: rotate(6deg);
    opacity: 0.5;
    z-index: 1;
}

.app-mid {
    right: 12px;
    top: 8px;
    width: 255px;
    height: 248px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    transform: rotate(3deg);
    opacity: 0.85;
    z-index: 2;
}

.app-front {
    right: 24px;
    top: 0px;
    width: 260px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    padding: 18px;
    z-index: 3;
}

.rf-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.app-dot-bar {
    display: flex;
    gap: 5px;
}

.app-dot-bar .dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.app-tabs {
    font-size: 11px;
    font-weight: 700;
}

.app-tabs .active-tab {
    color: #16a34a;
    margin-right: 4px;
}

.app-tabs .sub-tab {
    color: #1e293b;
}

.rf-app-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.app-card-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-card-item h4 {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.app-card-item small {
    display: block;
    color: #64748b;
    font-size: 10px;
    margin-top: 2px;
}

.badge-sync {
    font-size: 10px;
    font-weight: 700;
    color: #0d9488;
    background: #ccfbf1;
    padding: 2px 6px;
    border-radius: 4px;
}

.app-card-item.warning p {
    margin: 0;
    font-size: 11px;
    color: #334155;
}

.trust-decor-arrow {
    position: absolute;
    bottom: -40px;
    left: 45%;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   TESTIMONIALS (CAROUSEL SLIDER)
   ========================================================================== */
.rf-testimonials-section {
    padding: 80px 0;
    background: #ffffff;
}

.rf-red-vertical-line {
    width: 4px;
    height: 40px;
    background: var(--logo-green, #008643);
}

.rf-video-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
}

.rf-play-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--logo-green, #008643);
    color: var(--logo-green, #008643);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.rf-testimonial-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 250px;
}

.rf-testimonial-card {
    transition: opacity 0.5s ease-in-out;
}

.rf-test-question {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--logo-green, #008643);
    margin-bottom: 20px;
}

.rf-test-quote {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.rf-test-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.rf-author-info strong { display: block; font-size: 16px; color: #222; }
.rf-author-info span { font-size: 13px; color: #888; }

.rf-author-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.rf-test-slider-lines {
    display: flex;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.rf-test-slider-lines .line {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: var(--transition);
}

.rf-test-slider-lines .line.active {
    background: var(--logo-green, #008643);
}

/* ==========================================================================
   STATS COUNTERS (DARK NAVY CHEVRON SECTION)
   ========================================================================== */
.rf-stats-section {
    position: relative;
}

.rf-stats-bg {
    background: #ffffff;
    color: #121639;
    padding: 60px 0 100px;
    text-align: center;
}

.rf-stats-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #121639;
}

.rf-stats-header p {
    font-size: 15px;
    color: #64748b;
    opacity: 0.9;
    margin-bottom: 50px;
}

.rf-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.rf-counter-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.rf-counter-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
}

.rf-counter-card-teal:hover { border-color: #0284C7; }
.rf-counter-card-green:hover { border-color: #008643; }
.rf-counter-card-navy:hover { border-color: #121639; }
.rf-counter-card-red:hover { border-color: #E52E2E; }

.rf-counter-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.rf-counter-card:hover .rf-counter-icon-box {
    transform: scale(1.1);
}

.icon-teal { background: rgba(0, 71, 103, 0.08); color: #004767; }
.icon-green { background: rgba(0, 134, 67, 0.08); color: #008643; }
.icon-navy { background: rgba(18, 22, 57, 0.08); color: #121639; }
.icon-red { background: rgba(229, 46, 46, 0.08); color: #E52E2E; }

.rf-circle-progress {
    position: relative;
    width: 140px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.counter-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.counter-num-teal {
    background: linear-gradient(135deg, #004767 0%, #0284C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-num-green {
    background: linear-gradient(135deg, #008643 0%, #16A34A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-num-navy {
    background: linear-gradient(135deg, #121639 0%, #4F46E5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-num-red {
    background: linear-gradient(135deg, #E52E2E 0%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.counter-label {
    font-size: 14px;
    font-weight: 700;
    max-width: 200px;
    line-height: 1.4;
    color: #334155;
    margin-top: 6px;
}

/* ==========================================================================
   BLOG SECTION
   ========================================================================== */
.rf-blog-section {
    padding: 80px 0;
    background: #ffffff;
}

.rf-red-left-bar {
    width: 40px;
    height: 4px;
    background: var(--logo-green, #008643);
    margin-bottom: 8px;
}

.rf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rf-blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rf-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.rf-blog-media {
    height: 220px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.rf-blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.rf-blog-card:hover .rf-blog-media img {
    transform: scale(1.05);
}

.rf-blog-graphic-content { text-align: center; position: relative; z-index: 2; padding: 20px; }
.graphic-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
.graphic-title { font-size: 18px; font-weight: 700; margin-top: 5px; }

.rf-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--logo-green, #008643);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 3;
}

.rf-date-badge .day { font-size: 16px; font-weight: 800; line-height: 1; }
.rf-date-badge .month { font-size: 9px; text-transform: uppercase; }

.rf-blog-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}
.rf-blog-meta { font-size: 12px; color: #888888; margin-bottom: 10px; }
.rf-blog-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: #222222; margin-top: 0; margin-bottom: 10px; line-height: 1.4; }
.rf-blog-excerpt { font-size: 14px; color: #666666; margin-bottom: 15px; flex-grow: 1; }
.rf-blog-read-more { font-size: 13px; font-weight: 700; color: var(--logo-green, #008643); text-decoration: none; margin-top: auto; }

/* ==========================================================================
   GET IN TOUCH / CONTACT SECTION
   ========================================================================== */
/* ==========================================================================
   GET IN TOUCH / CONTACT SECTION
   ========================================================================== */
.rf-contact-section {
    position: relative;
    padding: 90px 0 110px;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    overflow: hidden;
}

.rf-contact-bg-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 134, 67, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    border-radius: 50%;
}

.rf-contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

/* Left Info Column */
.rf-demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 134, 67, 0.08);
    border: 1px solid rgba(0, 134, 67, 0.2);
    color: #008643;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.rf-demo-badge i {
    font-size: 13px;
    color: #008643;
}

.rf-contact-title { 
    font-family: var(--font-heading); 
    font-size: 38px; 
    font-weight: 800; 
    line-height: 1.25; 
    margin-bottom: 15px; 
}
.rf-title-teal { color: var(--logo-teal, #004767); }
.rf-title-green { color: var(--logo-green, #008643); }

.rf-contact-subtitle { 
    font-size: 18px; 
    font-weight: 700; 
    color: #1E293B; 
    margin-bottom: 12px; 
}
.rf-contact-desc { 
    font-size: 15px; 
    color: #64748B; 
    line-height: 1.7; 
    margin-bottom: 25px; 
}

.rf-contact-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px dashed #E2E8F0;
}

.rf-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.rf-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 134, 67, 0.1);
    color: #008643;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* Right Elevated Card Form Container */
.rf-contact-card {
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rf-contact-card:hover {
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.rf-contact-form { display: flex; flex-direction: column; gap: 20px; }
.rf-form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rf-form-row-2 { grid-template-columns: repeat(2, 1fr); }

.rf-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.rf-input-icon {
    position: absolute;
    left: 16px;
    color: #94A3B8;
    font-size: 15px;
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

.rf-textarea-wrapper .rf-input-icon {
    top: 16px;
}

.rf-input-wrapper input,
.rf-input-wrapper textarea,
.rf-form-group input,
.rf-form-group textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: #0F172A;
    outline: none;
    transition: all 0.25s ease-in-out;
}

.rf-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.rf-input-wrapper input::placeholder,
.rf-input-wrapper textarea::placeholder,
.rf-form-group input::placeholder,
.rf-form-group textarea::placeholder {
    color: #94A3B8;
    font-size: 14px;
}

.rf-input-wrapper input:focus,
.rf-input-wrapper textarea:focus,
.rf-form-group input:focus,
.rf-form-group textarea:focus {
    background: #ffffff;
    border-color: #008643;
    box-shadow: 0 0 0 4px rgba(0, 134, 67, 0.12);
}

.rf-input-wrapper input:focus ~ .rf-input-icon,
.rf-input-wrapper textarea:focus ~ .rf-input-icon,
.rf-input-wrapper:focus-within .rf-input-icon {
    color: #008643;
}

.rf-form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.rf-recaptcha-box {
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    padding: 10px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.rf-recaptcha-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    font-weight: 500;
}

.rf-recaptcha-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 9px;
    color: #64748B;
    line-height: 1.1;
}

.rf-recaptcha-img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    margin-bottom: 2px;
}

.rf-submit-btn {
    background: linear-gradient(135deg, var(--logo-teal, #004767) 0%, var(--logo-green, #008643) 100%);
    color: #ffffff;
    border: none;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 22px -5px rgba(0, 134, 67, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}

.rf-submit-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.rf-submit-btn:hover {
    background: linear-gradient(135deg, #005a82 0%, #00a352 100%);
    box-shadow: 0 14px 28px -5px rgba(0, 134, 67, 0.45);
    transform: translateY(-2px);
}

.rf-submit-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 991px) {
    .rf-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .rf-form-row,
    .rf-form-row-2 {
        grid-template-columns: 1fr;
    }
    .rf-contact-card {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   CONTACT FORM 7 PLUGIN INTEGRATION & STYLING
   ========================================================================== */
.wpcf7 {
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    background: transparent;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: var(--logo-green, #008643);
}

.wpcf7-submit {
    background: var(--primary-red) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    margin-top: 15px !important;
}

.wpcf7-submit:hover {
    background: var(--logo-green, #008643) !important;
}

.wpcf7-response-output {
    margin: 15px 0 0 0 !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   ANGLED SLANTED SECTION TOP DIVIDER
   ========================================================================== */
.rf-angled-divider-top {
    width: 100%;
    height: 50px;
    line-height: 0;
    overflow: hidden;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
    color: #1B1D43;
}

.rf-angled-divider-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.rf-angled-divider-top.fill-dark-navy { color: #1B1D43; }
.rf-angled-divider-top.fill-footer { color: #191b1f; }
.rf-angled-divider-top.fill-dark-blue { color: #121430; }

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.rf-site-footer {
    background: #191b1f;
    color: #ffffff;
    position: relative;
}

.rf-footer-angular-top {
    width: 100%;
    height: 60px;
    line-height: 0;
    overflow: hidden;
    margin-bottom: -1px;
    color: #191b1f;
}

.rf-footer-svg { width: 100%; height: 100%; display: block; }
.rf-footer-content { padding: 40px 0 30px; }

.rf-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.rf-footer-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
}

.rf-footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rf-footer-links-grid a { font-size: 14px; color: #aaaaaa; }
.rf-footer-links-grid a:hover { color: var(--logo-green, #008643); }

.rf-contact-item { display: flex; gap: 15px; margin-bottom: 20px; font-size: 14px; }
.rf-contact-item i { color: var(--logo-green, #008643); font-size: 18px; margin-top: 4px; }
.rf-contact-label { display: block; font-size: 12px; color: #888; }
.rf-contact-val { color: #ffffff; font-weight: 500; }

.rf-social-icons { display: flex; gap: 12px; margin-top: 15px; }
.rf-social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rf-social-icons a:hover {
    background: var(--logo-green, #008643);
}

.rf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #777777;
}

/* ==========================================================================
   RESPONSIVE MOBILE BREAKPOINTS (MATCHING REFERENCE MOBILE MOCKUP)
   ========================================================================== */
@media (max-width: 992px) {
    .rf-hero-grid, .rf-cs-grid, .rf-solutions-grid, .rf-contact-grid { grid-template-columns: 1fr; }
    .rf-stats-grid, .rf-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-trust-grid { grid-template-columns: 1fr; }
    .rf-footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Header Mobile: Hide Phone & CTA, Keep Logo on Left & MENU on Right */
    .rf-header-phone,
    .rf-header-cta-btn {
        display: none !important;
    }

    .rf-header-container {
        padding: 0 15px;
    }

    .rf-brand-logo {
        margin-right: auto !important;
    }

    .rf-header-actions {
        margin-left: auto !important;
    }

    /* Hero Banner Mobile Centering */
    .rf-hero-section {
        padding: 100px 0 50px;
    }

    .rf-hero-content {
        text-align: center;
    }

    .rf-hero-subtitle {
        text-align: center;
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .rf-hero-title {
        text-align: center;
        font-size: 32px !important;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .rf-hero-btns {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .rf-hero-btns .rf-btn {
        width: 100%;
        max-width: 240px;
        text-transform: uppercase;
        font-weight: 700;
    }

    /* Hero Visual Mobile Horizontal Touch Scroll */
    .rf-hero-visual {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px;
        margin-top: 30px;
    }

    .rf-hero-visual > div {
        min-width: 580px;
    }

    /* Milestone Cards Mobile Grid */
    .scp-milestones-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* Demo Sandbox Mobile Tabs */
    #sandbox-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    #sandbox-tabs button {
        width: 100%;
        justify-content: center;
    }

    /* ROI Calculator Mobile Grid */
    #roi-calculator > div {
        grid-template-columns: 1fr !important;
    }

    /* Recent Case Studies Mobile Light Tint Theme */
    .rf-case-studies-section {
        background-color: #f0f7f3;
        padding: 60px 0;
    }

    .rf-cs-content {
        text-align: center;
    }

    .rf-cs-title {
        font-size: 28px;
        text-align: center;
    }

    .rf-main-heading {
        font-size: 28px;
    }

    .rf-watermark-title {
        font-size: 45px;
        right: 5px;
        bottom: -5px;
    }
}

@media (max-width: 576px) {
    .rf-stats-grid, .rf-blog-grid, .rf-form-row { grid-template-columns: 1fr; }
    .rf-hero-title { font-size: 26px !important; }
    .rf-main-heading { font-size: 24px; }
    .scp-milestones-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   SMART CAMPUS PLUS - SCHOOL ERP ENHANCEMENT STYLES & VIDYALAYA LOGO UI
   ========================================================================== */

/* Colorful Vidyalaya-style Brand Logo */
.rf-logo-link.scp-vibrant-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.rf-scp-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 4px 10px rgba(255, 87, 34, 0.25));
    transition: transform 0.3s ease;
}

.rf-logo-link.scp-vibrant-logo:hover .rf-scp-logo-mark {
    transform: scale(1.08) rotate(-3deg);
}

.rf-scp-logo-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.rf-scp-logo-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.rf-scp-logo-title .brand-orange {
    color: #FF5722;
}

.rf-scp-logo-title .brand-navy {
    color: #1B1D43;
}

.rf-scp-logo-title .brand-plus {
    color: #008643;
    font-size: 28px;
}

.rf-scp-logo-tagline {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #FF9800;
    margin-top: 2px;
}

/* Header Buttons matching Vidyalaya */
.rf-btn-talk-ai {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    color: #ffffff !important;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.35);
    transition: all 0.3s ease;
}

.rf-btn-talk-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

.rf-btn-talk-ai i {
    font-size: 14px;
    color: #FFF;
    animation: spinSparkle 3s infinite linear;
}

@keyframes spinSparkle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

.rf-btn-contact-us {
    display: inline-flex;
    align-items: center;
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #FF5722 !important;
    border: 2px solid #FF5722;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rf-btn-contact-us:hover {
    background-color: #FF5722;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Client Logos Marquee Bar */
.scp-clients-bar {
    background-color: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.scp-clients-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.scp-client-logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    color: #1E293B;
}

.scp-client-logo-item i {
    font-size: 24px;
    color: #004767;
}

/* Warm Cream Milestone Cards Grid (Matching Vidyalaya Screenshot) */
.scp-milestone-section {
    background-color: #ffffff;
    padding: 70px 0;
}

.scp-milestone-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 45px;
}

.scp-milestone-heading .highlight-orange {
    color: #FF5722;
}

.scp-milestone-heading .highlight-navy {
    color: #1E293B;
}

.scp-milestone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.scp-milestone-card {
    background-color: #FFF8F1;
    border: 1px solid #FFEAD7;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

.scp-milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(255, 87, 34, 0.12);
    border-color: #FFD8B3;
}

.scp-icon-box {
    width: 65px;
    height: 65px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.scp-icon-box i {
    font-size: 28px;
    color: #1E293B;
}

.scp-card-info {
    display: flex;
    flex-direction: column;
}

.scp-card-num {
    font-size: 26px;
    font-weight: 800;
    color: #1E293B;
    line-height: 1.2;
}

.scp-card-label {
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
    margin-top: 3px;
}

@media (max-width: 992px) {
    .scp-milestone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .scp-milestone-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DESKTOP & MOBILE SIDEBAR MENU NAVIGATION (TOP MENU BAR SHIFTED TO SIDEBAR)
   ========================================================================== */
.scp-main-nav {
    display: none !important;
}

.rf-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
    margin: 0 30px;
}

.scp-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.scp-nav-item {
    position: relative;
    padding: 10px 0;
}

.scp-nav-link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1E293B;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.scp-nav-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.scp-nav-item:hover .scp-nav-link {
    color: #FF5722;
}

.scp-nav-item:hover .scp-nav-link i {
    transform: rotate(180deg);
}

/* Mega Dropdown Menus */
.scp-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid #e2e8f0;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 1050;
}

/* Invisible Hover Bridge to prevent hover loss between nav-link and dropdown */
.scp-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 25px;
}

.scp-nav-item:hover .scp-dropdown-menu,
.scp-nav-item:focus-within .scp-dropdown-menu,
.scp-dropdown-menu.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Mega Dropdown Variations */
.scp-dropdown-menu.mega-about {
    min-width: 580px;
}

.scp-dropdown-menu.mega-services {
    min-width: 680px;
}

.scp-dropdown-menu.mega-features {
    min-width: 780px;
}

.scp-dropdown-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.scp-dropdown-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.scp-dropdown-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #004767;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FF5722;
}

.scp-dropdown-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scp-dropdown-links.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 15px;
}

.scp-dropdown-links a {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.scp-dropdown-links a i {
    font-size: 11px;
    color: #008643;
    transition: transform 0.2s ease;
}

.scp-dropdown-links a:hover {
    color: #FF5722;
    transform: translateX(4px);
}

.scp-dropdown-links a:hover i {
    color: #FF5722;
}

/* Dropdown Side Box */
.scp-dropdown-col.side-box {
    background: #FFF8F1;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #FFEAD7;
}

.scp-review-mini-badge {
    padding: 8px 0;
    border-bottom: 1px dashed #E2E8F0;
    display: flex;
    flex-direction: column;

}

.scp-review-mini-badge:last-child {
    border-bottom: none;
}

.scp-review-mini-badge strong {
    font-size: 13px;
    color: #1E293B;
}

.scp-review-mini-badge span {
    font-size: 12px;
    color: #008643;
    font-weight: 700;
}

.scp-blog-thumb-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
}

.scp-blog-thumb-item strong {
    font-size: 13px;
    color: #1E293B;
    line-height: 1.3;
}

.scp-blog-thumb-item span {
    font-size: 12px;
    color: #FF5722;
    font-weight: 700;
    margin-top: 4px;
}

.mobile-sub-menu {
    padding-left: 28px;
    margin-top: 8px;
    margin-bottom: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.mobile-has-sub.active > .mobile-sub-menu {
    display: flex !important;
}

.mobile-sub-menu a {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
}

.mobile-sub-menu a:hover {
    color: #FF5722 !important;
}

.rf-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.rf-menu-toggle:hover {
    background: transparent !important;
    background-color: transparent !important;
    opacity: 0.8 !important;
    transform: none !important;
    box-shadow: none !important;
}

.rf-hamburger span {
    display: block !important;
    height: 2.5px !important;
    background-color: #e52e2e !important;
    border-radius: 2px !important;
}

@media (max-width: 1100px) {
    .scp-main-nav {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding: 8px 0;
    }

    .scp-nav-list {
        display: inline-flex;
        gap: 10px;
    }

    .scp-nav-link {
        font-size: 13px;
        padding: 6px 12px;
        background: #FFF8F1;
        border: 1px solid #FFEAD7;
        border-radius: 20px;
        color: #1E293B;
    }

    .scp-dropdown-menu {
        display: none !important;
    }
}

/* ==========================================================================
   CALM CREATIVE / SMART CAMPUS PLUS TOP HERO & SERVICES SECTION
   ========================================================================== */
.rf-hero-section {
    padding: 130px 0 90px;
    background: #FBFDFE;
    position: relative;
    overflow: hidden;
}

.rf-hero-tagline-badge {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #1E255E;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.rf-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #121639;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.rf-title-highlight {
    color: #121639;
}

.rf-hero-desc {
    font-size: 17px;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 35px;
    max-width: 490px;
}

.rf-hero-btns {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 45px;
}

.rf-btn-dark-pill {
    background: #121639;
    color: #ffffff !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 25px rgba(18, 22, 57, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.rf-btn-dark-pill:hover {
    background: #1A2054;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(18, 22, 57, 0.35);
}

.rf-btn-watch-video {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: #121639 !important;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.rf-btn-watch-video:hover {
    opacity: 0.85;
}

.rf-play-icon-circle {
    width: 48px;
    height: 48px;
    border: 2px solid #121639;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #121639;
    padding-left: 3px;
}

.rf-hero-rating-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rf-rating-pill {
    background: #DCFCE7;
    color: #15803D;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.rf-rating-stars {
    font-size: 13px;
    color: #475569;
}

.rf-rating-stars i {
    color: #EAB308;
    margin-right: 4px;
}

.rf-rating-count {
    color: #64748B;
    font-size: 12px;
}

/* Right Hero Visual & Floating Badge Cards */
.rf-hero-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.rf-hero-ambient-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(187, 247, 208, 0.5) 0%, rgba(187, 247, 208, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    top: -30px;
    right: -20px;
}

.rf-hero-navy-circle {
    width: 380px;
    height: 380px;
    background: #141738;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    overflow: visible;
    box-shadow: 0 25px 60px rgba(20, 23, 56, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rf-hero-man-img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: contrast(1.05) brightness(1.02);
    position: relative;
    z-index: 2;
}

.rf-floating-card {
    position: absolute;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatAnim 4s ease-in-out infinite alternate;
}

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.card-top-left {
    top: 30px;
    left: -20px;
    border-radius: 50px;
    padding: 8px 18px;
    animation-delay: 0s;
}

.rf-fc-emoji {
    font-size: 22px;
}

.rf-fc-content strong {
    display: block;
    font-size: 13px;
    color: #121639;
}

.rf-fc-content span {
    font-size: 11px;
    color: #64748B;
}

.card-bottom-center {
    bottom: -15px;
    left: 40px;
    animation-delay: 1.5s;
}

.rf-fc-icon-wrap {
    background: #EFF6FF;
    color: #2563EB;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.rf-fc-label {
    font-size: 11px;
    color: #64748B;
    display: block;
}

.rf-fc-val {
    font-size: 15px;
    font-weight: 800;
    color: #121639;
    display: block;
}

.rf-fc-sub.green {
    font-size: 10px;
    color: #16A34A;
    font-weight: 700;
}

.card-right-side {
    right: -25px;
    bottom: 110px;
    animation-delay: 2.5s;
}

.rf-fc-user-circle {
    background: #F3F4F6;
    color: #4B5563;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.card-top-right {
    top: 50px;
    right: -15px;
    border-radius: 30px;
    padding: 8px 14px;
    animation-delay: 1s;
}

.rf-fc-check-bg {
    background: #DCFCE7;
    color: #16A34A;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.rf-fc-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
}

.rf-fc-bars .bar {
    height: 4px;
    border-radius: 4px;
}

.bar-1 { background: #3B82F6; width: 100%; }
.bar-2 { background: #CBD5E1; width: 60%; }

/* Client Brands Bar */
.calms-brands-bar {
    padding: 45px 0;
    background: #ffffff;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
}

.calms-brands-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.calm-brand-item {
    font-size: 26px;
    font-weight: 800;
    color: #94A3B8;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.calm-brand-item:hover {
    color: #475569;
}

/* What We Are Doing Section */
.rf-doing-section {
    padding: 100px 0;
    background: #FAFAFA;
}

.rf-doing-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.rf-doing-title {
    font-size: 40px;
    font-weight: 800;
    color: #121639;
    margin-bottom: 16px;
}

.rf-doing-subtitle {
    font-size: 15px;
    color: #64748B;
    line-height: 1.65;
}

.rf-doing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.rf-doing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid #F1F5F9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rf-doing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.rf-card-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
}

.box-teal { background: #E0F2FE; color: #0284C7; }
.box-navy { background: #121639; color: #38BDF8; }
.box-blue { background: #EFF6FF; color: #2563EB; }

.rf-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #121639;
    margin-bottom: 14px;
}

.rf-card-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}

.rf-btn-card-touch {
    background: #F1F5F9;
    color: #334155;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.rf-btn-card-touch:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.rf-btn-card-touch.btn-navy {
    background: #121639;
    color: #ffffff;
}

.rf-btn-card-touch.btn-navy:hover {
    background: #1A2054;
}

@media (max-width: 992px) {
    .rf-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .rf-doing-grid {
        grid-template-columns: 1fr;
    }
    .rf-why-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rf-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .rf-why-cards-grid {
        grid-template-columns: 1fr;
    }
    .rf-why-header-grid {
        grid-template-columns: 1fr;
    }
}

.rf-why-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(18, 22, 57, 0.12) !important;
    border-color: #CBD5E1 !important;
}

.rf-nav-prev:hover, .rf-nav-next:hover {
    background: #121639 !important;
    color: #ffffff !important;
    border-color: #121639 !important;
    transform: scale(1.05);
}

/* CONTACT FORM 7 PLUGIN THEME STYLING */
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100% !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    font-size: 14px !important;
    color: #1E293B !important;
    box-sizing: border-box !important;
}
.wpcf7-form input[type="submit"] {
    background: #121639 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 16px 36px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 10px 25px rgba(18,22,57,0.2) !important;
    transition: all 0.3s ease !important;
}
.wpcf7-form input[type="submit"]:hover {
    background: #FF5722 !important;
}

.rf-ai-feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(18, 22, 57, 0.1) !important;
    border-color: #CBD5E1 !important;
}

/* ==========================================================================
   ALTERNATING ODD/EVEN COLOR FLIP STYLES
   ========================================================================== */

/* 1. Doing/Service Cards - Flip colors on even items */
.rf-doing-card:nth-child(even) {
    background: linear-gradient(135deg, #121639 0%, #1c2254 100%) !important;
    color: #ffffff !important;
    border-color: #2a3275 !important;
    box-shadow: 0 15px 35px rgba(18, 22, 57, 0.2) !important;
}

.rf-doing-card:nth-child(even) .rf-card-title {
    color: #ffffff !important;
}

.rf-doing-card:nth-child(even) .rf-card-desc {
    color: #cbd5e1 !important;
}

.rf-doing-card:nth-child(even) .rf-btn-card-touch {
    background: #ffffff !important;
    color: #121639 !important;
}

.rf-doing-card:nth-child(even) .rf-btn-card-touch:hover {
    background: #008643 !important;
    color: #ffffff !important;
}

.rf-doing-card:nth-child(even) .box-teal,
.rf-doing-card:nth-child(even) .box-blue {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #38bdf8 !important;
}

/* 2. Blog Cards - Flip colors on even items */
.rf-blog-card:nth-child(even) {
    background: #121639 !important;
    color: #ffffff !important;
    box-shadow: 0 15px 35px rgba(18, 22, 57, 0.18) !important;
}

.rf-blog-card:nth-child(even) .rf-blog-body {
    background: #121639 !important;
}

.rf-blog-card:nth-child(even) .rf-blog-title {
    color: #ffffff !important;
}

.rf-blog-card:nth-child(even) .rf-blog-excerpt {
    color: #94a3b8 !important;
}

.rf-blog-card:nth-child(even) .rf-blog-meta {
    color: #cbd5e1 !important;
}

.rf-blog-card:nth-child(even) .rf-blog-read-more {
    color: #38bdf8 !important;
}

/* 3. Feature & List Items - Flip background tint on even items */
.rf-feature-item:nth-child(even) {
    background: rgba(0, 134, 67, 0.06);
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid #008643;
}

.rf-client-logo-item:nth-child(even) {
    background: rgba(18, 22, 57, 0.04);
    border-radius: 10px;
}

/* 4. Table Rows - Alternating Striped Color Flip */
table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* 5. Interactive Hover Color Flip Transition */
.rf-doing-card,
.rf-blog-card,
.rf-feature-item,
.rf-client-logo-item {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}





