/* Brand Variables & Theme Setup (Automatixes Rebrand) */
:root {
    /* Default Dark Theme (Automatixes SaaS) */
    --bg-light: #0B0F14;
    --bg-warm-peach: #111827;
    --bg-light-gray: #1a2332;
    --bg-preloader: #080b0f;
    --text-dark: #ffffff;
    --text-muted: #9ca3af;
    --text-secondary: #e5e7eb;
    --accent-brand: #3B82F6; /* Electric Blue */
    --accent-brand-hover: #2563eb;
    --accent-brand-glow: rgba(59, 130, 246, 0.35);
    --font-jakarta: 'Inter', 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body.light-theme {
    /* Light Theme Toggle Option */
    --bg-light: #ffffff;
    --bg-warm-peach: #f8fafc;
    --bg-light-gray: #f1f5f9;
    --bg-preloader: #ffffff;
    --text-dark: #0B0F14;
    --text-muted: #64748b;
    --text-secondary: #334155;
}

body:not(.light-theme) .card-service-item, 
body:not(.light-theme) .subpage-card,
body:not(.light-theme) .contact-form-wrapper,
body:not(.light-theme) .newsletter-modal-content,
body:not(.light-theme) .card {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

body:not(.light-theme) .card-service-item h3 a,
body:not(.light-theme) .card-service-item h3,
body:not(.light-theme) .contact-form-wrapper h3,
body:not(.light-theme) .toss-away-title,
body:not(.light-theme) h1,
body:not(.light-theme) h2,
body:not(.light-theme) h3,
body:not(.light-theme) h4,
body:not(.light-theme) h5,
body:not(.light-theme) h6 {
    color: #ffffff !important;
}

body:not(.light-theme) .form-control,
body:not(.light-theme) .form-select {
    background-color: #1a2332;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

body:not(.light-theme) .form-control:focus,
body:not(.light-theme) .form-select:focus {
    background-color: #1a2332;
    color: #ffffff;
}

body:not(.light-theme) .dropdown-menu {
    background: rgba(11, 15, 20, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body:not(.light-theme) .dropdown-item {
    color: #e5e7eb !important;
}

body:not(.light-theme) .dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.15) !important;
    color: var(--accent-brand) !important;
}

body:not(.light-theme) .table-hover tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.08) !important;
}

body:not(.light-theme) td, body:not(.light-theme) th {
    color: #ffffff !important;
}

body {
    background-color: var(--bg-light);
    color: var(--text-secondary);
    font-family: var(--font-jakarta);
    overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(231, 127, 35, 0.3);
    border-radius: 20px;
    transition: var(--transition-smooth);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-brand);
}

/* Typography and Utilities */
.text-accent-brand {
    color: var(--accent-brand) !important;
}

.text-dark {
    color: var(--text-dark) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.fw-extrabold {
    font-weight: 800;
}

.bg-warm-peach {
    background-color: var(--bg-warm-peach) !important;
}

.bg-light-gray {
    background-color: var(--bg-light-gray) !important;
}

.bg-brand-translucent {
    background-color: rgba(231, 127, 35, 0.08) !important;
}

/* Shared Section Eyebrow Label Typography Upgrade */
.badge.bg-brand-translucent,
.bg-brand-translucent {
    font-size: 14.5px !important;
    letter-spacing: 1.5px !important;
    padding: 8px 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

h6.text-accent-brand.font-monospace {
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

.border-brand-50 {
    border-color: rgba(231, 127, 35, 0.3) !important;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-1000 {
    max-width: 1000px;
}

.section-padding {
    padding: 100px 0;
}

/* Custom Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-preloader);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.animation-preloader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(231, 127, 35, 0.1);
    border-top: 3px solid var(--accent-brand);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.txt-loading {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    user-select: none;
    padding-left: 12px;
}

.letters-loading {
    font-weight: 800;
    font-size: 55px;
    color: rgba(231, 127, 35, 0.08);
    font-family: var(--font-jakarta);
    position: relative;
    display: inline-block;
    letter-spacing: 12px;
    text-transform: uppercase;
}

.letters-loading:nth-child(4) {
    margin-right: 25px;
}

.letters-loading::before {
    content: attr(data-text-preloader);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-brand);
    opacity: 0;
    animation: loadLetter 1.2s infinite;
}

.letters-loading:nth-child(2)::before { animation-delay: 0.1s; }
.letters-loading:nth-child(3)::before { animation-delay: 0.2s; }
.letters-loading:nth-child(4)::before { animation-delay: 0.3s; }
.letters-loading:nth-child(5)::before { animation-delay: 0.4s; }
.letters-loading:nth-child(6)::before { animation-delay: 0.5s; }
.letters-loading:nth-child(7)::before { animation-delay: 0.6s; }
.letters-loading:nth-child(8)::before { animation-delay: 0.7s; }
.letters-loading:nth-child(9)::before { animation-delay: 0.8s; }
.letters-loading:nth-child(10)::before { animation-delay: 0.9s; }
.letters-loading:nth-child(11)::before { animation-delay: 1.0s; }
.letters-loading:nth-child(12)::before { animation-delay: 1.1s; }

.loading-subtitle {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-top: 10px;
    text-transform: uppercase;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes loadLetter {
    0%, 100% { opacity: 0; }
    35%, 65% { opacity: 1; }
}

/* Premium Buttons Styling */
/* Premium Standardized Pill + Arrow-Circle Button Component */
.btn-brand {
    background-color: var(--accent-brand) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: none !important;
    border-radius: 50px !important;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(231, 127, 35, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    text-decoration: none !important;
    cursor: pointer;
    z-index: 1;
}

.btn-brand.btn-lg {
    padding: 15px 32px;
    font-size: 16px;
}

/* Subtle diagonal shimmer sweep effect on hover */
.btn-brand::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: rotate(25deg);
    transition: all 0.6s ease;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}

.btn-brand:hover::after {
    left: 125%;
    opacity: 1;
}

/* Button Hover State: Pill turns solid black/dark (#111111) */
.btn-brand:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Attached Arrow Circle Styling */
.arrow-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--accent-brand) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.arrow-btn svg,
.arrow-btn i {
    color: #ffffff !important;
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

/* Arrow Circle Hover State: Circle turns brand orange & arrow nudges top-right */
.btn-brand:hover .arrow-btn {
    background-color: var(--accent-brand) !important;
    color: #ffffff !important;
    transform: scale(1.08);
}

.btn-brand:hover .arrow-btn svg,
.btn-brand:hover .arrow-btn i {
    transform: translate(2px, -2px) rotate(45deg);
}

/* Header & Nav */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    padding: 0;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.5rem 1.3rem !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: var(--accent-brand) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: #f6f7fb;
    background-image: radial-gradient(circle at 10% 20%, rgba(231, 127, 35, 0.03) 0%, transparent 80%);
    overflow: hidden;
}

.hero-content h1 span {
    display: inline-block;
    position: relative;
}

/* Vertical Social Side Panel */
.social-side-links {
    position: absolute;
    right: 40px;
    top: calc(50% - 98px);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.social-side-links a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-side-links a:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-side-links .facebook { background: #1877F2; }
.social-side-links .instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-side-links .linkedin { background: #0077b5; }

@media (max-width: 991px) {
    .social-side-links {
        right: 20px;
        top: calc(50% - 82px);
    }
    .social-side-links a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* Scroll Down Mouse Indicator */
.mouse-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.mouse-wrapper:hover {
    transform: translateY(5px);
}

.mouse-scroll {
    width: 30px;
    height: 50px;
    border: 2.5px solid var(--accent-brand);
    border-radius: 20px;
    position: relative;
}

.mouse-button {
    width: 3px;
    height: 10px;
    background-color: var(--accent-brand);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouse-scroll-anim 2.2s infinite;
}

@keyframes mouse-scroll-anim {
    0% { top: 8px; opacity: 0; }
    30% { opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* About Image and Shape Layout */
.about-image-wrapper {
    position: relative;
}
.about-image-wrapper img {
    width: 100%;
}

.sub-title span {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-brand);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Physics Box (Toss Away Section) */
.toss-away {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #fdfdfd;
}

.toss-away-container {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    pointer-events: none;
    width: 100%;
}

.toss-away-title {
    color: #222;
    font-size: 55px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

#physics-container {
    height: 600px;
    width: 100%;
    cursor: grab;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .toss-away-title {
        font-size: 28px !important;
    }
    .toss-away-container {
        top: 30px !important;
    }
    #physics-container {
        height: 480px !important;
    }
}

@media (max-width: 480px) {
    .toss-away-title {
        font-size: 22px !important;
    }
    #physics-container {
        height: 420px !important;
    }
}

.physics-pill {
    position: absolute;
    font-size: 19px;
    font-weight: 500;
    padding: 16px 40px;
    border-radius: 100px;
    color: #333333;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* Premium Card Service Layouts */
.card-service-item {
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 30px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.card-service-item .thumb img {
    transition: transform 0.6s ease;
}
.card-service-item:hover .thumb img {
    transform: scale(1.05);
}

.card-service-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-service-item p {
    font-size: 15px;
    line-height: 1.6;
}

.icon-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--accent-brand) !important;
    color: #ffffff !important;
    font-size: 14px;
    border: none !important;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(231, 127, 35, 0.25);
    position: relative;
    z-index: 2;
}

.icon-arrow i,
.icon-arrow svg {
    display: inline-block !important;
    color: #ffffff !important;
    stroke: #ffffff;
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease-out;
}

.card-service-item:hover .icon-arrow,
.subpage-card:hover .icon-arrow,
.icon-arrow:hover {
    background-color: var(--accent-brand) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(231, 127, 35, 0.45);
}

.card-service-item:hover .icon-arrow i,
.card-service-item:hover .icon-arrow svg,
.subpage-card:hover .icon-arrow i,
.subpage-card:hover .icon-arrow svg,
.icon-arrow:hover i,
.icon-arrow:hover svg {
    transform: translate(3px, -3px);
}

/* Contact layout forms */
.contact-form-wrapper {
    box-shadow: 0 15px 45px rgba(0,0,0,0.03);
}

.form-control, .form-select {
    padding: 15px 20px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.form-control:focus, .form-select:focus {
    box-shadow: 0 0 10px rgba(231, 127, 35, 0.15);
    border-color: var(--accent-brand) !important;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(231, 127, 35, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Newsletter Discount Popup Modal */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.5s ease;
}

.newsletter-modal.active {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.newsletter-modal-content {
    background: var(--bg-light);
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.newsletter-modal.active .newsletter-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}
.close-modal:hover {
    color: var(--accent-brand);
}

/* Footer widget menus */
.footer-menu li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
    padding: 4px 0;
}
.footer-menu li a:hover {
    color: var(--accent-brand);
    transform: translateX(3px);
}

.contact-info li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.contact-info li a:hover {
    color: var(--accent-brand);
}

.social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: var(--transition-smooth);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--accent-brand);
    color: #ffffff;
    transform: scale(1.1);
}

/* Table styling for admin */
.table-hover tbody tr:hover {
    background-color: rgba(231, 127, 35, 0.03) !important;
}

/* Dropdown Menu overrides */
.dropdown-item:hover {
    background-color: rgba(231, 127, 35, 0.08) !important;
    color: var(--accent-brand) !important;
}

/* Custom Mouse Cursor Follower Styles */
.mouse-cursor {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor-outer {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--accent-brand);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor-inner {
    display: none; /* Hidden since native arrow is visible */
}

/* Hover effect transitions */
.cursor-outer.cursor-hover {
    width: 32px;
    height: 32px;
    background-color: rgba(231, 127, 35, 0.08);
    border-color: var(--accent-brand);
}

/* Premium Subpage Hero Banner Styles */
.subpage-hero {
    position: relative;
    padding: 120px 0 80px 0;
    margin-top: 50px;
    background: linear-gradient(135deg, var(--bg-warm-peach) 0%, var(--bg-light-gray) 100%);
    border-bottom: 1px solid rgba(231, 127, 35, 0.08);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(231, 127, 35, 0.04) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 127, 35, 0.03) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.title-underline {
    width: 70px;
    height: 3px;
    background: var(--accent-brand);
    margin: 20px auto 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--accent-brand);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--bg-light);
}

/* Technologies Marquee Section Styling */
.tech-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.tech-marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: techMarqueeScroll 35s linear infinite;
}

.tech-marquee-wrapper:hover .tech-marquee-track {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    padding: 18px 20px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.03), -5px -5px 15px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(231, 127, 35, 0.15), 0 5px 10px rgba(0,0,0,0.05);
    border-color: #e77f23;
    z-index: 10;
}

.tech-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin-bottom: 8px;
}

.tech-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
}

@keyframes techMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .tech-marquee-track {
        gap: 22px;
    }
    .tech-item {
        min-width: 95px;
        padding: 10px 14px;
    }
    .tech-item-icon svg {
        width: 28px !important;
        height: 28px !important;
    }
    .tech-item-name {
        font-size: 11px;
    }
}

/* Hover effects for subpage content cards */
.subpage-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    transition: var(--transition-smooth);
}

.subpage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border-color: rgba(231, 127, 35, 0.2);
}

/* Reviews Styling */
.star-rating {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.star-rating .star {
    font-size: 26px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating .star:hover {
    transform: scale(1.2);
}

.star-rating .star.active {
    color: var(--accent-brand) !important;
}

.average-rating {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
}

.average-rating i {
    font-size: 28px;
    vertical-align: middle;
}

.review-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    text-align: left;
    transition: var(--transition-smooth);
}

.review-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(231, 127, 35, 0.15);
}

.review-stars-display i {
    font-size: 14px;
}


/* Live Portfolio Iframe Styles */
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(231, 127, 35, 0.4) !important;
}
.portfolio-overlay {
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-overlay .btn {
    transform: translateY(25px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.portfolio-card:hover .portfolio-overlay .btn {
    transform: translateY(0);
}
.portfolio-preview iframe {
    transition: opacity 0.3s ease;
}

body:not(.light-theme) .text-dark { color: #ffffff !important; }
body:not(.light-theme) .bg-white { background-color: #111827 !important; }
body:not(.light-theme) .bg-light { background-color: #1a2332 !important; }
body:not(.light-theme) .text-muted { color: #9ca3af !important; }
body:not(.light-theme) .border-light-subtle { border-color: rgba(255,255,255,0.1) !important; }

